fixup! added e2e test #117
Annotations
7 errors, 1 warning, and 1 notice
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
tests/content.spec.ts#L476
1) [edge] › content.spec.ts:454:5 › 測試 强制啓動 模式 ───────────────────────────────────────────────────
Retry #5 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('section#bjf-feature-jimaku')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('section#bjf-feature-jimaku')
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
- locator resolved to <section id="bjf-feature-jimaku"></section>
- unexpected value "true"
474 | logger.info('測試主元素是否存在...')
475 | await expect(content.getByText('功能菜单')).toBeVisible()
> 476 | await expect(content.locator('section#bjf-feature-jimaku')).not.toBeAttached()
| ^
477 | await expect(content.locator('section#bjf-feature-superchat')).not.toBeAttached()
478 |
479 | })
at /home/runner/work/bilibili-vup-stream-enhancer/bilibili-vup-stream-enhancer/tests/content.spec.ts:476:69
|
|
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/
|
|
The logs for this run have expired and are no longer available.
Loading