Skip to content

Commit

Permalink
Remove debug code from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurswag committed Jul 12, 2024
1 parent fec4b7c commit 2e826aa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions frontend/tests/functional/detailed/login.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ test('login invalid message is showing properly', async ({ loginPage, page }) =>
await loginPage.hasUrl();
});

test('forgot password process is working properly', {
tag: "@forgotpassword"
}, async ({
test('forgot password process is working properly', async ({
logedPage,
usersPage,
sideBar,
Expand All @@ -55,9 +53,7 @@ test('forgot password process is working properly', {
});

await usersPage.editItemButton(email).click();
await new Promise(res => setTimeout(res,2000));
await page.getByTestId('set-password-btn').click();
await new Promise(res => setTimeout(res,2000));
await expect(page).toHaveURL(/.*\/users\/.+\/edit\/set-password/);
await usersPage.form.fill({
new_password: testData.user.password,
Expand Down

0 comments on commit 2e826aa

Please sign in to comment.