Skip to content

Conversation

@Im-Kevin
Copy link
Contributor

@Im-Kevin Im-Kevin commented Sep 5, 2020

Description

Fix the test error of "Add finders for enableFlutterDriverExtension" and resubmit

Related Issues

#65273
#64308
#62299

Tests

I modified the following test:

  • extension_test.dart
    • waitUntilNoTransientCallbacks
    • waitForCondition
    • getSemanticsId
    • getOffset
    • getText
    • descendant finder
    • descendant finder firstMatchOnly
    • ancestor finder
    • ancestor finder firstMatchOnly
    • GetDiagnosticsTree
    • waitUntilFrameSync
  • find_test.dart
    • Ancestor finder deserialize
    • Descendant finder deserialize

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.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read Handling breaking changes.

  • No, no existing tests failed, so this is not a breaking change.

Im-Kevin and others added 22 commits August 21, 2020 15:55
Fix Code Style Error

Co-authored-by: Dan Field <dfield@gmail.com>
Fix Code Style Error

Co-authored-by: Dan Field <dfield@gmail.com>
Fix Code Style Error

Co-authored-by: Dan Field <dfield@gmail.com>
Modified [enableFlutterDriverExtension] Code Note
Co-authored-by: Dan Field <dfield@gmail.com>
Co-authored-by: Dan Field <dfield@gmail.com>
Co-authored-by: Dan Field <dfield@gmail.com>
@flutter-dashboard flutter-dashboard bot added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. labels Sep 5, 2020
@Im-Kevin
Copy link
Contributor Author

Im-Kevin commented Sep 5, 2020

/ cc @dnfield

Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

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

LGTM.

I'm a bit confused about how this passed CI last time though.

@fluttergithubbot fluttergithubbot merged commit 418e424 into flutter:master Sep 8, 2020
class FlutterDriverExtension with DeserializeFinderFactory {
/// Creates an object to manage a Flutter Driver connection.
FlutterDriverExtension(this._requestDataHandler, this._silenceErrors) {
FlutterDriverExtension(this._requestDataHandler, this._silenceErrors, List<FinderExtension> finders) {
Copy link
Contributor

Choose a reason for hiding this comment

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

unfortunately adding a new named parameter here breaks some internal customers. Can we reland this with either an optional named parameter, or just a new named constructor for it?

@dnfield dnfield mentioned this pull request Sep 9, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 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 framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants