Allow click actions to fail silently with an additional parameter #7641
tests.yml
on: pull_request
integration
6m 40s
Matrix: unit
deploy-docs
0s
Annotations
2 errors, 10 warnings, and 2 notices
[integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:83:5 › newtab privacy stats › bar width:
special-pages/pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js#L105
1) [integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:83:5 › newtab privacy stats › bar width
TimeoutError: locator.waitFor: Timeout 5000ms exceeded.
Call log:
- waiting for getByText('Google1').locator('[style="width: 100%;"]') to be visible
103 | });
104 |
> 105 | await page.getByText('Google1').locator('[style="width: 100%;"]').waitFor();
| ^
106 | await page.getByText('Facebook1').locator('[style="width: 100%;"]').waitFor();
107 |
108 | await psp.receiveData({
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:105:79
|
[integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:121:5 › newtab privacy stats › secondary expansion:
special-pages/pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.page.js#L44
2) [integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:121:5 › newtab privacy stats › secondary expansion
Error: expect(received).toBe(expected) // Object.is equality
Expected: 5
Received: 0
at pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.page.js:44
42 | async hasRows(count) {
43 | const rows = this.rows();
> 44 | expect(await rows.count()).toBe(count);
| ^
45 | }
46 |
47 | /**
at PrivacyStatsPage.hasRows (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.page.js:44:36)
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:137:13
|
unit (ubuntu-latest):
special-pages/index.mjs#L102
Expected property shorthand
|
unit (ubuntu-latest):
special-pages/pages/new-tab/app/customizer/mocks.js#L111
Expected property shorthand
|
unit (ubuntu-latest):
special-pages/pages/new-tab/app/customizer/mocks.js#L116
Expected property shorthand
|
unit (windows-latest):
special-pages/index.mjs#L102
Expected property shorthand
|
unit (windows-latest):
special-pages/pages/new-tab/app/customizer/mocks.js#L111
Expected property shorthand
|
unit (windows-latest):
special-pages/pages/new-tab/app/customizer/mocks.js#L116
Expected property shorthand
|
Slow Test:
injected/[chrome] › integration-test/web-compat.spec.js#L1
injected/[chrome] › integration-test/web-compat.spec.js took 23.1s
|
Slow Test:
special-pages/[macos] › pages/onboarding/integration-tests/onboarding.spec.js#L1
special-pages/[macos] › pages/onboarding/integration-tests/onboarding.spec.js took 1.1m
|
Slow Test:
special-pages/[macos] › pages/duckplayer/integration-tests/duckplayer.spec.js#L1
special-pages/[macos] › pages/duckplayer/integration-tests/duckplayer.spec.js took 25.5s
|
Slow Test:
special-pages/[windows] › pages/onboarding/integration-tests/onboarding.spec.js#L1
special-pages/[windows] › pages/onboarding/integration-tests/onboarding.spec.js took 22.8s
|
🎭 Playwright Run Summary
51 skipped
240 passed (1.8m)
|
🎭 Playwright Run Summary
2 flaky
[integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:83:5 › newtab privacy stats › bar width
[integration] › pages/new-tab/app/privacy-stats/integration-tests/privacy-stats.spec.js:121:5 › newtab privacy stats › secondary expansion
36 skipped
224 passed (3.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-pages
|
175 KB |
|