v2.0.3 updates #337
Annotations
4 errors, 2 warnings, and 1 notice
Test:
tests/helpers/bilibili-api.ts#L55
1) [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=30720271
- 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=AUTO8117299387168695
at helpers/bilibili-api.ts:55
53 | const release = await this.mutex.acquire()
54 | try {
> 55 | const res = await this.context.get(path)
| ^
56 | if (!res.ok()) throw new Error(`获取bilibili API失败:${res.statusText()}`)
57 | return await res.json()
58 | } finally {
at BilbiliApi.fetch (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:55:44)
at BilbiliApi.getRoomStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:70:22)
at BilibiliPage.isStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-page.ts:65:16)
at RoomTypeFinder.getRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:51:17)
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:
tests/helpers/bilibili-api.ts#L55
1) [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=27155082
- 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=AUTO7017299394888714
at helpers/bilibili-api.ts:55
53 | const release = await this.mutex.acquire()
54 | try {
> 55 | const res = await this.context.get(path)
| ^
56 | if (!res.ok()) throw new Error(`获取bilibili API失败:${res.statusText()}`)
57 | return await res.json()
58 | } finally {
at BilbiliApi.fetch (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:55:44)
at BilbiliApi.getRoomStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:70:22)
at BilibiliPage.isStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-page.ts:65:16)
at RoomTypeFinder.getRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:51:17)
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:
tests/helpers/bilibili-api.ts#L55
1) [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=1752666093
- 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=AUTO9917299396132216
at helpers/bilibili-api.ts:55
53 | const release = await this.mutex.acquire()
54 | try {
> 55 | const res = await this.context.get(path)
| ^
56 | if (!res.ok()) throw new Error(`获取bilibili API失败:${res.statusText()}`)
57 | return await res.json()
58 | } finally {
at BilbiliApi.fetch (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:55:44)
at BilbiliApi.getRoomStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-api.ts:70:22)
at BilibiliPage.isStatus (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/bilibili-page.ts:65:16)
at RoomTypeFinder.getRoomType (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/helpers/room-finder.ts:51:17)
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:
tests/features/jimaku.spec.ts#L471
1) [chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ───────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
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
|
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/
|
Test:
[chrome] › pages/encoder.spec.ts#L1
[chrome] › pages/encoder.spec.ts took 19.9s
|
Test
1 flaky
[chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ────────────────────────────────────
2 skipped
64 passed (42.2m)
|
Loading