Skip to content

GSOC-E2E: Add IME composition input test - #4262

Open
Geethegreat wants to merge 1 commit into
processing:developfrom
Geethegreat:ime-composition-test
Open

GSOC-E2E: Add IME composition input test#4262
Geethegreat wants to merge 1 commit into
processing:developfrom
Geethegreat:ime-composition-test

Conversation

@Geethegreat

Copy link
Copy Markdown
Member

Issue:

Fixes #

Adds a test that verifies IME composition input leaves only the final character in the editor.

Demo:

e2e-ime.mp4

Changes:

  • Clears the editor
  • Opens a CDP session to simulate IME at the browser level
  • Sends Input.imeSetComposition with intermediate Pinyin text nihao
  • Verifies nihao appears in the editor as the composition in progress
  • Sends a second Input.imeSetComposition with the final character 你好 and a replacement range covering nihao
  • Fires compositionend to commit the composition
  • Asserts the editor contains 你好 and does NOT contain nihao

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • has no typecheck errors (npm run typecheck)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123
  • meets the standards outlined in the accessibility guidelines

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.

1 participant