test: expect the device-neutral wording in the sign-in code error

This commit is contained in:
Linus Rath
2026-10-31 20:52:14 +01:00
parent 76c256dd8e
commit 5666b11ecf
+1 -1
View File
@@ -137,7 +137,7 @@ describe('describeLoginError for sign-in codes', () => {
});
expect(pairing('network', 'webmail.example.org')).toEqual({
title: "Can't reach webmail.example.org",
detail: 'Check your connection and that your phone can reach the webmail, then try again.',
detail: 'Check your connection and that this device can reach the webmail, then try again.',
});
// Without a host on the error, the screen's address is used.
expect(pairing('network').title).toBe("Can't reach webmail.example.org");