perf(browser): improve the parallelisation logic #12057
Annotations
6 errors
test/browser/specs/locators.test.ts#L11
AssertionError: expected '\n RUN v2.1.4 /Users/runner/work/vit…' to contain '✓ blog.test.tsx'
- Expected
+ Received
- ✓ blog.test.tsx
+
+ RUN v2.1.4 /Users/runner/work/vitest/vitest/test/browser/fixtures/locators
+ Browser runner started by playwright at http://localhost:63315/
+
+ ✓ query.test.ts > can find a body element
+ ✓ query.test.ts > can find elements inside the body
+
+ Test Files 1 passed (2)
+ Tests 2 passed (3)
+ Start at 11:08:11
+ Duration 1.58s (transform 0ms, setup 168ms, collect 31ms, tests 10ms, environment 0ms, prepare 1.44s)
+
+
❯ specs/locators.test.ts:11:18
|
test/browser/specs/mocking.test.ts#L22
AssertionError: expected '\n RUN v2.1.4 /Users/runner/work/vit…' to contain 'not-mocked-nested.test.ts'
- Expected
+ Received
- not-mocked-nested.test.ts
+
+ RUN v2.1.4 /Users/runner/work/vitest/vitest/test/browser/fixtures/mocking
+ Browser runner started by playwright at http://localhost:63315/
+
+ ✓ import-mock.test.ts > all mocked are valid 586ms
+ ✓ import-mock.test.ts > import from a factory if defined
+ ✓ mocked-factory.test.ts > adds
+ ✓ import-mock.test.ts > imports from __mocks__
+ ✓ import-actual-query.test.ts > factory with a query
+ ✓ autospying.test.ts > correctly spies on a regular module
+ ✓ autospying.test.ts > spy options overrides __mocks__ folder
+ ✓ mocked-nested.test.ts > adds
+ ✓ mocked-nested.test.ts > actual
+ ✓ import-actual-in-mock.test.ts > actual is overriding import
+ ✓ mocked-do-mock-factory.test.ts > adds
+ ✓ mocked-factory-hoisted.test.ts > adds
+ ✓ import-actual-dep.test.ts > mocking works correctly
+ ✓ automocked.test.ts > adds
+ ✓ mocking-dep.test.ts > mocking works correctly
+ ✓ mocked-__mocks__.test.ts > adds
+ ✓ not-mocked.test.ts > adds
+
+ Test Files 13 passed (13)
+ Tests 17 passed (17)
+ Start at 11:05:29
+ Duration 5.29s (transform 0ms, setup 0ms, collect 3.28s, tests 855ms, environment 0ms, prepare 4.07s)
+
+
❯ specs/mocking.test.ts:22:25
|
test/browser/specs/mocking.test.ts#L22
AssertionError: expected '\n RUN v2.1.4 /Users/runner/work/vit…' to contain 'not-mocked-nested.test.ts'
- Expected
+ Received
- not-mocked-nested.test.ts
+
+ RUN v2.1.4 /Users/runner/work/vitest/vitest/test/browser/fixtures/mocking
+ Browser runner started by playwright at http://localhost:63315/
+
+ ✓ import-mock.test.ts > all mocked are valid 616ms
+ ✓ import-mock.test.ts > import from a factory if defined
+ ✓ import-mock.test.ts > imports from __mocks__
+ ✓ mocked-factory.test.ts > adds
+ ✓ import-actual-query.test.ts > factory with a query
+ ✓ autospying.test.ts > correctly spies on a regular module
+ ✓ autospying.test.ts > spy options overrides __mocks__ folder
+ ✓ mocked-nested.test.ts > adds
+ ✓ mocked-nested.test.ts > actual
+ ✓ import-actual-in-mock.test.ts > actual is overriding import
+ ✓ mocked-do-mock-factory.test.ts > adds
+ ✓ mocked-factory-hoisted.test.ts > adds
+ ✓ import-actual-dep.test.ts > mocking works correctly
+ ✓ automocked.test.ts > adds
+ ✓ mocking-dep.test.ts > mocking works correctly
+ ✓ mocked-__mocks__.test.ts > adds
+ ✓ not-mocked.test.ts > adds
+
+ Test Files 13 passed (13)
+ Tests 17 passed (17)
+ Start at 11:05:35
+ Duration 5.24s (transform 0ms, setup 0ms, collect 3.07s, tests 907ms, environment 0ms, prepare 4.16s)
+
+
❯ specs/mocking.test.ts:22:25
|
test/browser/specs/mocking.test.ts#L50
Error: Timeout when waiting for error "Waiting for file changes...".
Received:
stdout:
RERUN ../../1_mocked-on-watch-change.test.ts x1
stderr:
❯ specs/mocking.test.ts:50:16
|
test/browser/specs/runner.test.ts#L145
Error: Snapshot `user-event 1` mismatched
- Expected
+ Received
{
- "cleanup-retry.test.ts": "pass",
+ "cleanup-retry.test.ts": "run",
"cleanup1.test.ts": "pass",
"cleanup2.test.ts": "pass",
}
❯ specs/runner.test.ts:145:87
|
|
This job failed
Loading