[feat] 新增同傳字幕AI總結功能 #319
Annotations
10 errors, 2 warnings, and 2 notices
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
|
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
|
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
|
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
|
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
|
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
|
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)
|
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)
|
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)
|
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)
|
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/
|
[chrome] › features/superchat.spec.ts#L1
[chrome] › features/superchat.spec.ts took 1.8m
|
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)
|
|
This job failed
Loading