Skip to content

[WIP] Copy pageupdown.js test spec into plugin#139

Draft
Copilot wants to merge 4 commits into
mainfrom
copilot/copy-paste-pageupdown-test
Draft

[WIP] Copy pageupdown.js test spec into plugin#139
Copilot wants to merge 4 commits into
mainfrom
copilot/copy-paste-pageupdown-test

Conversation

Copy link
Copy Markdown

Copilot AI commented May 13, 2026

  • Explore existing test structure and understand the pageupdown.js spec from etherpad-lite PR #4622
  • Create static/tests/frontend-new/specs/pageupdown.spec.ts that:
    • Builds a pad with 60+ lines
    • Applies random font sizes to divs/spans (simulating ep_font_size output)
    • Tests PageDown moves caret forward with mixed font sizes
    • Tests PageUp moves caret backward with mixed font sizes
    • Tests PageDown then PageUp returns near start
    • Tests plugin UI-applied font size then PageDown scrolls viewport
  • Validate via parallel_validation

Copilot AI linked an issue May 13, 2026 that may be closed by this pull request
Agent-Logs-Url: https://github.com/ether/ep_font_size/sessions/43fc9de0-37c5-48ed-b1cf-a293df044378

Co-authored-by: JohnMcLear <220864+JohnMcLear@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy paste pageupdown.js test spec into plugin

2 participants