-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e16d93
commit 3060987
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ test.describe('Signup', () => { | |
test('Should display the error toast message if any other sign up error occurs', async ({ page }) => { | ||
await page.goto(url); | ||
|
||
await page.route('**/api/auth/signin/http-email', async (route) => { | ||
await page.route('**/api/auth/signin/http-email*', async (route) => { | ||
|
||
await route.fulfill({ | ||
status: 200, | ||
|
@@ -62,11 +62,9 @@ test.describe('Signup', () => { | |
}); | ||
}); | ||
|
||
await page.locator('[data-cy="signup-btn"]').click(); | ||
|
||
await page.locator('input[name=email]').fill('[email protected]'); | ||
|
||
const signupResponse = page.waitForResponse('**/api/auth/signin/http-email'); | ||
const signupResponse = page.waitForResponse('**/api/auth/signin/http-email*'); | ||
|
||
await page.locator('[data-cy="signup-btn"]').click(); | ||
|
||
|