Commit Graph

48 Commits (e717d79abd56594220e045b7be0f1d45b9a892d4)

Author SHA1 Message Date
akliuxingyuan e717d79abd Merge tag 'v110.0.1' into fork 1 year ago
oana.horvath e9ef7c2546 Issue #27522: Search groups tests refactoring 2 years ago
Roger Yang 489548b0de For #11404 - Add 'Open all' options in bookmarks
* Add "Open all in new tabs" options in bookmarks
* Add "Open all in private tabs" options in bookmarks
* Add metrics tracking if the usage of "Open all in..." in bookmarks

Co-authored-by: Pg <pg.developper.fr@gmail.com>
2 years ago
AndiAJ f58442d3c5 For #26087 re-enable UI tests affected by tabs tray migration to compose 2 years ago
AndiAJ 46c2a714f6 For #24978 re-enable testStrictVisitDisableExceptionToggle UI test 2 years ago
mcarare ffcef5ff2e For #26844: Fix ktlint issues and remove them from baseline. 2 years ago
Aaron Train 23796286df No issue: Refactor UIDevice calls in UIAutomator code 2 years ago
sv-ohorvath acb6f5429b Refactor re-usable methods in TabDrawerRobot.kt 2 years ago
sv-ohorvath 24fd376707 Refactor collections UI tests for Compose 2 years ago
Aaron Train 04daad863f
Upgrade AndroidX Espresso Deps and support API 30 (#23904) 2 years ago
Oana Horvath 6845eef5c3 For #21002: Ads new search group UI tests
Fixed and re-enabled editCustomSearchEngineTest with custom MockWebServer URL
2 years ago
AndiAJ ec31faef7a Improve verifyOpenTabDetails UI test coverage 3 years ago
AndiAJ 4261ca7ea6 Refactor and improve coverage for empty tabs tray UI tests 3 years ago
AndiAJ f4e7547190 Improve verifyEmptyTabTray Ui test coverage 3 years ago
Oana Horvath f6b83e37b1 For #15624 & #17484: improves tab drawer locator & avoids homescreen refreshing 3 years ago
Andrei Joltan 3af6abff18
For #22065 fix flaky privateTabsTrayWithOpenedTabTest UI test (#22068)
Co-authored-by: AndiAJ <andiaj@users.noreply.github.com>
3 years ago
AndiAJ db2946c78a Fix for ambiguous tabstray_title and with text matcher for audio page 3 years ago
AndiAJ 198f407dd2 For #21769 fix flaky tabMediaControlButtonTest Ui test 3 years ago
AndiAJ 19c4186f0a Remove closeTabViaXButton() and replace it with closeTab() in the UI tests 3 years ago
AndiAJ c9ca6f01b5 Fix for ambiguous mozac_browser_tabstray_close and with content description 3 years ago
AndiAJ 66ac309d40 Fix for ambiguous tabstray_title and with text 3 years ago
AndiAJ 8d7e5dd4b7 Fix for ambiguous tabstray_close 3 years ago
AndiAJ 681fc216ac Fix for ambiguous tab_item 3 years ago
AndiAJ 8a8bbd9517 For #20814 fix flaky tabMediaControlButtonTest UI test 3 years ago
Aaron Train 87e4a250f1 Various UI test fixes and disabling of intermittents 3 years ago
Sebastian Kaspari 971b419d77 Run ktlintFormat to adapt to latest formatting rules. 3 years ago
Oana Horvath c5962b2502 For #10587: Fix and re-enable old CollectionTest.kt 3 years ago
Oana Horvath f3e3f86388 No issue: Change hardcoded package and app name in tests 3 years ago
Roger Yang 79cf3fc765
Closes #18253: Bookmark and History open new tabs in the background (#19275) 3 years ago
Jonathan Almeida 8bb7abc3fe Disabling tabstray collection tests until #19090 is fixed 3 years ago
Jonathan Almeida 0189fed012 No issue: Use same open tabs tray everywhere 3 years ago
Jonathan Almeida b6f9bbf560 Attempt at fixing openAllTabsInCollectionTest test 3 years ago
Jonathan Almeida 8b1752dd9e Disable/fix tests that rely on Select Tabs button 3 years ago
Oana Horvath be86061a11 Add first set of UI tests to Nightly 3 years ago
Vitaly V. Pinchuk 8f5244d528
Closes #18150: select tabs button not displayed (#18216)
For #18150: Improve showing/hiding of "Select tabs" button in tabs tray

Payload argument is unavailable after first call of notifyItemChanged() as the
whole View need to be updated.
Inject a "isPrivate" lambda in the adapter so it will always know what tabs are
currently showing and so always ensure the expected behavior.
3 years ago
Mugurell 611ff8f25b For #17195 - Don't try setting an idle resource if the View is already off screen
Speculative fix based on the Firebase logs which shows that on a second check
of R.id.tab_wrapper it is not found the screen.
It may be because after `advanceToHalfExpandedState` and before getting a
reference to it in `waitForTabTrayBehaviorToIdle` it was already animated off
the screen.
With this in mind I've added a null check for the view reference before trying
to register an idling resource on it's Behavior.

Also added and used a way to click at a specific location in a View, not just
in the default middle in the View.
It was observed from the Firebase videos that a "click" on the topBar actually
selected the private tabs section. This would leave us to believe that the
"click" was caught by that other View which was placed above the x,y middle of
the topBar.
3 years ago
Mugurell 32493491fa For #17195 - Test a potential fix for the test 3 years ago
Oana Horvath 23cc3522aa For #17484, #18003 UI tests: retry closing tab if it fails 3 years ago
AndiAJ 46888cc70f For #14523 Fix Intermittent tests verifyContextOpenLinkNewTab & verifyContextOpenLinkPrivateTab 3 years ago
AndiAJ f8ea4c5ca1 For #16615: UI Smoke Tests for Tabs Tray 3 years ago
Oana Horvath 58cefbbb94 For #16615: Collections UI smoke tests 3 years ago
AndiAJ fc964862e0 For #16615: UI Smoke Tests for Recently Closed Tabs 3 years ago
Mugurell 172977f698
For #14980 - Effectively disable tabs tray STATE_HALF_EXPANDED (#16052)
STATE_HALF_EXPANDED cannot be disabled while also keeping fitToContents = true
based on which the tabs tray layout is currently set.
To work around this we'll set a a minuscule height for the tab tray when in
this state and then immediately advance to STATE_HIDDEN so to make it
imperceptible to the users.
Since I couldn't write unit tests because of InflateExceptions in Robolectric
I've written UI tests to protect against regressions.
4 years ago
Jeff Boek 4b997c1334 No Issue - Fixes UI Tests with new search experience 4 years ago
Aaron Train aa495b4526
No issue: Fix recent UI test breakage (#12869) 4 years ago
Aaron Train 661835a35c No issue: Add a couple Tabs Tray UI tests 4 years ago
David Walsh c4a4beb6b9 For 11468 - Show tab tray after opening links from history and bookmarks 4 years ago
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
4 years ago