chore: Add History message to PrivacyStats #7472
tests.yml
on: pull_request
integration
6m 23s
Matrix: unit
deploy-docs
0s
Annotations
10 errors, 12 warnings, and 2 notices
[integration] › pages/new-tab/app/customizer/integration-tests/customizer.spec.js:216:5 › newtab customizer › loads with images:
special-pages/pages/new-tab/app/customizer/integration-tests/customizer.page.js#L343
1) [integration] › pages/new-tab/app/customizer/integration-tests/customizer.spec.js:216:5 › newtab customizer › loads with images, and handles nested exceptions
Error: locator.click: Error: strict mode violation: getByTestId('dismissBtn') resolved to 2 elements:
1) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn PrivacyStats_dismissBtn">…</button> aka getByLabel('Dismiss')
2) <button aria-label="Close" data-testid="dismissBtn" class="DismissButton_btn CustomizerDrawerInner_closeBtn">…</button> aka getByLabel('Close')
Call log:
- waiting for getByTestId('dismissBtn')
at pages/new-tab/app/customizer/integration-tests/customizer.page.js:343
341 | await expect(page.getByRole('complementary')).toContainText('A problem occurred with this feature. DuckDuckGo was notified');
342 | await page.getByRole('button', { name: 'My Backgrounds' }).click();
> 343 | await page.getByTestId('dismissBtn').click();
| ^
344 |
345 | // sends the report
346 | const calls = await this.ntp.mocks.waitForCallCount({ count: 1, method: named.notification('reportPageException') });
at CustomizerPage.handlesNestedException (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/customizer/integration-tests/customizer.page.js:343:46)
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/customizer/integration-tests/customizer.spec.js:223:9
|
[integration] › pages/new-tab/app/customizer/integration-tests/customizer.spec.js:216:5 › newtab customizer › loads with images:
special-pages/pages/new-tab/app/customizer/integration-tests/customizer.page.js#L343
1) [integration] › pages/new-tab/app/customizer/integration-tests/customizer.spec.js:216:5 › newtab customizer › loads with images, and handles nested exceptions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByTestId('dismissBtn') resolved to 2 elements:
1) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn PrivacyStats_dismissBtn">…</button> aka getByLabel('Dismiss')
2) <button aria-label="Close" data-testid="dismissBtn" class="DismissButton_btn CustomizerDrawerInner_closeBtn">…</button> aka getByLabel('Close')
Call log:
- waiting for getByTestId('dismissBtn')
at pages/new-tab/app/customizer/integration-tests/customizer.page.js:343
341 | await expect(page.getByRole('complementary')).toContainText('A problem occurred with this feature. DuckDuckGo was notified');
342 | await page.getByRole('button', { name: 'My Backgrounds' }).click();
> 343 | await page.getByTestId('dismissBtn').click();
| ^
344 |
345 | // sends the report
346 | const calls = await this.ntp.mocks.waitForCallCount({ count: 1, method: named.notification('reportPageException') });
at CustomizerPage.handlesNestedException (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/customizer/integration-tests/customizer.page.js:343:46)
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/customizer/integration-tests/customizer.spec.js:223:9
|
[integration] › pages/new-tab/app/customizer/integration-tests/customizer.spec.js:216:5 › newtab customizer › loads with images:
special-pages/pages/new-tab/app/customizer/integration-tests/customizer.page.js#L343
1) [integration] › pages/new-tab/app/customizer/integration-tests/customizer.spec.js:216:5 › newtab customizer › loads with images, and handles nested exceptions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByTestId('dismissBtn') resolved to 2 elements:
1) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn PrivacyStats_dismissBtn">…</button> aka getByLabel('Dismiss')
2) <button aria-label="Close" data-testid="dismissBtn" class="DismissButton_btn CustomizerDrawerInner_closeBtn">…</button> aka getByLabel('Close')
Call log:
- waiting for getByTestId('dismissBtn')
at pages/new-tab/app/customizer/integration-tests/customizer.page.js:343
341 | await expect(page.getByRole('complementary')).toContainText('A problem occurred with this feature. DuckDuckGo was notified');
342 | await page.getByRole('button', { name: 'My Backgrounds' }).click();
> 343 | await page.getByTestId('dismissBtn').click();
| ^
344 |
345 | // sends the report
346 | const calls = await this.ntp.mocks.waitForCallCount({ count: 1, method: named.notification('reportPageException') });
at CustomizerPage.handlesNestedException (/home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/customizer/integration-tests/customizer.page.js:343:46)
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/customizer/integration-tests/customizer.spec.js:223:9
|
[integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:17:5 › newtab remote messaging framework freemiumPIRBanner › onboarding variant renders a title:
special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js#L29
2) [integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:17:5 › newtab remote messaging framework freemiumPIRBanner › onboarding variant renders a title, descriptionText with strong tag, an action button, and dismiss button
Error: locator.click: Error: strict mode violation: getByTestId('dismissBtn') resolved to 2 elements:
1) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn FreemiumPIRBanner_dismissBtn">…</button> aka locator('#onboarding').getByTestId('dismissBtn')
2) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn PrivacyStats_dismissBtn">…</button> aka getByTestId('dismissBtn').nth(1)
Call log:
- waiting for getByTestId('dismissBtn')
27 | await page.getByRole('button', { name: 'Free Scan' }).click();
28 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_action', count: 1 });
> 29 | await page.getByTestId('dismissBtn').click();
| ^
30 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_dismiss', count: 1 });
31 | });
32 |
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:29:46
|
[integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:17:5 › newtab remote messaging framework freemiumPIRBanner › onboarding variant renders a title:
special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js#L29
2) [integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:17:5 › newtab remote messaging framework freemiumPIRBanner › onboarding variant renders a title, descriptionText with strong tag, an action button, and dismiss button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByTestId('dismissBtn') resolved to 2 elements:
1) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn FreemiumPIRBanner_dismissBtn">…</button> aka locator('#onboarding').getByTestId('dismissBtn')
2) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn PrivacyStats_dismissBtn">…</button> aka getByTestId('dismissBtn').nth(1)
Call log:
- waiting for getByTestId('dismissBtn')
27 | await page.getByRole('button', { name: 'Free Scan' }).click();
28 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_action', count: 1 });
> 29 | await page.getByTestId('dismissBtn').click();
| ^
30 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_dismiss', count: 1 });
31 | });
32 |
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:29:46
|
[integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:17:5 › newtab remote messaging framework freemiumPIRBanner › onboarding variant renders a title:
special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js#L29
2) [integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:17:5 › newtab remote messaging framework freemiumPIRBanner › onboarding variant renders a title, descriptionText with strong tag, an action button, and dismiss button
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByTestId('dismissBtn') resolved to 2 elements:
1) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn FreemiumPIRBanner_dismissBtn">…</button> aka locator('#onboarding').getByTestId('dismissBtn')
2) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn PrivacyStats_dismissBtn">…</button> aka getByTestId('dismissBtn').nth(1)
Call log:
- waiting for getByTestId('dismissBtn')
27 | await page.getByRole('button', { name: 'Free Scan' }).click();
28 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_action', count: 1 });
> 29 | await page.getByTestId('dismissBtn').click();
| ^
30 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_dismiss', count: 1 });
31 | });
32 |
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:29:46
|
[integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:33:5 › newtab remote messaging framework freemiumPIRBanner › scan_results variant renders descriptionText:
special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js#L40
3) [integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:33:5 › newtab remote messaging framework freemiumPIRBanner › scan_results variant renders descriptionText, an action button, and dismiss button
Error: locator.click: Error: strict mode violation: getByTestId('dismissBtn') resolved to 2 elements:
1) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn FreemiumPIRBanner_dismissBtn">…</button> aka locator('#scan_results').getByTestId('dismissBtn')
2) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn PrivacyStats_dismissBtn">…</button> aka getByTestId('dismissBtn').nth(1)
Call log:
- waiting for getByTestId('dismissBtn')
38 | await page.getByText('Your free personal').waitFor();
39 | await page.getByRole('button', { name: 'View Results' }).click();
> 40 | await page.getByTestId('dismissBtn').click();
| ^
41 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_action', count: 1 });
42 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_dismiss', count: 1 });
43 | });
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:40:46
|
[integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:33:5 › newtab remote messaging framework freemiumPIRBanner › scan_results variant renders descriptionText:
special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js#L40
3) [integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:33:5 › newtab remote messaging framework freemiumPIRBanner › scan_results variant renders descriptionText, an action button, and dismiss button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByTestId('dismissBtn') resolved to 2 elements:
1) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn FreemiumPIRBanner_dismissBtn">…</button> aka locator('#scan_results').getByTestId('dismissBtn')
2) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn PrivacyStats_dismissBtn">…</button> aka getByTestId('dismissBtn').nth(1)
Call log:
- waiting for getByTestId('dismissBtn')
38 | await page.getByText('Your free personal').waitFor();
39 | await page.getByRole('button', { name: 'View Results' }).click();
> 40 | await page.getByTestId('dismissBtn').click();
| ^
41 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_action', count: 1 });
42 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_dismiss', count: 1 });
43 | });
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:40:46
|
[integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:33:5 › newtab remote messaging framework freemiumPIRBanner › scan_results variant renders descriptionText:
special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js#L40
3) [integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:33:5 › newtab remote messaging framework freemiumPIRBanner › scan_results variant renders descriptionText, an action button, and dismiss button
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByTestId('dismissBtn') resolved to 2 elements:
1) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn FreemiumPIRBanner_dismissBtn">…</button> aka locator('#scan_results').getByTestId('dismissBtn')
2) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn PrivacyStats_dismissBtn">…</button> aka getByTestId('dismissBtn').nth(1)
Call log:
- waiting for getByTestId('dismissBtn')
38 | await page.getByText('Your free personal').waitFor();
39 | await page.getByRole('button', { name: 'View Results' }).click();
> 40 | await page.getByTestId('dismissBtn').click();
| ^
41 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_action', count: 1 });
42 | await ntp.mocks.waitForCallCount({ method: 'freemiumPIRBanner_dismiss', count: 1 });
43 | });
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:40:46
|
[integration] › pages/new-tab/app/next-steps/integrations-tests/next-steps.spec.js:15:5 › newtab NextSteps cards › renders a dismiss button:
special-pages/pages/new-tab/app/next-steps/integrations-tests/next-steps.spec.js#L19
4) [integration] › pages/new-tab/app/next-steps/integrations-tests/next-steps.spec.js:15:5 › newtab NextSteps cards › renders a dismiss button
Error: locator.click: Error: strict mode violation: getByTestId('dismissBtn') resolved to 2 elements:
1) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn NextSteps_dismissBtn">…</button> aka getByTestId('dismissBtn').first()
2) <button aria-label="Dismiss" data-testid="dismissBtn" class="DismissButton_btn PrivacyStats_dismissBtn">…</button> aka getByTestId('dismissBtn').nth(1)
Call log:
- waiting for getByTestId('dismissBtn')
17 | await ntp.reducedMotion();
18 | await ntp.openPage({ nextSteps: 'bringStuff' });
> 19 | await page.getByTestId('dismissBtn').click();
| ^
20 | await ntp.mocks.waitForCallCount({ method: 'nextSteps_dismiss', count: 1 });
21 | });
22 |
at /home/runner/work/content-scope-scripts/content-scope-scripts/special-pages/pages/new-tab/app/next-steps/integrations-tests/next-steps.spec.js:19:46
|
unit (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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
|
integration
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Slow Test:
injected/[chrome] › integration-test/web-compat.spec.js#L1
injected/[chrome] › integration-test/web-compat.spec.js took 22.6s
|
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/[windows] › pages/onboarding/integration-tests/onboarding.spec.js#L1
special-pages/[windows] › pages/onboarding/integration-tests/onboarding.spec.js took 22.8s
|
Slow Test:
special-pages/[macos] › pages/duckplayer/integration-tests/duckplayer.spec.js#L1
special-pages/[macos] › pages/duckplayer/integration-tests/duckplayer.spec.js took 22.5s
|
🎭 Playwright Run Summary
51 skipped
230 passed (1.7m)
|
🎭 Playwright Run Summary
7 failed
[integration] › pages/new-tab/app/customizer/integration-tests/customizer.spec.js:216:5 › newtab customizer › loads with images, and handles nested exceptions
[integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:17:5 › newtab remote messaging framework freemiumPIRBanner › onboarding variant renders a title, descriptionText with strong tag, an action button, and dismiss button
[integration] › pages/new-tab/app/freemium-pir-banner/integration-tests/freemium-pir-banner.spec.js:33:5 › newtab remote messaging framework freemiumPIRBanner › scan_results variant renders descriptionText, an action button, and dismiss button
[integration] › pages/new-tab/app/next-steps/integrations-tests/next-steps.spec.js:15:5 › newtab NextSteps cards › renders a dismiss button
[integration] › pages/new-tab/app/remote-messaging-framework/integration-tests/rmf.spec.js:17:5 › newtab remote messaging framework rmf › renders a title and dismiss button for small variant
[integration] › pages/new-tab/app/update-notification/integration-tests/update-notification.spec.js:5:5 › newtab update notifications › handles empty notes
[integration] › pages/new-tab/app/update-notification/integration-tests/update-notification.spec.js:19:5 › newtab update notifications › handles populated notes
36 skipped
218 passed (3.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-pages
|
680 KB |
|