Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
CANCI0 committed Apr 25, 2024
1 parent 5562f50 commit c680b7e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion webapp/e2e/steps/add-friend.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let browser;
defineFeature(feature, (test) => {
beforeAll(async () => {
browser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
? await puppeteer.launch({ headless: 'new', slowMo: 100 })
: await puppeteer.launch({ headless: 'new', slowMo: 100 });
page = await browser.newPage();
setDefaultOptions({ timeout: 10000 });
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/create-group.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let browser;
defineFeature(feature, (test) => {
beforeAll(async () => {
browser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
? await puppeteer.launch({ headless: 'new', slowMo: 100 })
: await puppeteer.launch({ headless: 'new', slowMo: 100 });
page = await browser.newPage();
setDefaultOptions({ timeout: 10000 });
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/login-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let browser;
defineFeature(feature, (test) => {
beforeAll(async () => {
browser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
? await puppeteer.launch({ headless: 'new', slowMo: 100 })
: await puppeteer.launch({ headless: 'new', slowMo: 100 });
page = await browser.newPage();
//Way of setting up the timeout
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/logout.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let browser;
defineFeature(feature, (test) => {
beforeAll(async () => {
browser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
? await puppeteer.launch({ headless: 'new', slowMo: 100 })
: await puppeteer.launch({ headless: 'new', slowMo: 100 });
page = await browser.newPage();
//Way of setting up the timeout
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/play-battery.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let browser;
defineFeature(feature, (test) => {
beforeAll(async () => {
browser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
? await puppeteer.launch({ headless: 'new', slowMo: 100 })
: await puppeteer.launch({ headless: 'new', slowMo: 100 });
page = await browser.newPage();
setDefaultOptions({ timeout: 10000 });
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/play-calculator.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let browser;
defineFeature(feature, (test) => {
beforeAll(async () => {
browser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
? await puppeteer.launch({ headless: 'new', slowMo: 100 })
: await puppeteer.launch({ headless: 'new', slowMo: 100 });
page = await browser.newPage();
setDefaultOptions({ timeout: 10000 });
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/play-classic.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let browser;
defineFeature(feature, (test) => {
beforeAll(async () => {
browser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
? await puppeteer.launch({ headless: 'new', slowMo: 100 })
: await puppeteer.launch({ headless: 'new', slowMo: 10 });
page = await browser.newPage();
setDefaultOptions({ timeout: 10000 });
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/register-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let browser;
defineFeature(feature, (test) => {
beforeAll(async () => {
browser = process.env.GITHUB_ACTIONS
? await puppeteer.launch()
? await puppeteer.launch({ headless: 'new', slowMo: 100 })
: await puppeteer.launch({ headless: 'new', slowMo: 100 });
page = await browser.newPage();
//Way of setting up the timeout
Expand Down

0 comments on commit c680b7e

Please sign in to comment.