Build And Test Extensions #261
Annotations
8 errors, 1 warning, and 2 notices
Test:
tests/pages/settings.spec.ts#L462
1) [edge-theme] › pages/settings.spec.ts:426:5 › 測試导航 ────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByText('跳过') resolved to 2 elements:
1) <a role="menuitem" class="block px-4 py-2 text-sm t…>跳过 ffmpeg 编译 (资讯损坏状态)</a> aka getByText('跳过 ffmpeg 编译 (资讯损坏状态)')
2) <button title="跳过" type="button" role="button" aria-live…>跳过</button> aka locator('[data-test-id="button-skip"]')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('跳过')
460 | logger.info('正在測試導航跳過...')
461 |
> 462 | await expect(skip).toBeVisible()
| ^
463 | await skip.click()
464 |
465 | await expect(overlay).toBeHidden()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/settings.spec.ts:462:24
|
Test:
tests/pages/settings.spec.ts#L462
1) [edge-theme] › pages/settings.spec.ts:426:5 › 測試导航 ────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByText('跳过') resolved to 2 elements:
1) <a role="menuitem" class="block px-4 py-2 text-sm t…>跳过 ffmpeg 编译 (资讯损坏状态)</a> aka getByText('跳过 ffmpeg 编译 (资讯损坏状态)')
2) <button title="跳过" type="button" role="button" aria-live…>跳过</button> aka locator('[data-test-id="button-skip"]')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('跳过')
460 | logger.info('正在測試導航跳過...')
461 |
> 462 | await expect(skip).toBeVisible()
| ^
463 | await skip.click()
464 |
465 | await expect(overlay).toBeHidden()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/settings.spec.ts:462:24
|
Test:
tests/pages/settings.spec.ts#L462
1) [edge-theme] › pages/settings.spec.ts:426:5 › 測試导航 ────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByText('跳过') resolved to 2 elements:
1) <a role="menuitem" class="block px-4 py-2 text-sm t…>跳过 ffmpeg 编译 (资讯损坏状态)</a> aka getByText('跳过 ffmpeg 编译 (资讯损坏状态)')
2) <button title="跳过" type="button" role="button" aria-live…>跳过</button> aka locator('[data-test-id="button-skip"]')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('跳过')
460 | logger.info('正在測試導航跳過...')
461 |
> 462 | await expect(skip).toBeVisible()
| ^
463 | await skip.click()
464 |
465 | await expect(overlay).toBeHidden()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/settings.spec.ts:462:24
|
Test:
tests/pages/settings.spec.ts#L462
1) [edge-theme] › pages/settings.spec.ts:426:5 › 測試导航 ────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByText('跳过') resolved to 2 elements:
1) <a role="menuitem" class="block px-4 py-2 text-sm t…>跳过 ffmpeg 编译 (资讯损坏状态)</a> aka getByText('跳过 ffmpeg 编译 (资讯损坏状态)')
2) <button title="跳过" type="button" role="button" aria-live…>跳过</button> aka locator('[data-test-id="button-skip"]')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('跳过')
460 | logger.info('正在測試導航跳過...')
461 |
> 462 | await expect(skip).toBeVisible()
| ^
463 | await skip.click()
464 |
465 | await expect(overlay).toBeHidden()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/settings.spec.ts:462:24
|
Test:
tests/pages/settings.spec.ts#L462
1) [edge-theme] › pages/settings.spec.ts:426:5 › 測試导航 ────────────────────────────────────────────
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByText('跳过') resolved to 2 elements:
1) <a role="menuitem" class="block px-4 py-2 text-sm t…>跳过 ffmpeg 编译 (资讯损坏状态)</a> aka getByText('跳过 ffmpeg 编译 (资讯损坏状态)')
2) <button title="跳过" type="button" role="button" aria-live…>跳过</button> aka locator('[data-test-id="button-skip"]')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('跳过')
460 | logger.info('正在測試導航跳過...')
461 |
> 462 | await expect(skip).toBeVisible()
| ^
463 | await skip.click()
464 |
465 | await expect(overlay).toBeHidden()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/settings.spec.ts:462:24
|
Test:
tests/pages/settings.spec.ts#L462
1) [edge-theme] › pages/settings.spec.ts:426:5 › 測試导航 ────────────────────────────────────────────
Retry #5 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByText('跳过') resolved to 2 elements:
1) <a role="menuitem" class="block px-4 py-2 text-sm t…>跳过 ffmpeg 编译 (资讯损坏状态)</a> aka getByText('跳过 ffmpeg 编译 (资讯损坏状态)')
2) <button title="跳过" type="button" role="button" aria-live…>跳过</button> aka locator('[data-test-id="button-skip"]')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('跳过')
460 | logger.info('正在測試導航跳過...')
461 |
> 462 | await expect(skip).toBeVisible()
| ^
463 | await skip.click()
464 |
465 | await expect(overlay).toBeHidden()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/settings.spec.ts:462:24
|
Test:
tests/pages/settings.spec.ts#L481
2) [edge-theme] › pages/settings.spec.ts:291:5 › 測試設定數據從MV2遷移 ────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 4
Received: 1
479 | async function compareTable(table: Locator, data: string[], index: number = 0): Promise<void> {
480 | const rows = await table.locator('tbody tr').all()
> 481 | expect(rows.length).toBe(data.length)
| ^
482 | for (let i = 0; i < rows.length; i++) {
483 | await expect(rows[i].locator('td').nth(index)).toHaveText(data[i])
484 | }
at compareTable (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/settings.spec.ts:481:25)
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/settings.spec.ts:415:5
|
Test
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
1 failed
[edge-theme] › pages/settings.spec.ts:426:5 › 測試导航 ─────────────────────────────────────────────
1 flaky
[edge-theme] › pages/settings.spec.ts:291:5 › 測試設定數據從MV2遷移 ─────────────────────────────────────
2 skipped
51 passed (10.2m)
|
Print Report URL
https://reports.ericlamm.xyz/bilibili-vup-stream-enhancer/261/edge-theme/
|
Loading