Skip to content

Commit

Permalink
Update utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vincanger committed Apr 12, 2024
1 parent 99b17cf commit 23a6117
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions e2e-tests/tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ export const logUserIn = async ({ page, user }: { page: Page; user: User }) => {
await page.fill('input[name="email"]', user.email);

await page.fill('input[name="password"]', DEFAULT_PASSWORD);
console.log('user.email', user.email, 'DEFAULT_PASSWORD', DEFAULT_PASSWORD)

const clickLogin = page.click('button:has-text("Log in")');

await Promise.all([
page.waitForResponse((response) => {
console.log('<><><> response.url()', response.url(), response.status());
return response.url().includes('login') && response.status() === 200;
}),
clickLogin,
Expand Down

0 comments on commit 23a6117

Please sign in to comment.