1
0
Fork 0
Commit Graph

27 Commits (6ab6f3efe9b47d59c50b10c2a4f03e220e099b60)

Author SHA1 Message Date
Oana Horvath 6ab6f3efe9
Fix UI tests from #12752 #12637 #12764 (#12779)
* For #12752 & #12764: Fixes tabs tray behavior in UI tests

* For #12637: fixes goBackTest
2020-07-21 08:49:24 -04:00
Richard Pappalardo 41c256e474
Fixes #12752, #12764 - Temp disable openHistoryInNewTabTest intermittent UI test failures (#12754)
* Fixes #12752 - Temp disable intermittent failing test
2020-07-20 18:09:01 -07:00
Oana Horvath af3c232615 Replaces verifyPageContent in UI tests 2020-07-16 10:55:58 +03:00
Oana Horvath 4624bf5c50 For #10911: disables flaky createBookmarkFolderTest 2020-07-13 15:40:50 +03:00
Richard Pappalardo 11aea321ed
Fixes #11642 - Re-enable disabled UI-tests (#12142) 2020-07-01 09:15:57 -07:00
David Walsh c4a4beb6b9 For 11468 - Show tab tray after opening links from history and bookmarks 2020-06-26 18:28:31 -07:00
ValentinTimisica c75ab3f720
For #10462: Removes back button from bookmarks and history fragments (#11721) 2020-06-22 13:15:33 -04:00
Aaron Train 4270c837be
For #10642: Comment out verifyPageContent calls (#11748)
fix: expectedText not called warning
2020-06-18 15:25:14 -07:00
Jeff Boek 52c2fdb310
Remove tab tray feature flag (#11176)
* For #11171 - Removes feature flag for the new tab tray

* For #11171 - Removes all tab references from homeFragment

* For #11171 - Fixes unit tests

* For #11171 - Gets UI tests to compile and HomeScreenTest to pass

* For #11171 - Fixes `deleteMultipleSelectionTest`

* For #11171 - Fixes `openHistoryItemInNewPrivateTabTest`

* For #11171 - Fixes `openHistoryInPrivateTabTest`

* For #11171 - Fixes `openHistoryInNewTabTest`

* For #11171 - Fixes `openNewPrivateTabTest`

* For #11171 - Fixes tabbedBrowsingTests

* For #11171 - Fixes SettingsPrivacyTest

* For #11171 - Fixes TopSitesTest

* For #11171 - Fixes lint errors

* Ignore
2020-06-05 12:59:08 -05:00
Oana Horvath d3672880a3
for #10690: disable editBookmarkTest (#10891) 2020-05-25 12:37:21 +03:00
ValentinTimisica 1e83f54a94 For #10343: Updates UI tests accordingly to 'Library' removal 2020-05-11 10:22:19 -07:00
Mihai Eduard Badea 02bd0cc203 For issue #8648 2020-04-29 09:48:42 -07:00
Oana Horvath 21894a3cea
Added new bookmarks tests (#9878)
Fix for #7417: Fix and re-enable disabled tests
2020-04-27 18:15:27 +03:00
Grisha Kruglov 853a0acab4 Closes #4046: Always display 'Desktop' bookmarks folder
See https://github.com/mozilla-mobile/fenix/issues/4046 for a detailed discussion of this.

In short, this patch removes code that would conditionally hide desktop bookmarks depending
on the signed-in state of the browser.
2020-04-17 23:57:43 -07:00
Aaron Train 499f38cdaf
No issue: Disable UI test createBookmarkFolderTest for intermittent failure (#8828) 2020-02-27 13:28:06 -05:00
Aaron Train 97915107eb Closes #8066: disable failing UI Bookmarks tests 2020-02-03 23:41:43 +01:00
Emily Kager d272623c3d No issue: Add idle for create folder UI test 2020-01-30 16:54:25 +01:00
Mihai Adrian 6b786ca8dc For #7417 Wait for deletion to finish and loading of new UI (#7572) 2020-01-16 11:03:59 -05:00
Oana Horvath 85dd56e12d
Added multi-selection tests for bookmarks (#6475)
Updated bookmarking method

Fixed flaky tests

Added wait to create bookmark
2019-12-03 12:44:54 +02:00
cesar d955eae4e2 Test for 6731 2019-12-02 16:18:48 +00:00
cesar 808740e4c9 Fixed Typo 2019-11-18 20:07:22 -08:00
cesar d69ead201b Test for 6594 2019-11-18 20:07:22 -08:00
cesar d9ded1f715 Test for 6593 2019-11-18 20:07:22 -08:00
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
2019-11-11 17:10:14 -08:00
mcarare 675fe6a3a9 For #1487 Add "my library" menu category and items to home 3-dot menu.
Changed UI tests according to new menu items.
2019-10-31 11:29:49 -07:00
sv-ohorvath bb7caa6365 Boomkarks UI tests
Added a comment to the clear all bookmarks method
2019-10-07 10:45:04 -07:00
Aaron Train ae05bf98e2
Closes #4618 - Stub Library UI tests (#4619)
See #4572
2019-08-19 14:05:10 -04:00