@zohodesk/testinglibrary 0.2.6 → 0.2.7-experimental
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,7 +23,8 @@ const {
|
|
|
23
23
|
viewport,
|
|
24
24
|
featureFilesFolder,
|
|
25
25
|
stepDefinitionsFolder,
|
|
26
|
-
testIdAttribute
|
|
26
|
+
testIdAttribute,
|
|
27
|
+
globalTimeout
|
|
27
28
|
} = (0, _readConfigFile.generateConfigFromFile)();
|
|
28
29
|
const projects = (0, _configUtils.getProjects)({
|
|
29
30
|
browsers,
|
|
@@ -52,6 +53,7 @@ const testOptions = (0, _configUtils.getTestUseOptions)({
|
|
|
52
53
|
function getPlaywrightConfig() {
|
|
53
54
|
return {
|
|
54
55
|
testDir,
|
|
56
|
+
globalTimeout: globalTimeout || 3600000,
|
|
55
57
|
outputDir: _path.default.join(process.cwd(), 'uat', 'test-results'),
|
|
56
58
|
fullyParallel: true,
|
|
57
59
|
forbidOnly: !!process.env.CI,
|
package/package.json
CHANGED
package/playwright.config.js
CHANGED
|
@@ -21,8 +21,6 @@ export default defineConfig({
|
|
|
21
21
|
forbidOnly: !!process.env.CI,
|
|
22
22
|
/* Retry on CI only */
|
|
23
23
|
retries: process.env.CI ? 2 : 0,
|
|
24
|
-
/* Opt out of parallel tests on CI. */
|
|
25
|
-
workers: process.env.CI ? 1 : 1,
|
|
26
24
|
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
|
27
25
|
reporter: [['html', { outputFolder: path.join(process.cwd(), 'uat', 'playwright-report'), open: "always" }]],
|
|
28
26
|
timeout: 60 * 1000,
|