Skip to content

test(many): gestures flakiness - #27808

Merged
thetaPC merged 25 commits into
mainfrom
FW-4556
Aug 14, 2023
Merged

thetaPC merged 25 commits into
mainfrom
FW-4556

Conversation

@thetaPC

@thetaPC thetaPC commented Jul 14, 2023 •

Copy link
Copy Markdown
Contributor

Issue number: multiple internals


What is the current behavior?

Multiple tests that use gestures are flaky on GitHub. Due to that those tests are being skipped.

What is the new behavior?

  • page.mouse.move will not work as expected if it the mouse moves outside of the viewport. This may lead to events to not fire every time. There's now a check to determine if the coordinates are valid. If they are not, then it will update the coordinates to be as close to the viewport's edge instead of being outside.
  • Safari doesn't repaint the frame as often as the other browsers. This causes the tests on GitHub to appear to be lagging. Now the frame is forced to repaint only for Safari.
  • Most tests are no longer being skipped.
  • Range is still having issues on GitHub. It is no longer flaky locally with the changes in this PR. I've had to revert them back to skip until further notice.

Does this introduce a breaking change?

  • Yes
  • No

Other information

If this PR is merged, then:

  • FW-3006, FW-2795, and FW-3079 can be closed
  • FW-4556 still needs to remain open since range is still flaky on GitHub

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions Bot added the package: core @ionic/core package label Jul 14, 2023
@thetaPC
thetaPC marked this pull request as ready for review August 2, 2023 19:27
@thetaPC
thetaPC requested a review from liamdebeasi as a code owner August 2, 2023 19:27
@thetaPC
thetaPC requested a review from a team August 2, 2023 19:27
@liamdebeasi
liamdebeasi requested a review from a team August 3, 2023 20:36
Co-authored-by: Amanda Johnston <[email protected]>

@liamdebeasi liamdebeasi 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.

Great work! Thanks for digging in and figuring all this out.

@thetaPC
thetaPC added this pull request to the merge queue Aug 14, 2023
Merged via the queue into main with commit eafa7b5 Aug 14, 2023
@thetaPC
thetaPC deleted the FW-4556 branch August 14, 2023 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants