Build And Test Extensions #351
Annotations
10 errors, 3 warnings, and 1 notice
Test:
tests/content.spec.ts#L1
1) [chrome-theme] › content.spec.ts:294:5 › 測試大海報房間下返回非海报界面按鈕 ────────────────────────────────────
Test timeout of 360000ms exceeded.
|
Test:
tests/content.spec.ts#L304
1) [chrome-theme] › content.spec.ts:294:5 › 測試大海報房間下返回非海报界面按鈕 ────────────────────────────────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByText('返回非海报界面')
- locator resolved to <button type="button" class="align-middle select-none font-sans font-bold text-center uppercase transition-all disabled:opacity-50 disabled:shadow-none disabled:pointer-events-none py-3.5 px-7 rounded-lg border border-gray-900 text-gray-900 hover:opacity-75 focus:ring focus:ring-gray-300 active:opacity-[0.85] gap-3 text-lg">返回非海报界面</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 fade-enter-active fade-enter-to">…</div> from <body class="lite-room 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 visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="bili-mini-mask">…</div> from <body class="lite-room supportWebp risk-captcha-adapt-pc risk-captcha-adapt">…</body> subtree intercepts pointer events
- 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
- <div class="bili-mini-mask">…</div> from <body class="lite-room supportWebp risk-captcha-adapt-pc risk-captcha-adapt">…</body> subtree intercepts pointer events
- 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
- <html class="avif" lang="zh-Hans" data-match-theme="light">…</html> intercepts pointer events
- 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
- <html class="avif" lang="zh-Hans" data-match-theme="light">…</html> intercepts pointer events
- 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
- <html class="avif" lang="zh-Hans" data-match-theme="light">…</html> intercepts pointer events
- 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
- <html class="avif" lang="zh-Hans" data-match-theme="light">…</html> intercepts pointer events
- 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
- <html class="avif" lang="zh-Hans" data-match-theme="light">…</html> intercepts pointer events
- 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 i
|
Test:
tests/content.spec.ts#L303
1) [chrome-theme] › content.spec.ts:294:5 › 測試大海報房間下返回非海报界面按鈕 ────────────────────────────────────
Error: browserContext.waitForEvent: Target page, context or browser has been closed
301 | await content.getByText('功能菜单').click()
302 | await content.locator('#bjf-main-menu').waitFor({ state: 'visible' })
> 303 | const popup = context.waitForEvent('page', { predicate: p => p.url().includes('/blanc') })
| ^
304 | await content.getByText('返回非海报界面').click()
305 | const blanc = await popup
306 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:303:27
|
Test:
tests/content.spec.ts#L1
2) [chrome-theme] › content.spec.ts:363:5 › 測試底部的按鈕 ──────────────────────────────────────────────
Test timeout of 360000ms exceeded.
|
Test:
tests/content.spec.ts#L379
2) [chrome-theme] › 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">…</div> from <body class="lite-room 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 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 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
- 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
|
Test:
tests/content.spec.ts#L378
2) [chrome-theme] › content.spec.ts:363:5 › 測試底部的按鈕 ──────────────────────────────────────────────
Error: browserContext.waitForEvent: Target page, context or browser has been closed
376 | await button.click()
377 | await content.locator('#bjf-main-menu').waitFor({ state: 'visible' })
> 378 | popup = context.waitForEvent('page', { predicate: p => p.url().includes('t.me') })
| ^
379 | await content.getByTitle('联络作者').click()
380 | const p2 = await popup
381 |
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:378:21
|
Test:
tests/content.spec.ts#L1
3) [chrome-theme] › content.spec.ts:395:5 › 測試导航 ─────────────────────────────────────────────────
Test timeout of 360000ms exceeded.
|
Test:
tests/content.spec.ts#L405
3) [chrome-theme] › 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="lite-room 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-leave-active fade-leave-to">…</div> from <body class="lite-room 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 not stable
- 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
- 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
- retryin
|
Test:
tests/features/jimaku.spec.ts#L471
4) [chrome-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
|
Test:
tests/features/recorder.spec.ts#L60
5) [chrome-theme] › features/recorder.spec.ts:55:5 › 測試界面按鈕有否根據設定顯示 ──────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('record-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('record-button')
58 | const timer = content.getByTestId('record-timer')
59 |
> 60 | await expect(button).toBeVisible()
| ^
61 | await expect(timer).toBeVisible()
62 |
63 | logger.info('正在修改設定...')
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:60:26
|
Test:
[chrome-theme] › pages/options.spec.ts#L1
[chrome-theme] › pages/options.spec.ts took 2.3m
|
Test:
[theme-setup] › theme.setup.ts#L1
[theme-setup] › theme.setup.ts took 1.2m
|
Test:
[chrome-theme] › pages/encoder.spec.ts#L1
[chrome-theme] › pages/encoder.spec.ts took 15.3s
|
Test
8 flaky
[chrome-theme] › content.spec.ts:294:5 › 測試大海報房間下返回非海报界面按鈕 ─────────────────────────────────────
[chrome-theme] › content.spec.ts:363:5 › 測試底部的按鈕 ───────────────────────────────────────────────
[chrome-theme] › content.spec.ts:395:5 › 測試导航 ──────────────────────────────────────────────────
[chrome-theme] › features/jimaku.spec.ts:463:5 › 測試大海報房間下字幕區塊是否存在 ──────────────────────────────
[chrome-theme] › features/recorder.spec.ts:55:5 › 測試界面按鈕有否根據設定顯示 ───────────────────────────────
[chrome-theme] › features/recorder.spec.ts:101:5 › 測試截圖 ────────────────────────────────────────
[chrome-theme] › features/recorder.spec.ts:235:5 › 測試熱鍵錄製 ──────────────────────────────────────
[chrome-theme] › features/superchat.spec.ts:160:5 › 測試全屏時有否根據設定顯示隱藏浮動按鈕 ────────────────────────
6 skipped
54 passed (1.3h)
|
Loading