Skip to content

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Mar 1, 2019

Description

Fixes the flake in ios_add2app and removes the timeout. We still have retry logic in here - eventually, EarlGrey will be able to do this without us needing this logic.

This PR will fail until the related engine PR lands in the framework.

Related Issues

flutter/engine#8005
#24519 (related, but for something slightly different).

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes tests for all changed/updated/fixed behaviors (See Test Coverage).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

@dnfield dnfield added a: tests "flutter test", flutter_test, or one of our tests c: contributor-productivity Team-specific productivity, code health, technical debt. platform-ios iOS applications specifically labels Mar 1, 2019
@dnfield dnfield requested a review from xster March 1, 2019 21:24
@dnfield
Copy link
Contributor Author

dnfield commented Mar 7, 2019

Upstream change has landed, will just need to get it rolled into framework

@dnfield dnfield changed the title A11y flake Remove timeout from add2app test for iOS Mar 7, 2019
@dnfield
Copy link
Contributor Author

dnfield commented Mar 8, 2019

Once #28688 lands this can be rebased and should work.

@dnfield dnfield marked this pull request as ready for review March 8, 2019 04:33
Copy link
Member

@xster xster left a comment

Choose a reason for hiding this comment

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

LGTM


NS_ASSUME_NONNULL_BEGIN

@interface DualFlutterViewController : UIViewController
Copy link
Member

Choose a reason for hiding this comment

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

Semi unrelated but just for easier maintenance in the future
Can you, from README.md, call out the related filenames of the tests for each entry so we can associate which test is done in which file?

[[NSNotificationCenter defaultCenter] removeObserver:observer];
}];
[viewController.engine ensureSemanticsEnabled];
while (semanticsAvailable == NO && tries != 0) {
Copy link
Member

Choose a reason for hiding this comment

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

Add one line saying what is synchronous and what isn't in a comment here and in the ensureSemanticsEnabled objective-c doc

@dnfield dnfield merged commit ee3e621 into flutter:master Mar 19, 2019
@dnfield dnfield deleted the a11y_flake branch March 19, 2019 04:40
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: tests "flutter test", flutter_test, or one of our tests c: contributor-productivity Team-specific productivity, code health, technical debt. platform-ios iOS applications specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants