@nx/playwright 22.6.0-rc.2 → 22.6.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/playwright",
3
- "version": "22.6.0-rc.2",
3
+ "version": "22.6.1",
4
4
  "type": "commonjs",
5
5
  "homepage": "https://nx.dev",
6
6
  "private": false,
@@ -34,14 +34,14 @@
34
34
  "directory": "packages/playwright"
35
35
  },
36
36
  "dependencies": {
37
- "@nx/devkit": "22.6.0-rc.2",
38
- "@nx/eslint": "22.6.0-rc.2",
39
- "@nx/js": "22.6.0-rc.2",
37
+ "@nx/devkit": "22.6.1",
38
+ "@nx/eslint": "22.6.1",
39
+ "@nx/js": "22.6.1",
40
40
  "tslib": "^2.3.0",
41
41
  "minimatch": "10.2.4"
42
42
  },
43
43
  "devDependencies": {
44
- "nx": "22.6.0-rc.2"
44
+ "nx": "22.6.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@playwright/test": "^1.36.0"
@@ -60,7 +60,7 @@ async function mergeReportsExecutor(options, context) {
60
60
  cwd: projectRoot,
61
61
  stdio: 'inherit',
62
62
  shell: true,
63
- windowsHide: false,
63
+ windowsHide: true,
64
64
  });
65
65
  if (result.error) {
66
66
  devkit_1.output.error({
@@ -17,7 +17,7 @@ async function playwrightExecutor(options, context) {
17
17
  (0, child_process_1.execSync)(`${pmc.exec} playwright install`, {
18
18
  cwd: devkit_1.workspaceRoot,
19
19
  stdio: 'inherit',
20
- windowsHide: false,
20
+ windowsHide: true,
21
21
  });
22
22
  }
23
23
  const args = createArgs(options);
@@ -216,7 +216,7 @@ function getBrowsersInstallTask() {
216
216
  const pmc = (0, devkit_1.getPackageManagerCommand)();
217
217
  (0, child_process_1.execSync)(`${pmc.exec} playwright install`, {
218
218
  cwd: devkit_1.workspaceRoot,
219
- windowsHide: false,
219
+ windowsHide: true,
220
220
  });
221
221
  };
222
222
  }
@@ -45,7 +45,7 @@ function nxE2EPreset(pathToConfig, options) {
45
45
  outputFolder: isTsSolutionSetup
46
46
  ? 'test-output/playwright/report'
47
47
  : (0, node_path_1.join)(offset, 'dist', '.playwright', projectPath, 'playwright-report'),
48
- open: options.openHtmlReport,
48
+ open: options?.openHtmlReport ?? 'on-failure',
49
49
  },
50
50
  ]);
51
51
  const shouldGenerateBlobReports = options?.generateBlobReports ?? !!process.env['CI'];