fixing workfile

This commit is contained in:
armel 2023-04-18 17:11:47 +02:00
parent cf795c1633
commit 173d2c7cde

View File

@ -75,13 +75,13 @@ test('sign in button ', async ({ page }) => {
await expect(page).toHaveURL(/.*accounts/);
})
// test('sign up button', async ({ page }) => {
// const signUpButton = await page.$("[data-testid='Sign-up']");
// if (signUpButton) {
// await signUpButton.click();
// await expect(page).toHaveURL(/.*accounts\/register/);
// }
// });
test('sign up button', async ({ page }) => {
const signUpButton = await page.$("[data-testid='Sign-up']");
if (signUpButton) {
await signUpButton.click();
await expect(page).toHaveURL(/.*accounts\/register/);
}
});
})