Skip to content

test(vtable): cover Firefox paste event fallback - #5321

Merged
fangsmile merged 3 commits into
developfrom
fix/issue-4699-firefox-paste
Sep 20, 2026
Merged

fangsmile merged 3 commits into
developfrom
fix/issue-4699-firefox-paste

Conversation

@fangsmile

@fangsmile fangsmile commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add unit coverage for preferring synchronous paste event data when the async Clipboard API is unavailable
  • add a dedicated Firefox Playwright regression test for pasting into a selected cell without an editor caret
  • run the Firefox regression in CI and remove the Bugserver-only demo coverage

Test plan

  • rushx test:firefox
  • rushx test --runInBand __tests__/clipboard-paste.test.ts
  • rushx compile
  • ESLint for the Playwright test, fixture, config, and affected files
  • pre-push rush test --only tag:package

Closes #4699

🤖 Generated with Claude Code

Protect synchronous paste data when the async Clipboard API is unavailable.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Replace the synthetic Bugserver coverage with a Firefox browser test enforced by CI.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Keep the browser restriction explicit and make the fixture script path relative.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
@fangsmile
fangsmile merged commit 5383c08 into develop Sep 20, 2026
7 of 8 checks passed
@fangsmile
fangsmile deleted the fix/issue-4699-firefox-paste branch September 20, 2026 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] 火狐浏览器中,选择单元格(无光标场景下)使用粘贴功能不生效

1 participant