[feat] 新增同傳字幕AI總結功能 #320
build-test.yml
on: pull_request
Matrix: build
Matrix: test
Matrix: e2e-test
Annotations
25 errors, 9 warnings, and 5 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 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 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 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, enabled and stab
|
[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
|
[edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/features/jimaku.spec.ts#L1
2) [edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ─────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在:
tests/features/jimaku.spec.ts#L489
2) [edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ─────────────────────────────────────
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:468:5
|
[edge] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖:
tests/features/recorder.spec.ts#L319
3) [edge] › 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
|
[chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕:
tests/content.spec.ts#L1
1) [chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕 ──────────────────────────────────
Test timeout of 120000ms exceeded.
|
[chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕:
tests/content.spec.ts#L317
1) [chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕 ──────────────────────────────────
Error: locator.dblclick: Target page, context or browser has been closed
Call log:
- waiting for locator('#live-player')
- locator resolved to <div id="live-player" class="live-player-mounter h-100">…</div>
- attempting dblclick action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <img alt="Scan me!" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAAAXNSR0IArs4c6QAAEZ1JREFUeF7tndtWHDsMROH/PzpnDQPB45artmQP5IDymHH7IpVKJfWF15eXlz8vm//+/LlO8fr6mpr1Y47sdbdFomujPc0bitYar8vuxa05z0fHR3s68X/0/Cf8uwLDDSUNwME6DcBPOHwA9EsA6KJRsQfd4MxUztmU2ShTKZbNnj+KaLeP6vrjvFVbR5nCsejHGaP13Z5U+huv/cuAWQe4DSh6jyKLjB+NOB7QOf5jbBUAVEu4fVTXP2Hr/w0AK0ZUTKWih4KeRiAdF0V2BDJ6LgrQORBcEFXso9aYz+3YlJ6f6vdo3IUBG4CfsKAOaADedWMFOw1AgZ4G4BVYOzb5UgaMUoGqqqhodWmjqvdU9FaKpez5qW2ylanbO2FvZ/N/MgVn…/> from <div class="bili-mini-mask fade-leave-active fade-leave-to">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <img alt="Scan me!" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAAAXNSR0IArs4c6QAAEZ1JREFUeF7tndtWHDsMROH/PzpnDQPB45artmQP5IDymHH7IpVKJfWF15eXlz8vm//+/LlO8fr6mpr1Y47sdbdFomujPc0bitYar8vuxa05z0fHR3s68X/0/Cf8uwLDDSUNwME6DcBPOHwA9EsA6KJRsQfd4MxUztmU2ShTKZbNnj+KaLeP6vrjvFVbR5nCsejHGaP13Z5U+huv/cuAWQe4DSh6jyKLjB+NOB7QOf5jbBUAVEu4fVTXP2Hr/w0AK0ZUTKWih4KeRiAdF0V2BDJ6LgrQORBcEFXso9aYz+3YlJ6f6vdo3IUBG4CfsKAOaADedWMFOw1AgZ4G4BVYOzb5UgaMUoGqqqhodWmjqvdU9FaKpez5qW2ylanbO2FvZ/N/MgVn…/> from <div class="bili-mini-mask fade-leave-active fade-leave-to">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <img alt="Scan me!" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAAAXNSR0IArs4c6QAAEZ1JREFUeF7tndtWHDsMROH/PzpnDQPB45artmQP5IDymHH7IpVKJfWF15eXlz8vm//+/LlO8fr6mpr1Y47sdbdFomujPc0bitYar8vuxa05z0fHR3s68X/0/Cf8uwLDDSUNwME6DcBPOHwA9EsA6KJRsQfd4MxUztmU2ShTKZbNnj+KaLeP6vrjvFVbR5nCsejHGaP13Z5U+huv/cuAWQe4DSh6jyKLjB+NOB7QOf5jbBUAVEu4fVTXP2Hr/w0AK0ZUTKWih4KeRiAdF0V2BDJ6LgrQORBcEFXso9aYz+3YlJ6f6vdo3IUBG4CfsKAOaADedWMFOw1AgZ4G4BVYOzb5UgaMUoGqqqhodWmjqvdU9FaKpez5qW2ylanbO2FvZ/N/MgVn…/> from <div class="bili-mini-mask fade-leave-active fade-leave-to">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled
|
[chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕:
tests/content.spec.ts#L1
1) [chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕 ──────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕:
tests/content.spec.ts#L317
1) [chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕 ──────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.dblclick: Target page, context or browser has been closed
Call log:
- waiting for locator('#live-player')
- locator resolved to <div id="live-player" class="live-player-mounter h-100">…</div>
- attempting dblclick action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-v-7a0dfec7="" class="qrcode-loading">…</div> from <div class="bili-mini-mask fade-enter-active fade-enter-to">…</div> subtree intercepts pointer events
- retrying dblclick 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 data-v-7a0dfec7="" class="qrcode-loading">…</div> from <div class="bili-mini-mask fade-enter-active fade-enter-to">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <img alt="Scan me!" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAAAXNSR0IArs4c6QAAEX9JREFUeF7tne162zoMg9v7v+idJ0262DIFvKSUtmfl/q2x9UGCIEjZyfvb29uft8V/f/7ch3h/f/87UvS3zw8/P4umdWNE9x7vUVsZ13QcKxpD7es4j5pf7ZWOcbyO2o7Y2rn9c18rNrdzNADvJmoAXqHypQCkkfq5TMdUUQSqDdFxV1iJsIezA2VbwsSOHVyGIHNQdqZgo/ZXazuu6ZYzP/KnM/w4YAOwAp/7PVlbr6Tq/x0AXYRn9R6J0pmBabS5NY9sTJ0SsTLdj0rplB2oramd1H52zOX8EM1xYcDKIKrgoA7LpuCvYIUGICsuqf8bgEG1PgbISsVHq+pmwGe3ZCsDUlaiLZrdlekIrkjHRnuIgLXytwiAX6ELo8KQsLwLyh/D…/> from <div class="bili-mini-mask fade-leave-active fade-leave-to">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> f
|
[chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕:
tests/content.spec.ts#L1
1) [chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕 ──────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕:
tests/content.spec.ts#L317
1) [chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕 ──────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.dblclick: Target page, context or browser has been closed
Call log:
- waiting for locator('#live-player')
- locator resolved to <div id="live-player" class="live-player-mounter h-100">…</div>
- attempting dblclick 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=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div data-v-7a0dfec7="" class="qrcode-loading">…</div> from <div class="bili-mini-mask fade-leave-active fade-leave-to">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div data-v-7a0dfec7="" class="qrcode-loading">…</div> from <div class="bili-mini-mask fade-leave-active fade-leave-to">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick 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
- <div class=""></div> from <div id="jimaku-area">…</div> subtree intercepts pointer events
- retrying dblclick action, attempt #10
- waiting 500ms
- waiting for element to be vis
|
[chrome-theme] › features/jimaku.spec.ts:41:5 › 測試字幕按鈕 (刪除/下載):
tests/features/jimaku.spec.ts#L8
2) [chrome-theme] › features/jimaku.spec.ts:41:5 › 測試字幕按鈕 (刪除/下載) ────────────────────────────────
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
|
[chrome-theme] › features/jimaku.spec.ts:41:5 › 測試字幕按鈕 (刪除/下載):
tests/features/jimaku.spec.ts#L489
2) [chrome-theme] › features/jimaku.spec.ts:41:5 › 測試字幕按鈕 (刪除/下載) ────────────────────────────────
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
|
[chrome-theme] › features/jimaku.spec.ts:41:5 › 測試字幕按鈕 (刪除/下載):
tests/features/jimaku.spec.ts#L8
2) [chrome-theme] › features/jimaku.spec.ts:41:5 › 測試字幕按鈕 (刪除/下載) ────────────────────────────────
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
|
[chrome-theme] › features/jimaku.spec.ts:41:5 › 測試字幕按鈕 (刪除/下載):
tests/features/jimaku.spec.ts#L489
2) [chrome-theme] › features/jimaku.spec.ts:41:5 › 測試字幕按鈕 (刪除/下載) ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
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
|
[chrome] › content.spec.ts:363:5 › 測試底部的按鈕:
tests/content.spec.ts#L1
1) [chrome] › content.spec.ts:363:5 › 測試底部的按鈕 ────────────────────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[chrome] › content.spec.ts:363:5 › 測試底部的按鈕:
tests/content.spec.ts#L370
1) [chrome] › 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 fade-leave-active fade-leave-to">…</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 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
- wai
|
[chrome] › content.spec.ts:363:5 › 測試底部的按鈕:
tests/content.spec.ts#L369
1) [chrome] › 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:280:5 › 測試熱鍵截圖:
tests/features/recorder.spec.ts#L319
2) [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
|
[chrome] › features/recorder.spec.ts:575:5 › 測試 WEBM -> MP4 完整編譯:
tests/features/recorder.spec.ts#L662
3) [chrome] › features/recorder.spec.ts:575:5 › 測試 WEBM -> MP4 完整編譯 ──────────────────────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 10
Received: 9.426
660 | logger.info('視頻信息:', info)
661 |
> 662 | expect(info.relativeDuration()).toBeGreaterThanOrEqual(10)
| ^
663 | })
664 |
665 | test('測試 WEBM 錄製 - 更換視頻源時的處理', async ({ content, page, api, room, optionPageUrl, context }) => {
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:662:37
|
[chrome] › features/superchat.spec.ts:102:5 › 測試離線記錄醒目留言:
tests/features/superchat.spec.ts#L1
4) [chrome] › features/superchat.spec.ts:102:5 › 測試離線記錄醒目留言 ──────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[chrome] › features/superchat.spec.ts:102:5 › 測試離線記錄醒目留言:
tests/features/superchat.spec.ts#L119
4) [chrome] › features/superchat.spec.ts:102:5 › 測試離線記錄醒目留言 ──────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('bjf-csui section#bjf-feature-superchat').locator('button').filter({ hasText: /^醒目留言$/ })
117 | logger.info('正在測試離線記錄...')
118 | await page.bringToFront()
> 119 | await section.locator('button', { hasText: /^醒目留言$/ }).click()
| ^
120 | const testMessage = '由 playwright 工具發送'
121 | await room.sendSuperChat('用戶1', 1234, testMessage)
122 | await room.sendSuperChat('用戶2', 5678, testMessage)
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/superchat.spec.ts:119:60
|
e2e-test (edge, -theme)
The run was canceled by @eric2788.
|
e2e-test (edge, -theme)
The operation was canceled.
|
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 59.0s
|
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 52.4s
|
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 2.7m
|
Slow Test:
[chrome-theme] › pages/options.spec.ts#L1
[chrome-theme] › pages/options.spec.ts took 1.8m
|
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/
|
🎭 Playwright Run Summary
5 did not run
16 passed (2.2m)
|
🎭 Playwright Run Summary
1 skipped
8 passed (1.6m)
|
🎭 Playwright Run Summary
3 flaky
[edge] › content.spec.ts:363:5 › 測試底部的按鈕 ───────────────────────────────────────────────────────
[edge] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ──────────────────────────────────────
[edge] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ──────────────────────────────────────────────
2 skipped
61 passed (36.3m)
|
🎭 Playwright Run Summary
7 flaky
[chrome-theme] › content.spec.ts:311:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕 ───────────────────────────────────
[chrome-theme] › features/jimaku.spec.ts:41:5 › 測試字幕按鈕 (刪除/下載) ─────────────────────────────────
[chrome-theme] › features/recorder.spec.ts:163:5 › 測試錄製 HLS ────────────────────────────────────
[chrome-theme] › features/recorder.spec.ts:235:5 › 測試熱鍵錄製 ──────────────────────────────────────
[chrome-theme] › features/recorder.spec.ts:325:5 › 測試錄製時長 ──────────────────────────────────────
[chrome-theme] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯 ─────────────────────────────────
[chrome-theme] › features/superchat.spec.ts:160:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕 ────────────────────────
6 skipped
54 passed (54.1m)
|
🎭 Playwright Run Summary
4 flaky
[chrome] › content.spec.ts:363:5 › 測試底部的按鈕 ─────────────────────────────────────────────────────
[chrome] › features/recorder.spec.ts:280:5 › 測試熱鍵截圖 ────────────────────────────────────────────
[chrome] › features/recorder.spec.ts:575:5 › 測試 WEBM -> MP4 完整編譯 ───────────────────────────────
[chrome] › features/superchat.spec.ts:102:5 › 測試離線記錄醒目留言 ───────────────────────────────────────
2 skipped
60 passed (38.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
edge-theme-test-results
Expired
|
3.03 GB |
|