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

Fix UI tests with DirectionsRoute test fixture #1548

Merged
merged 1 commit into from
Nov 26, 2018
Merged

Conversation

danesfeder
Copy link
Contributor

Fixes #1209

We previously ran into various issues with our UI tests around the Directions API network calls / double initialization of the NavigationView causing map crashes.

This PR adjusts how we set up the OnNavigationReadyIdlingResource and also how we start navigation with a DirectionsRoute (now comes from a fixture in the assets folder).

Copy link
Contributor

@Guardiola31337 Guardiola31337 left a comment

Choose a reason for hiding this comment

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

Great work @danesfeder 🚢

@codecov-io
Copy link

Codecov Report

Merging #1548 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1548   +/-   ##
=========================================
  Coverage     19.17%   19.17%           
  Complexity      684      684           
=========================================
  Files           184      184           
  Lines          9379     9379           
  Branches        608      608           
=========================================
  Hits           1798     1798           
  Misses         7398     7398           
  Partials        183      183

@danesfeder danesfeder merged commit ffee594 into master Nov 26, 2018
@danesfeder danesfeder deleted the dan-flaky-test branch November 26, 2018 21:18
@Guardiola31337 Guardiola31337 mentioned this pull request Nov 30, 2018
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky NavigationViewOrientationTest
3 participants