Skip to content

Commit

Permalink
Continue trying things
Browse files Browse the repository at this point in the history
  • Loading branch information
lauratbg committed Apr 26, 2024
1 parent fce7bef commit 744bd16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion webapp/e2e/steps/addUser.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ defineFeature(feature, test => {
await page.click('button[type="submit"]');
});
then('I am in /menu', async () => {
await page.waitForSelector('.divMenu');
await expect(page).toMatchElement('.divMenu');
});
}, 60000);
Expand Down
4 changes: 3 additions & 1 deletion webapp/e2e/steps/login.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ await register(page, email, username, password);
},60000);


test('Login', ({ given,when, then }) => {
test('Login', ({ given,when, then }) => {
given('I am on the login page', async () => {
await page.goto('http://localhost:3000/login');
await page.waitForSelector('.general');

});
when('I login as user', async () => {

Expand Down

0 comments on commit 744bd16

Please sign in to comment.