fixup! added e2e test #117
partial-test.yml
on: push
Matrix: fast-test
Matrix: fast-build
Matrix: fast-e2e-test
Annotations
15 errors, 4 warnings, and 2 notices
[edge] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
[edge] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
[edge] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
[edge] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
[edge] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
[edge] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Retry #5 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
fast-e2e-test (edge)
Process completed with exit code 1.
|
[chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
[chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
[chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
[chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
[chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L1
1) [chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────────
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
[chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L473
1) [chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────────
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.reload: Target page, context or browser has been closed
Call log:
- waiting for navigation until "load"
- navigated to "https://live.bilibili.com/21849412"
471 |
472 | logger.info('正在刷新頁面...')
> 473 | await page.reload()
| ^
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:473:16
|
[chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L476
1) [chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────────
Retry #5 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
fast-e2e-test (chrome)
Process completed with exit code 1.
|
fast-test (integrations)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
fast-test (units)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
fast-e2e-test (edge)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
fast-e2e-test (chrome)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🎭 Playwright Run Summary
1 failed
[edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ────────────────────────────────────────────────────
|
🎭 Playwright Run Summary
1 failed
[chrome] › content.spec.ts:454:5 › 測試 强制啓動 模式 ──────────────────────────────────────────────────
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
chrome-mv3
|
30.9 MB |
|
chrome-test-results
|
339 MB |
|
chromium-mv3
|
30.9 MB |
|
edge-mv3
|
30.9 MB |
|
edge-test-results
|
367 MB |
|