Skip to content

fix: disable autocorrection in mobile e2e tests#644

Merged
hejsztynx merged 2 commits into
mainfrom
@ksienkiewicz/fix-e2e-devices-setup
Jun 18, 2026
Merged

fix: disable autocorrection in mobile e2e tests#644
hejsztynx merged 2 commits into
mainfrom
@ksienkiewicz/fix-e2e-devices-setup

Conversation

@hejsztynx

@hejsztynx hejsztynx commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Disabled the autocorrection in e2e maestro testing devices to prevent unexpected behavior.

Compatibility

OS Implemented
iOS
Android

Checklist

  • E2E tests are passing
  • Required E2E tests have been added (if applicable)

Copilot AI review requested due to automatic review settings June 16, 2026 15:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Disables OS-level text correction features on iOS simulators and Android emulators used for Maestro E2E runs to reduce flaky/variable text input behavior during tests.

Changes:

  • iOS: updates simulator global preferences to disable autocorrection/capitalization/predictive text.
  • Android: disables spell checker via secure setting (in addition to existing IME disable).
  • Adjusts a Maestro flow tap target coordinates to improve interaction reliability.

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 1 comment.

File Description
.maestro/scripts/setup-ios-simulator.sh Adds simulator preference writes intended to disable iOS text corrections.
.maestro/scripts/setup-android-emulator.sh Disables Android spell checker via settings put secure.
.maestro/enrichedInput/flows/inline_code_paste_into_codeblock.yaml Tweaks a doubleTapOn point for more stable selection/copy behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .maestro/scripts/setup-ios-simulator.sh Outdated
@hejsztynx hejsztynx force-pushed the @ksienkiewicz/fix-e2e-devices-setup branch from cc71a32 to 163d237 Compare June 16, 2026 17:34

@szydlovsky szydlovsky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks alright!

Comment thread .maestro/scripts/run-tests.sh Outdated

@kacperzolkiewski kacperzolkiewski left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works properly!

@hejsztynx hejsztynx merged commit 4953d40 into main Jun 18, 2026
7 checks passed
@hejsztynx hejsztynx deleted the @ksienkiewicz/fix-e2e-devices-setup branch June 18, 2026 11:50
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.

4 participants