Skip to content

Commit

Permalink
test: removing unexported functions
Browse files Browse the repository at this point in the history
  • Loading branch information
GOLASOOO committed May 5, 2024
1 parent 6195ee8 commit be0f636
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/e2e/steps/login_positive.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ defineFeature(feature, test => {
test("A registered user wants to log in using his correct credentials", ({given,when,and,then}) => {

given('A registered user in the root screen', async () => {
waitForPageToLoad();
await new Promise(resolve => setTimeout(resolve, 6000));
let header = await page.$eval("button[data-testid='Login']", (element) => {
return element.innerHTML
})
Expand All @@ -68,7 +68,7 @@ defineFeature(feature, test => {
});

and('User enters in the log in screen', async() => {
waitForPageToLoad();
await new Promise(resolve => setTimeout(resolve, 6000));
let header = await page.$eval("h2", (element) => {
return element.innerHTML
})
Expand All @@ -87,7 +87,7 @@ defineFeature(feature, test => {
});

then('The main menu screen shows on the user device', async() => {
waitForPageToLoad();
await new Promise(resolve => setTimeout(resolve, 6000));
let header = await page.$eval("h2", (element) => {
return element.innerHTML
})
Expand Down

0 comments on commit be0f636

Please sign in to comment.