Commit Graph

52 Commits (7e870605d81cd10bda5d553dcd1aca427d9dd5fd)

Author SHA1 Message Date
Sebastian Kaspari 971b419d77 Run ktlintFormat to adapt to latest formatting rules. 3 years ago
Michael Comella f7b85a6e95 Closes #20540: always swipe twice to openSettings in ThreeDotMenuMainRobot. 3 years ago
Oana Horvath c5962b2502 For #10587: Fix and re-enable old CollectionTest.kt 3 years ago
Jonathan Almeida dc11c334b6 Issue #19112: Remove old tab tray code 3 years ago
Oana Horvath f3e3f86388 No issue: Change hardcoded package and app name in tests 3 years ago
Mugurell 0f9f439329 For #18591 - Update tests
Some tests trying to "Add to top sites" may fail because of the sticky navbar
now covering that menu item -> scroll the menu up a little.

Some tests that previously were trying to scroll to the bottom of the menu to
interact with navbar options now don't have to. Them trying to interact with
navbar option with the menu opened as collapsed is a good test for the navbar
stickyness.
3 years ago
Elise Richards 59c94e447c
For #19005: new tab three-dot menu sync sign in (#19037)
* Show synced tabs or sync account in new tab menu

* Sync sign in item navigates to account settings

* Check account auth and get sync item title

* Look for sync sign in item on home menu for UI test

* Sync sign in menu item UI test
3 years ago
Oana Horvath 78f0086b7e For #17979 & #17840: fix and re-enable UI tests affected by main menu changes 3 years ago
Mugurell 0f0c319896 For #17772 - Collapse browser menu to "Add to Home screen"
The menu will start as collapsed.
Users can then swipe up to expand it.
3 years ago
Elise Richards ca33aef036
For #17770: New tab three-dot menu reorder (#18427)
* Create new menu order for new tab

* Add new tab menu navigation. Dynamically update menu when sync auth is needed. Make new tab menu and browser menu consistent.

* Lint

Lint and refactoring tests

* Tests for default toolbar menu

* Feature flag for request desktop site

Add todos for UI test issue 17979

Add todos for UI tests
3 years ago
mcarare d0a45bab21 For #17799: Add extensions submenu item. 3 years ago
Oana Horvath a4691675a1 For #14005: fix strict TP tests loading timeout 3 years ago
Elise Richards d0fd3e82c5
For #17771: three-dot menu reorder (#17838)
* Feature flag for toolbar menu redesign. Add new items to menu and reorder.

* Handle toolbar items in menu controller

* Menu controller tests

* Make icons invisible

* Lint

* UI tests reflect design change

* Refactor test names

* Lint fixes

* UI tests
3 years ago
Oana Horvath 46487105d5 For #16615 & #11191: re-enabled ReaderViewTest and added a UI smoke test 3 years ago
Oana Horvath d202daf47e For #16615: UI smoke test mainMenuInstallPWATest 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
Oana Horvath 23789c86c4 For #16615: UI smoke test manageDownloadsInDownloadsMenuTest 3 years ago
Oana Horvath 095d07598a Code cleanup in BookmarksRobot and BookmarksTest 3 years ago
Oana Horvath b0277c3f39 For #16615: UI smoke test noCrashWithAddonInstalledTest 3 years ago
Oana Horvath 8a579ee62b For #16838: deleted mainMenuOpenInAppTest 4 years ago
Oana Horvath 5867d2830a Split UI smoke tests into smaller tests 4 years ago
ekager 1ed9ebf622 For #16132 - Rename normal mode menu item, remove telemetry 4 years ago
Oana Horvath ae407a7367 Closes #13217: fixed UI test for main menu items 4 years ago
Mihai Adrian Carare b1bc024ff5
For #11631: Move report site issue extension to main menu. (#15884)
* For #11631: Move report site issue extension to main menu.

* For #11631: Update UI test for installing add-on.
4 years ago
Oana Horvath 9e47d9e70d
Closes #10911: idling resource registration timing issues (#14231) 4 years ago
Aaron Train b9391c141b For #13218: Fix settingsAddonsItemsTest 4 years ago
Kadeem M 1353e157cd
Created UI tests for Addon Settings (#9258) 4 years ago
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
4 years ago
TejaswiKarasani 1926ddbc22
No Issue: Verify the page main menu items UI Test (#12336) 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
Oana Horvath b2673bc654
for #10753: improves the clickAddBookmarkButton method in flaky tests (#10842) 4 years ago
Oana Horvath 56e0dd8d6d
for #9407: fixed and added collection tests (#10566) 4 years ago
ValentinTimisica 1e83f54a94 For #10343: Updates UI tests accordingly to 'Library' removal 4 years ago
Oana Horvath edff0d8e2c
fix #10468: wait for main menu to disappear after creating bookmark (#10478) 4 years ago
Mihai Branescu ab04155222 For #8653 - changed menu strings 4 years ago
Oana Horvath 0cdb0680e7
UI tests for Private browsing settings sub-menu (#8395) 4 years ago
Aaron Train 6ac13b3f7b
Re-enable ETP UI tests and update local asset (#8733) 4 years ago
Aaron Train 029bbd3726 Closes #8082 - Add UI tests for Top Sites
WIP

wip

WIP

WIP

WIP

WIP

fix: unused import [ktlint]
4 years ago
Mihai Branescu 9d972fa1d0 For #4231 added unit tests for most recent apps 4 years ago
Mihai Branescu fdbf63fb97 For #4231
Added kapt plugin + dependencies in order to be able to use Room
Added recent apps to share fragment (top 6)
Extracted dimens of share_to_apps.xml in the dimens file
4 years ago
Aaron Train 4fec12b127
Closes #7656: Add UI tests for Reader View (#7829) 4 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 85dd56e12d
Added multi-selection tests for bookmarks (#6475)
Updated bookmarking method

Fixed flaky tests

Added wait to create bookmark
5 years ago
ekager 3df32edff0 No issue: Fix search suggestions strings 5 years ago
mcarare 22879b533e For #6881 Choose visible view when multiple views have same label text 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
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
No-Jun Park ad94d49f24
Collection UI Test added, but set to disabled until Collection is refactored (#6160) 5 years ago
Aaron Train 23c98f9908
Closes #6172 - Convert waitNotNull into extension function for UI tests (#6220) 5 years ago