[feat] 新增同傳字幕AI總結功能 #319
build-test.yml
on: pull_request
Matrix: build
Matrix: test
Matrix: e2e-test
Annotations
44 errors, 11 warnings, and 9 notices
[integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時:
tests/integrations/recorder.spec.ts#L106
1) [integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時
Error: expect(received).toBe(expected) // Object.is equality
Expected: 15
Received: 16
104 | logger.info('duration:', infoFix.relativeDuration())
105 |
> 106 | expect(Math.floor(infoFix.relativeDuration())).toBe(15)
| ^
107 | }
108 | )
109 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/integrations/recorder.spec.ts:106:56
|
[integrations] › integrations/recorder.spec.ts:215:5 › 測試透過 Capture 錄製 WEBM 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時:
tests/integrations/recorder.spec.ts#L257
2) [integrations] › integrations/recorder.spec.ts:215:5 › 測試透過 Capture 錄製 WEBM 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 15
Received: 14
255 | }, { stream, roomid })
256 |
> 257 | expect(length).toBeGreaterThanOrEqual(15)
| ^
258 | const downloaded = await downloading
259 | await downloaded.saveAs('out/test.webm')
260 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/integrations/recorder.spec.ts:257:24
|
[units] › units/buffer.spec.ts:87:5 › 測試終止 HLS 推流后有否成功關閉數據流:
<anonymous>#L35551
1) [units] › units/buffer.spec.ts:87:5 › 測試終止 HLS 推流后有否成功關閉數據流 ───────────────────────────────────
Error: page.evaluate: Error: 没有可用的视频流URL
at loopStreams (<anonymous>:35551:13)
at Object.recordStream (<anonymous>:35578:12)
at eval (eval at evaluate (:234:30), <anonymous>:7:28)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at loopStreams (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/<anonymous>:35551:13)
at Object.recordStream (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/<anonymous>:35578:12)
at eval (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/eval at evaluate (:234:30), <anonymous>:7:28)
at UtilityScript.evaluate (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/<anonymous>:236:17)
at UtilityScript.<anonymous> (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/<anonymous>:1:44)
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/units/buffer.spec.ts:92:42
|
e2e-test (edge, -theme)
Testing stopped early after 2 maximum allowed failures.
|
[edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/helpers/bilibili-api.ts#L51
1) [edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: apiRequestContext.get: socket hang up
Call log:
- → GET https://api.live.bilibili.com/room/v1/Room/room_init?id=26919590
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.31 Safari/537.36 Edg/130.0.6723.31
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: LIVE_BUVID=AUTO7517297654440491
at helpers/bilibili-api.ts:51
49 | */
50 | private async fetch<T = any>(path: string): Promise<T> {
> 51 | const res = await this.context.get(path)
| ^
52 | if (!res.ok()) throw new Error(`获取bilibili API失败:${res.statusText()}`)
53 | return await res.json()
54 | }
at BilbiliApi.fetch (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:51:40)
at BilbiliApi.getRoomStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:63:33)
at BilibiliPage.isStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-page.ts:65:31)
at checker (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:27:55)
at RoomTypeFinder.getRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:51:23)
at RoomTypeFinder.findRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:97:30)
at RoomTypeFinder.findRoomTypeWithCache (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:130:22)
at Object.exports.test._extension.extensionBase.extend.room.auto (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/fixtures/content.ts:34:26)
|
[edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ─────────────────────────────────────────────
Retry #5 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[edge-theme] › features/jimaku.spec.ts:128:5 › 测试同传字幕AI总结:
tests/features/jimaku.spec.ts#L8
2) [edge-theme] › features/jimaku.spec.ts:128:5 › 测试同传字幕AI总结 ─────────────────────────────────────
Test timeout of 120000ms exceeded while running "beforeEach" hook.
6 | import { readText } from 'tests/utils/file'
7 |
> 8 | test.beforeEach(async ({ content: p }) => {
| ^
9 | await ensureButtonListVisible(p)
10 | })
11 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/jimaku.spec.ts:8:6
|
[edge-theme] › features/jimaku.spec.ts:128:5 › 测试同传字幕AI总结:
tests/features/jimaku.spec.ts#L489
2) [edge-theme] › features/jimaku.spec.ts:128:5 › 测试同传字幕AI总结 ─────────────────────────────────────
TimeoutError: locator.click: Timeout 120000ms exceeded.
Call log:
- waiting for getByText('切换字幕按钮列表')
487 | // 防止 toaster 遲遲不消失
488 | await p.evaluate(() => window.document.querySelector('#bjf-toaster li[data-y-position="top"][data-x-position="left"]')?.remove())
> 489 | await p.getByText('切换字幕按钮列表').click({ timeout: 120000 })
| ^
490 | await p.waitForTimeout(2000)
491 | }
492 | }
at ensureButtonListVisible (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/jimaku.spec.ts:489:39)
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/jimaku.spec.ts:9:5
|
[edge-theme] › features/jimaku.spec.ts:128:5 › 测试同传字幕AI总结:
tests/features/jimaku.spec.ts#L8
2) [edge-theme] › features/jimaku.spec.ts:128:5 › 测试同传字幕AI总结 ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 120000ms exceeded while running "beforeEach" hook.
6 | import { readText } from 'tests/utils/file'
7 |
> 8 | test.beforeEach(async ({ content: p }) => {
| ^
9 | await ensureButtonListVisible(p)
10 | })
11 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/jimaku.spec.ts:8:6
|
e2e-test (chrome, -theme)
Testing stopped early after 2 maximum allowed failures.
|
[chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式:
tests/content.spec.ts#L461
1) [chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────
Retry #5 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeHidden()
Locator: getByText('功能菜单')
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByText('功能菜单')
459 | await page.waitForTimeout(3000)
460 | logger.info('測試主元素是否不存在...')
> 461 | await expect(content.getByText('功能菜单')).toBeHidden()
| ^
462 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
463 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
464 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:461:45
|
[chrome-theme] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
2) [chrome-theme] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[chrome-theme] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
2) [chrome-theme] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[chrome-theme] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
2) [chrome-theme] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ──────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ──────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ──────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ──────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ──────────────────────────────────────────
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ──────────────────────────────────────────
Retry #5 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/helpers/bilibili-api.ts#L51
2) [chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ───────────────────────────────────
Error: apiRequestContext.get: socket hang up
Call log:
- → GET https://api.live.bilibili.com/room/v1/Room/room_init?id=14120116
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.31 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: LIVE_BUVID=AUTO7417297646964054
at helpers/bilibili-api.ts:51
49 | */
50 | private async fetch<T = any>(path: string): Promise<T> {
> 51 | const res = await this.context.get(path)
| ^
52 | if (!res.ok()) throw new Error(`获取bilibili API失败:${res.statusText()}`)
53 | return await res.json()
54 | }
at BilbiliApi.fetch (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:51:40)
at BilbiliApi.getRoomStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:63:33)
at BilibiliPage.isStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-page.ts:65:31)
at checker (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:27:55)
at RoomTypeFinder.getRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:51:23)
at RoomTypeFinder.findRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:97:30)
at RoomTypeFinder.findRoomTypeWithCache (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:130:22)
at Object.exports.test._extension.extensionBase.extend.themeRoom.timeout (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/fixtures/content.ts:53:26)
|
[chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/helpers/bilibili-api.ts#L51
2) [chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ───────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: apiRequestContext.get: socket hang up
Call log:
- → GET https://api.live.bilibili.com/room/v1/Room/room_init?id=32639875
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.31 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: LIVE_BUVID=AUTO8117297655164124
at helpers/bilibili-api.ts:51
49 | */
50 | private async fetch<T = any>(path: string): Promise<T> {
> 51 | const res = await this.context.get(path)
| ^
52 | if (!res.ok()) throw new Error(`获取bilibili API失败:${res.statusText()}`)
53 | return await res.json()
54 | }
at BilbiliApi.fetch (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:51:40)
at BilbiliApi.getRoomStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:63:33)
at BilibiliPage.isStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-page.ts:65:31)
at checker (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:27:55)
at RoomTypeFinder.getRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:51:23)
at RoomTypeFinder.findRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:97:30)
at RoomTypeFinder.findRoomTypeWithCache (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:130:22)
at Object.exports.test._extension.extensionBase.extend.themeRoom.timeout (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/fixtures/content.ts:53:26)
|
[chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/helpers/bilibili-api.ts#L51
2) [chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ───────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: apiRequestContext.get: socket hang up
Call log:
- → GET https://api.live.bilibili.com/room/v1/Room/room_init?id=25149450
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.31 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: LIVE_BUVID=AUTO5117297656262103
at helpers/bilibili-api.ts:51
49 | */
50 | private async fetch<T = any>(path: string): Promise<T> {
> 51 | const res = await this.context.get(path)
| ^
52 | if (!res.ok()) throw new Error(`获取bilibili API失败:${res.statusText()}`)
53 | return await res.json()
54 | }
at BilbiliApi.fetch (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:51:40)
at BilbiliApi.getRoomStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:63:33)
at BilibiliPage.isStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-page.ts:65:31)
at checker (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:27:55)
at RoomTypeFinder.getRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:51:23)
at RoomTypeFinder.findRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:97:30)
at RoomTypeFinder.findRoomTypeWithCache (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:130:22)
at Object.exports.test._extension.extensionBase.extend.themeRoom.timeout (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/fixtures/content.ts:53:26)
|
[chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/helpers/bilibili-api.ts#L51
2) [chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ───────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: apiRequestContext.get: socket hang up
Call log:
- → GET https://api.live.bilibili.com/room/v1/Room/room_init?id=32702187
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.31 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: LIVE_BUVID=AUTO5817297658062723
at helpers/bilibili-api.ts:51
49 | */
50 | private async fetch<T = any>(path: string): Promise<T> {
> 51 | const res = await this.context.get(path)
| ^
52 | if (!res.ok()) throw new Error(`获取bilibili API失败:${res.statusText()}`)
53 | return await res.json()
54 | }
at BilbiliApi.fetch (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:51:40)
at BilbiliApi.getRoomStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:63:33)
at BilibiliPage.isStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-page.ts:65:31)
at checker (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:27:55)
at RoomTypeFinder.getRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:51:23)
at RoomTypeFinder.findRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:97:30)
at RoomTypeFinder.findRoomTypeWithCache (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:130:22)
at Object.exports.test._extension.extensionBase.extend.themeRoom.timeout (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/fixtures/content.ts:53:26)
|
e2e-test (edge)
System.IO.IOException: No space left on device : '/home/runner/runners/2.320.0/_diag/Worker_20241024-101054-utc.log'
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.Diagnostics.TextWriterTraceListener.Flush()
at GitHub.Runner.Common.HostTraceListener.WriteHeader(String source, TraceEventType eventType, Int32 id)
at GitHub.Runner.Common.HostTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at GitHub.Runner.Worker.Worker.RunAsync(String pipeIn, String pipeOut)
at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)
System.IO.IOException: No space left on device : '/home/runner/runners/2.320.0/_diag/Worker_20241024-101054-utc.log'
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.Diagnostics.TextWriterTraceListener.Flush()
at GitHub.Runner.Common.HostTraceListener.WriteHeader(String source, TraceEventType eventType, Int32 id)
at GitHub.Runner.Common.HostTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String message)
at GitHub.Runner.Common.Tracing.Error(Exception exception)
at GitHub.Runner.Worker.Program.MainAsync(IHostContext context, String[] args)
Unhandled exception. System.IO.IOException: No space left on device : '/home/runner/runners/2.320.0/_diag/Worker_20241024-101054-utc.log'
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.Diagnostics.TextWriterTraceListener.Flush()
at System.Diagnostics.TraceSource.Flush()
at GitHub.Runner.Common.TraceManager.Dispose(Boolean disposing)
at GitHub.Runner.Common.TraceManager.Dispose()
at GitHub.Runner.Common.HostContext.Dispose(Boolean disposing)
at GitHub.Runner.Common.HostContext.Dispose()
at GitHub.Runner.Worker.Program.Main(String[] args)
|
[edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ────────────────────────────────────────────
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開:
tests/pages/options.spec.ts#L22
1) [edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ────────────────────────────────────────────
Retry #5 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 6
Received: 7
20 | expect(form).toBeDefined()
21 | const sections = await form.locator('> section').all()
> 22 | expect(sections.length).toBe(6)
| ^
23 | for (const section of sections) {
24 | await section.click()
25 | }
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/pages/options.spec.ts:22:29
|
[edge] › content.spec.ts:363:5 › 測試底部的按鈕:
tests/content.spec.ts#L1
2) [edge] › content.spec.ts:363:5 › 測試底部的按鈕 ──────────────────────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[edge] › content.spec.ts:363:5 › 測試底部的按鈕:
tests/content.spec.ts#L370
2) [edge] › content.spec.ts:363:5 › 測試底部的按鈕 ──────────────────────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByTitle('查看源代码')
- locator resolved to <button title="查看源代码" type="button" class="relative align-middle select-none font-sans font-medium text-center uppercase transition-all disabled:opacity-50 disabled:shadow-none disabled:pointer-events-none w-12 max-w-[48px] h-12 max-h-[48px] text-sm text-gray-900 hover:bg-gray-900/10 active:bg-gray-900/20 rounded-full shadow-md bg-white">…</button>
- 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 is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabl
|
[edge] › content.spec.ts:363:5 › 測試底部的按鈕:
tests/content.spec.ts#L369
2) [edge] › content.spec.ts:363:5 › 測試底部的按鈕 ──────────────────────────────────────────────────────
Error: browserContext.waitForEvent: Target page, context or browser has been closed
367 | await button.click()
368 | await content.locator('#bjf-main-menu').waitFor({ state: 'visible' })
> 369 | let popup = context.waitForEvent('page', { predicate: p => p.url().includes('github.com') })
| ^
370 | await content.getByTitle('查看源代码').click()
371 | const p1 = await popup
372 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:369:25
|
[edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/helpers/bilibili-api.ts#L51
3) [edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ─────────────────────────────────────
Error: apiRequestContext.get: socket hang up
Call log:
- → GET https://api.live.bilibili.com/room/v1/Room/room_init?id=32063119
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.31 Safari/537.36 Edg/130.0.6723.31
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: LIVE_BUVID=AUTO5517297651456821
at helpers/bilibili-api.ts:51
49 | */
50 | private async fetch<T = any>(path: string): Promise<T> {
> 51 | const res = await this.context.get(path)
| ^
52 | if (!res.ok()) throw new Error(`获取bilibili API失败:${res.statusText()}`)
53 | return await res.json()
54 | }
at BilbiliApi.fetch (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:51:40)
at BilbiliApi.getRoomStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:63:33)
at BilibiliPage.isStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-page.ts:65:31)
at checker (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:27:55)
at RoomTypeFinder.getRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:51:23)
at RoomTypeFinder.findRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:97:30)
at RoomTypeFinder.findRoomTypeWithCache (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:130:22)
at Object.exports.test._extension.extensionBase.extend.themeRoom.timeout (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/fixtures/content.ts:53:26)
|
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/
|
Slow Test:
[integrations] › integrations/summarizer.spec.ts#L1
[integrations] › integrations/summarizer.spec.ts took 54.3s
|
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 1.0m
|
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/
|
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 4.4m
|
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] › features/superchat.spec.ts#L1
[chrome] › features/superchat.spec.ts took 1.8m
|
e2e-test (edge)
You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 41 MB
|
Slow Test:
[edge] › features/superchat.spec.ts#L1
[edge] › features/superchat.spec.ts took 2.8m
|
🎭 Playwright Run Summary
2 flaky
[integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時
[integrations] › integrations/recorder.spec.ts:215:5 › 測試透過 Capture 錄製 WEBM 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時
1 skipped
6 passed (2.6m)
|
🎭 Playwright Run Summary
1 flaky
[units] › units/buffer.spec.ts:87:5 › 測試終止 HLS 推流后有否成功關閉數據流 ────────────────────────────────────
5 did not run
15 passed (2.1m)
|
🎭 Playwright Run Summary
2 failed
[edge-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ──────────────────────────────────────────────
[edge-theme] › features/jimaku.spec.ts:128:5 › 测试同传字幕AI总结 ──────────────────────────────────────
1 interrupted
[edge-theme] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ────────────────────────────────
6 flaky
[theme-setup] › theme.setup.ts:5:6 › 預先搜索大海報房間 ─────────────────────────────────────────────────
[edge-theme] › content.spec.ts:395:5 › 測試导航 ────────────────────────────────────────────────────
[edge-theme] › features/jimaku.spec.ts:21:5 › 測試字幕區塊是否存在 ───────────────────────────────────────
[edge-theme] › features/jimaku.spec.ts:219:5 › 測試離線記錄彈幕 ────────────────────────────────────────
[edge-theme] › features/jimaku.spec.ts:274:5 › 测试添加同传用户名单/黑名单 ──────────────────────────────────
[edge-theme] › features/jimaku.spec.ts:347:5 › 測試右鍵同傳字幕來屏蔽同傳發送者 ────────────────────────────────
2 skipped
38 did not run
18 passed (36.7m)
|
Report URL for edge-theme
https://reports.ericlamm.xyz/bilibili-vup-stream-enhancer/319/edge-theme/
|
Report URL for chrome-theme
https://reports.ericlamm.xyz/bilibili-vup-stream-enhancer/319/chrome-theme/
|
🎭 Playwright Run Summary
2 failed
[chrome-theme] › content.spec.ts:454:5 › 測試 强制啓動 模式 ────────────────────────────────────────────
[chrome-theme] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ─────────────────────────────────────
1 interrupted
[chrome-theme] › pages/options.spec.ts:150:5 › 測試清空數據庫 ─────────────────────────────────────────
7 flaky
[chrome-theme] › content.spec.ts:142:5 › 測試进入设置按鈕 ──────────────────────────────────────────────
[chrome-theme] › features/jimaku.spec.ts:219:5 › 測試離線記錄彈幕 ──────────────────────────────────────
[chrome-theme] › features/jimaku.spec.ts:266:5 › 測試房間名單列表(黑名單/白名單) ─────────────────────────────
[chrome-theme] › features/recorder.spec.ts:187:5 › 測試錄製 WEBM -> MP4 ────────────────────────────
[chrome-theme] › features/recorder.spec.ts:235:5 › 測試熱鍵錄製 ──────────────────────────────────────
[chrome-theme] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ──────────────────────────────────────
[chrome-theme] › features/recorder.spec.ts:575:5 › 測試 WEBM -> MP4 完整編譯 ─────────────────────────
5 skipped
5 did not run
47 passed (40.8m)
|
🎭 Playwright Run Summary
1 failed
[chrome] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ───────────────────────────────────────────
2 flaky
[chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ────────────────────────────────────
[chrome] › features/recorder.spec.ts:325:5 › 測試錄製時長 ────────────────────────────────────────────
2 skipped
61 passed (43.8m)
|
Report URL for chrome
https://reports.ericlamm.xyz/bilibili-vup-stream-enhancer/319/chrome/
|
🎭 Playwright Run Summary
1 failed
[edge] › pages/options.spec.ts:17:5 › 測試所有設定區塊能否展開 ─────────────────────────────────────────────
6 flaky
[edge] › content.spec.ts:363:5 › 測試底部的按鈕 ───────────────────────────────────────────────────────
[edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ──────────────────────────────────────
[edge] › features/recorder.spec.ts:187:5 › 測試錄製 WEBM -> MP4 ────────────────────────────────────
[edge] › features/recorder.spec.ts:235:5 › 測試熱鍵錄製 ──────────────────────────────────────────────
[edge] › features/recorder.spec.ts:409:5 › 測試 HLS 完整編譯 ─────────────────────────────────────────
[edge] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯 ─────────────────────────────────────────
2 skipped
57 passed (1.0h)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
chrome-mv3
Expired
|
37.9 MB |
|
chrome-test-results
Expired
|
13.4 GB |
|
chrome-theme-test-results
Expired
|
10.1 GB |
|
chromium-mv3
Expired
|
37.9 MB |
|
edge-mv3
Expired
|
37.9 MB |
|
edge-theme-test-results
Expired
|
9.27 GB |
|
integrations-test-results
Expired
|
195 MB |
|
units-test-results
Expired
|
200 MB |
|