fix csp_error #1244
playwright.yml
on: pull_request
e2e-test
1m 49s
Oh hello! Nice to see you.
Made with ❤️ by humans.txt
Annotations
2 errors, 2 warnings, and 1 notice
titlebar.spec.ts:14:9 › titlebar › pin/unpin should work:
e2e/titlebar.spec.ts#L7
1) titlebar.spec.ts:14:9 › titlebar › pin/unpin should work ──────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
5 |
6 | test.describe('titlebar', () => {
> 7 | test.beforeEach(async ({ page }) => {
| ^
8 | await page.goto(`file:${path.join(__dirname, 'test.html')}`)
9 | await selectExampleText(page)
10 | const thumb = page.locator(`#${containerID} #${popupThumbID}`)
at /home/runner/work/openai-translator/openai-translator/e2e/titlebar.spec.ts:7:10
|
titlebar.spec.ts:14:9 › titlebar › pin/unpin should work:
e2e/titlebar.spec.ts#L11
1) titlebar.spec.ts:14:9 › titlebar › pin/unpin should work ──────────────────────────────────────
Error: locator.click: Target closed
=========================== logs ===========================
waiting for locator('#__yetone-openai-translator #__yetone-openai-translator-popup-thumb')
============================================================
9 | await selectExampleText(page)
10 | const thumb = page.locator(`#${containerID} #${popupThumbID}`)
> 11 | await thumb.click()
| ^
12 | })
13 |
14 | test('pin/unpin should work', async ({ page }) => {
at /home/runner/work/openai-translator/openai-translator/e2e/titlebar.spec.ts:11:21
|
e2e-test
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Slow Test:
titlebar.spec.ts#L1
titlebar.spec.ts took 32.5s
|
🎭 Playwright Run Summary
1 flaky
titlebar.spec.ts:14:9 › titlebar › pin/unpin should work ───────────────────────────────────────
5 passed (37.2s)
|