Skip to content

Speed-up instrumented tests. Improve waits and checks performance. - #3601

Open
Andrei Salavei (ASalavei) wants to merge 1 commit into
jb-mainfrom
andrei.salavei/speedup-tests-minors
Open

Andrei Salavei (ASalavei) wants to merge 1 commit into
jb-mainfrom
andrei.salavei/speedup-tests-minors

Conversation

@ASalavei

Copy link
Copy Markdown
  • Run keyboard animation tests at increased animation speed (3x) instead of real speed.
  • Poll real conditions instead of fixed sleeps:
    • `rotateTo()`` waits until the orientation is applied
    • autofill tests wait until native views leave the window
    • keepScreenOn cleanup waits until the idle timer is re-enabled instead of running GC rounds.
  • Check screenshot regions of interest fully and sample the rest instead of every pixel.

Fixes https://youtrack.jetbrains.com/issue/CMP-10760/Speed-up-iOS-instrumented-tests

Release Notes

N/A

- Run keyboard animation tests at increased animation speed (3x) instead of real speed.
- Poll real conditions instead of fixed sleeps:
   - `rotateTo()`` waits until the orientation is applied
   - autofill tests wait until native views leave the window
   - `keepScreenOn` cleanup waits until the idle timer is re-enabled instead of running GC rounds.
- Check screenshot regions of interest fully and sample the rest instead of every pixel.

Fixes https://youtrack.jetbrains.com/issue/CMP-10760/Speed-up-iOS-instrumented-tests

## Release Notes
N/A
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.

3 participants