Skip to content

fixup! finished recorder feature and test cases #67

fixup! finished recorder feature and test cases

fixup! finished recorder feature and test cases #67

Triggered via push April 5, 2024 12:47
Status Success
Total duration 22m 20s
Artifacts

partial-test.yml

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

Annotations

4 errors, 4 warnings, and 4 notices
[chrome] › features/recorder.spec.ts:171:5 › 測試錄製時長: tests/features/recorder.spec.ts#L201
1) [chrome] › features/recorder.spec.ts:171:5 › 測試錄製時長 ─────────────────────────────────────────── Error: expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 290 Received: 7.101 199 | // here we use ~10s 200 | const gap = 10 > 201 | expect(info.relativeDuration()).toBeGreaterThanOrEqual(300 - gap) | ^ 202 | expect(info.relativeDuration()).toBeLessThanOrEqual(300 + gap) 203 | 204 | }) at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:201:37
[edge] › features/recorder.spec.ts:25:5 › 測試功能元素是否存在: tests/fixtures/content.ts#L67
1) [edge] › features/recorder.spec.ts:25:5 › 測試功能元素是否存在 ────────────────────────────────────────── Test timeout of 60000ms exceeded while running "beforeEach" hook. at fixtures/content.ts:67 65 | export const expect = test.expect 66 | > 67 | test.beforeEach(async ({ context }) => { | ^ 68 | context.on('console', (msg) => { 69 | if (!msg.text().includes('bilibili-vup-stream-enhancer')) return 70 | logger.debug(msg.text().replace('bilibili-vup-stream-enhancer', 'console')) at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/fixtures/content.ts:67:6
[edge] › features/recorder.spec.ts:34:5 › 測試錄製按鈕有否根據設定顯示: tests/fixtures/content.ts#L67
2) [edge] › features/recorder.spec.ts:34:5 › 測試錄製按鈕有否根據設定顯示 ────────────────────────────────────── Test timeout of 60000ms exceeded while running "beforeEach" hook. at fixtures/content.ts:67 65 | export const expect = test.expect 66 | > 67 | test.beforeEach(async ({ context }) => { | ^ 68 | context.on('console', (msg) => { 69 | if (!msg.text().includes('bilibili-vup-stream-enhancer')) return 70 | logger.debug(msg.text().replace('bilibili-vup-stream-enhancer', 'console')) at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/fixtures/content.ts:67:6
[edge] › features/recorder.spec.ts:171:5 › 測試錄製時長: tests/features/recorder.spec.ts#L201
3) [edge] › features/recorder.spec.ts:171:5 › 測試錄製時長 ───────────────────────────────────────────── Error: expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 290 Received: 173.034 199 | // here we use ~10s 200 | const gap = 10 > 201 | expect(info.relativeDuration()).toBeGreaterThanOrEqual(300 - gap) | ^ 202 | expect(info.relativeDuration()).toBeLessThanOrEqual(300 + gap) 203 | 204 | }) at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:201:37
fast-test (integrations)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
fast-test (units)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
fast-e2e-test (chrome)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
fast-e2e-test (edge)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
2 passed (52.5s)
🎭 Playwright Run Summary
1 skipped 7 passed (1.3m)
🎭 Playwright Run Summary
1 flaky [chrome] › features/recorder.spec.ts:171:5 › 測試錄製時長 ──────────────────────────────────────────── 9 passed (17.5m)
🎭 Playwright Run Summary
3 flaky [edge] › features/recorder.spec.ts:25:5 › 測試功能元素是否存在 ─────────────────────────────────────────── [edge] › features/recorder.spec.ts:34:5 › 測試錄製按鈕有否根據設定顯示 ─────────────────────────────────────── [edge] › features/recorder.spec.ts:171:5 › 測試錄製時長 ────────────────────────────────────────────── 7 passed (19.2m)