Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

History menu UI tests #6272

Merged
merged 1 commit into from
Oct 29, 2019
Merged

History menu UI tests #6272

merged 1 commit into from
Oct 29, 2019

Conversation

sv-ohorvath
Copy link
Contributor

@sv-ohorvath sv-ohorvath commented Oct 25, 2019

Ads UI tests for the History menu
Removed the failing verifyOverflowMenuButton method
Added new Robot for MultipleSelectionTooolbar


Pull Request checklist

  • Quality: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Screenshots: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features

After merge

  • Milestone: Make sure issues finished by this pull request are added to the milestone of the version currently in development.

To download an APK when reviewing a PR:

  1. click on Show All Checks,
  2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
  3. click on the "Fenix - assemble" task, then click "Run Artifacts".
  4. the APK links should be on the left side of the screen, named for each CPU architecture

@codecov-io
Copy link

codecov-io commented Oct 25, 2019

Codecov Report

Merging #6272 into master will decrease coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #6272      +/-   ##
============================================
- Coverage     14.49%   14.42%   -0.07%     
+ Complexity      323      321       -2     
============================================
  Files           272      272              
  Lines         11039    11035       -4     
  Branches       1593     1592       -1     
============================================
- Hits           1600     1592       -8     
- Misses         9311     9317       +6     
+ Partials        128      126       -2
Impacted Files Coverage Δ Complexity Δ
...lla/fenix/customtabs/ExternalAppBrowserActivity.kt 8.69% <0%> (-29.77%) 2% <0%> (-2%)
...pp/src/main/java/org/mozilla/fenix/HomeActivity.kt 7.75% <0%> (+0.05%) 7% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 905c785...517e2b7. Read the comment docs.

Copy link
Contributor

@rpappalax rpappalax left a comment

Choose a reason for hiding this comment

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

Once the suggestions @AaronMT and I highlighted (as well as passing on taskcluster and rebase to master), this looks super good and can be merged. Great work @sv-ohorvath !

@sv-ohorvath
Copy link
Contributor Author

@rpappalax I moved some things to a new MultipleSelectionToolbarRobot, but the functionality is still the same. Please have another look.

Copy link
Contributor

@rpappalax rpappalax left a comment

Choose a reason for hiding this comment

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

Other than few more nits, looks great

Removed failing verifyOverflowMenuButton method

Added new Robot for MultipleSelectionTooolbar

Renamed MultipleSelectionToolbarRobot to LibrarySubMenusMultipleSelectionToolbarRobot
@sv-ohorvath sv-ohorvath merged commit 7813fb2 into master Oct 29, 2019
@bors bors bot deleted the historyTests branch October 29, 2019 09:36
@sv-ohorvath sv-ohorvath added the eng:automation Build automation, Continuous integration, .. label Oct 29, 2019
@severinrudie severinrudie mentioned this pull request Nov 6, 2019
30 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
eng:automation Build automation, Continuous integration, ..
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants