Commit Graph

1180 Commits (4eade0d04f9cf284ff70c5d2f0ae1fc5fd48304a)

Author SHA1 Message Date
cesar 3402ab6636 [fenix] Fixed Typo 5 years ago
cesar 1f32a65e4e [fenix] Test for 6594 5 years ago
cesar 0fd8d98d12 [fenix] Test for 6593 5 years ago
Emily Kager a4a5315838 [fenix] Add logins to UI test 5 years ago
Oana Horvath 9f4e9dcc69 [fenix] Added a method to detect the UI Theme (https://github.com/mozilla-mobile/fenix/pull/6542) 5 years ago
David Walsh adfd7798e5 [fenix] Use consistent verbiage with regard to opened tabs (https://github.com/mozilla-mobile/fenix/pull/6550) 5 years ago
Severin Rudie 2e76d82c9a [fenix] 4281 remove qab (https://github.com/mozilla-mobile/fenix/pull/6310)
* For https://github.com/mozilla-mobile/fenix/issues/4281: small ToolbarMenu refactor

This makes it easier to see how items are ordered in the menuItems list

* For 4281: add QAB buttons to menu

* For 4281: removed menu back button per mocks

I double checked with UX, and we'll be relying on the hardware back button for its functionality

* For 4281: add content descriptions for bookmarking

* For 4281: updated BrowserToolbarController for new functionality

* For 4281: provided simple dependencies to browser controller

More complex changes will be in a following commit, for review readability

* For 4281: move toolbar controller dependencies up to BaseBrowserFragment

The functionality they control is being moved into the toolbar menu, which is shared by both normal tabs and custom ones

* For 4281: removed (now unused) code related to QAB

* For 4281: fix test compilation after QAB removal

Tests still need to be expanded to include added functionality

* For 4281: updated menu to show if url is bookmarked

This sloppy workaround is required because TwoStateButton requires that `isInPrimaryState` be a synchronous call, and checking whether or not the current site is bookmarked is quite slow (10-50 MS, in my tests).  After days of work and many attempted solutions, this was the least abhorrent among them.

https://github.com/mozilla-mobile/android-components/issues/4915 was opened against AC to evaluate potentially supporting async `isInPrimaryState` functions.
https://github.com/mozilla-mobile/fenix/issues/6370 was opened against Fenix to investigate the unexpectedly slow call to `BookmarkStorage`.

* For 4281: update reader mode switch

* For 4281: selectively show/hide menu items

* For 4281: add reader mode appearance

* For 4281: update bookmark button when it is clicked

* For 4281: removed unused QAB code

* For 4281: removed QAB robot, updated UI tests

* For 4281: removed QuickActionSheet metrics

Since this behavior now lives in the toolbar, it is tracked via Event.BrowserMenuItemTapped

* For 4281: fixed lint errors

* For 4281: add new strings for buttons added to menu

This is necessary because the location change (from QAB to toolbar menu) could affect the grammar in some languages

* For 4281: remove outdated TODOs

* For 4281: removed QAB container

* For 4281: removed back button reference from UI test

This button no longer exists

* For 4821: Fixes a visual defect (extra padding on top of toolbar)

* For 4281: update copy on reader mode

* For 4281: fixed review nits
5 years ago
Emily Kager 1b228ac62a [fenix] No issue: Ignore rest of HistoryTest tests (https://github.com/mozilla-mobile/fenix/pull/6450) 5 years ago
Richard Pappalardo a17bb1d8dd [fenix] Temp disable all History UI tests (https://github.com/mozilla-mobile/fenix/pull/6443) 5 years ago
Richard Pappalardo cdfba9536a [fenix] Temp disable flaky deleteMultipleSelectionTest (https://github.com/mozilla-mobile/fenix/pull/6405)
* Temp disable flaky deleteMultipleSelectionTest

* Fix indentation
5 years ago
mcarare 6f2df90bc2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1487 Add "my library" menu category and items to home 3-dot menu.
Changed UI tests according to new menu items.
5 years ago
Oana Horvath 956b506474 [fenix] History menu UI tests (https://github.com/mozilla-mobile/fenix/pull/6272)
Removed failing verifyOverflowMenuButton method

Added new Robot for MultipleSelectionTooolbar

Renamed MultipleSelectionToolbarRobot to LibrarySubMenusMultipleSelectionToolbarRobot
5 years ago
No-Jun Park e40b258890 [fenix] Collection UI Test added, but set to disabled until Collection is refactored (https://github.com/mozilla-mobile/fenix/pull/6160) 5 years ago
isabelrios 4eb8ad16d0 [fenix] Fix sync test after changes in the syntaxt to check the elements (https://github.com/mozilla-mobile/fenix/pull/6249) 5 years ago
psy0ch 7cc240bcd2 [fenix] Add explanation to @Ignore in CollectionTest (https://github.com/mozilla-mobile/fenix/pull/6238)
https://github.com/mozilla-mobile/fenix/issues/6235
5 years ago
Aaron Train aa400955a6 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6172 - Convert waitNotNull into extension function for UI tests (https://github.com/mozilla-mobile/fenix/pull/6220) 5 years ago
Aaron Train 16eebc77c9 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6031 - Wrap waits with assert check; adjust timer check (https://github.com/mozilla-mobile/fenix/pull/6084)
See https://github.com/mozilla-mobile/fenix/issues/6031

- Adjust waits with assert check
- Adjusts timer to speed things up
- Test fix and cleanup

fix: review comments

- fixed proper resource name selectors
- re-added waits for slow devices

fix: ktlint
5 years ago
Tiger Oakes 0af2e9d821 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3366 - Use one layout for edit/add bookmark (https://github.com/mozilla-mobile/fenix/pull/5900) 5 years ago
isabelrios e6e5ab6ffb [fenix] Fix https://github.com/mozilla-mobile/fenix/issues/6004: Add UI sync integration test for Bookmarks (https://github.com/mozilla-mobile/fenix/pull/6019)
* Fix https://github.com/mozilla-mobile/fenix/issues/6004: Add UI sync integration test for Bookmarks

* fix two typos
5 years ago
Richard Pappalardo 1839ce12f1 [fenix] Add verify items tests for settings menus 5 years ago
MozLando 66e7638fb7 [fenix] Merge https://github.com/mozilla-mobile/fenix/pull/5633
5633: Add fxa/sync integration tests r=csadilek a=isabelrios

 Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [x] **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](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

This PR tries to add new tests, sync integration tests, to check the sync process Desktop<->Fenix, first for Bookmarks and in the future for more.

Co-authored-by: Isabel Rios <isabelrios@mackbookirios.home>
Co-authored-by: isabelrios <isabelrios@gmail.com>
5 years ago
Emily Kager b36c9c67dd [fenix] For https://github.com/mozilla-mobile/fenix/issues/1901 - Get rid of black flash when leaving GV Engine 5 years ago
Sawyer Blatz 129951e3a9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5534: Temporarily disables find in page test 5 years ago
isabelrios 785c89743a [fenix] fixing more reviewers comments 5 years ago
isabelrios 67661747f3 [fenix] fixing reviewers comments
improve writing email and password in file
5 years ago
Isabel Rios 339524226a [fenix] Add fxa/sync integration tests
fixing Jenkins path to tests and clean tests

commenting future tests and adding doc with info about the tests
5 years ago
sv-ohorvath 92ac8a2042 [fenix] Boomkarks UI tests
Added a comment to the clear all bookmarks method
5 years ago
Sawyer Blatz e3d58b1676 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5567: Removes search shortcuts button (https://github.com/mozilla-mobile/fenix/pull/5739)
* For https://github.com/mozilla-mobile/fenix/issues/5567: Removes search shortcut button

* No issue: Simplifies logic for displaying shortcuts
5 years ago
Richard Pappalardo ad8e2d1d2f [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/5758 - Increase UI test wait time (https://github.com/mozilla-mobile/fenix/pull/5759) 5 years ago
ekager 4d5fdffdb7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5534 - Make FIP Robot Wait for Text Changes 5 years ago
Colin Lee 28d64cdd9e [fenix] For https://github.com/mozilla-mobile/fenix/issues/2754 Add tab cards to share sheet (https://github.com/mozilla-mobile/fenix/pull/5493)
* For https://github.com/mozilla-mobile/fenix/issues/2754 Add tab cards to share sheet

* For https://github.com/mozilla-mobile/fenix/issues/2754: Fix background near rounded corners and ShareButtonAppearanceTest

* Add license to share_tab_item
5 years ago
Sawyer Blatz 6b03a6e1f9 [fenix] No issue: Fixes GleanMetricsService nits & broken UI test (https://github.com/mozilla-mobile/fenix/pull/5539)
* No issue: Fixes GleanMetricsService nits

* No issue: fixes broken UI test
5 years ago
Richard Pappalardo 867b6485ee [fenix] Move UI tests to x86 devices on Firebase (https://github.com/mozilla-mobile/fenix/pull/5463) 5 years ago
Sawyer Blatz 320fd1462f [fenix] For https://github.com/mozilla-mobile/fenix/issues/5371: Updates search engine settings string (https://github.com/mozilla-mobile/fenix/pull/5393) 5 years ago
ekager d14d848d51 [fenix] No issue: Fixes UI tests by removing TP onboarding closure 5 years ago
Richard Pappalardo 6b813c0aae [fenix] fix: broken UI tests (https://github.com/mozilla-mobile/fenix/pull/5324) 5 years ago
Oana Horvath 9706df2e2b [fenix] Adds 2 new tests to SearchTest (https://github.com/mozilla-mobile/fenix/pull/4770) 5 years ago
No-Jun Park d293228b8f [fenix] fix TabbedBrowsingTest.kt failure where Share Tabs element was not found (https://github.com/mozilla-mobile/fenix/pull/5282) 5 years ago
Oana Horvath f36d0c476a [fenix] added LibraryMenuTest, BookmarksRobot, HistoryRobot (https://github.com/mozilla-mobile/fenix/pull/4769)
ran ktlint

added the goBack()method in  Transition

added the goBack method in Transition
5 years ago
Aaron Train 1465ea335c [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/5192 - Add UI Test for "What's New" menu option (https://github.com/mozilla-mobile/fenix/pull/5193) 5 years ago
No-Jun Park 5dc8dd7264 [fenix] Create homeview share dialog UITest (https://github.com/mozilla-mobile/fenix/pull/5160)
Share Button UI test added
Collection test steps created
5 years ago
Aaron Train 7f6fdcda4b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/5137 - Add Find in Page UI Test (https://github.com/mozilla-mobile/fenix/pull/5138) 5 years ago
Richard Pappalardo 6a54b74c1e [fenix] Temporarily disable broken UI test (https://github.com/mozilla-mobile/fenix/pull/5136) 5 years ago
Aaron Train da02c6f228 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4926: Add basic UI test for regular/private tabs (https://github.com/mozilla-mobile/fenix/pull/4928) 5 years ago
Colin Lee cdc611fec5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4885: D8 Build failure on attempt to execute UI test (https://github.com/mozilla-mobile/fenix/pull/4903)
* For https://github.com/mozilla-mobile/fenix/issues/4885: D8 Build failure on attempt to execute UI test

* Disabled screengrab tests until AndroidX fix is available
5 years ago
Richard Pappalardo 3e02efef28 [fenix] Stub out Settings tests 5 years ago
Yeon Taek Jeong 86ec7d5d6c [fenix] For https://github.com/mozilla-mobile/fenix/issues/2834: Delete all Private Tabs redesign (https://github.com/mozilla-mobile/fenix/pull/4787) 5 years ago
Aaron Train aa9bf1aa6e [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4618 - Stub Library UI tests (https://github.com/mozilla-mobile/fenix/pull/4619)
See https://github.com/mozilla-mobile/fenix/issues/4572
5 years ago
Emily Kager 043f8829c9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4688 - Try to use context instead of targetContext (https://github.com/mozilla-mobile/fenix/pull/4765) 5 years ago
Emily Kager 52ff9a61f0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4688 - Try slightly different Context class for MockWebServer (https://github.com/mozilla-mobile/fenix/pull/4747) 5 years ago
Emily Kager e4f3b39e0b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/3860 - Update description text for collections 5 years ago
isabelrios 61e400c2d8 [fenix] Fix UI Screenshot TabMenuTest (https://github.com/mozilla-mobile/fenix/pull/4730) 5 years ago
Sawyer Blatz e4488b1909 [fenix] No issue: Removes deprecated usage of InstrumentationRegistry 5 years ago
Emily Kager 03e8f5b054 [fenix] No issue: Update testing dependencies and deprecated method (https://github.com/mozilla-mobile/fenix/pull/4608) 5 years ago
Richard Pappalardo 7ea855bda8 [fenix] Stub out tabs tests (https://github.com/mozilla-mobile/fenix/pull/4573) 5 years ago
Emily Kager ad16d1efcd [fenix] No issue: Update UI tests with new engine shortcuts behavior (https://github.com/mozilla-mobile/fenix/pull/4552) 5 years ago
ekager 1034671723 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4495 - Clean up homescreen toolbar focus and content descriptions 5 years ago
Emily Kager e4ccbeb6ea [fenix] No issue: Fix failing UI tests because of renamed views (https://github.com/mozilla-mobile/fenix/pull/4527) 5 years ago
Sawyer Blatz 190fe7b09b [fenix] No issue: Fixes failing UI test on master 5 years ago
isabelrios 4e2c157646 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4324 - Add more l10n screenshots tests (https://github.com/mozilla-mobile/fenix/pull/4350)
* Fixes https://github.com/mozilla-mobile/fenix/issues/4324 - l10n Add more screenshots tests

* change test name

* final changes

* fixing reviewer comments
5 years ago
Andrey Mukamolov 18bdd3f102 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2142: Added UI test assertion 5 years ago
Richard Pappalardo 1531d6d6ad [fenix] Add taskcluster job for UI tests (https://github.com/mozilla-mobile/fenix/pull/4088) 5 years ago
isabelrios 87ca3f8e45 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4260 - UITests update data collection string (https://github.com/mozilla-mobile/fenix/pull/4261) 5 years ago
Sawyer Blatz 3636834626 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4091 & Fixes https://github.com/mozilla-mobile/fenix/issues/4092: Resolve issues with Search UI tests (https://github.com/mozilla-mobile/fenix/pull/4224) 5 years ago
isabelrios 0dab6ec592 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4094 - Improved original PR to fix screenshots tests API21 (https://github.com/mozilla-mobile/fenix/pull/4144)
use robot for three dot menu screenshot
5 years ago
Richard Pappalardo ebd2e02a60 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/4094 - Fix screenshots tests on API 21 devices (https://github.com/mozilla-mobile/fenix/pull/4108)" (https://github.com/mozilla-mobile/fenix/pull/4138)
This reverts commit d6850b82e31d414df97cb9462a9716ba43bb64f1.
5 years ago
isabelrios 23928ccf36 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4094 - Fix screenshots tests on API 21 devices (https://github.com/mozilla-mobile/fenix/pull/4108)
fix ktlint error
5 years ago
Aaron Train f1fefba0a9 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/3977: Add basic navigational UI tests (https://github.com/mozilla-mobile/fenix/pull/3978)
- Adds UI tests (and assets) for basic navigation

fix: review changes

fix: linter cleanup

fix: detekt cleanup

fix: adjust wait approaches
5 years ago
Sawyer Blatz f428d7a545 [fenix] No issue: Speed up onboarding UI test (https://github.com/mozilla-mobile/fenix/pull/4061) 5 years ago
Sawyer Blatz da7f3ddb75 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4027: Adds search fragment UI tests (https://github.com/mozilla-mobile/fenix/pull/4033) 5 years ago
Sawyer Blatz e3ae3bf145 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4032: Fixes broken homescreen UI tests (https://github.com/mozilla-mobile/fenix/pull/4011) 5 years ago
Tiger Oakes 8d3020ebcf [fenix] No issue: Normalize license header comment (https://github.com/mozilla-mobile/fenix/pull/3909) 5 years ago
Richard Pappalardo 4bcbc91e9e [fenix] Update HomeScreenTest and add first run (https://github.com/mozilla-mobile/fenix/pull/3951) 5 years ago
kglazko e8acfc56b4 [fenix] Adding l10n screenshot tests for Fenix (https://github.com/mozilla-mobile/fenix/pull/3562)
* Adding l10n screenshot tests for Fenix

* fixing comments

* fix klint and detekt error and adding all tests

* better test name and doc added explaining tests
5 years ago
Richard Pappalardo 623407a92f [fenix] Update HomeScreenTest (https://github.com/mozilla-mobile/fenix/pull/3882) 5 years ago
Richard Pappalardo ce9ac9e988 [fenix] Add automated UI test for main three dot menu (https://github.com/mozilla-mobile/fenix/pull/2540) 5 years ago
Kevin Brosnan 3f181f63c9 [fenix] UI tests for the home screen 6 years ago
Emily Kager 59b0b3015d [fenix] Remove test imports 6 years ago
Colin Lee c0a89dc3c1 [fenix] Make ktlint and detekt style changes 6 years ago
Jeff Boek 06f1bf6471 [fenix] Initializes Android project
Co-authored-by: Colin Lee <mncolinlee@gmail.com>
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
Co-authored-by: Emily Kager <emilykager@gmail.com>
6 years ago