Skip to content

fixed type error of fs.writeFile #114

fixed type error of fs.writeFile

fixed type error of fs.writeFile #114

Triggered via push October 16, 2024 14:11
Status Success
Total duration 31m 28s
Artifacts 3

partial-test.yml

on: push
Matrix: fast-test
Matrix: fast-build
Matrix: fast-e2e-test
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 4 warnings, and 3 notices
[integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時: tests/integrations/recorder.spec.ts#L47
1) [integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時 Error: expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 15 Received: 8 45 | }, { stream, roomid }) 46 | > 47 | expect(length).toBeGreaterThanOrEqual(15) | ^ 48 | const downloaded = await downloading 49 | await downloaded.saveAs('out/test.mp4') 50 | const info = await readMovieInfo('out/test.mp4') at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/integrations/recorder.spec.ts:47:24
[chrome] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯: tests/features/recorder.spec.ts#L1
1) [chrome] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯 ────────────────────────────────────── Test timeout of 600000ms exceeded.
[chrome] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯: tests/features/recorder.spec.ts#L517
1) [chrome] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯 ────────────────────────────────────── Error: locator.waitFor: Target page, context or browser has been closed Call log: - waiting for getByTestId('record-timer') to be visible 515 | const timer = content.getByTestId('record-timer') 516 | > 517 | await timer.waitFor({ state: 'visible' }) | ^ 518 | logger.info('正在錄製...') 519 | 520 | await page.waitForTimeout(10000) at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:517:17
[chrome] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯: tests/features/recorder.spec.ts#L1
1) [chrome] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯 ────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 600000ms exceeded.
[chrome] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯: tests/utils/playwright.ts#L96
1) [chrome] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯 ────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Target page, context or browser has been closed Call log: - waiting for getByTestId('record-output-type').locator('div > div').first() - locator resolved to <div class="inline-flex justify-between h-full w-full rounded-md border border-gray-300 dark:border-gray-600 shadow-sm px-4 py-2 text-sm font-medium text-gray-700 dark:text-white bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-900 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 dark:focus:ring-gray-500">…</div> - 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 id="features.recorder" class="bg-white dark:bg-gray-800 shadow-md rounded-md p-4 mb-4">…</div> 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 visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="col-span-2">…</div> 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="col-span-2">…</div> 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 - <div id="features.recorder" class="bg-white dark:bg-gray-800 shadow-md rounded-md p-4 mb-4">…</div> 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 - <div id="features.recorder" class="bg-white dark:bg-gray-800 shadow-md rounded-md p-4 mb-4">…</div> 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 - <div class="col-span-2">…</div> 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 - <div class="col-span-2">…</div> 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 - <div id="features.recorder" class="bg-white dark:bg-gray-800 shadow-md rounded-md p-4 mb-4">…</div> 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 if needed - done scrolling - <div id="features.recorder" class="bg-white da
[chrome] › features/recorder.spec.ts:575:5 › 測試 WEBM -> MP4 完整編譯: tests/features/recorder.spec.ts#L1
2) [chrome] › features/recorder.spec.ts:575:5 › 測試 WEBM -> MP4 完整編譯 ────────────────────────────── Test timeout of 600000ms exceeded.
[chrome] › features/recorder.spec.ts:575:5 › 測試 WEBM -> MP4 完整編譯: tests/utils/playwright.ts#L96
2) [chrome] › features/recorder.spec.ts:575:5 › 測試 WEBM -> MP4 完整編譯 ────────────────────────────── Error: locator.click: Target page, context or browser has been closed Call log: - waiting for getByTestId('record-fix').locator('div > div').first() - locator resolved to <div class="inline-flex justify-between h-full w-full rounded-md border border-gray-300 dark:border-gray-600 shadow-sm px-4 py-2 text-sm font-medium text-gray-700 dark:text-white bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-900 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 dark:focus:ring-gray-500">…</div> - 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 id="features.recorder" class="bg-white dark:bg-gray-800 shadow-md rounded-md p-4 mb-4">…</div> 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 visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="col-span-2">…</div> 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="col-span-2">…</div> 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 - <div id="features.recorder" class="bg-white dark:bg-gray-800 shadow-md rounded-md p-4 mb-4">…</div> 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 - <div id="features.recorder" class="bg-white dark:bg-gray-800 shadow-md rounded-md p-4 mb-4">…</div> 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 - <div class="col-span-2">…</div> 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 - <div class="col-span-2">…</div> 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 - <div id="features.recorder" class="bg-white dark:bg-gray-800 shadow-md rounded-md p-4 mb-4">…</div> 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 if needed - done scrolling - <div id="features.recorder" class="bg-white dark:bg-gray-800 shadow-md rounded-md p-4 mb-4">…</div> intercepts pointer events - retrying click action,
fast-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/
fast-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/
fast-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/
fast-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
1 flaky [integrations] › integrations/recorder.spec.ts:7:5 › 測試透過 Buffer 錄製 HLS 推流並用 ffmpeg.wasm 修復資訊損壞 + 剪時 2 passed (1.4m)
🎭 Playwright Run Summary
4 passed (8.2m)
🎭 Playwright Run Summary
2 flaky [chrome] › features/recorder.spec.ts:489:5 › 測試 FLV 完整編譯 ─────────────────────────────────────── [chrome] › features/recorder.spec.ts:575:5 › 測試 WEBM -> MP4 完整編譯 ─────────────────────────────── 2 passed (25.7m)

Artifacts

Produced during runtime
Name Size
chrome-mv3 Expired
30.9 MB
chromium-mv3 Expired
30.9 MB
edge-mv3 Expired
30.9 MB