Skip to content

Commit 17e9b24

Browse files
committed
[MS] Fix test for SSO pop-up error
1 parent 2046904 commit 17e9b24

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client/tests/e2e/specs/auth_with_sso.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,11 @@ for (const error of ['timeout', '400', 'popup']) {
188188

189189
await expect(authNext).toBeTrulyDisabled();
190190
await expect(formError).toBeVisible();
191-
await expect(formError).toHaveText('The SSO configuration provided by the server is invalid. Please contact an administrator.');
191+
if (error === 'popup') {
192+
await expect(formError).toHaveText('Please make sure that your browser allows pop-ups for this website.');
193+
} else {
194+
await expect(formError).toHaveText('The SSO configuration provided by the server is invalid. Please contact an administrator.');
195+
}
192196
});
193197
}
194198

0 commit comments

Comments
 (0)