@dxos/test-utils 0.8.4-staging.ac66bdf99f → 0.9.0

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-staging.ac66bdf99f",
3
+ "version": "0.9.0",
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-staging.ac66bdf99f",
42
- "@dxos/node-std": "0.8.4-staging.ac66bdf99f"
34
+ "@dxos/async": "0.9.0",
35
+ "@dxos/node-std": "0.9.0"
43
36
  },
44
37
  "peerDependencies": {
45
- "vitest": "3.2.4"
38
+ "vitest": "4.1.7"
46
39
  },
47
40
  "publishConfig": {
48
41
  "access": "public"
package/src/playwright.ts CHANGED
@@ -75,10 +75,9 @@ export const e2ePreset = (testDir: string): PlaywrightTestConfig => {
75
75
  fullyParallel: true,
76
76
  // Fail the build on CI if you accidentally left test.only in the source code.
77
77
  forbidOnly: !!process.env.CI,
78
- // Retry on CI only.
79
- // TODO(wittjosiah): Trunk suggests not retrying for better flaky test detection.
80
- // This is forgone for now as its unclear why some tests are flaky primarily on CI.
81
- // For the time being, a test is considered flaky if it can't pass within 2 retries.
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.
82
81
  retries: process.env.CI ? 2 : 0,
83
82
  // Opt out of parallel tests on CI.
84
83
  workers: process.env.CI ? 1 : 4,