Skip to content

Commit

Permalink
Adjust timeout for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
edler-san authored and manolo committed Jan 30, 2025
1 parent 793b470 commit 17c056d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/pit/its/cc-identity-management.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { expect} = require('@playwright/test');
const {log, args, createPage, closePage, takeScreenshot, waitForServerReady, err} = require('./test-utils');
const {log, err, args, createPage, closePage, takeScreenshot, waitForServerReady, err} = require('./test-utils');

(async () => {
const arg = args();
Expand Down
3 changes: 1 addition & 2 deletions scripts/pit/its/cc-localization.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const { expect} = require('@playwright/test');
const fs = require('fs');
const path = require('path');
const {log, args, createPage, closePage, takeScreenshot, waitForServerReady, run} = require('./test-utils');
const {log, args, err, createPage, closePage, takeScreenshot, waitForServerReady, run} = require('./test-utils');
const { assert } = require('console');

(async () => {
Expand Down
2 changes: 1 addition & 1 deletion scripts/pit/its/test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async function takeScreenshot(page, name, descr) {
const scr = path.basename(name);
const cnt = String(++sscount).padStart(2, "0");
const file = `${screenshots}/${scr}-${cnt}-${descr}.png`;
await page.waitForTimeout(1000);
await page.waitForTimeout(10000);
await page.screenshot({ path: file });
out(` 📸 Screenshot taken: ${file}\n`);
}
Expand Down

0 comments on commit 17c056d

Please sign in to comment.