Skip to content

Improve non-English matching #3092

Improve non-English matching

Improve non-English matching #3092

Triggered via pull request September 19, 2023 10:13
Status Success
Total duration 5m 33s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 4 warnings, and 1 notice
[extension] › incontext-signup.extension.spec.js:14:5 › chrome extension › should allow user to sign up for Email Protection: integration-test/helpers/pages.js#L34
1) [extension] › incontext-signup.extension.spec.js:14:5 › chrome extension › should allow user to sign up for Email Protection TimeoutError: locator.click: Timeout 500ms exceeded. =========================== logs =========================== waiting for locator('text=Protect My Email') locator resolved to <a target="_blank" class="primary js-get-email-sign…>↵ Protect My Email↵ </a> attempting click action waiting for element to be visible, enabled and stable ============================================================ at ../helpers/pages.js:34 32 | } 33 | async getEmailProtection () { > 34 | (await getCallToAction()).click({timeout: 500}) | ^ 35 | } 36 | async dismissTooltipWith (text) { 37 | const dismissTooltipButton = await page.locator(`text=${text}`) at IncontextSignupPage.getEmailProtection (/home/runner/work/duckduckgo-autofill/duckduckgo-autofill/integration-test/helpers/pages.js:34:39) at /home/runner/work/duckduckgo-autofill/duckduckgo-autofill/integration-test/tests/incontext-signup.extension.spec.js:32:9
[extension] › incontext-signup.extension.spec.js:14:5 › chrome extension › should allow user to sign up for Email Protection: integration-test/tests/incontext-signup.extension.spec.js#L1
1) [extension] › incontext-signup.extension.spec.js:14:5 › chrome extension › should allow user to sign up for Email Protection Test timeout of 30000ms exceeded.
[extension] › incontext-signup.extension.spec.js:43:5 › chrome extension › should allow tooltip to be dismissed: integration-test/helpers/pages.js#L38
2) [extension] › incontext-signup.extension.spec.js:43:5 › chrome extension › should allow tooltip to be dismissed TimeoutError: locator.click: Timeout 500ms exceeded. =========================== logs =========================== waiting for locator('text=Don\'t Show Again') locator resolved to <button class="ghost js-dismiss-email-signup">↵ Don't Show Again↵ </button> attempting click action waiting for element to be visible, enabled and stable ============================================================ at ../helpers/pages.js:38 36 | async dismissTooltipWith (text) { 37 | const dismissTooltipButton = await page.locator(`text=${text}`) > 38 | await dismissTooltipButton.click({timeout: 500}) | ^ 39 | } 40 | async closeTooltip () { 41 | const dismissTooltipButton = await page.locator(`[aria-label=Close]`) at IncontextSignupPage.dismissTooltipWith (/home/runner/work/duckduckgo-autofill/duckduckgo-autofill/integration-test/helpers/pages.js:38:40) at /home/runner/work/duckduckgo-autofill/duckduckgo-autofill/integration-test/tests/incontext-signup.extension.spec.js:54:9
[extension] › incontext-signup.extension.spec.js:64:5 › chrome extension › should allow tooltip to be closed: integration-test/helpers/pages.js#L678
3) [extension] › incontext-signup.extension.spec.js:64:5 › chrome extension › should allow tooltip to be closed Error: Timed out 5000ms waiting for expect(received).toHaveAttribute(expected) Expected string: "true" Received string: "" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('[data-ddg-inputtype="identities.emailAddress"]') - waiting for locator('[data-ddg-inputtype="identities.emailAddress"]') at ../helpers/pages.js:678 676 | async assertDaxIconIsShowing () { 677 | const input = page.locator(selectors.identity) > 678 | expect(input).toHaveAttribute(ATTR_AUTOFILL, 'true') | ^ 679 | } 680 | async assertDaxIconIsHidden ({ checking = 'autofill' } = {}) { 681 | const input = await page.getByLabel('Email') at EmailAutofillPage.assertDaxIconIsShowing (/home/runner/work/duckduckgo-autofill/duckduckgo-autofill/integration-test/helpers/pages.js:678:27) at /home/runner/work/duckduckgo-autofill/duckduckgo-autofill/integration-test/tests/incontext-signup.extension.spec.js:79:25
[extension] › incontext-signup.extension.spec.js:64:5 › chrome extension › should allow tooltip to be closed: integration-test/tests/incontext-signup.extension.spec.js#L1
3) [extension] › incontext-signup.extension.spec.js:64:5 › chrome extension › should allow tooltip to be closed Test finished within timeout of 30000ms, but tearing down "context" ran out of time. Please allow more time for the test, since teardown is attributed towards the test timeout budget.
[macos] › email-autofill.macos.spec.js:196:9 › macos › auto filling a signup form › with an identity + Email Protection: integration-test/helpers/pages.js#L204
4) [macos] › email-autofill.macos.spec.js:196:9 › macos › auto filling a signup form › with an identity + Email Protection, autofill using duck address in identity Error: locator.click: Element is not visible =========================== logs =========================== waiting for locator('button:has-text("[email protected]")') locator resolved to <button id="01" class="tooltip__button tooltip__button--…>…</button> attempting click action waiting for element to be visible, enabled and stable forcing action element is visible, enabled and stable scrolling into view if needed ============================================================ at ../helpers/pages.js:204 202 | await input.click() 203 | const button = page.locator(`button:has-text("${selector}")`) > 204 | await button.click({ force: true }) | ^ 205 | } 206 | /** 207 | * @param {import('../../src/deviceApiCalls/__generated__/validators-ts').SendJSPixelParams[]} pixels at SignupPage.selectFirstEmailField (/home/runner/work/duckduckgo-autofill/duckduckgo-autofill/integration-test/helpers/pages.js:204:26) at /home/runner/work/duckduckgo-autofill/duckduckgo-autofill/integration-test/tests/email-autofill.macos.spec.js:211:13
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Slow Test: [macos] › login-form.macos.spec.js#L1
[macos] › login-form.macos.spec.js took 34.9s
Slow Test: [extension] › incontext-signup.extension.spec.js#L1
[extension] › incontext-signup.extension.spec.js took 23.0s
Slow Test: [macos] › email-autofill.macos.spec.js#L1
[macos] › email-autofill.macos.spec.js took 16.6s
🎭 Playwright Run Summary
4 flaky [extension] › incontext-signup.extension.spec.js:14:5 › chrome extension › should allow user to sign up for Email Protection [extension] › incontext-signup.extension.spec.js:43:5 › chrome extension › should allow tooltip to be dismissed [extension] › incontext-signup.extension.spec.js:64:5 › chrome extension › should allow tooltip to be closed [macos] › email-autofill.macos.spec.js:196:9 › macos › auto filling a signup form › with an identity + Email Protection, autofill using duck address in identity 1 skipped 97 passed (2.5m)

Artifacts

Produced during runtime
Name Size
playwright-results Expired
496 KB