Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
lauratbg committed Apr 26, 2024
1 parent ef8b784 commit 4c5dca5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions webapp/e2e/steps/addUser.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ defineFeature(feature, test => {

}, 60000);

beforeEach(async () => {
await logout(page);
await login(page, username, password);
})


test('Register', ({ given,when, then }) => {
given('I am on the add user page', async () => {
await page.goto('http://localhost:3000/addUser');
Expand Down
1 change: 0 additions & 1 deletion webapp/e2e/steps/login.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ beforeEach(async () => {
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 () => {
await login(page, email, username, password);
Expand Down

0 comments on commit 4c5dca5

Please sign in to comment.