Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

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 requested a review from hellohuanlin 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
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
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request Jun 14, 2024
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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