test(timeslider): port legacy mocha specs to Playwright, retire orphaned suite #8702
frontend-tests.yml
on: pull_request
Playwright Chrome
3m 41s
Playwright Firefox
4m 41s
Playwright Chrome with plugins
4m 25s
Playwright Firefox with plugins
6m 20s
Annotations
3 errors, 4 warnings, and 4 notices
|
[chromium] › tests/frontend-new/specs/undo_redo_scroll.spec.ts:31:7 › Undo scroll-to-caret (#7007) › Ctrl+Z scrolls viewport up when the caret lands above the view:
src/tests/frontend-new/specs/undo_redo_scroll.spec.ts#L74
1) [chromium] › tests/frontend-new/specs/undo_redo_scroll.spec.ts:31:7 › Undo scroll-to-caret (#7007) › Ctrl+Z scrolls viewport up when the caret lands above the view
Error: expect(received).toBeLessThan(expected)
Expected: < 578
Received: 578
72 | // Pre-fix: scrollAfter ≈ scrollBefore (no scroll).
73 | // Fixed: scrollAfter < scrollBefore (viewport moved up toward the caret).
> 74 | expect(scrollAfter).toBeLessThan(scrollBefore);
| ^
75 | });
76 |
77 | test('Ctrl+Z scrolls viewport down when the caret lands below the view', async function ({page}) {
at /home/runner/work/etherpad/etherpad/src/tests/frontend-new/specs/undo_redo_scroll.spec.ts:74:25
|
|
[firefox] › plugin_packages/.versions/ep_markdown@12.0.15/static/tests/frontend-new/specs/markdown.spec.ts:10:7 › ep_markdown › Bold section renders the markdown class on body when "Show Markdown" is enabled:
src/plugin_packages/.versions/ep_markdown@12.0.15/static/tests/frontend-new/specs/markdown.spec.ts#L35
1) [firefox] › plugin_packages/.versions/ep_markdown@12.0.15/static/tests/frontend-new/specs/markdown.spec.ts:10:7 › ep_markdown › Bold section renders the markdown class on body when "Show Markdown" is enabled
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveClass(expected) failed
Locator: locator('#innerdocbody')
Expected pattern: /markdown/
Received string: "innerdocbody mozilla authorColors doesWrap ltr"
Timeout: 20000ms
Call log:
- Expect "toHaveClass" with timeout 20000ms
- waiting for locator('#innerdocbody')
44 × locator resolved to <body id="innerdocbody" spellcheck="false" aria-readonly="false" contenteditable="true" aria-label="Pad content" aria-describedby="editor-keyboard-hint" class="innerdocbody mozilla authorColors doesWrap ltr">…</body>
- unexpected value "innerdocbody mozilla authorColors doesWrap ltr"
33 | // The pad body should gain the `markdown` class so its CSS swaps
34 | // <b> for visible **bold** rendering.
> 35 | await expect(padBody).toHaveClass(/markdown/);
| ^
36 |
37 | // The original text content is unchanged (the rendering is purely
38 | // CSS-driven; the underlying text remains "bold" without the
at /home/runner/work/etherpad/etherpad/src/plugin_packages/.versions/ep_markdown@12.0.15/static/tests/frontend-new/specs/markdown.spec.ts:35:31
|
|
[firefox] › plugin_packages/.versions/ep_markdown@12.0.15/static/tests/frontend-new/specs/markdown.spec.ts:10:7 › ep_markdown › Bold section renders the markdown class on body when "Show Markdown" is enabled:
src/plugin_packages/.versions/ep_markdown@12.0.15/static/tests/frontend-new/specs/markdown.spec.ts#L35
1) [firefox] › plugin_packages/.versions/ep_markdown@12.0.15/static/tests/frontend-new/specs/markdown.spec.ts:10:7 › ep_markdown › Bold section renders the markdown class on body when "Show Markdown" is enabled
Error: expect(locator).toHaveClass(expected) failed
Locator: locator('#innerdocbody')
Expected pattern: /markdown/
Received string: "innerdocbody mozilla authorColors doesWrap ltr"
Timeout: 20000ms
Call log:
- Expect "toHaveClass" with timeout 20000ms
- waiting for locator('#innerdocbody')
43 × locator resolved to <body id="innerdocbody" spellcheck="true" aria-readonly="false" contenteditable="true" aria-label="Pad content" aria-describedby="editor-keyboard-hint" class="innerdocbody mozilla authorColors doesWrap ltr">…</body>
- unexpected value "innerdocbody mozilla authorColors doesWrap ltr"
33 | // The pad body should gain the `markdown` class so its CSS swaps
34 | // <b> for visible **bold** rendering.
> 35 | await expect(padBody).toHaveClass(/markdown/);
| ^
36 |
37 | // The original text content is unchanged (the rendering is purely
38 | // CSS-driven; the underlying text remains "bold" without the
at /home/runner/work/etherpad/etherpad/src/plugin_packages/.versions/ep_markdown@12.0.15/static/tests/frontend-new/specs/markdown.spec.ts:35:31
|
|
Playwright Chrome
No files were found with the provided path: src/playwright-report/. No artifacts will be uploaded.
|
|
Playwright Chrome with plugins
No files were found with the provided path: src/playwright-report/. No artifacts will be uploaded.
|
|
Playwright Firefox
No files were found with the provided path: src/playwright-report/. No artifacts will be uploaded.
|
|
Playwright Firefox with plugins
No files were found with the provided path: src/playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
1 skipped
239 passed (2.9m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › tests/frontend-new/specs/undo_redo_scroll.spec.ts:31:7 › Undo scroll-to-caret (#7007) › Ctrl+Z scrolls viewport up when the caret lands above the view
2 skipped
264 passed (3.2m)
|
|
🎭 Playwright Run Summary
1 skipped
239 passed (3.8m)
|
|
🎭 Playwright Run Summary
1 flaky
[firefox] › plugin_packages/.versions/ep_markdown@12.0.15/static/tests/frontend-new/specs/markdown.spec.ts:10:7 › ep_markdown › Bold section renders the markdown class on body when "Show Markdown" is enabled
2 skipped
264 passed (5.2m)
|