Skip to content

Commit

Permalink
chore(test): consistent test name
Browse files Browse the repository at this point in the history
Co-authored-by: Bastien Dumont <[email protected]>

Update apps/backend-e2e/src/e2e/auth.cy.ts

Co-authored-by: Bastien Dumont <[email protected]>

Update apps/backend-e2e/src/e2e/auth.cy.ts

Co-authored-by: Bastien Dumont <[email protected]>
  • Loading branch information
lutangar and bastiendmt committed Oct 3, 2023
1 parent faa561b commit 0525eb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/backend-e2e/src/e2e/auth.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('Authentication', () => {
expect(response.status).to.eq(404);
});
});
it('Connecting with incorrect user.', () => {
it('Should fail to connect with incorrect user.', () => {
cy.request({
method: 'POST',
url: '/api/auth/login',
Expand All @@ -66,7 +66,7 @@ describe('Authentication', () => {
expect(response.status).to.eq(401);
});
});
it('Connecting with proper user admin but wrong admin password.', () => {
it('Should fail to connect as an admin with incorrect password.', () => {
cy.request({
method: 'POST',
url: '/api/auth/login',
Expand All @@ -82,7 +82,7 @@ describe('Authentication', () => {
it('Login as admin', () => {
cy.login(Cypress.env('admin_credentials'));
});
it('Connecting with proper editor user but wrong password.', () => {
it('Should fail to connect as an editor with incorrect password.', () => {
cy.request({
method: 'POST',
url: '/api/auth/login',
Expand Down

0 comments on commit 0525eb6

Please sign in to comment.