Skip to content

Fix android tests for v2.0.3

grant requested to merge fix-tests-v2.0.3 into develop

This MR includes minor fixes for issues found when running the androidTest code, and it updates several of the tests to work with v2.0.3. Specific fixes include,

  • Excluding url's containing localhost from being rewritten with https://, fixes tests that use MockWebServer as well as the unlikely case that someone might want to access something at http://localhost
  • Use customLoadUrlUseCase when a HistorySuggestion is selected from AwesomeBar, solves issue with transitioning to BrowserFragment
  • Use onStopListener to handle transitioning to BrowserFragment after SearchSuggestion is selected AwesomeBar, which is just a refactor of a previous solution
  • Fixing various issues with test code, mostly related to the change to the home page not having a placeholder tab

Merge request reports