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:45
+ Duration 2.08s (transform 0ms, setup 204ms, collect 17ms, tests 3ms, environment 0ms, prepare 1.07s)
+
+
❯ 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 445ms
+ ✓ 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 310ms
+ ✓ 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:56
+ Duration 8.51s (transform 0ms, setup 0ms, collect 3.80s, tests 844ms, environment 0ms, prepare 5.32s)
+
+
❯ 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/
+
+ ✓ mocked-factory.test.ts > adds
+ ✓ import-mock.test.ts > all mocked are valid
+ ✓ import-mock.test.ts > import from a factory if defined
+ ✓ 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
+ ✓ import-actual-in-mock.test.ts > actual is overriding import
+ ✓ mocked-nested.test.ts > adds
+ ✓ mocked-nested.test.ts > actual
+ ✓ 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:06:05
+ Duration 5.97s (transform 0ms, setup 0ms, collect 2.99s, tests 552ms, environment 0ms, prepare 4.18s)
+
+
❯ 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
TypeError: Cannot read properties of undefined (reading 'state')
❯ specs/runner.test.ts:145:77
❯ specs/runner.test.ts:145:50
|
|
This job failed
Loading