Skip to content

Commit 7b7eee6

Browse files
committed
fixup: change error message assertion
1 parent 1fccab7 commit 7b7eee6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compass-e2e-tests/tests/atlas-login.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ describe('Atlas Login', function () {
251251
expect(numberOfOIDCAuthRequests).to.eq(2);
252252
});
253253

254-
it('should show toast with error if sign in failed', async function () {
254+
it.only('should show toast with error if sign in failed', async function () {
255255
getTokenPayload = () => {
256256
return Promise.reject(new Error('Auth failed'));
257257
};
@@ -263,7 +263,7 @@ describe('Atlas Login', function () {
263263
await errorToast.waitForDisplayed();
264264

265265
expect(await errorToast.getText()).to.match(
266-
/Sign in failed\n+Auth failed/
266+
/Sign in failed\n+unexpected HTTP response status code/
267267
);
268268
});
269269
});

0 commit comments

Comments
 (0)