Skip to content

Commit

Permalink
feat: sign in test code 추가 (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
selfishAltruism committed Feb 3, 2024
1 parent b869f39 commit f64dbd2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/example.test.ts → tests/signin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ test('sign-in', async ({ page }) => {
await page.getByPlaceholder('비밀번호').fill(ADMIN.PW);

await page.click('#root > div > div > form > button');

expect(page.url() === 'http://localhost:3000/home');

await page.click('#root > div > nav > a.css-1coshah-LinkStyle.e1w6r2gj0.active');

expect(page.url() === 'http://localhost:3000/setting');
});

0 comments on commit f64dbd2

Please sign in to comment.