updates v2.0.3.1028 #342
build-test.yml
on: pull_request
Matrix: build
Matrix: test
Matrix: e2e-test
Annotations
9 errors, 10 warnings, and 6 notices
[integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時:
<anonymous>#L35575
1) [integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時
Error: page.evaluate: Error: 没有可用的播放器支援 {"type":"hls","codec":"avc"}
at loopStreams (<anonymous>:35575:11)
at async BufferRecorder.start (<anonymous>:35594:21)
at async eval (eval at evaluate (:234:30), <anonymous>:13:5)
at async <anonymous>:260:30
at loopStreams (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/<anonymous>:35575:11)
at async BufferRecorder.start (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/<anonymous>:35594:21)
at async eval (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/eval at evaluate (:234:30), <anonymous>:13:5)
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/async <anonymous>:260:30
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/integrations/recorder.spec.ts:15:35
|
[integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時:
tests/integrations/recorder.spec.ts#L14
1) [integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時
Error: page.waitForEvent: Target page, context or browser has been closed
=========================== logs ===========================
waiting for event "download"
============================================================
12 | await modules['utils'].loadToPage()
13 |
> 14 | const downloading = page.waitForEvent('download')
| ^
15 | const length = await page.evaluate(async ({ stream, roomid }) => {
16 |
17 | const { createRecorder, utils } = window as any
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/integrations/recorder.spec.ts:14:34
|
[integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時:
tests/fixtures/component.ts#L101
1) [integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時
Error: browserContext.close: Target page, context or browser has been closed
at fixtures/component.ts:101
99 | test.afterEach(async ({ page, context }) => {
100 | await page.close()
> 101 | await context.close()
| ^
102 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/fixtures/component.ts:101:5
|
[edge] › features/jimaku.spec.ts:128:5 › 测试同传字幕AI总结:
tests/features/jimaku.spec.ts#L200
1) [edge] › features/jimaku.spec.ts:128:5 › 测试同传字幕AI总结 ───────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByText('错误')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('错误')
- locator resolved to <p class="block antialiased font-sans text-sm leading-normal text-red-500 font-semibold">错误: AiError: 3001: Unknown internal error</p>
- unexpected value "visible"
- locator resolved to <p class="block antialiased font-sans text-sm leading-normal text-red-500 font-semibold">错误: AiError: 3001: Unknown internal error</p>
- unexpected value "visible"
- locator resolved to <p class="block antialiased font-sans text-sm leading-normal text-red-500 font-semibold">错误: AiError: 3001: Unknown internal error</p>
- unexpected value "visible"
- locator resolved to <p class="block antialiased font-sans text-sm leading-normal text-red-500 font-semibold">错误: AiError: 3001: Unknown internal error</p>
- unexpected value "visible"
- locator resolved to <p class="block antialiased font-sans text-sm leading-normal text-red-500 font-semibold">错误: AiError: 3001: Unknown internal error</p>
- unexpected value "visible"
- locator resolved to <p class="block antialiased font-sans text-sm leading-normal text-red-500 font-semibold">错误: AiError: 3001: Unknown internal error</p>
- unexpected value "visible"
- locator resolved to <p class="block antialiased font-sans text-sm leading-normal text-red-500 font-semibold">错误: AiError: 3001: Unknown internal error</p>
- unexpected value "visible"
- locator resolved to <p class="block antialiased font-sans text-sm leading-normal text-red-500 font-semibold">错误: AiError: 3001: Unknown internal error</p>
- unexpected value "visible"
- locator resolved to <p class="block antialiased font-sans text-sm leading-normal text-red-500 font-semibold">错误: AiError: 3001: Unknown internal error</p>
- unexpected value "visible"
198 | await summarizer.waitForTimeout(3000)
199 |
> 200 | await expect(summarizer.getByText('错误')).toBeHidden({ timeout: 5000 })
| ^
201 | await expect(loader).toBeHidden({ timeout: 30000 })
202 |
203 | logger.info('正在測試AI总結結果... (15s)')
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/jimaku.spec.ts:200:46
|
[edge] › features/jimaku.spec.ts:347:5 › 測試右鍵同傳字幕來屏蔽同傳發送者:
tests/features/jimaku.spec.ts#L1
2) [edge] › features/jimaku.spec.ts:347:5 › 測試右鍵同傳字幕來屏蔽同傳發送者 ─────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[edge] › features/jimaku.spec.ts:347:5 › 測試右鍵同傳字幕來屏蔽同傳發送者:
tests/features/jimaku.spec.ts#L366
2) [edge] › features/jimaku.spec.ts:347:5 › 測試右鍵同傳字幕來屏蔽同傳發送者 ─────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByText('屏蔽选中同传发送者')
- locator resolved to <div class="contexify_itemContent">屏蔽选中同传发送者</div>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
364 | page.once('dialog', (dialog) => dialog.accept())
365 | await subtitles.nth(0).click({ button: 'right' })
> 366 | await content.getByText('屏蔽选中同传发送者').click()
| ^
367 |
368 | await content.getByText(/已不再接收 (.+) 的同传弹幕/).waitFor({ state: 'visible' })
369 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/jimaku.spec.ts:366:42
|
[edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/features/jimaku.spec.ts#L471
3) [edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ─────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeAttached()
Locator: locator('#jimaku-full-area')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 5000ms
- waiting for locator('#jimaku-full-area')
469 |
470 | const area = p.locator('#jimaku-full-area')
> 471 | await expect(area).toBeAttached()
| ^
472 |
473 | const subtitleList = area.locator('#subtitle-list')
474 | await expect(subtitleList).toBeVisible()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/jimaku.spec.ts:471:24
|
[edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/features/jimaku.spec.ts#L471
3) [edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeAttached()
Locator: locator('#jimaku-full-area')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 5000ms
- waiting for locator('#jimaku-full-area')
469 |
470 | const area = p.locator('#jimaku-full-area')
> 471 | await expect(area).toBeAttached()
| ^
472 |
473 | const subtitleList = area.locator('#subtitle-list')
474 | await expect(subtitleList).toBeVisible()
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/jimaku.spec.ts:471:24
|
[chrome] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖:
tests/features/recorder.spec.ts#L319
1) [chrome] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ───────────────────────────────────────────
Error: expect(received).toBeLessThanOrEqual(expected)
Expected: <= 1080
Received: 1280
317 |
318 | expect(info.width).toBeLessThanOrEqual(1920)
> 319 | expect(info.height).toBeLessThanOrEqual(1080)
| ^
320 |
321 | expect(info.width).toBeGreaterThanOrEqual(854)
322 | expect(info.height).toBeGreaterThanOrEqual(480)
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:319:25
|
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/
|
Slow Test:
[units] › units/capture.spec.ts#L1
[units] › units/capture.spec.ts took 30.7s
|
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/
|
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/
|
e2e-test (chrome, -theme)
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/
|
Slow Test:
[theme-setup] › theme.setup.ts#L1
[theme-setup] › theme.setup.ts took 5.9m
|
e2e-test (edge, -theme)
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/
|
Slow Test:
[theme-setup] › theme.setup.ts#L1
[theme-setup] › theme.setup.ts took 5.7m
|
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/
|
Slow Test:
[chrome] › pages/encoder.spec.ts#L1
[chrome] › pages/encoder.spec.ts took 20.8s
|
🎭 Playwright Run Summary
3 skipped
15 passed (1.7m)
|
🎭 Playwright Run Summary
1 flaky
[integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時
1 skipped
7 passed (1.8m)
|
🎭 Playwright Run Summary
3 flaky
[edge] › features/jimaku.spec.ts:128:5 › 测试同传字幕AI总结 ────────────────────────────────────────────
[edge] › features/jimaku.spec.ts:347:5 › 測試右鍵同傳字幕來屏蔽同傳發送者 ──────────────────────────────────────
[edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ──────────────────────────────────────
2 skipped
62 passed (41.4m)
|
🎭 Playwright Run Summary
2 skipped
66 passed (9.7m)
|
🎭 Playwright Run Summary
2 skipped
66 passed (10.4m)
|
🎭 Playwright Run Summary
1 flaky
[chrome] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ────────────────────────────────────────────
3 skipped
63 passed (36.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
chrome-test-results
Expired
|
11.6 GB |
|