1
0
Fork 0
Commit Graph

26 Commits (b9391c141b2a084befd8c099eea7196ce6552cbc)

Author SHA1 Message Date
Aaron Train b9391c141b For #13218: Fix settingsAddonsItemsTest 2020-08-06 10:21:18 +03:00
Kadeem M 1353e157cd
Created UI tests for Addon Settings (#9258) 2020-07-27 11:00:35 -04:00
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
TejaswiKarasani 1926ddbc22
No Issue: Verify the page main menu items UI Test (#12336) 2020-07-09 09:15:10 -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 b2673bc654
for #10753: improves the clickAddBookmarkButton method in flaky tests (#10842) 2020-05-22 21:06:24 +03:00
Oana Horvath 56e0dd8d6d
for #9407: fixed and added collection tests (#10566) 2020-05-12 10:51:44 +03:00
ValentinTimisica 1e83f54a94 For #10343: Updates UI tests accordingly to 'Library' removal 2020-05-11 10:22:19 -07:00
Oana Horvath edff0d8e2c
fix #10468: wait for main menu to disappear after creating bookmark (#10478) 2020-05-08 12:58:32 +03:00
Mihai Branescu ab04155222 For #8653 - changed menu strings 2020-03-22 00:03:26 +02:00
Oana Horvath 0cdb0680e7
UI tests for Private browsing settings sub-menu (#8395) 2020-03-05 12:25:48 +02:00
Aaron Train 6ac13b3f7b
Re-enable ETP UI tests and update local asset (#8733) 2020-03-02 14:40:52 -05:00
Aaron Train 029bbd3726 Closes #8082 - Add UI tests for Top Sites
WIP

wip

WIP

WIP

WIP

WIP

fix: unused import [ktlint]
2020-02-19 11:14:46 -08:00
Mihai Branescu 9d972fa1d0 For #4231 added unit tests for most recent apps 2020-02-19 10:36:58 -08:00
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
2020-02-19 10:36:58 -08:00
Aaron Train 4fec12b127
Closes #7656: Add UI tests for Reader View (#7829) 2020-02-07 12:07:16 -05:00
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
2019-12-10 13:05:47 +02: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
ekager 3df32edff0 No issue: Fix search suggestions strings 2019-12-02 21:39:10 +00:00
mcarare 22879b533e For #6881 Choose visible view when multiple views have same label text 2019-12-02 14:02:51 +00: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
No-Jun Park ad94d49f24
Collection UI Test added, but set to disabled until Collection is refactored (#6160) 2019-10-28 15:10:19 -04:00
Aaron Train 23c98f9908
Closes #6172 - Convert waitNotNull into extension function for UI tests (#6220) 2019-10-23 17:40:28 -04:00
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
2019-10-23 10:55:19 -04:00
Richard Pappalardo 744d177dd0 Add verify items tests for settings menus 2019-10-21 08:24:47 -07:00