Skip to content

Commit

Permalink
feat: PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong committed Sep 18, 2024
1 parent 3c59ed3 commit ad2d8ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cypress/component/Auth/auth.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ describe('Auth Failure', function () {
cy.on('fail', (err) => {
return err.message !== Auth.signInError();
});
Auth.signIn();
expect(Storage.getOidcUser()).to.be.null;
expect(Storage.userIsLogged()).to.be.false;
Auth.signIn().then(() => {
expect(Storage.getOidcUser()).to.be.null;
expect(Storage.userIsLogged()).to.be.false;
});
});
});

Expand Down

0 comments on commit ad2d8ed

Please sign in to comment.