Skip to content

finished recorder feature and test cases #68

finished recorder feature and test cases

finished recorder feature and test cases #68

Triggered via push April 5, 2024 13:23
Status Success
Total duration 14m 39s
Artifacts

partial-test.yml

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

Annotations

3 errors, 4 warnings, and 4 notices
[edge] › features/recorder.spec.ts:57:5 › 測試 timer 有否更新: tests/features/recorder.spec.ts#L60
1) [edge] › features/recorder.spec.ts:57:5 › 測試 timer 有否更新 ─────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('record-timer') Expected string: "00:00:00" Received string: "00:00:03" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByTestId('record-timer') - locator resolved to <div title="目前大小: 859.24 KB" data-testid="record-time…>00:00:01</div> - unexpected value "00:00:01" - locator resolved to <div title="目前大小: 1.00 MB" data-testid="record-timer"…>00:00:02</div> - unexpected value "00:00:02" - locator resolved to <div title="目前大小: 1.13 MB" data-testid="record-timer"…>00:00:03</div> - unexpected value "00:00:03" 58 | 59 | const timer = content.getByTestId('record-timer') > 60 | await expect(timer).toHaveText('00:00:00') | ^ 61 | await expect(timer).toHaveText('00:00:01') 62 | await expect(timer).toHaveText('00:00:02') 63 | await expect(timer).toHaveText('00:00:03') at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:60:25
[edge] › features/recorder.spec.ts:57:5 › 測試 timer 有否更新: tests/features/recorder.spec.ts#L63
1) [edge] › features/recorder.spec.ts:57:5 › 測試 timer 有否更新 ─────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('record-timer') Expected string: "00:00:03" Received string: "00:00:08" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByTestId('record-timer') - locator resolved to <div title="目前大小: 563.34 KB" data-testid="record-time…>00:00:04</div> - unexpected value "00:00:04" - locator resolved to <div title="目前大小: 563.34 KB" data-testid="record-time…>00:00:04</div> - unexpected value "00:00:04" - locator resolved to <div title="目前大小: 563.34 KB" data-testid="record-time…>00:00:05</div> - unexpected value "00:00:05" - locator resolved to <div title="目前大小: 699.25 KB" data-testid="record-time…>00:00:06</div> - unexpected value "00:00:06" - locator resolved to <div title="目前大小: 699.25 KB" data-testid="record-time…>00:00:06</div> - unexpected value "00:00:06" - locator resolved to <div title="目前大小: 1.41 MB" data-testid="record-timer"…>00:00:07</div> - unexpected value "00:00:07" - locator resolved to <div title="目前大小: 1.60 MB" data-testid="record-timer"…>00:00:08</div> - unexpected value "00:00:08" 61 | await expect(timer).toHaveText('00:00:01') 62 | await expect(timer).toHaveText('00:00:02') > 63 | await expect(timer).toHaveText('00:00:03') | ^ 64 | 65 | }) 66 | at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:63:25
[edge] › features/recorder.spec.ts:207:5 › 測試手動錄製: tests/features/recorder.spec.ts#L246
2) [edge] › features/recorder.spec.ts:207:5 › 測試手動錄製 ───────────────────────────────────────────── Error: expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 15 Received: 10.034 244 | logger.info('視頻信息:', info) 245 | > 246 | expect(info.relativeDuration()).toBeGreaterThanOrEqual(15) | ^ 247 | 248 | }) 249 | at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:246: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 (35.5s)
🎭 Playwright Run Summary
1 skipped 7 passed (52.5s)
🎭 Playwright Run Summary
10 passed (10.5m)
🎭 Playwright Run Summary
2 flaky [edge] › features/recorder.spec.ts:57:5 › 測試 timer 有否更新 ──────────────────────────────────────── [edge] › features/recorder.spec.ts:207:5 › 測試手動錄製 ────────────────────────────────────────────── 8 passed (12.1m)