Build And Test Extensions #351
Annotations
10 errors, 1 warning, and 2 notices
Test
Testing stopped early after 3 maximum allowed failures.
|
Test:
tests/features/recorder.spec.ts#L309
1) [edge-theme] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ───────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('截图成功并已保存')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('截图成功并已保存')
307 | await content.locator('body').click() // gesture the iframe (if theme room)
308 | await page.keyboard.press('Control+Shift+V')
> 309 | await expect(content.getByText('截图成功并已保存')).toBeVisible()
| ^
310 |
311 | const downloaded = await download
312 | expect(() => downloaded.suggestedFilename().endsWith('.jpeg')).toBeTruthy()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:309:49
|
Test:
tests/features/recorder.spec.ts#L306
1) [edge-theme] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ───────────────────────────────────────
Error: page.waitForEvent: Target page, context or browser has been closed
=========================== logs ===========================
waiting for event "download"
============================================================
304 |
305 | await content.getByTestId('screenshot-button').waitFor({ state: 'visible' })
> 306 | const download = page.waitForEvent('download')
| ^
307 | await content.locator('body').click() // gesture the iframe (if theme room)
308 | await page.keyboard.press('Control+Shift+V')
309 | await expect(content.getByText('截图成功并已保存')).toBeVisible()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:306:27
|
Test:
tests/features/recorder.spec.ts#L16
1) [edge-theme] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 60000ms exceeded.
Call log:
- waiting for getByText('挂接成功') to be visible
14 | if (isThemeRoom) {
15 | test.slow()
> 16 | await content.getByText('挂接成功').waitFor({
| ^
17 | state: 'visible',
18 | timeout: 60000
19 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:16:41
|
Test:
tests/features/recorder.spec.ts#L16
1) [edge-theme] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ───────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 60000ms exceeded.
Call log:
- waiting for getByText('挂接成功') to be visible
14 | if (isThemeRoom) {
15 | test.slow()
> 16 | await content.getByText('挂接成功').waitFor({
| ^
17 | state: 'visible',
18 | timeout: 60000
19 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:16:41
|
Test:
tests/features/recorder.spec.ts#L16
1) [edge-theme] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ───────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 60000ms exceeded.
Call log:
- waiting for getByText('挂接成功') to be visible
14 | if (isThemeRoom) {
15 | test.slow()
> 16 | await content.getByText('挂接成功').waitFor({
| ^
17 | state: 'visible',
18 | timeout: 60000
19 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:16:41
|
Test:
tests/features/recorder.spec.ts#L16
1) [edge-theme] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ───────────────────────────────────────
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 60000ms exceeded.
Call log:
- waiting for getByText('挂接成功') to be visible
14 | if (isThemeRoom) {
15 | test.slow()
> 16 | await content.getByText('挂接成功').waitFor({
| ^
17 | state: 'visible',
18 | timeout: 60000
19 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:16:41
|
Test:
tests/features/recorder.spec.ts#L16
1) [edge-theme] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ───────────────────────────────────────
Retry #5 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 60000ms exceeded.
Call log:
- waiting for getByText('挂接成功') to be visible
14 | if (isThemeRoom) {
15 | test.slow()
> 16 | await content.getByText('挂接成功').waitFor({
| ^
17 | state: 'visible',
18 | timeout: 60000
19 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:16:41
|
Test:
tests/features/superchat.spec.ts#L1
2) [edge-theme] › features/superchat.spec.ts:83:5 › 測試拖拽按鈕 ───────────────────────────────────────
Test timeout of 360000ms exceeded.
|
Test:
tests/features/superchat.spec.ts#L92
2) [edge-theme] › features/superchat.spec.ts:83:5 › 測試拖拽按鈕 ───────────────────────────────────────
Error: locator.waitFor: Target page, context or browser has been closed
Call log:
- waiting for locator('bjf-csui section#bjf-feature-superchat [data-type="draggable-button"]') to be visible
90 | await p2.waitFor({ state: 'visible' })
91 |
> 92 | await dragPoint.waitFor({ state: 'visible' })
| ^
93 |
94 | await dragPoint.dragTo(p1)
95 | await dragPoint.dragTo(p2)
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/superchat.spec.ts:92:21
|
Set up job
You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 0 MB
|
Test
4 failed
[edge-theme] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ────────────────────────────────────────
[edge-theme] › features/superchat.spec.ts:83:5 › 測試拖拽按鈕 ────────────────────────────────────────
[edge-theme] › features/superchat.spec.ts:102:5 › 測試離線記錄醒目留言 ───────────────────────────────────
[edge-theme] › features/superchat.spec.ts:152:5 › 測試房間名單列表(黑名單/白名單) ────────────────────────────
13 flaky
[theme-setup] › theme.setup.ts:5:6 › 預先搜索大海報房間 ─────────────────────────────────────────────────
[edge-theme] › content.spec.ts:15:5 › 測試功能元素有否基於設定而消失/顯示 ───────────────────────────────────────
[edge-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕 ─────────────────────────────────────
[edge-theme] › features/jimaku.spec.ts:21:5 › 測試字幕區塊是否存在 ───────────────────────────────────────
[edge-theme] › features/recorder.spec.ts:163:5 › 測試錄製 HLS ──────────────────────────────────────
[edge-theme] › features/recorder.spec.ts:187:5 › 測試錄製 WEBM -> MP4 ──────────────────────────────
[edge-theme] › features/recorder.spec.ts:235:5 › 測試熱鍵錄製 ────────────────────────────────────────
[edge-theme] › features/recorder.spec.ts:364:5 › 測試手動錄製 ────────────────────────────────────────
[edge-theme] › features/recorder.spec.ts:409:5 › 測試 HLS 完整編譯 ───────────────────────────────────
[edge-theme] › features/recorder.spec.ts:575:5 › 測試 WEBM -> MP4 完整編譯 ───────────────────────────
[edge-theme] › features/recorder.spec.ts:665:5 › 測試 WEBM 錄製 - 更換視頻源時的處理 ────────────────────────
[edge-theme] › features/recorder.spec.ts:742:5 › 測試 WEBM 錄製 - 不解除靜音的處理 ─────────────────────────
[edge-theme] › features/superchat.spec.ts:7:5 › 測試功能元素是否存在 ─────────────────────────────────────
4 skipped
15 did not run
32 passed (1.9h)
|
Print Report URL
https://reports.ericlamm.xyz/bilibili-vup-stream-enhancer/351/edge-theme/
|
Loading