fix: don't panic when running tests in browser mode with the latest Vitest #280
Annotations
10 errors and 1 warning
test-e2e:
test-e2e/basic.test.ts#L33
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.result-summary > [custom-hover]')
Expected string: "2/4"
Received string: "0/0"
Call log:
- locator._expect with timeout 5000ms
- waiting for locator('.result-summary > [custom-hover]')
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
❯ Proxy.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:174:37
❯ basic.test.ts:33:49
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { matcherResult: { name: 'toHaveText', expected: '2/4', message: 'Timed out 5000ms waiting for expect(locator).toHaveText(expected)\n\nLocator: locator(\'.result-summary > [custom-hover]\')\nExpected string: "2/4"\nReceived string: "0/0"\nCall log:\n - locator._expect with timeout 5000ms\n - waiting for locator(\'.result-summary > [custom-hover]\')\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n', pass: false, actual: '0/0', log: [ 'locator._expect with timeout 5000ms', 'waiting for locator(\'.result-summary > [custom-hover]\')', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"' ], timeout: 5000 } }
|
test-e2e:
test-e2e/basic.test.ts#L33
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.result-summary > [custom-hover]')
Expected string: "2/4"
Received string: "0/0"
Call log:
- locator._expect with timeout 5000ms
- waiting for locator('.result-summary > [custom-hover]')
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
❯ Proxy.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:174:37
❯ basic.test.ts:33:49
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { matcherResult: { name: 'toHaveText', expected: '2/4', message: 'Timed out 5000ms waiting for expect(locator).toHaveText(expected)\n\nLocator: locator(\'.result-summary > [custom-hover]\')\nExpected string: "2/4"\nReceived string: "0/0"\nCall log:\n - locator._expect with timeout 5000ms\n - waiting for locator(\'.result-summary > [custom-hover]\')\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n', pass: false, actual: '0/0', log: [ 'locator._expect with timeout 5000ms', 'waiting for locator(\'.result-summary > [custom-hover]\')', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"' ], timeout: 5000 } }
|
test-e2e:
test-e2e/basic.test.ts#L33
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.result-summary > [custom-hover]')
Expected string: "2/4"
Received string: "0/0"
Call log:
- locator._expect with timeout 5000ms
- waiting for locator('.result-summary > [custom-hover]')
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
❯ Proxy.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:174:37
❯ basic.test.ts:33:49
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { matcherResult: { name: 'toHaveText', expected: '2/4', message: 'Timed out 5000ms waiting for expect(locator).toHaveText(expected)\n\nLocator: locator(\'.result-summary > [custom-hover]\')\nExpected string: "2/4"\nReceived string: "0/0"\nCall log:\n - locator._expect with timeout 5000ms\n - waiting for locator(\'.result-summary > [custom-hover]\')\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n', pass: false, actual: '0/0', log: [ 'locator._expect with timeout 5000ms', 'waiting for locator(\'.result-summary > [custom-hover]\')', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"' ], timeout: 5000 } }
|
test-e2e:
test-e2e/basic.test.ts#L53
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.result-summary > [custom-hover]')
Expected string: "1/1"
Received string: "0/0"
Call log:
- locator._expect with timeout 5000ms
- waiting for locator('.result-summary > [custom-hover]')
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
❯ Proxy.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:174:37
❯ basic.test.ts:53:49
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { matcherResult: { name: 'toHaveText', expected: '1/1', message: 'Timed out 5000ms waiting for expect(locator).toHaveText(expected)\n\nLocator: locator(\'.result-summary > [custom-hover]\')\nExpected string: "1/1"\nReceived string: "0/0"\nCall log:\n - locator._expect with timeout 5000ms\n - waiting for locator(\'.result-summary > [custom-hover]\')\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n', pass: false, actual: '0/0', log: [ 'locator._expect with timeout 5000ms', 'waiting for locator(\'.result-summary > [custom-hover]\')', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"' ], timeout: 5000 } }
|
test-e2e:
test-e2e/basic.test.ts#L53
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.result-summary > [custom-hover]')
Expected string: "1/1"
Received string: "0/0"
Call log:
- locator._expect with timeout 5000ms
- waiting for locator('.result-summary > [custom-hover]')
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
❯ Proxy.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:174:37
❯ basic.test.ts:53:49
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { matcherResult: { name: 'toHaveText', expected: '1/1', message: 'Timed out 5000ms waiting for expect(locator).toHaveText(expected)\n\nLocator: locator(\'.result-summary > [custom-hover]\')\nExpected string: "1/1"\nReceived string: "0/0"\nCall log:\n - locator._expect with timeout 5000ms\n - waiting for locator(\'.result-summary > [custom-hover]\')\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n', pass: false, actual: '0/0', log: [ 'locator._expect with timeout 5000ms', 'waiting for locator(\'.result-summary > [custom-hover]\')', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"' ], timeout: 5000 } }
|
test-e2e:
test-e2e/basic.test.ts#L53
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.result-summary > [custom-hover]')
Expected string: "1/1"
Received string: "0/0"
Call log:
- locator._expect with timeout 5000ms
- waiting for locator('.result-summary > [custom-hover]')
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
❯ Proxy.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:174:37
❯ basic.test.ts:53:49
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { matcherResult: { name: 'toHaveText', expected: '1/1', message: 'Timed out 5000ms waiting for expect(locator).toHaveText(expected)\n\nLocator: locator(\'.result-summary > [custom-hover]\')\nExpected string: "1/1"\nReceived string: "0/0"\nCall log:\n - locator._expect with timeout 5000ms\n - waiting for locator(\'.result-summary > [custom-hover]\')\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n', pass: false, actual: '0/0', log: [ 'locator._expect with timeout 5000ms', 'waiting for locator(\'.result-summary > [custom-hover]\')', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"' ], timeout: 5000 } }
|
test-e2e:
test-e2e/basic.test.ts#L70
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.result-summary > [custom-hover]')
Expected string: "3/4"
Received string: "0/0"
Call log:
- locator._expect with timeout 5000ms
- waiting for locator('.result-summary > [custom-hover]')
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
❯ Proxy.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:174:37
❯ basic.test.ts:70:49
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { matcherResult: { name: 'toHaveText', expected: '3/4', message: 'Timed out 5000ms waiting for expect(locator).toHaveText(expected)\n\nLocator: locator(\'.result-summary > [custom-hover]\')\nExpected string: "3/4"\nReceived string: "0/0"\nCall log:\n - locator._expect with timeout 5000ms\n - waiting for locator(\'.result-summary > [custom-hover]\')\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n', pass: false, actual: '0/0', log: [ 'locator._expect with timeout 5000ms', 'waiting for locator(\'.result-summary > [custom-hover]\')', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"' ], timeout: 5000 } }
|
test-e2e:
test-e2e/basic.test.ts#L70
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.result-summary > [custom-hover]')
Expected string: "3/4"
Received string: "0/0"
Call log:
- locator._expect with timeout 5000ms
- waiting for locator('.result-summary > [custom-hover]')
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
❯ Proxy.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:174:37
❯ basic.test.ts:70:49
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { matcherResult: { name: 'toHaveText', expected: '3/4', message: 'Timed out 5000ms waiting for expect(locator).toHaveText(expected)\n\nLocator: locator(\'.result-summary > [custom-hover]\')\nExpected string: "3/4"\nReceived string: "0/0"\nCall log:\n - locator._expect with timeout 5000ms\n - waiting for locator(\'.result-summary > [custom-hover]\')\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n', pass: false, actual: '0/0', log: [ 'locator._expect with timeout 5000ms', 'waiting for locator(\'.result-summary > [custom-hover]\')', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"' ], timeout: 5000 } }
|
test-e2e:
test-e2e/basic.test.ts#L70
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.result-summary > [custom-hover]')
Expected string: "3/4"
Received string: "0/0"
Call log:
- locator._expect with timeout 5000ms
- waiting for locator('.result-summary > [custom-hover]')
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
- locator resolved to <div custom-hover="true">0/0</div>
- unexpected value "0/0"
❯ Proxy.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:174:37
❯ basic.test.ts:70:49
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { matcherResult: { name: 'toHaveText', expected: '3/4', message: 'Timed out 5000ms waiting for expect(locator).toHaveText(expected)\n\nLocator: locator(\'.result-summary > [custom-hover]\')\nExpected string: "3/4"\nReceived string: "0/0"\nCall log:\n - locator._expect with timeout 5000ms\n - waiting for locator(\'.result-summary > [custom-hover]\')\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n - locator resolved to <div custom-hover="true">0/0</div>\n - unexpected value "0/0"\n', pass: false, actual: '0/0', log: [ 'locator._expect with timeout 5000ms', 'waiting for locator(\'.result-summary > [custom-hover]\')', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"', ' locator resolved to <div custom-hover="true">0/0</div>', ' unexpected value "0/0"' ], timeout: 5000 } }
|
test-e2e
Process completed with exit code 1.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "artifact".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading