@dxos/test-utils 0.8.4-main.ef1bc66f44 → 0.8.4-main.f466a3d56e

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": "@dxos/test-utils",
3
- "version": "0.8.4-main.ef1bc66f44",
3
+ "version": "0.8.4-main.f466a3d56e",
4
4
  "description": "Test utilities",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -8,7 +8,7 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/dxos/dxos"
10
10
  },
11
- "license": "MIT",
11
+ "license": "FSL-1.1-Apache-2.0",
12
12
  "author": "DXOS.org",
13
13
  "type": "module",
14
14
  "exports": {
@@ -24,13 +24,6 @@
24
24
  }
25
25
  },
26
26
  "types": "dist/types/src/index.d.ts",
27
- "typesVersions": {
28
- "*": {
29
- "playwright": [
30
- "dist/types/src/playwright.d.ts"
31
- ]
32
- }
33
- },
34
27
  "files": [
35
28
  "dist",
36
29
  "src"
@@ -38,11 +31,11 @@
38
31
  "dependencies": {
39
32
  "@playwright/test": "1.57.0",
40
33
  "pkg-up": "^3.1.0",
41
- "@dxos/async": "0.8.4-main.ef1bc66f44",
42
- "@dxos/node-std": "0.8.4-main.ef1bc66f44"
34
+ "@dxos/node-std": "0.8.4-main.f466a3d56e",
35
+ "@dxos/async": "0.8.4-main.f466a3d56e"
43
36
  },
44
37
  "peerDependencies": {
45
- "vitest": "3.2.4"
38
+ "vitest": "4.1.6"
46
39
  },
47
40
  "publishConfig": {
48
41
  "access": "public"
package/src/playwright.ts CHANGED
@@ -4,10 +4,9 @@
4
4
 
5
5
  /* eslint-disable no-console */
6
6
 
7
+ import { type Browser, type BrowserContext, type Page, type PlaywrightTestConfig, devices } from '@playwright/test';
7
8
  import { existsSync, readFileSync } from 'node:fs';
8
9
  import { dirname, join, resolve } from 'node:path';
9
-
10
- import { type Browser, type BrowserContext, type Page, type PlaywrightTestConfig, devices } from '@playwright/test';
11
10
  import pkgUp from 'pkg-up';
12
11
 
13
12
  import { Lock } from './lock';
@@ -76,10 +75,12 @@ export const e2ePreset = (testDir: string): PlaywrightTestConfig => {
76
75
  fullyParallel: true,
77
76
  // Fail the build on CI if you accidentally left test.only in the source code.
78
77
  forbidOnly: !!process.env.CI,
79
- // Retry on CI only.
78
+ // Retry on CI to ride out the residual d&d / startup flakes while the
79
+ // underlying causes are still being chased. Local runs stay strict so
80
+ // flakes are visible while iterating.
80
81
  retries: process.env.CI ? 2 : 0,
81
82
  // Opt out of parallel tests on CI.
82
- workers: process.env.CI ? 1 : undefined,
83
+ workers: process.env.CI ? 1 : 4,
83
84
  // Reporter to use. See https://playwright.dev/docs/test-reporters.
84
85
  reporter: process.env.CI
85
86
  ? [
@@ -90,6 +91,7 @@ export const e2ePreset = (testDir: string): PlaywrightTestConfig => {
90
91
  outputFile: reporterOutputFile,
91
92
  },
92
93
  ],
94
+ ['junit', { outputFile: reporterOutputFile.replace(/\.json$/, '.xml') }],
93
95
  ]
94
96
  : [['list']],
95
97
  use: {