changed selector selection to a function in tests #82
Annotations
1 error, 1 warning, and 1 notice
Test:
tests/features/recorder.spec.ts#L309
1) [chrome] › features/recorder.spec.ts:273:5 › 測試錄製時長 ───────────────────────────────────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 290
Received: 253.03
307 | // here we use ~10s
308 | const gap = 10
> 309 | expect(info.relativeDuration()).toBeGreaterThanOrEqual(300 - gap)
| ^
310 | expect(info.relativeDuration()).toBeLessThanOrEqual(300 + gap)
311 |
312 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/features/recorder.spec.ts:309:37
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test
1 flaky
[chrome] › features/recorder.spec.ts:273:5 › 測試錄製時長 ────────────────────────────────────────────
2 passed (14.8m)
|
Loading