Commit Graph

110 Commits (4fd3eb53d1262e782198bbdb80964b4a17e45b25)

Author SHA1 Message Date
Sawyer Blatz 4fd3eb53d1 For #6666: Adds back button to search screen 5 years ago
Richard Pappalardo f85961d9a9 Temp disable flaky UI testDownloadPrompt (#7304) 5 years ago
Aaron Train 757c9577e0
No issue: Fixes breakage with unused import in 4a2cb91 (#7205) 5 years ago
Aaron Train 4a2cb91ad9
For #6697: Add Tracking Protection UI Tests (#6825)
Add tests for verifying basic UI functionality of Enhanced Tracking Protection
5 years ago
mcarare d2abac78eb For #7075 Update passwords preference visibility and string
Set visibility for feature flags before settings screen it's displayed.
Change string for preference to match existing header string.
Update UI Tests
5 years ago
Emily Kager 558f90da00 No issue: Scroll to remote debugging text in UI Tests (#7117) 5 years ago
ValentinTimisica 8b8f3d1b56 For #4776: Refactored UI tests.
After removing the 'Privacy notice' and 'Help' items from the Settings screen
the UI tests for them became unneeded.
5 years ago
isabelrios 1d04736884 Re-enable Screenshots tests (#6617)
disabling setting test options due to different screen sizes

name screenshots according to robots

fix kotlin style

update settings tests with new Toolbar option

screenshots tests in different package than ui tests
5 years ago
Oana Horvath 46439930c0
Fixed flaky History UI tests by adding an extra verification step that (#6894)
the page is loaded.

Enabled all tests
5 years ago
Aaron Train e1fd53c718
Closes #6873: Support many more Content-Type in MockWebServer (UI tests) (#7001)
Ensure our MockResponse can handle different Content-Type e.g, images, to help support other tests
5 years ago
Jeff Boek 4fb26a0601 For #4664 - Updates search_with string. (#6909) 5 years ago
Richard Pappalardo 2225b7154a
Disable flaky testDownloadNotification - API28 (#6982) 5 years ago
Oana Horvath 85dd56e12d
Added multi-selection tests for bookmarks (#6475)
Updated bookmarking method

Fixed flaky tests

Added wait to create bookmark
5 years ago
Aaron Train 35f136b14b
Closes #6363 - Add Downloads UI tests (#6574)
- Initiates a download
- Verifies prompt
- Verifies notification in notification shade
5 years ago
ekager 3df32edff0 No issue: Fix search suggestions strings 5 years ago
cesar 5b86c403b0 klint clean up and previous nit fixed 5 years ago
cesar d955eae4e2 Test for 6731 5 years ago
mcarare 22879b533e For #6881 Choose visible view when multiple views have same label text 5 years ago
Oana Horvath 715a79de71 Disable UI history tests again for more investigation (#6837) 5 years ago
mcarare c5f18e0f96 For #6629 Align Private Browsing mode to UX specs 5 years ago
isabelrios 3fc263d547 fix reviewer comments 5 years ago
isabelrios 6b7f89433a For #6322 - UI tests for Account Settings View
removing sleeps

fix ktlint errors
5 years ago
Tiger Oakes 0a86676563 For #6523 - Remove close button in library 5 years ago
Patrick Martin 3e436f59e2 For #2294 - History URL is cut with a large font set (#6724)
* For #2294 - History URL is cut with a large font se

* Update HistoryRobot.kt
5 years ago
ekager dba2186e86 Add scroll to item 5 years ago
ekager 81ab082c1c For #6707 #6708 - Fix UI Tests for new Search Engine Behavior 5 years ago
Patrick Martin 8abf580579 For #2294 - History URL is cut with a large font se 5 years ago
Oana Horvath c9e4303fa0
Fixed History flaky tests (#6592)
Ignoring some tests for now and left some to run
5 years ago
cesar 984d8c7b13 ktlint clean up 5 years ago
cesar 808740e4c9 Fixed Typo 5 years ago
cesar d69ead201b Test for 6594 5 years ago
cesar d9ded1f715 Test for 6593 5 years ago
Emily Kager 1c26851dea Add logins to UI test 5 years ago
Oana Horvath 0cfde5b86a Added a method to detect the UI Theme (#6542) 5 years ago
David Walsh 9d5c03c067 Use consistent verbiage with regard to opened tabs (#6550) 5 years ago
Severin Rudie 6909a76bcb
4281 remove qab (#6310)
* For #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 cf8cab8eb1 No issue: Ignore rest of HistoryTest tests (#6450) 5 years ago
Richard Pappalardo fa780f6790
Temp disable all History UI tests (#6443) 5 years ago
Richard Pappalardo 01b4213b2a Temp disable flaky deleteMultipleSelectionTest (#6405)
* Temp disable flaky deleteMultipleSelectionTest

* Fix indentation
5 years ago
mcarare 675fe6a3a9 For #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 7813fb22d4
History menu UI tests (#6272)
Removed failing verifyOverflowMenuButton method

Added new Robot for MultipleSelectionTooolbar

Renamed MultipleSelectionToolbarRobot to LibrarySubMenusMultipleSelectionToolbarRobot
5 years ago
No-Jun Park ad94d49f24
Collection UI Test added, but set to disabled until Collection is refactored (#6160) 5 years ago
isabelrios b413a57159 Fix sync test after changes in the syntaxt to check the elements (#6249) 5 years ago
psy0ch 165b1420b7 Add explanation to @Ignore in CollectionTest (#6238)
#6235
5 years ago
Aaron Train 23c98f9908
Closes #6172 - Convert waitNotNull into extension function for UI tests (#6220) 5 years ago
Aaron Train c677fc6109
Closes #6031 - Wrap waits with assert check; adjust timer check (#6084)
See #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 4e3a3665d6 For #3366 - Use one layout for edit/add bookmark (#5900) 5 years ago
isabelrios 06c1ef49b2 Fix #6004: Add UI sync integration test for Bookmarks (#6019)
* Fix #6004: Add UI sync integration test for Bookmarks

* fix two typos
5 years ago
Richard Pappalardo 744d177dd0 Add verify items tests for settings menus 5 years ago
MozLando f66b9f3e8f Merge #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