Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change element to wait for in AppExtensionTests testAppExtensionLaunching #53358

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

vashworth
Copy link
Contributor

@vashworth vashworth commented Jun 12, 2024

Instead of waiting for the first cell in the share sheet to appear, wait for the first cell matching the predicate to appear. It seems that on macOS 14 it occasionally doesn't find any matches, presumably a race condition - so this will wait up to 10 seconds for the desired elements to appear.

Attempting to fix flutter/flutter#150117. I wasn't able to recreate locally and it only happens flakily in CI so hard to guarantee it will fix.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@vashworth vashworth marked this pull request as ready for review June 12, 2024 17:51
@vashworth vashworth added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 13, 2024
@auto-submit auto-submit bot merged commit 0064612 into flutter:main Jun 13, 2024
28 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 13, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jun 13, 2024
…150208)

flutter/engine@4cb3025...8167dff

2024-06-13 [email protected] Roll Skia from ecc64fb82374 to bf5a0e0dbf41 (2 revisions) (flutter/engine#53376)
2024-06-13 [email protected] Change element to wait for in AppExtensionTests testAppExtensionLaunching (flutter/engine#53358)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request Jun 14, 2024
…lutter#150208)

flutter/engine@4cb3025...8167dff

2024-06-13 [email protected] Roll Skia from ecc64fb82374 to bf5a0e0dbf41 (2 revisions) (flutter/engine#53376)
2024-06-13 [email protected] Change element to wait for in AppExtensionTests testAppExtensionLaunching (flutter/engine#53358)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request Jun 14, 2024
…lutter#150208)

flutter/engine@4cb3025...8167dff

2024-06-13 [email protected] Roll Skia from ecc64fb82374 to bf5a0e0dbf41 (2 revisions) (flutter/engine#53376)
2024-06-13 [email protected] Change element to wait for in AppExtensionTests testAppExtensionLaunching (flutter/engine#53358)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Mac-14] Test AppExtensionTests testAppExtensionLaunching flakey
2 participants