Skip to content

Commit

Permalink
Increased times
Browse files Browse the repository at this point in the history
  • Loading branch information
lauratbg committed Apr 26, 2024
1 parent ca4ff41 commit c082cfc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion webapp/e2e/features/addUser.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: Login page functionality
Feature: Register page functionality

Scenario: Register
Given I am on the add user page
Expand Down
4 changes: 2 additions & 2 deletions webapp/e2e/steps/addUser.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defineFeature(feature, test => {
setDefaultOptions({ timeout: 30000 });

await register(page, email, username, password);
});
}, 60000);

beforeEach(async () => {
await logout(page);
Expand All @@ -45,7 +45,7 @@ defineFeature(feature, test => {
then('I am in /menu', async () => {
await expect(page).toMatchElement('.divMenu');
});
});
}, 60000);



Expand Down
4 changes: 2 additions & 2 deletions webapp/e2e/steps/login.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ beforeEach(async () => {
then('I am in /menu', async () => {
await expect(page).toMatchElement('.divMenu');
});
});
}, 60000);

test('Failed login', ({ given,when, then }) => {
given('I am on the login page', async () => {
Expand All @@ -58,7 +58,7 @@ beforeEach(async () => {
});
then('I am in /login', async () => {
await expect(page).toMatchElement('.general');
});
}, 60000);
});


Expand Down

0 comments on commit c082cfc

Please sign in to comment.