v2.0.3 updates #336
build-test.yml
on: pull_request
Matrix: build
Matrix: test
Matrix: e2e-test
Annotations
15 errors, 12 warnings, and 6 notices
[edge] › content.spec.ts:363:5 › 測試底部的按鈕:
tests/content.spec.ts#L1
1) [edge] › content.spec.ts:363:5 › 測試底部的按鈕 ──────────────────────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[edge] › content.spec.ts:363:5 › 測試底部的按鈕:
tests/content.spec.ts#L370
1) [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 visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="bili-mini-mask fade-enter-active fade-enter-to">…</div> from <body class="supportWebp risk-captcha-adapt-pc risk-captcha-adapt">…</body> subtree intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="bili-mini-mask">…</div> from <body class="supportWebp risk-captcha-adapt-pc risk-captcha-adapt">…</body> subtree intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="bili-mini-mask">…</div> from <body class="supportWebp risk-captcha-adapt-pc risk-captcha-adapt">…</body> subtree intercepts pointer events
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not stable
- 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 scro
|
[chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/features/jimaku.spec.ts#L471
1) [chrome] › 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] › content.spec.ts:363:5 › 測試底部的按鈕:
tests/content.spec.ts#L369
1) [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
|
[chrome] › features/recorder.spec.ts:325:5 › 測試錄製時長:
tests/features/recorder.spec.ts#L783
2) [chrome] › features/recorder.spec.ts:325:5 › 測試錄製時長 ───────────────────────────────────────────
Error: 已超过15秒没再接收到数据流
781 | if (await content.getByText('已超过15秒没再接收到数据流').isVisible()) {
782 | logger.error('no buffer received on seconds: ', times)
> 783 | throw new Error('已超过15秒没再接收到数据流')
| ^
784 | }
785 | await content.waitForTimeout(1000)
786 | times++
at sleepAndCheckBuffer (/home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:783:19)
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:336:5
|
[edge] › content.spec.ts:395:5 › 測試导航:
tests/content.spec.ts#L1
2) [edge] › content.spec.ts:395:5 › 測試导航 ─────────────────────────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[edge] › content.spec.ts:395:5 › 測試导航:
tests/content.spec.ts#L405
2) [edge] › content.spec.ts:395: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 visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="bili-mini-mask fade-enter-active fade-enter-to">…</div> from <body class="supportWebp risk-captcha-adapt-pc risk-captcha-adapt">…</body> subtree intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="bili-mini-mask fade-enter-active fade-enter-to">…</div> from <body class="supportWebp risk-captcha-adapt-pc risk-captcha-adapt">…</body> subtree intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="bili-mini-mask">…</div> from <body class="supportWebp risk-captcha-adapt-pc risk-captcha-adapt">…</body> subtree intercepts pointer events
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not stable
- 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
|
[edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/helpers/bilibili-api.ts#L55
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=35298
- 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=AUTO4117298687170923
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)
|
[edge] › features/recorder.spec.ts:409:5 › 測試 HLS 完整編譯:
tests/features/recorder.spec.ts#L1
4) [edge] › features/recorder.spec.ts:409:5 › 測試 HLS 完整編譯 ────────────────────────────────────────
Test timeout of 600000ms exceeded.
|
[edge] › features/recorder.spec.ts:409:5 › 測試 HLS 完整編譯:
tests/features/recorder.spec.ts#L425
4) [edge] › features/recorder.spec.ts:409:5 › 測試 HLS 完整編譯 ────────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByText('保存设定')
- locator resolved to <button disabled type="submit" class="align-middle select-none font-sans font-bold text-center uppercase transition-all disabled:opacity-50 disabled:shadow-none disabled:pointer-events-none rounded-lg shadow-md shadow-gray-900/10 focus:opacity-[0.85] focus:shadow-none active:opacity-[0.85] active:shadow-none group flex items-center justify-center gap-3 text-white bg-green-600 px-3 py-3 text-[1rem] hover:shadow-lg hover:shadow-green-600/50">…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #13
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #14
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #15
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #16
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #17
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #18
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #19
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action, attempt #20
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is not enabled
- r
|
[edge-theme] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/features/jimaku.spec.ts#L471
1) [edge-theme] › 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-theme] › features/recorder.spec.ts:35:5 › 測試功能元素是否存在:
tests/features/recorder.spec.ts#L16
2) [edge-theme] › features/recorder.spec.ts:35: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
|
[edge-theme] › features/recorder.spec.ts:55:5 › 測試界面按鈕有否根據設定顯示:
tests/features/recorder.spec.ts#L16
3) [edge-theme] › features/recorder.spec.ts:55: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
|
[edge-theme] › features/recorder.spec.ts:163:5 › 測試錄製 HLS:
tests/features/recorder.spec.ts#L16
4) [edge-theme] › features/recorder.spec.ts:163:5 › 測試錄製 HLS ─────────────────────────────────────
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
|
[edge-theme] › features/recorder.spec.ts:665:5 › 測試 WEBM 錄製 - 更換視頻源時的處理:
tests/features/recorder.spec.ts#L16
5) [edge-theme] › features/recorder.spec.ts:665:5 › 測試 WEBM 錄製 - 更換視頻源時的處理 ───────────────────────
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 (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 58.7s
|
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 29.2s
|
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 6.0m
|
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)
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 19.5s
|
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.3m
|
Slow Test:
[edge-theme] › pages/encoder.spec.ts#L1
[edge-theme] › pages/encoder.spec.ts took 22.9s
|
🎭 Playwright Run Summary
1 skipped
8 passed (1.8m)
|
🎭 Playwright Run Summary
3 skipped
15 passed (1.8m)
|
🎭 Playwright Run Summary
2 skipped
66 passed (10.1m)
|
🎭 Playwright Run Summary
2 flaky
[chrome] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ────────────────────────────────────
[chrome] › features/recorder.spec.ts:325:5 › 測試錄製時長 ────────────────────────────────────────────
2 skipped
63 passed (36.2m)
|
🎭 Playwright Run Summary
4 flaky
[edge] › content.spec.ts:363:5 › 測試底部的按鈕 ───────────────────────────────────────────────────────
[edge] › content.spec.ts:395:5 › 測試导航 ──────────────────────────────────────────────────────────
[edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ──────────────────────────────────────
[edge] › features/recorder.spec.ts:409:5 › 測試 HLS 完整編譯 ─────────────────────────────────────────
2 skipped
61 passed (48.2m)
|
🎭 Playwright Run Summary
5 flaky
[edge-theme] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ────────────────────────────────
[edge-theme] › features/recorder.spec.ts:35:5 › 測試功能元素是否存在 ─────────────────────────────────────
[edge-theme] › features/recorder.spec.ts:55:5 › 測試界面按鈕有否根據設定顯示 ─────────────────────────────────
[edge-theme] › features/recorder.spec.ts:163:5 › 測試錄製 HLS ──────────────────────────────────────
[edge-theme] › features/recorder.spec.ts:665:5 › 測試 WEBM 錄製 - 更換視頻源時的處理 ────────────────────────
5 skipped
58 passed (43.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
edge-theme-test-results
Expired
|
11.7 GB |
|