@zohodesk/testinglibrary 0.2.6 → 0.2.7

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,11 +53,11 @@ 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,
58
60
  retries: process.env.CI ? 2 : 0,
59
- workers: process.env.CI ? 1 : 1,
60
61
  reporter: [['html', {
61
62
  outputFolder: reportPath,
62
63
  open: openReportOn
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {
@@ -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,