Skip to content

Commit

Permalink
shopping-mall-e2e-test-with-answer
Browse files Browse the repository at this point in the history
  • Loading branch information
jung-han committed Dec 12, 2023
1 parent 2603019 commit 8336159
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Cypress.Commands.add('login', () => {
cy.findByLabelText('이메일').type(username);
cy.findByLabelText('비밀번호').type(password);
cy.findByLabelText('로그인').click();

cy.location('pathname').should('eq', '/');
});

// 로그인 이후 메인 홈페이지로 이동
Expand Down

0 comments on commit 8336159

Please sign in to comment.