2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00
Commit Graph

1180 Commits

Author SHA1 Message Date
Oana Horvath
7ca40a2fcf [fenix] For https://github.com/mozilla-mobile/fenix/issues/19415: fixed private browsing button visibility issue 2021-05-25 10:49:13 +03:00
Oana Horvath
44e9a9099f [fenix] For https://github.com/mozilla-mobile/fenix/issues/18603: Fix and re-enable startBrowsingButtonTest 2021-05-24 19:26:37 +03:00
AndiAJ
ccc2e62961 [fenix] Fix settingsPrivacyItemsTest 2021-05-24 14:12:35 +03:00
Oana Horvath
570c497a7c [fenix] For https://github.com/mozilla-mobile/fenix/issues/15754: Get playback state using MediaSession in MediaNotificationTests 2021-05-24 09:48:49 +03:00
AndiAJ
1a8155edfd [fenix] For https://github.com/mozilla-mobile/fenix/issues/19468 and https://github.com/mozilla-mobile/fenix/issues/19478 fix intermittent UI tests 2021-05-12 15:18:54 +03:00
AndiAJ
9855b1d05a [fenix] Fix flaky UI Tests https://github.com/mozilla-mobile/fenix/issues/19306 https://github.com/mozilla-mobile/fenix/issues/19160 https://github.com/mozilla-mobile/fenix/issues/19404 https://github.com/mozilla-mobile/fenix/issues/19373 2021-05-07 17:14:23 +03:00
Codrut Topliceanu
744357e211 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18262 - [Credit cards] Turn the "Sync cards across devices" button into a "Sync cards" toggle (https://github.com/mozilla-mobile/fenix/pull/19207)
* For https://github.com/mozilla-mobile/fenix/issues/18262 - Turns "Sync cards/logins" into toggle
2021-05-06 14:43:27 +03:00
Roger Yang
0884711ab1 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18253: Bookmark and History open new tabs in the background (https://github.com/mozilla-mobile/fenix/pull/19275) 2021-05-03 17:27:19 -04:00
Sebastian Kaspari
3da6fe471e [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/19040 - Fix UI test: settingsPrivacyItemsTest 2021-04-29 19:13:33 +04:00
Mugurell
d2faf47d3a [fenix] For https://github.com/mozilla-mobile/fenix/issues/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.
2021-04-22 21:09:37 +03:00
Elise Richards
3eff41bd2d [fenix] For https://github.com/mozilla-mobile/fenix/issues/19114: check state of sync account when navigating from sync sign in menu item (https://github.com/mozilla-mobile/fenix/pull/19118) 2021-04-21 14:13:44 -05:00
Elise Richards
c56f3835be [fenix] For https://github.com/mozilla-mobile/fenix/issues/19005: new tab three-dot menu sync sign in (https://github.com/mozilla-mobile/fenix/pull/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
2021-04-20 12:18:19 -05:00
Jonathan Almeida
be8873f8d4 [fenix] Disabling tabstray collection tests until https://github.com/mozilla-mobile/fenix/issues/19090 is fixed 2021-04-19 18:10:43 +04:00
Jonathan Almeida
b0d0e1b8c9 [fenix] No issue: Use same open tabs tray everywhere 2021-04-19 18:10:43 +04:00
Jonathan Almeida
2c4d36392f [fenix] Attempt at fixing openAllTabsInCollectionTest test 2021-04-19 18:10:43 +04:00
Jonathan Almeida
a63d26f673 [fenix] Disable/fix tests that rely on Select Tabs button 2021-04-19 18:10:43 +04:00
Oana Horvath
0ad9590e60 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18986 & https://github.com/mozilla-mobile/fenix/issues/19016: disabled failing tests changeThemeSetting & changeAccessibiltySettings 2021-04-14 13:34:58 +03:00
MarcLeclair
4c45f615bb [fenix] 16900 make navgraph inflation asynchronous (https://github.com/mozilla-mobile/fenix/pull/18889)
* For https://github.com/mozilla-mobile/fenix/issues/16900: implement async navgraph inflation

For https://github.com/mozilla-mobile/fenix/issues/16900: removed nav graph from xml

For https://github.com/mozilla-mobile/fenix/issues/16900: inflate navGraph programatically

For https://github.com/mozilla-mobile/fenix/issues/16900: Made NavGraph inflation asynchronous

For https://github.com/mozilla-mobile/fenix/issues/16900: Changed to block with runBlocking

For https://github.com/mozilla-mobile/fenix/issues/16900: Refactored blocking call into a function

For 16900: NavGraph inflation is now async

We now attach the nav graph (or check if its attached) on every nav call ( an extension function for NavController).
This is done by checking the value of the job stored in PerfNavController.map which keeps track of the job with the NavController as a Key.
If the job hasn't been completed, it will block the main thread until the job is done. The job itself is responsible for attaching the navgraph
to the navcontroller (and the inflation of the latter too)

For 16900: rebased upstream master

For 16900: Rebase on master

For https://github.com/mozilla-mobile/fenix/issues/16900: Fixed Async Navgraph navigation per review comments.

1)The Asynchronous method is now found in NavGraphProvider.kt. It creates a job on the IO dispatcher
2)The Job is tracked through a WeakHashMap from Controller --> NavGraph
3)The Coroutine scope doesn't use MainScope() anymore
4)The Coroutine is cancelled if the Activity is destroyed
5)The tests mockk the blockForNavGraphInflation method through the FenixReoboelectricTestApplication instead of calling the mock every setup()

For https://github.com/mozilla-mobile/fenix/issues/16900: inflateNavGraphAsync now takes navController

For https://github.com/mozilla-mobile/fenix/issues/16900: Pass lifecycleScope to NavGraphProvider

For https://github.com/mozilla-mobile/fenix/issues/16900: removed unused mock

For https://github.com/mozilla-mobile/fenix/issues/16900: Added linter rules for navigate calls

We need linting rules to make sure no one calls the NavController.navigate() methods

For https://github.com/mozilla-mobile/fenix/issues/16900: Added TestRule to help abstract the mocks in the code

For 16900: Fix linting problems

For https://github.com/mozilla-mobile/fenix/issues/16900: Cleaned duplicated code in tests

For https://github.com/mozilla-mobile/fenix/issues/16900: cleaned up NavGraphTestRule for finished test

For https://github.com/mozilla-mobile/fenix/issues/16900: had to revert an accidentally edited file

For https://github.com/mozilla-mobile/fenix/issues/16900: rebased master

* For https://github.com/mozilla-mobile/fenix/issues/16900: Review nits for async navgraph

This is composed of squash commits, the original messages can be found below:

-> DisableNavGraphProviderAssertionRule + kdoc.

Use test rule in RobolectricApplication.

Fix failing CrashReporterControllerTest

Fix blame by -> navigate in tests.

This commit was generated by the following commands only:
```
find app/src/test -type f -exec sed -i '' "/import org.mozilla.fenix.ext.navigateBlockingForAsyncNavGraph/d" {} \;
find app/src/test -type f -exec sed -i "" "s/navigateBlockingForAsyncNavGraph/navigate/g" {} \;
git checkout app/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
```

Fix various blame

This is expected to be squashed into the first commit so, if so, it'd
fix the blame.

Move test rule to helpers pkg.

add missing license header

Add import change I missed

fix unused imports

Replace robolectricTestrunner with test rule.

Improve navGraphProvider docs

Remove unnecessary rule as defined by robolectric.

add clarifying comment to robolectric

remove unnecessary space

* For https://github.com/mozilla-mobile/fenix/issues/16900: nit fixes for MozillaNavigateCheck and lint fixes

3 squash commits:
 *Changed violation message and fixed the lint rule for MozillaNavigateCheck
 *Added suppression to NavController.kt
 *Fixed detekt violations

* For 16900: Fixed failing tests

Co-authored-by: Michael Comella <michael.l.comella@gmail.com>
2021-04-13 20:48:45 -04:00
Oana Horvath
8a20fdec59 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17979 & https://github.com/mozilla-mobile/fenix/issues/17840: fix and re-enable UI tests affected by main menu changes 2021-04-12 19:16:17 +03:00
Oana Horvath
7d7f64f839 [fenix] Fix screenshots tests: showDefaultHomeScreen, bookmarksManagementTest 2021-04-12 16:21:35 +03:00
Arturo Mejia
d024b9bc93 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/16557 set autoplay block audio only
by default
2021-04-07 07:04:59 -04:00
Kate Glazko
a5ea92912f [fenix] For 17798: Sync Menu Item 2021-04-05 14:34:34 -07:00
Mugurell
91cc54d75b [fenix] For https://github.com/mozilla-mobile/fenix/issues/17772 - Collapse browser menu to "Add to Home screen"
The menu will start as collapsed.
Users can then swipe up to expand it.
2021-04-02 18:45:27 +03:00
Elise Richards
990fe44056 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17770: New tab three-dot menu reorder (https://github.com/mozilla-mobile/fenix/pull/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
2021-03-31 16:05:44 -05:00
AndiAJ
5f52f0140f [fenix] Disable failing UI Tests 2021-03-31 13:06:18 +03:00
Oana Horvath
6dff34ee33 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18644: fix metod to verify system notifications 2021-03-30 18:19:02 +03:00
Oana Horvath
e4614fd8a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18421: Ignore the ContextMenusTest class because of test failures 2021-03-30 17:12:49 +03:00
Oana Horvath
b9aa2166ca [fenix] Disable customTrackingProtectionSettingsTest 2021-03-26 16:25:14 +02:00
Oana Horvath
8950cb0b73 [fenix] Re-enable working UI tests from https://github.com/mozilla-mobile/fenix/issues/18644 2021-03-26 16:25:14 +02:00
Mugurell
baab77eb92 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18644 - Temporarily disabling UI tests that fail on Firebase.
This is a quick solution to resume PR merges.
Investigations and a proper fix is to follow on this same ticket.
2021-03-26 13:06:05 +02:00
Arturo Mejia
c9f822d0d4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15372 Optimize the order and messages of onboarding cards 2021-03-24 22:16:00 -04:00
Aaron Train
5a89e3da5d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18623: Fix Gradle task name in gradlewbuild.py (https://github.com/mozilla-mobile/fenix/pull/18624) 2021-03-24 15:33:17 -04:00
mcarare
b0f07eea23 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17799: Add extensions submenu item. 2021-03-23 09:52:45 +02:00
Oana Horvath
be560986e1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18481: waits for url to be visible in TestHelper.verifyUrl() (https://github.com/mozilla-mobile/fenix/pull/18498) 2021-03-16 13:35:36 -04:00
Oana Horvath
a862baeda2 [fenix] Add first set of UI tests to Nightly 2021-03-16 11:12:53 +02:00
Oana Horvath
8f9a3dc767 [fenix] For https://github.com/mozilla-mobile/fenix/issues/14005: fix strict TP tests loading timeout 2021-03-15 17:09:50 +02:00
dependabot[bot]
23bc904f09 [fenix] Bump cryptography
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.8 to 3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.8...3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 17:20:08 +01:00
Oana Horvath
8fa1f6c8ff [fenix] For https://github.com/mozilla-mobile/fenix/issues/18325: dismiss GooglePlay ToS dialog after UI test 2021-03-08 10:35:22 +02:00
Elise Richards
098691a8c2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17802: Match the design for three-dot menu navigation (https://github.com/mozilla-mobile/fenix/pull/17875)
* Feature flag for toolbar menu redesign. Add new items to menu and reorder.

* Handle toolbar items in menu controller

* Remove bookmark from toolbar nav

* Respect toolbar position

* Inline toolbar orientation checks

* Add Todos for bookmark UI tests

* Make variable names consistent
2021-03-04 17:22:13 -06:00
Jan-Erik Rediger
8abe5818ba [fenix] Pass auto-generated build info (version code and name) to Glean (https://github.com/mozilla-mobile/fenix/pull/18230)
This also re-generated the Glean docs due to an update of the bundled
glean-parser.
2021-03-04 10:22:56 -06:00
Oana Horvath
c37145d49d [fenix] For https://github.com/mozilla-mobile/fenix/issues/18040: no network access startup test 2021-03-03 17:45:17 +02:00
Vitaly V. Pinchuk
dda03dbf69 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18150: select tabs button not displayed (https://github.com/mozilla-mobile/fenix/pull/18216)
For https://github.com/mozilla-mobile/fenix/issues/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.
2021-03-03 14:34:48 +02:00
AndiAJ
9e6f2b7c64 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18053 Change and fix Intermittent UI test verifyReaderViewToggle 2021-03-02 14:35:12 +02:00
Oana Horvath
8427eddc28 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16317 UI tests: save longTap preference to restore it 2021-02-18 13:46:09 +02:00
Oana Horvath
9caaa08732 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16317: resets long press delay at the end of UI tests 2021-02-17 16:39:44 +02:00
Jan-Erik Rediger
ba94d2e39e [fenix] Glean: Check for renamed reason 2021-02-16 16:32:14 -05:00
Mugurell
22ec6af4a3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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.
2021-02-16 16:26:17 +02:00
Mugurell
e16ef0b3c6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17195 - Test a potential fix for the test 2021-02-16 16:26:17 +02:00
Oana Horvath
a2cc89acb6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17484, https://github.com/mozilla-mobile/fenix/issues/18003 UI tests: retry closing tab if it fails 2021-02-16 14:28:26 +02:00
Elise Richards
1708e2c424 [fenix] Remove unneeded temporary UI test ignores (https://github.com/mozilla-mobile/fenix/pull/17980) 2021-02-12 17:01:38 -06:00
Elise Richards
9c5bc17da9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17771: three-dot menu reorder (https://github.com/mozilla-mobile/fenix/pull/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
2021-02-11 18:55:12 -06:00
ekager
62ab7505e1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17906 - Allow screenshots for private home screenshot test 2021-02-09 12:52:46 -07:00
Oana Horvath
488e18bfa6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15259 UI test: waits for home screen to be visible 2021-02-09 17:22:24 +02:00
AndiAJ
5e626c49c1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17195 Fix Intermittent UI test verifyTabTrayNotShowingStateHalfExpanded 2021-02-09 16:46:31 +02:00
AndiAJ
1d0384c1f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17852 Change and Fix Intermittent UI test openNewTabTest 2021-02-09 16:43:56 +02:00
AndiAJ
aca5681026 [fenix] For https://github.com/mozilla-mobile/fenix/issues/14523 Fix Intermittent tests verifyContextOpenLinkNewTab & verifyContextOpenLinkPrivateTab 2021-02-08 18:15:14 +02:00
Oana Horvath
dca92aed10 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17847: Removes editCustomSearchEngineTest UI test 2021-02-08 17:47:05 +02:00
Oana Horvath
5153461698 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17847: disables editCustomSearchEngineTest 2021-02-05 11:11:33 +02:00
Andrei Joltan
421d0e5757 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16020 Fix Intermittent tests caused by the Menu Button (https://github.com/mozilla-mobile/fenix/pull/17829) 2021-02-04 11:42:58 -05:00
Oana Horvath
40660c602d [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test customTrackingProtectionSettingsTest 2021-02-04 12:17:23 +02:00
AndiAJ
c846cc683e [fenix] For https://github.com/mozilla-mobile/fenix/issues/12895 Fix Intermittent test navigateBookmarksFoldersTest 2021-02-04 10:06:39 +02:00
Oana Horvath
15d4e812d1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16959: verify page url not content in swipeToSwitchTabTest 2021-02-02 15:19:00 +02:00
AndiAJ
c1546655a7 [fenix] Go Forward Test Fix 2021-02-02 10:23:29 +02:00
AndiAJ
1f199794c1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17641 Fix Intermittent test addPredefinedSearchEngineTest 2021-02-02 10:23:22 +02:00
AndiAJ
f2214044fa [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for Tab Crash Reporter 2021-02-02 10:23:04 +02:00
Christian Sadilek
3b76735317 [fenix] Remove SessionManager references from UI tests 2021-02-01 10:58:46 -05:00
Oana Horvath
4fc2a8b9be [fenix] For https://github.com/mozilla-mobile/fenix/issues/9188: wait for page content to appear in Reader mode tests 2021-01-28 17:33:40 +02:00
Oana Horvath
cd131a47d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9188: wait for page load in Reader mode 2021-01-27 18:14:27 +02:00
Oana Horvath
f4db4f019f [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615 & https://github.com/mozilla-mobile/fenix/issues/11191: re-enabled ReaderViewTest and added a UI smoke test 2021-01-25 16:16:43 +02:00
Oana Horvath
d193e6a919 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test mainMenuInstallPWATest 2021-01-22 10:25:03 +02:00
ekager
42c74bcd44 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17542 - Removes flash on renaming top site and fixes title not being updated 2021-01-21 16:10:04 -07:00
Oana Horvath
3f211fe90b [fenix] For https://github.com/mozilla-mobile/fenix/issues/17309, https://github.com/mozilla-mobile/fenix/issues/13447, https://github.com/mozilla-mobile/fenix/issues/14534 UI tests: changed the way page Url is verified 2021-01-21 10:07:13 +02:00
AndiAJ
b6a6e4ae41 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for No history in PB and Add to home screen 2021-01-20 18:08:43 +02:00
AndiAJ
297dbc109e [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for Tabs Tray 2021-01-19 11:38:18 +02:00
AndiAJ
f14cc65106 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for Bookmarks
For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for Bookmarks
2021-01-18 14:55:05 +02:00
Oana Horvath
bb689c53d5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: Collections UI smoke tests 2021-01-18 10:08:43 +02:00
isabelrios
0f6e44f7bc [fenix] Changes to run tests on beta builds (https://github.com/mozilla-mobile/fenix/pull/16786)
* Changes to run tests on beta builds

* remove dontoptime and fix bookmarks tests

* fix ktlint and smokeTest

* add variable for package name

* rebase and fix conflicts

* add yml files and modify script to run tests

* fix yml file indentation

* changes in kind file and add try_task

* fix error kind file

* fix error kind file 2

* fix error kind file 3

* fix reviewer comments

* remove mockwebserver implementation as per reviewer comment

* run beta tests only on releases branches

* reg exp for master branch

* reg exp for master branch2

* modify try_task with release branch

* remove try file

* let's start by running only one test

* address latest reviewers comments

* double check correct tasks for release branch

* remove try file after confirming beta build run

Co-authored-by: isabel rios <isabelrios@MBP-de-isabel-2.home>
2021-01-14 15:47:36 +01:00
Oana Horvath
ecdf3415d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test editCustomSearchEngineTest 2021-01-13 14:39:20 +02:00
AndiAJ
b8f819b12c [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for Recently Closed Tabs 2021-01-12 14:38:09 +02:00
Oana Horvath
5ac58d8b6e [fenix] For https://github.com/mozilla-mobile/fenix/issues/10798 & https://github.com/mozilla-mobile/fenix/issues/14526: Apply auto-download test file fix for download UI tests 2021-01-11 18:42:11 +02:00
Oana Horvath
e4659fac17 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test manageDownloadsInDownloadsMenuTest 2021-01-11 18:42:11 +02:00
Oana Horvath
0a937a28e6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16966: Remove unnecessary step from mainMenuAddToHomeScreenTest 2021-01-05 10:31:59 +02:00
MarcLeclair
c441f2af27 [fenix] 16373 Count the # of inflations done on startup (https://github.com/mozilla-mobile/fenix/pull/16778)
* For https://github.com/mozilla-mobile/fenix/issues/16373: Added performance Inflater to counter # of inflations

This class is quite straight forward. The only thing that I have to point out is the onCreateView method. It usually
calls its super if you don't override it. The problem with that is that the super.onCreateView actually uses
android.view. as a prefix for the XML element it tries to inflate. So if we have an element that isn't part
of that package, it'll crash. As I said in the code, a good example is ImageButton. Calling android.view.ImageButton
will make the app crash. The method is implemented the same way that PhoneLayoutInflater does (Another example
is the AsyncLayoutInflater)

* For https://github.com/mozilla-mobile/fenix/issues/16373: Added test for PerformanceInflater

This test got quite awkward / complicated fast.  I wanted to test the  to make sure we don't break *any* of our layouts
and to do so, I decided to just retrieve all our XML in our /res/layout folder. However, this gets quite a bit outside of a unit test scope.
The point was to get every layouts and get their LayoutID through the resources using the testContext we have. It gets even weirder, since some
of the XML tags have special implementation in android. One of them is the <fragment> tag. That tag actually is inflated by the OS using the Factory2
that the Activity.java implements. In order to get around the fragment issue, we just return a basic FrameLayout since the system LayoutInflater doesn't deal
won't ever get a <fragment> tag to inflate. Another issue was the <merge> tag. In order to inflate those, you need 1) a root view and 2) attach your view to it.
In order to be able to test those layouts file, I had to create an empty FrameLayout and use it as the root view for testing. Again, I know this is beyond the spirit of a unit test but if we use this inflater, I think it should make sure that no layouts are broken by it.

* For https://github.com/mozilla-mobile/fenix/issues/16373: Overrode getSystemService to return PerformanceInflater

This allows PerformanceInflater to be called in every inflation to keep track of the number of inflations we do.

* For https://github.com/mozilla-mobile/fenix/issues/16373: Added UI test for # of inflations

* For https://github.com/mozilla-mobile/fenix/issues/16373: Lint fix

* For #167373: Changed the LayoutInflater cloneInContext to take this instead of inflater

The inflater parameter is set on the first call from the OS from  the Window object. However, the activity itself sets multiple factories on the inflater
during its creation (usually through AppCompatDelegateImpl.java). This means that, once we initially set the inflater with a null check, we pass an inflater
that has no factory initially. However, since we keep a reference to it, when cloneInContext was called, it cloned the inflater with the original inflater
which didn't have any factories set up. This meant that the app would crash on either browserFragment creation or any thing that required appCompat (such as
ImageView and ImageButton). Now, passing itself with a cloneInContext means we keep all the factories initially set by the activity or the fragment.

* For https://github.com/mozilla-mobile/fenix/issues/16373: Fixed code issues for PR. No behavior change

* For https://github.com/mozilla-mobile/fenix/issues/16373: fixed some code nits
2021-01-04 11:00:34 -05:00
Oana Horvath
67edfe2343 [fenix] Code cleanup in BookmarksRobot and BookmarksTest 2020-12-22 11:55:52 +02:00
Christian Sadilek
a7e1ff2c69 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17086 https://github.com/mozilla-mobile/fenix/issues/17143: Temporarily turn off Nimbus 2020-12-21 10:45:03 -05:00
Oana Horvath
3827eda678 [fenix] Added a description to each smoke test 2020-12-17 14:47:07 +02:00
Oana Horvath
374a51a8af [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test noCrashWithAddonInstalledTest 2020-12-17 14:47:07 +02:00
Oana Horvath
f2f33944df [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test redirectToAppPermissionsSystemSettingsTest 2020-12-16 10:32:04 +02:00
Oana Horvath
55a253d5c1 [fenix] Fix https://github.com/mozilla-mobile/fenix/issues/16960 & https://github.com/mozilla-mobile/fenix/issues/16959: updateSavedLoginTest, swipeToSwitchTabTest UI smoke tests 2020-12-10 17:09:42 +02:00
Oana Horvath
32c0bbedc2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test updateSavedLoginTest 2020-12-08 13:46:40 +02:00
Oana Horvath
dc981275c1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test startBrowsingButtonTest 2020-12-08 13:46:40 +02:00
Oana Horvath
5605cec052 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: Smoke UI test swipeToSwitchTabTest 2020-12-04 18:49:28 +02:00
Oana Horvath
01caa9bfaf [fenix] For https://github.com/mozilla-mobile/fenix/issues/16838: deleted mainMenuOpenInAppTest 2020-12-03 18:47:02 +02:00
Christian Sadilek
c549b71c2a [fenix] For https://github.com/mozilla-mobile/fenix/issues/16032: Support installing recommended add-ons from AMO 2020-12-02 17:30:48 -05:00
Oana Horvath
5d93a533c5 [fenix] Split UI smoke tests into smaller tests 2020-12-02 16:06:26 +02:00
Oana Horvath
4c8f1ae2e5 [fenix] Updates to UI tests using the modified recyclerViewIdlingResources minItemCount 2020-11-27 15:08:32 +02:00
Oana Horvath
fdda2e3001 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test toggleSearchSuggestions 2020-11-27 15:08:32 +02:00
Oana Horvath
fd7a4002e3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test addPredefinedSearchEngineTest 2020-11-25 13:32:31 +02:00
Sebastian Kaspari
d50140272a [fenix] Integrate new search code from Android Components into Fenix. 2020-11-20 17:45:45 +01:00
jhugman
d001a5aa36 [fenix] Nimbus Global Opt Out (https://github.com/mozilla-mobile/fenix/pull/16543) r=gl 2020-11-19 11:17:25 +00:00
Oana Horvath
a87dce7523 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test firstRunScreenTest 2020-11-18 09:30:40 +02:00
Michael Comella
39384786dd [fenix] For https://github.com/mozilla-mobile/fenix/issues/16376: move Startup*Test to perf pkg under code owners.
Instead of listing many different files here, we should just put them in
/perf/ packages and code owner them.
2020-11-13 15:39:06 -08:00
Michael Comella
d5f666cbf3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16376: assert num ConstraintLayout direct descend RecyclerView.
I'm not convinced this is a useful test because the performance
characteristics seem unfortunately nuanced: if the test fails, it implies
you shouldn't add more but that isn't necessarily true (for example, if
your RV child has a large depth). Furthermore, we haven't measured in a
variety of circumstances that layouts like LinearLayout perform better
as RecyclerView children so maybe it only held for the one small case we
used it in.
2020-11-13 15:39:06 -08:00
Michael Comella
414a046263 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16376: test view hierarchy depth in StartupExcessive*Test. 2020-11-13 15:39:06 -08:00
Oana Horvath
6b4fbca1bb [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/12899: fixed UI test for ETP off 2020-11-13 13:00:46 +02:00
ekager
c129fa2aba [fenix] For https://github.com/mozilla-mobile/fenix/issues/16132 - Rename normal mode menu item, remove telemetry 2020-11-12 09:11:16 -08:00
Oana Horvath
73e14dd776 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/13217: fixed UI test for main menu items 2020-11-12 16:33:54 +02:00
Oana Horvath
2748519959 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15847: use Espresso's RecyclerView scrollTo action 2020-11-06 15:28:31 +02:00
Michael Comella
17b32070dd [fenix] For https://github.com/mozilla-mobile/fenix/issues/15279: add component init count to StartupExcessiveResourceUseTest. 2020-11-05 07:48:17 -08:00
Mugurell
2f04b48e7c [fenix] For https://github.com/mozilla-mobile/fenix/issues/14980 - Effectively disable tabs tray STATE_HALF_EXPANDED (https://github.com/mozilla-mobile/fenix/pull/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.
2020-11-04 11:22:46 +02:00
Oana Horvath
24d2b31b74 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15847 - Disables verifyAboutFirefoxPreview UI test (https://github.com/mozilla-mobile/fenix/pull/16346) 2020-11-03 15:31:36 -05:00
Oana Horvath
4fe05cc97c [fenix] For https://github.com/mozilla-mobile/fenix/issues/13446 UI tests: wait for historyList to exist 2020-11-03 10:59:33 +02:00
Michael Comella
6fed5f3177 [fenix] No issue: make StrictMode suppression count thread safe. 2020-11-02 15:37:04 -08:00
MarcLeclair
78850c7e3d [fenix] 15278 detekt rule runblocking (https://github.com/mozilla-mobile/fenix/pull/15942)
* For https://github.com/mozilla-mobile/fenix/issues/15278: added CoroutineManager to count runBlocking calls

* For https://github.com/mozilla-mobile/fenix/issues/15278: Added actual detekt rule for runblocking and its config to the yaml

* For https://github.com/mozilla-mobile/fenix/issues/15278: Added unit test for RunblockingCounter

* For https://github.com/mozilla-mobile/fenix/issues/15278: renamed StrictModeStartupSuppressionCountTest.kt to PerformanceStartupTest.kt and added runBlockingCount test

* Lint fix

* For https://github.com/mozilla-mobile/fenix/issues/15278: made runblocking a Long to prevent overflow

* For https://github.com/mozilla-mobile/fenix/issues/15278: fixed MozRunblocking name, description and moved RunBlockingCounter to perf package

* For https://github.com/mozilla-mobile/fenix/issues/15278:Renamed MozillaRunblockingCheck to MozillaRunBlockingCheck

* For https://github.com/mozilla-mobile/fenix/issues/15278: Added setup for unit test, since it failed without restting counter

* For https://github.com/mozilla-mobile/fenix/issues/15278: Fixed naming for RunBlocking lint check

* For https://github.com/mozilla-mobile/fenix/issues/15278: removed changes made to test to use runBlockingIncrement

* For https://github.com/mozilla-mobile/fenix/issues/15728: added test exclusion for runBlocking check

* For https://github.com/mozilla-mobile/fenix/issues/15278: changed null check and added Synchronized to count setter

* For https://github.com/mozilla-mobile/fenix/issues/15278: fix for nits

* For https://github.com/mozilla-mobile/fenix/issues/15278: added StartupExcessiveResourceUseTest to CODEOWNERS

* For https://github.com/mozilla-mobile/fenix/issues/15278: fixed for nits

* For https://github.com/mozilla-mobile/fenix/issues/15278: Moved increment function to extension function and fixed indentation

* For https://github.com/mozilla-mobile/fenix/issues/15278: Added tests for Atomic Integer extension and nit fix
2020-11-02 12:49:17 -05:00
Gabriel Luong
949d66da5f [fenix] For https://github.com/mozilla-mobile/fenix/issues/9548 - Ability to rename top sites (https://github.com/mozilla-mobile/fenix/pull/16285)
* Ability to rename top sites, closes https://github.com/mozilla-mobile/fenix/issues/9548

* Highlight the "Remove" top site action as destructive

With more menu items in the top site contextual menu, it makes sense to differentiate

* Added test for the top site renaming action

* Fixed lint check (wildcard imports, blank spaces)

* Applied suggestions from code review

* Apply suggestions from code review

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>

* Implemented dialog click listener with manual dismiss/cancel

Co-authored-by: Lorenzo Stanco <lorenzo.stanco@gmail.com>
2020-10-30 15:08:04 -04:00
Oana Horvath
0f70a8d4fc [fenix] For https://github.com/mozilla-mobile/fenix/issues/10690: re-enable editBookmarkTest 2020-10-28 16:09:52 +02:00
Aaron Train
a224f0c546 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8169 - Upgrade Mockwebserver (https://github.com/mozilla-mobile/fenix/pull/16186)
Upgrades Mockwebserver to 4.9.0
2020-10-27 10:19:24 -04:00
ekager
29a179e8c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15910 - Adds back automatic toggle, disables slider when enabled (https://github.com/mozilla-mobile/fenix/pull/16070) 2020-10-21 12:20:04 -04:00
Mihai Adrian Carare
274ab54236 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11631: Move report site issue extension to main menu. (https://github.com/mozilla-mobile/fenix/pull/15884)
* For https://github.com/mozilla-mobile/fenix/issues/11631: Move report site issue extension to main menu.

* For https://github.com/mozilla-mobile/fenix/issues/11631: Update UI test for installing add-on.
2020-10-20 09:34:54 +03:00
mcarare
d7c63a63c6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15688: Update UI tests. 2020-10-19 17:45:46 -07:00
Sebastian Kaspari
9c7e0ad770 [fenix] Update Android Components, Kotlin, Gradle plugin (https://github.com/mozilla-mobile/fenix/pull/16021)
* Closes https://github.com/mozilla-mobile/fenix/issues/13262: Update AGP to 4

* Update to Mozilla Android Components 63.0.20201019090011.

* Update Kotlin to 1.4.10 and Coroutines to 1.3.9.

* Fix new compiler warnings.

* Fix compilation of lint rules module.

* Pin JNA version.

* Fix new lint errors.

Co-authored-by: Tiger Oakes <toakes@mozilla.com>
2020-10-19 14:07:47 -04:00
Shen
c63bc04bd2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13168 - Removed the close button from history navigation bar 2020-10-09 20:33:37 -04:00
ekager
bf2e2d545d [fenix] For https://github.com/mozilla-mobile/fenix/issues/14923 - Removes auto size preference toggle 2020-10-09 15:04:57 -07:00
Jonathan Almeida
8281e16c83 [fenix] Fix lint warnings and test in site permissions 2020-10-08 19:37:56 -04:00
Gabriel Luong
9b8a3401c8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15115 - Part 9: Fix ui tests for the tabs settings 2020-10-08 12:50:43 -04:00
Jonathan Almeida
f4c1a915f5 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/15754: Disable failing notification UI tests 2020-10-07 20:01:35 -04:00
Michael Comella
8b20c2d8c2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959 - post: decrement expected suppression count.
Running locally, I get the same error: I think that there legitimately
was an reduction in the number of StrictMode suppressions on start up.
2020-10-06 14:11:53 -07:00
Michael Comella
d253b9060e [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: add test to prevent increasing StrictMode suppression count. 2020-10-06 14:11:53 -07:00
Michael Comella
3e9f93a0ab [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: add HomeActivityTestRule.skipOnboarding.
This is more correct, faster, and results in less copy-paste duplication
than the current behavior:
  homeScreen { }.dismissOnboarding()

Which opens settings to dismiss onboarding.
2020-10-06 14:11:53 -07:00
Jocelyne
cc4d4a14d9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10107: Show Today and Yesterday labels in History (https://github.com/mozilla-mobile/fenix/pull/15415) 2020-10-01 16:42:50 -07:00
ekager
1429c5ddaf [fenix] For https://github.com/mozilla-mobile/fenix/issues/15324 - Show tab settings and recently closed items in menu when no tabs 2020-09-28 21:09:30 -07:00
mcarare
c5c3b6549d [fenix] For https://github.com/mozilla-mobile/fenix/issues/15130: Remove "what's new card" check in UI test. 2020-09-25 18:04:48 +03:00
Oana Horvath
90ef2c90bf [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/14524, https://github.com/mozilla-mobile/fenix/issues/12896, https://github.com/mozilla-mobile/fenix/issues/13830: re-enabled strict ETP tests after code bug fix 2020-09-22 13:42:30 +03:00
Oana Horvath
09481688f0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/13829: Added idling resources to the addon details view" 2020-09-18 09:43:06 +03:00
Oana Horvath
4af151c433 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13829: Disables verifyAddonsCanBeUninstalled UI test 2020-09-10 15:58:11 +03:00
Oana Horvath
a50b3bd694 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/14277: Ads idling resources for History UI tests 2020-09-08 17:41:31 +03:00
Oana Horvath
ab4cc312c1 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/12645: Re-enable mediaSystemNotificationInPrivateModeTest 2020-09-08 13:49:13 +03:00
Oana Horvath
f293fae303 [fenix] For https://github.com/mozilla-mobile/fenix/issues/14524: Disable ETP tests failing on AC 58 update 2020-09-04 13:31:30 +03:00
Arturo Mejia
ef41c4e785 [fenix] Pin AC TO 57.0.0 and remove feature flag for view downloads (https://github.com/mozilla-mobile/fenix/pull/14592)
* Update Android Components version to 57.0.0.

* Remove feature flag for "View Downloads".

* Update search enginer list from changes by https://github.com/mozilla-mobile/fenix/issues/13452

Co-authored-by: Chenxia Liu <liuche@mozilla.com>
2020-09-01 20:04:31 -07:00
ekager
b8e2bfebd4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4118 - Creates setting for auto closing tabs 2020-09-01 13:04:12 -07:00
Oana Horvath
38a287bcc2 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/13218: adds IdlingResources for the Addons list 2020-08-31 19:59:49 +03:00
Oana Horvath
a4000a27f0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/14522: item 'Open link in apps' moved 2020-08-31 19:59:49 +03:00
Oana Horvath
517ef24c99 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10911: idling resource registration timing issues (https://github.com/mozilla-mobile/fenix/pull/14231) 2020-08-27 11:40:22 -04:00
Oana Horvath
17c25aabea [fenix] [Ui Tests] Closes https://github.com/mozilla-mobile/fenix/issues/11944: changes the way the system notifications are verified according to their visibility 2020-08-27 10:02:48 +03:00
Jeff Boek
f2de6f25a1 [fenix] No Issue - Fixes UI Tests with new search experience 2020-08-26 18:00:47 -07:00
Oana Horvath
1cfc33445d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/13877: shortens closeTabTest to avoid flakiness 2020-08-26 18:44:54 +03:00
Gilbert Gilb's
bd501dec14 [fenix] for https://github.com/mozilla-mobile/fenix/issues/7584 - fix about libraries toolbar theme
fixes https://github.com/mozilla-mobile/fenix/issues/7584 https://github.com/mozilla-mobile/fenix/issues/13970
2020-08-24 15:31:19 -07:00
Elise Richards
87e1b377a9 [fenix] FNX-14498 ⁃ For https://github.com/mozilla-mobile/fenix/issues/9487: improve fxa onboarding manual sign in card (https://github.com/mozilla-mobile/fenix/pull/13317)
* Replace strings, add learn more, hook up button

* Constrain learn more and icon to the text

* View holder tests

* Lint

* Update homescreen ui test
2020-08-20 11:05:11 -05:00
Oana Horvath
4e0a401403 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/13219: Changes device long-tap delay before UI tests (https://github.com/mozilla-mobile/fenix/pull/13502) 2020-08-19 11:06:40 -04:00
TejaswiKarasani
481a7546a7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/112,https://github.com/mozilla-mobile/fenix/issues/145: Verify Search engine can be changed temporarily using Search engine (https://github.com/mozilla-mobile/fenix/pull/13259) 2020-08-18 10:03:47 -07:00
Oana Horvath
a389e35352 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/12778: re-arranged the steps in closeTabTest and closePrivateTabTest (https://github.com/mozilla-mobile/fenix/pull/13810) 2020-08-13 12:20:47 -04:00
Richard Pappalardo
25858d572b [fenix] fix: disable broken tests 2020-08-11 08:01:33 -07:00
Aaron Train
0410b34203 [fenix] No issue: Remove unused import in SettingsAddonsTest (https://github.com/mozilla-mobile/fenix/pull/13345)
Fixes lint-ktlint error on master https://github.com/mozilla-mobile/fenix/runs/954237630
2020-08-06 11:24:16 -04:00
Kadeem M
3f291b969d [fenix] Fix failing verifyAddonsCanBeUninstalled test (https://github.com/mozilla-mobile/fenix/pull/13319) 2020-08-06 10:33:25 -04:00
Aaron Train
0bdfbd8d88 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13218: Fix settingsAddonsItemsTest 2020-08-06 10:21:18 +03:00
Richard Pappalardo
9c1a956c23 [fenix] Disable flaky tests: settingsAddonsItemsTest, verifyAboutFirefoxPreview (https://github.com/mozilla-mobile/fenix/pull/13286)
* fix: disable intermittent failing UI tests

* fix: add dependency
2020-08-04 22:46:41 -04:00
ekager
af14e3d6e2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6313 - On first load, hides engineView until firstContentfulPaint 2020-08-04 17:15:46 -04:00
Oana Horvath
fc5440438b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/12893: fixed deleteAllHistoryTest (https://github.com/mozilla-mobile/fenix/pull/13255) 2020-08-04 13:33:52 -04:00
Oana Horvath
f7ad4fdcc6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13220, https://github.com/mozilla-mobile/fenix/issues/13217: Disables failing UI tests 2020-08-03 16:21:08 +03:00
Aaron Train
49d247d79c [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/13021: Fix verifyAboutFirefoxPreview UI test 2020-07-28 11:02:21 -07:00
Roger Yang
05675f9e94 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/12670: Add lastUri as a parameter in RequestInterceptor 2020-07-28 13:24:03 -04:00
Oana Horvath
63e3ec5c71 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12968: Re-enables Search settings tests (https://github.com/mozilla-mobile/fenix/pull/13020) 2020-07-28 09:22:46 -04:00
Kadeem M
a8f29e65c0 [fenix] Created UI tests for Addon Settings (https://github.com/mozilla-mobile/fenix/pull/9258) 2020-07-27 11:00:35 -04:00
Oana Horvath
1748d2d012 [fenix] For: https://github.com/mozilla-mobile/fenix/issues/12894, https://github.com/mozilla-mobile/fenix/issues/12899, https://github.com/mozilla-mobile/fenix/issues/12968, https://github.com/mozilla-mobile/fenix/issues/11239, disables failing UI tests 2020-07-27 13:34:56 +03:00
Oana Horvath
d6ead0a749 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12893: Disables failing deleteAllHistoryTest (https://github.com/mozilla-mobile/fenix/pull/12902) 2020-07-24 11:47:59 -04:00
Oana Horvath
c286ebe55e [fenix] For https://github.com/mozilla-mobile/fenix/issues/12473: Disable failing verifyContextCopyLink (https://github.com/mozilla-mobile/fenix/pull/12891) 2020-07-24 10:29:22 -04:00
Aaron Train
f0f972a053 [fenix] No issue: Fix recent UI test breakage (https://github.com/mozilla-mobile/fenix/pull/12869) 2020-07-23 14:17:54 -07:00
Hakkı Kaan Çalışkan
082cddf7d8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12571: Rename 'Shortcuts' to 'Search engines'
Co-Authored-By: Khushraj Rathod <khushrajrathod@gmail.com>
2020-07-22 11:05:04 -07:00
Tiger Oakes
adbadba250 [fenix] Move settings in components (https://github.com/mozilla-mobile/fenix/pull/12675) 2020-07-21 10:47:10 -07:00
TejaswiKarasani
00cd8b8f35 [fenix] No issue: verify ETP toolbar shield icon is not displayed if ETP is OFF globally in ETP UI tests (https://github.com/mozilla-mobile/fenix/pull/12623) 2020-07-21 09:33:06 -04:00
Oana Horvath
82a76042d9 [fenix] Fix UI tests from https://github.com/mozilla-mobile/fenix/issues/12752 https://github.com/mozilla-mobile/fenix/issues/12637 https://github.com/mozilla-mobile/fenix/issues/12764 (https://github.com/mozilla-mobile/fenix/pull/12779)
* For https://github.com/mozilla-mobile/fenix/issues/12752 & https://github.com/mozilla-mobile/fenix/issues/12764: Fixes tabs tray behavior in UI tests

* For https://github.com/mozilla-mobile/fenix/issues/12637: fixes goBackTest
2020-07-21 08:49:24 -04:00
Richard Pappalardo
41bb2cb087 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/12752, https://github.com/mozilla-mobile/fenix/issues/12764 - Temp disable openHistoryInNewTabTest intermittent UI test failures (https://github.com/mozilla-mobile/fenix/pull/12754)
* Fixes https://github.com/mozilla-mobile/fenix/issues/12752 - Temp disable intermittent failing test
2020-07-20 18:09:01 -07:00
Mihai-Eduard Badea
65c98d6c16 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/9949 - Bookmarks/History deletion inconsistencies (https://github.com/mozilla-mobile/fenix/pull/12630)
- Added the undo action for deleting individual history items by creating a new field to the history state containing the id's of the history items that are pending for deletion; This field is used inside the update function from the view to show/hide the items.

 - Added a new check inside the "deleteMulti" method from BookmarkFragment that calls the showRemoveFoldersDialog to prevent the user from being able to delete one or more bookmark folders without being asked for confirmation, as in https://github.com/mozilla-mobile/fenix/issues/8648.

Co-authored-by: Mihai Eduard Badea <mihai.badea@softvision.ro>
2020-07-17 15:13:18 -05:00
Roger Yang
be3ce6e2ba [fenix] For https://github.com/mozilla-mobile/fenix/issues/12118: Add isSubframeRequest parameter for app links 2020-07-16 12:50:33 -04:00
James Hugman
61fe76774f [fenix] Address review comments 2020-07-16 10:37:03 -04:00
James Hugman
800e55e69a [fenix] Remove need to specify component names for new intents 2020-07-16 10:37:03 -04:00
James Hugman
648b389a68 [fenix] Changed home_* style links to urls_* to reflect that the destination is a set of links, rather than where the screen is 2020-07-16 10:37:03 -04:00
James Hugman
83ed39ed5c [fenix] Add UI tests for deep links 2020-07-16 10:37:03 -04:00
isabelrios
18b3fb95b4 [fenix] cron-job-ui-screenshots (https://github.com/mozilla-mobile/fenix/pull/12423)
Co-authored-by: isabel rios <isabelrios@MacBook-Pro-de-isabel-2.local>
2020-07-16 16:08:00 +02:00
Oana Horvath
70e30dcf98 [fenix] Replaces verifyPageContent in UI tests 2020-07-16 10:55:58 +03:00
Aaron Train
d60d77248b [fenix] No issue: Add a couple Tabs Tray UI tests 2020-07-15 10:49:34 +03:00
ekager
772f69c5f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7094 - Adds save login exceptions 2020-07-14 14:47:37 -04:00
Oana Horvath
0885d0047e [fenix] For https://github.com/mozilla-mobile/fenix/issues/10911: disables flaky createBookmarkFolderTest 2020-07-13 15:40:50 +03:00
Tiger Oakes
e69b1e06f1 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/9832 - Change targetSdkVersion to Android 10 (https://github.com/mozilla-mobile/fenix/pull/11014) 2020-07-09 10:50:51 -07:00
TejaswiKarasani
47e60525ff [fenix] No Issue: Verify the page main menu items UI Test (https://github.com/mozilla-mobile/fenix/pull/12336) 2020-07-09 09:15:10 -07:00
isabelrios
d1582d892a [fenix] No issue: Update screenshots test (https://github.com/mozilla-mobile/fenix/pull/12348) 2020-07-08 12:20:34 -04:00
Richard Pappalardo
0e434d53ee [fenix] fix: disable intermittent test failure 2020-07-08 12:21:25 +03:00
MickeyMoz
1b69dbff02 [fenix] Update Android Components version to 49.0.20200707131055. 2020-07-07 14:49:54 -04:00
MickeyMoz
9443af0ffc [fenix] Update Android Components version to 49.0.20200705130154. 2020-07-06 15:21:40 -04:00
Oana Horvath
3192fdc83e [fenix] For https://github.com/mozilla-mobile/fenix/issues/11764: doubles long-press delay UI test 2020-07-06 19:13:53 +03:00
Aaron Train
0a9d823582 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12309: Disable verifyContextSaveImage and verifyContextMixedVariations (https://github.com/mozilla-mobile/fenix/pull/12314) 2020-07-06 11:51:06 -04:00
isabelrios
0241275d5f [fenix] For https://github.com/mozilla-mobile/fenix/issues/12018 - Sync Int tests fixes (https://github.com/mozilla-mobile/fenix/pull/12252) 2020-07-03 13:49:40 -04:00
Aaron Train
a417d6d115 [fenix] No issue: Re-enable Context Menu UI tests (https://github.com/mozilla-mobile/fenix/pull/12250) 2020-07-03 13:48:46 -04:00
Aaron Train
cbfb7e2e2f [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8714: Re-enable toggleShowVisitedSitesAndBookmarks (https://github.com/mozilla-mobile/fenix/pull/12251) 2020-07-03 13:20:39 -04:00
isabelrios
7402fb47fc [fenix] For https://github.com/mozilla-mobile/fenix/issues/12224 - Fix UI testAboutFirefoxPreview (https://github.com/mozilla-mobile/fenix/pull/12233) 2020-07-03 12:31:47 -04:00
Richard Pappalardo
5ab7edc71c [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/11642 - Re-enable disabled UI-tests (https://github.com/mozilla-mobile/fenix/pull/12142) 2020-07-01 09:15:57 -07:00
ekager
79eeeb9af5 [fenix] Update AC to 48.0.20200627130132 and fix breaking changes 2020-06-27 20:11:31 -04:00
David Walsh
1083b6026a [fenix] For 11468 - Show tab tray after opening links from history and bookmarks 2020-06-26 18:28:31 -07:00
Kate Glazko
90c8995d73 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12025: Set Search Shortcuts Off By Default 2020-06-26 18:21:58 -07:00
Gabriel Luong
a904ab8de1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12026 - Update default top sites for new users (https://github.com/mozilla-mobile/fenix/pull/12028) 2020-06-26 17:51:18 -04:00
Oana Horvath
feda964fc6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11764: delay single-click duration to avoid long-clicks (https://github.com/mozilla-mobile/fenix/pull/11949) 2020-06-25 14:21:51 -04:00
Oana Horvath
e54a462293 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/11947: fix and enable closePrivateTabsNotificationTest (https://github.com/mozilla-mobile/fenix/pull/11951) 2020-06-25 14:17:04 -04:00
ValentinTimisica
574e7436d9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10462: Removes back button from bookmarks and history fragments (https://github.com/mozilla-mobile/fenix/pull/11721) 2020-06-22 13:15:33 -04:00
Oana Horvath
088ab8e594 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/11797 defaultDesktopBookmarksFoldersTest intermittent failure (https://github.com/mozilla-mobile/fenix/pull/11803) 2020-06-22 11:03:22 -04:00
Oana Horvath
e3b8be76fe [fenix] For https://github.com/mozilla-mobile/fenix/issues/11642: disables UI test privateModeScreenItemsTest (https://github.com/mozilla-mobile/fenix/pull/11768) 2020-06-19 16:14:33 +03:00
Oana Horvath
1c52b14675 [fenix] No issue: re-enables tests ignoring the verifyPageContent step (https://github.com/mozilla-mobile/fenix/pull/11765) 2020-06-19 15:51:50 +03:00
mcarare
19a8cff5a5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11665: Update UI tests. 2020-06-19 09:32:37 +03:00
Emily Kager
b7af130eb7 [fenix] Revert "For issue https://github.com/mozilla-mobile/fenix/issues/9949 - Bookmarks/History deletion inconsistencies"
This reverts commit fc8365728f1f9bd02766e5931aa990c91c59c03b.
2020-06-18 19:31:49 -04:00
Aaron Train
b99e70fa75 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10642: Comment out verifyPageContent calls (https://github.com/mozilla-mobile/fenix/pull/11748)
fix: expectedText not called warning
2020-06-18 15:25:14 -07:00
Oana Horvath
4dd1870598 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11642 & https://github.com/mozilla-mobile/fenix/issues/10642: Disable intermittent tests (https://github.com/mozilla-mobile/fenix/pull/11724)
* for https://github.com/mozilla-mobile/fenix/issues/11642: disables tests crashing

* for https://github.com/mozilla-mobile/fenix/issues/10642: disables frequently failing  tests
2020-06-18 11:59:36 +03:00
David Walsh
db28b7df4e [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/9949 - Bookmarks/History deletion inconsistencies
- Added the undo action for deleting individual history items by creating a new field to the history state containing the id's of the history items that are pending for deletion; This field is used inside the update function from the view to show/hide the items.

 - Added a new check inside the "deleteMulti" method from BookmarkFragment that calls the showRemoveFoldersDialog to prevent the user from being able to delete one or more bookmark folders without being asked for confirmation, as in https://github.com/mozilla-mobile/fenix/issues/8648.
2020-06-17 14:42:51 -04:00
Oana Horvath
d133ec9e92 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10909: Fix flaky navigateBookmarksFoldersTest (https://github.com/mozilla-mobile/fenix/pull/11592) 2020-06-16 12:06:47 -04:00
Aaron Train
f176dba72f [fenix] No issue: Disable verifyBasicNavigationToolbarFunctionality (https://github.com/mozilla-mobile/fenix/pull/11643) 2020-06-16 11:40:15 -04:00
TejaswiKarasani
b17eb51096 [fenix] For https://github.com/mozilla-mobile/fenix/issues/116 https://github.com/mozilla-mobile/fenix/issues/173: UI test for verifying the nav toolbar buttons (https://github.com/mozilla-mobile/fenix/pull/10976) 2020-06-13 09:51:40 -04:00
liuche
35282cf328 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/11112 - Update empty collections string + tests. (https://github.com/mozilla-mobile/fenix/pull/11538) 2020-06-12 18:01:38 -04:00
ValentinTimisica
649f56299c [fenix] For https://github.com/mozilla-mobile/fenix/issues/11365: Fixes UI tests for Settings 2020-06-10 11:09:03 +03:00
ekager
91fd4f4f58 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8967 - Expose autofill logins setting in nightly 2020-06-09 12:21:48 -04:00
mcarare
4050f47e4e [fenix] For https://github.com/mozilla-mobile/fenix/issues/11229: Update settings ETP copy. 2020-06-05 14:18:25 -04:00
mcarare
ceb56b102d [fenix] For https://github.com/mozilla-mobile/fenix/issues/11229: Update onboarding ETP copy. 2020-06-05 14:18:25 -04:00
Jeff Boek
2c2cc97b97 [fenix] Remove tab tray feature flag (https://github.com/mozilla-mobile/fenix/pull/11176)
* For https://github.com/mozilla-mobile/fenix/issues/11171 - Removes feature flag for the new tab tray

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Removes all tab references from homeFragment

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes unit tests

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Gets UI tests to compile and HomeScreenTest to pass

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes `deleteMultipleSelectionTest`

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes `openHistoryItemInNewPrivateTabTest`

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes `openHistoryInPrivateTabTest`

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes `openHistoryInNewTabTest`

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes `openNewPrivateTabTest`

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes tabbedBrowsingTests

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes SettingsPrivacyTest

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes TopSitesTest

* For https://github.com/mozilla-mobile/fenix/issues/11171 - Fixes lint errors

* Ignore
2020-06-05 12:59:08 -05:00
Beatriz Rizental
637dc1b617 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10652: Fix validateBaselinePing test (https://github.com/mozilla-mobile/fenix/pull/11254)
* Stop ignoring validateBaselinePing test

* Remove spacing between package and imports

* Add functionality to decompress gzipped ping body
2020-06-05 12:48:33 -04:00
Aaron Train
25292cb29b [fenix] For https://github.com/mozilla-mobile/fenix/issues/10798: Disable testDownloadPrompt (https://github.com/mozilla-mobile/fenix/pull/11147) 2020-06-02 12:40:08 -04:00
ekager
370f2ba16f [fenix] For https://github.com/mozilla-mobile/fenix/issues/11015 - Switch Default ETP Setting to Standard 2020-05-29 16:39:47 -04:00
Aaron Train
9108e8f6b8 [fenix] Closes 10927: Improve wait on session loaded for UI tests (https://github.com/mozilla-mobile/fenix/pull/10928) 2020-05-29 10:13:57 -04:00
ValentinTimisica
3b38cce4a5 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/10064: Updates UI tests for About Page 2020-05-29 09:26:46 +03:00
Oana Horvath
d4cba6ba5d [fenix] For https://github.com/mozilla-mobile/fenix/issues/10761: Updates UI test tracking test page asset (https://github.com/mozilla-mobile/fenix/pull/10945) 2020-05-28 10:57:10 -04:00
Grisha Kruglov
46a69391ad [fenix] Update Settings About test to account for debug builds 2020-05-25 22:13:05 -07:00
Jonathan Almeida
ceb7c7f1f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10915: Disabled failing UI tests in SettingsPrivacyTest 2020-05-25 23:05:45 -04:00
mcarare
cc69908c70 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10705: Update copy of auto font sizing preference. 2020-05-25 17:50:35 -04:00
mcarare
d0a155219c [fenix] For https://github.com/mozilla-mobile/fenix/issues/10706: Update copy of deleting open tabs preference. 2020-05-25 17:37:29 -04:00
Oana Horvath
bd3c6eeafe [fenix] for https://github.com/mozilla-mobile/fenix/issues/10690: disable editBookmarkTest (https://github.com/mozilla-mobile/fenix/pull/10891) 2020-05-25 12:37:21 +03:00
Justin Wood
dee12ebb68 [fenix] Bug 1638073 - Update conftest for 'tps' to use current (firefoxci) api urls 2020-05-22 11:16:33 -07:00
Oana Horvath
184c07170a [fenix] for https://github.com/mozilla-mobile/fenix/issues/10753: improves the clickAddBookmarkButton method in flaky tests (https://github.com/mozilla-mobile/fenix/pull/10842) 2020-05-22 21:06:24 +03:00
Oana Horvath
f50f3a6557 [fenix] for https://github.com/mozilla-mobile/fenix/issues/10759: close notification shade if still open (https://github.com/mozilla-mobile/fenix/pull/10819) 2020-05-21 18:41:00 +03:00
codrut.topliceanu
51ca52381c [fenix] For https://github.com/mozilla-mobile/fenix/issues/9044 - Replace DownloadNotificationBottomSheetDialog with unobtrusive view
- Renamed DownloadNotification and removed DownloadState.dismissed dependency
- Improved DynamicDownloadDialog behaviour when scrolling
- DynamicDownloadDialog remains attached to tab until dismissed
- Fixed onTryAgain not working for resumed DownloadDialogs
2020-05-21 10:02:51 -04:00
isabelrios
a4702a11ff [fenix] For https://github.com/mozilla-mobile/fenix/issues/10756 - UI intermittent media playback failures (https://github.com/mozilla-mobile/fenix/pull/10775) 2020-05-20 10:41:31 -04:00
Aaron Train
9a743a838d [fenix] No issue: Disable validateBaselinePing UI test (https://github.com/mozilla-mobile/fenix/pull/10772) 2020-05-19 10:59:55 -04:00
Emily Kager
71d0a7a67c [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/6313 - On first load, hides engineView until firstContentfulPaint"
This reverts commit 9a5ccb8e04bb43045d5b03a8f682a2707cd8bf3e.
2020-05-18 10:33:11 -07:00
ekager
78af828cc8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6313 - On first load, hides engineView until firstContentfulPaint 2020-05-15 10:55:38 -07:00
Simon Chae
c3804c2265 [fenix] Update Android Components version to 42.0.20200514130134 2020-05-14 10:44:33 -07:00
Oana Horvath
55e4a7c651 [fenix] MediaNotificationTest: close media notification shade after each test (https://github.com/mozilla-mobile/fenix/pull/10649) 2020-05-14 17:01:09 +03:00
Oana Horvath
9324377564 [fenix] for https://github.com/mozilla-mobile/fenix/issues/10587: Disable all flaky collections tests (https://github.com/mozilla-mobile/fenix/pull/10643) 2020-05-14 14:48:42 +03:00
Oana Horvath
39db615743 [fenix] Disable failing tests from https://github.com/mozilla-mobile/fenix/issues/10587 and https://github.com/mozilla-mobile/fenix/issues/10586 (https://github.com/mozilla-mobile/fenix/pull/10620) 2020-05-13 15:02:18 +03:00
Oana Horvath
aab5a54889 [fenix] for https://github.com/mozilla-mobile/fenix/issues/9407: fixed and added collection tests (https://github.com/mozilla-mobile/fenix/pull/10566) 2020-05-12 10:51:44 +03:00
ValentinTimisica
e6e1a79358 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10343: Updates UI tests accordingly to 'Library' removal 2020-05-11 10:22:19 -07:00
Oana Horvath
26407fe308 [fenix] fix https://github.com/mozilla-mobile/fenix/issues/10468: wait for main menu to disappear after creating bookmark (https://github.com/mozilla-mobile/fenix/pull/10478) 2020-05-08 12:58:32 +03:00
TejaswiKarasani
061487dc25 [fenix] no issue: Added settings_privacy_items_test (https://github.com/mozilla-mobile/fenix/pull/10474) 2020-05-07 07:45:48 -07:00
kglazko
70b21d2e6c [fenix] No Issue Reenable testDownloadPrompt (https://github.com/mozilla-mobile/fenix/pull/10407)
Co-authored-by: Kate Glazko <kglazko@Kates-MacBook-Pro.local>
2020-05-05 11:24:16 -07:00
Alessio Placitelli
6e36269af0 [fenix] Fixup the BaselinePingTest 2020-05-04 10:37:44 +03:00
Mihai Eduard Badea
fa9a791c81 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/8648 2020-04-29 09:48:42 -07:00
Oana Horvath
4f5ebf1ebc [fenix] For https://github.com/mozilla-mobile/fenix/issues/9783: bring app in focus with sendSingleTapToScreen for UI test (https://github.com/mozilla-mobile/fenix/pull/10136) 2020-04-28 10:46:42 -04:00
Oana Horvath
134909fed3 [fenix] Added new bookmarks tests (https://github.com/mozilla-mobile/fenix/pull/9878)
Fix for https://github.com/mozilla-mobile/fenix/issues/7417: Fix and re-enable disabled tests
2020-04-27 18:15:27 +03:00
ekager
4a59ed0eed [fenix] No issue: Update Private Browsing placeholder string 2020-04-24 11:39:14 -07:00
Oana Horvath
a2d169be5f [fenix] fix private notification text (https://github.com/mozilla-mobile/fenix/pull/10192) 2020-04-24 17:55:46 +03:00
ekager
479c41236f [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9928 - Updates private browsing text description 2020-04-21 09:00:06 +03:00
isabelrios
1c1274bb17 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8081 - UI screenshots tests update (https://github.com/mozilla-mobile/fenix/pull/10023) 2020-04-20 10:39:56 -04:00
Ryan Kelly
219c8349d6 [fenix] Some cleanups for running the sync integration tests 2020-04-18 02:30:44 -07:00
Grisha Kruglov
567d0ba9b9 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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
ekager
4b5c454de7 [fenix] Update UI test to match Support Page title 2020-04-14 11:34:55 -07:00
ekager
e0a4a63d52 [fenix] Update Server.dev to Server.stage to fix A-S upgrade breaking change 2020-04-14 11:34:55 -07:00
Oana Horvath
acc46c960b [fenix] fix https://github.com/mozilla-mobile/fenix/issues/9670 intermittent tests (https://github.com/mozilla-mobile/fenix/pull/9767)
also disabled intermittent closePrivateTabsNotification
2020-04-13 13:17:35 +03:00
Aaron Train
4d216e26ea [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9688: Disable ReaderViewTest for intermittent investigation in detection issues 2020-04-03 22:04:43 +03:00
Oana Horvath
47366000e3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9670: Disabled intermittent tabMediaControlButton test (https://github.com/mozilla-mobile/fenix/pull/9679)
and removed file created by mistake -e

added reason for disabled tests
2020-04-03 20:39:33 +03:00
Aaron Train
3489fe1e22 [fenix] No issue: re-enable libraryMenuItemsTest and backButtonTest (https://github.com/mozilla-mobile/fenix/pull/9639) 2020-04-03 10:37:03 -04:00
Michael Comella
006e32c454 [fenix] No issue: remove unused FirefoxTestRunner.
It would be used for on device tests but it doesn't seem to hooked up
currently.
2020-04-02 07:57:09 -07:00
Oana Horvath
8dbcd4ed35 [fenix] Updated the method to verify system notifications and added new tests for media notifications (https://github.com/mozilla-mobile/fenix/pull/9330) 2020-03-31 21:11:41 +03:00
Aaron Train
e8cfeeb0a1 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9189: Fixes "static asset not found" error in doNotSaveLoginFromPromptTest, saveLoginFromPromptTest UI tests (https://github.com/mozilla-mobile/fenix/pull/9439)
AndroidAssetDispatcher class dispatcher was attempting to open a local asset with a query suffix from the request. If query suffix is found, remove it. Re-enable saveLoginFromPromptTest() and doNotSaveLoginFromPromptTest()
2020-03-30 18:01:58 -04:00
mcarare
b52f5a3829 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8485 Update UI tests after settings reorg 2020-03-27 17:05:49 -07:00
Mugurell
a09fad7f74 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8651 - Add HistoryInteractor/Controller unit/ui tests 2020-03-27 15:53:31 -07:00
Aaron Train
c42f203e39 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9346: Add ViewIdlingResource for Reader View UI tests (https://github.com/mozilla-mobile/fenix/pull/9347) 2020-03-24 10:47:11 -04:00
Kate Glazko
56ad058b6a [fenix] For 7077 Simplify Display Url 2020-03-23 12:36:48 -07:00
Aaron Train
df36b981bb [fenix] Closes 9291: Fix shortcutSearchEngineSettingsTest (https://github.com/mozilla-mobile/fenix/pull/9292) 2020-03-23 11:04:10 -04:00
Mihai Branescu
e6db667004 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8653 - changed menu strings 2020-03-22 00:03:26 +02:00
Severin Rudie
a0193296bf [fenix] 8017 advanced autoplay controls. (https://github.com/mozilla-mobile/fenix/pull/8978)
* For https://github.com/mozilla-mobile/fenix/issues/8017: add advanced autoplay controls
2020-03-20 12:10:42 -07:00
Aaron Train
360c5cf08d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9262: Add additional waits to LibraryMenuTest (https://github.com/mozilla-mobile/fenix/pull/9263) 2020-03-20 12:16:50 -04:00
Edouard Oger
0ab28e9a0a [fenix] Prepare for a-c a-s upgrade 2020-03-17 11:49:54 -04:00
Severin Rudie
afe685fca7 [fenix] No issue: fixes test broken by snapshot (https://github.com/mozilla-mobile/fenix/pull/9176)
* No issue: fixes test broken by snapshot

* No issue: ignore flaky tests
2020-03-16 16:44:39 -07:00
isabelrios
c5a4096d1e [fenix] ui-tests-homescreen-fix-to-enable (https://github.com/mozilla-mobile/fenix/pull/9050) 2020-03-13 11:16:47 -04:00
isabelrios
75ce370b85 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9076 - Upddate pipenv to run without error. (https://github.com/mozilla-mobile/fenix/pull/9077)
* For https://github.com/mozilla-mobile/fenix/issues/9076 - Upddate pipenv to run without error

* pipenv fixed the issue after update
2020-03-12 11:36:51 -04:00
Mihai Branescu
6d6db30a48 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8800 - add tests for dismissing highlighted items 2020-03-11 19:05:55 +02:00
Oana Horvath
9970bdf8eb [fenix] Close private tabs tests (https://github.com/mozilla-mobile/fenix/pull/8999) 2020-03-10 11:44:21 +02:00
Oana Horvath
dababfdb9a [fenix] UI tests for Private browsing settings sub-menu (https://github.com/mozilla-mobile/fenix/pull/8395) 2020-03-05 12:25:48 +02:00
isabelrios
cebd985b4f [fenix] sync-integration-tests-fix-paths (https://github.com/mozilla-mobile/fenix/pull/8931)
* sync-integration-tests-fix-paths

* fix Jenkins file to store the report

* address reviewer comments
2020-03-04 10:56:56 -05:00
ekager
5272fb0c80 [fenix] Update UI tests 2020-03-03 14:44:38 -08:00
mcarare
ffcb4840c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8766: Update UI Tests 2020-03-02 14:27:04 -07:00
Aaron Train
1e65e6a5d1 [fenix] Re-enable ETP UI tests and update local asset (https://github.com/mozilla-mobile/fenix/pull/8733) 2020-03-02 14:40:52 -05:00
isabelrios
1e0c955c40 [fenix] Update UI Sync integration tests and fix TPS preference. (https://github.com/mozilla-mobile/fenix/pull/8489) 2020-02-27 16:32:24 -05:00
Aaron Train
ae899b338f [fenix] No issue: Disable UI test verifyContextCopyLink for intermittent failure (https://github.com/mozilla-mobile/fenix/pull/8833) 2020-02-27 16:03:23 -05:00
Aaron Train
c2ad5b0c39 [fenix] No issue: Disable UI test createBookmarkFolderTest for intermittent failure (https://github.com/mozilla-mobile/fenix/pull/8828) 2020-02-27 13:28:06 -05:00
ekager
6aeff54650 [fenix] No issue: Add UI test wait for Toolbar edit url view 2020-02-26 12:42:13 -08:00
Kadeem M
27b8a33acc [fenix] Disable UI test showbookmarksAndHistory (https://github.com/mozilla-mobile/fenix/pull/8749) 2020-02-25 18:58:54 -05:00
ekager
5707d42bd0 [fenix] No issue: Disable two intermittent failing tests 2020-02-21 21:10:54 -08:00
Aaron Train
ed57b6bdd1 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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
417afaa14a [fenix] For https://github.com/mozilla-mobile/fenix/issues/4231 added unit tests for most recent apps 2020-02-19 10:36:58 -08:00
Mihai Branescu
4fe9033c0f [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
isabelrios
aeb016ff85 [fenix] UITests: New tests for save Login prompt (https://github.com/mozilla-mobile/fenix/pull/8381)
* UITests: New tests for save Login prompt

* fixing firebase timing issues when webpage loads

* adding tests for don't save and check the prompt options

* fix detekt issue

* fix reviewer comments
2020-02-19 14:23:25 +02:00
mcarare
54e61add06 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6479: Update UI test for new ETP screen 2020-02-18 09:32:43 -08:00
Jeff Boek
daab385c3a [fenix] For https://github.com/mozilla-mobile/fenix/issues/5905 - Fixes UI tests 2020-02-11 18:14:14 -08:00
Severin Rudie
91b538cde4 [fenix] Fix UI test failures 2020-02-11 18:14:14 -08:00
isabelrios
034029e6f3 [fenix] sync-integration-history-bookmark-fenix-desktop (https://github.com/mozilla-mobile/fenix/pull/7808)
clean code

remove unused import

fix reviewer comments
2020-02-11 14:19:31 -05:00
Kadeem
573c35d308 [fenix] Updated About Settings Tests to check if a view is completely displayed 2020-02-08 12:35:59 +01:00
Aaron Train
c0bd97b39f [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7656: Add UI tests for Reader View (https://github.com/mozilla-mobile/fenix/pull/7829) 2020-02-07 12:07:16 -05:00
Kadeem M
e732324de3 [fenix] Adding UI tests for the Basic Menu settings. 🎲 !!!! (https://github.com/mozilla-mobile/fenix/pull/6346)
* Added UI tests for the basic settings menu

* Disabled toggleSearchSuggestions test
2020-02-06 12:58:47 -08:00
Marc Leclair
01ac5d2518 [fenix] fixing UI test 2020-02-05 16:40:41 -08:00
Alessio Placitelli
b0cd0692ed [fenix] Test that 'baseline' pings are sent by Fenix
This is an initial instrumented test for Fenix
that checks if a 'baseline' ping is generated when
going to background.
2020-02-05 19:06:46 +01:00
Aaron Train
286692f9f2 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8066: disable failing UI Bookmarks tests 2020-02-03 23:41:43 +01:00
Aaron Train
857b0b6f4b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8015: fix UI test verifyContextCopyLink (https://github.com/mozilla-mobile/fenix/pull/8026) 2020-01-31 14:58:02 -05:00
Aaron Train
a98eb6bced [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8006: Add Close/Undo UI tests (https://github.com/mozilla-mobile/fenix/pull/8007) 2020-01-30 16:15:40 -05:00
Emily Kager
4ad86900ff [fenix] No issue: Add idle for create folder UI test 2020-01-30 16:54:25 +01:00
Aaron Train
1609077a12 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7920 - Disable ETP UI test for investigation into failure in https://github.com/mozilla-mobile/fenix/issues/7907 2020-01-24 12:51:25 -08:00
Mihai Adrian
02fed41fec [fenix] For https://github.com/mozilla-mobile/fenix/issues/7417 Wait for deletion to finish and loading of new UI (https://github.com/mozilla-mobile/fenix/pull/7572) 2020-01-16 11:03:59 -05:00
Aaron Train
6923449f74 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7693: Temp disable UI test verifyContextMixedVariations (https://github.com/mozilla-mobile/fenix/pull/7694) 2020-01-14 14:55:05 -05:00
Aaron Train
1d3f48b1ac [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7687: Temp disable UI test verifyContextCopyImageLocation and verifyContextSaveImage and verifyContextOpenImageNewTab 2020-01-14 14:07:53 -05:00
isabelrios
44b0dc4798 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7563 - Sync integration logins (https://github.com/mozilla-mobile/fenix/pull/7564)
* sync-integration-logins-test

* improve checks for logins test

* fixing ktlint issues

* uncomment lines

* address reviewer comments

* fix ui tests after robot change

* fix lint
2020-01-14 08:47:37 -08:00
Kadeem M
81997a01bf [fenix] Added BuildDate Assertion for About Preview Screen; Added verification for external links in About Preview Screen (https://github.com/mozilla-mobile/fenix/pull/7413) 2020-01-13 13:53:35 -08:00
Colin Lee
f5a7312763 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5182: Loading experiments on startup is slow, remove Fretboard (https://github.com/mozilla-mobile/fenix/pull/7510)
This removes Fretboard. The goal is to reduce cold startup costs associated with loading the experiments on the main thread. We currently have two experiments frameworks in use and should only require one.
2020-01-13 12:38:32 -06:00
Aaron Train
397dddaf0a [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7611: Add UI tests for content context menus (https://github.com/mozilla-mobile/fenix/pull/7631)
Closes https://github.com/mozilla-mobile/fenix/issues/7611: Add UI tests for content context menus
2020-01-13 12:24:23 -05:00
kglazko
99d08c5677 [fenix] Issue 5736 Improve pop behavior after deleting tabs in settings (https://github.com/mozilla-mobile/fenix/pull/7478) 2020-01-08 10:27:14 -08:00
Richard Pappalardo
429ad5d0d6 [fenix] Temp disable UI test verifyAboutFirefoxPreview (https://github.com/mozilla-mobile/fenix/pull/7390) 2019-12-27 15:46:55 -08:00
Kadeem M
78a599b06e [fenix] Added UI tests for the About Settings page (https://github.com/mozilla-mobile/fenix/pull/6161) 2019-12-27 07:55:35 -08:00
isabelrios
7aa2fd8263 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5074 - Add UI tests for logins and passwords setting menu (https://github.com/mozilla-mobile/fenix/pull/7291)
* For https://github.com/mozilla-mobile/fenix/issues/5074 - Add UI tests for logins and passwords setting menu

* fix detekt failure

* remove old file

* fix scroll small screens

* fix reviewer comments
2019-12-26 14:22:40 -08:00
Sawyer Blatz
a5f8a5b415 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6666: Adds back button to search screen 2019-12-23 10:07:02 -08:00
Richard Pappalardo
57679f7d4d [fenix] Temp disable flaky UI testDownloadPrompt (https://github.com/mozilla-mobile/fenix/pull/7304) 2019-12-20 10:31:43 +02:00
Aaron Train
9b77b65e69 [fenix] No issue: Fixes breakage with unused import in 71e8063 (https://github.com/mozilla-mobile/fenix/pull/7205) 2019-12-16 11:55:44 -05:00
Aaron Train
f9e3b21578 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6697: Add Tracking Protection UI Tests (https://github.com/mozilla-mobile/fenix/pull/6825)
Add tests for verifying basic UI functionality of Enhanced Tracking Protection
2019-12-16 10:12:43 -05:00
mcarare
d77be2b506 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
2019-12-13 12:19:14 -08:00
Emily Kager
6e8cdfd720 [fenix] No issue: Scroll to remote debugging text in UI Tests (https://github.com/mozilla-mobile/fenix/pull/7117) 2019-12-12 12:00:02 -08:00
ValentinTimisica
3987045df8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4776: Refactored UI tests.
After removing the 'Privacy notice' and 'Help' items from the Settings screen
the UI tests for them became unneeded.
2019-12-12 11:34:10 +02:00
isabelrios
4a62f38670 [fenix] Re-enable Screenshots tests (https://github.com/mozilla-mobile/fenix/pull/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
4e1bb19dc0 [fenix] Fixed flaky History UI tests by adding an extra verification step that (https://github.com/mozilla-mobile/fenix/pull/6894)
the page is loaded.

Enabled all tests
2019-12-09 11:52:55 +02:00
Aaron Train
4cf0c56803 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6873: Support many more Content-Type in MockWebServer (UI tests) (https://github.com/mozilla-mobile/fenix/pull/7001)
Ensure our MockResponse can handle different Content-Type e.g, images, to help support other tests
2019-12-06 14:53:18 -05:00
Jeff Boek
fa903dd097 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4664 - Updates search_with string. (https://github.com/mozilla-mobile/fenix/pull/6909) 2019-12-06 10:36:19 -08:00
Richard Pappalardo
101f6a1770 [fenix] Disable flaky testDownloadNotification - API28 (https://github.com/mozilla-mobile/fenix/pull/6982) 2019-12-05 18:00:21 -08:00
Oana Horvath
0cb634facc [fenix] Added multi-selection tests for bookmarks (https://github.com/mozilla-mobile/fenix/pull/6475)
Updated bookmarking method

Fixed flaky tests

Added wait to create bookmark
2019-12-03 12:44:54 +02:00
Aaron Train
0e77c47f42 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6363 - Add Downloads UI tests (https://github.com/mozilla-mobile/fenix/pull/6574)
- Initiates a download
- Verifies prompt
- Verifies notification in notification shade
2019-12-02 17:15:00 -05:00
ekager
333ff28126 [fenix] No issue: Fix search suggestions strings 2019-12-02 21:39:10 +00:00
cesar
51fe91d723 [fenix] klint clean up and previous nit fixed 2019-12-02 16:18:48 +00:00
cesar
85a1b85158 [fenix] Test for 6731 2019-12-02 16:18:48 +00:00
mcarare
b49fd6c3b1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6881 Choose visible view when multiple views have same label text 2019-12-02 14:02:51 +00:00
Oana Horvath
d7bc4a96ce [fenix] Disable UI history tests again for more investigation (https://github.com/mozilla-mobile/fenix/pull/6837) 2019-12-01 19:53:55 -05:00
mcarare
68ba4480cc [fenix] For https://github.com/mozilla-mobile/fenix/issues/6629 Align Private Browsing mode to UX specs 2019-11-27 11:13:20 -08:00
isabelrios
e75264272f [fenix] fix reviewer comments 2019-11-21 15:32:26 -08:00
isabelrios
ee8015ef6c [fenix] For https://github.com/mozilla-mobile/fenix/issues/6322 - UI tests for Account Settings View
removing sleeps

fix ktlint errors
2019-11-21 15:32:26 -08:00
Tiger Oakes
6605d2388d [fenix] For https://github.com/mozilla-mobile/fenix/issues/6523 - Remove close button in library 2019-11-21 15:27:18 -08:00
Patrick Martin
ccb1057a38 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2294 - History URL is cut with a large font set (https://github.com/mozilla-mobile/fenix/pull/6724)
* For https://github.com/mozilla-mobile/fenix/issues/2294 - History URL is cut with a large font se

* Update HistoryRobot.kt
2019-11-21 15:05:59 -08:00
ekager
115b18d3a7 [fenix] Add scroll to item 2019-11-20 10:23:48 -08:00
ekager
6477f73c31 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6707 https://github.com/mozilla-mobile/fenix/issues/6708 - Fix UI Tests for new Search Engine Behavior 2019-11-20 10:23:48 -08:00
Patrick Martin
fe51c6bd42 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2294 - History URL is cut with a large font se 2019-11-19 10:50:17 -08:00
Oana Horvath
ac4939cb9f [fenix] Fixed History flaky tests (https://github.com/mozilla-mobile/fenix/pull/6592)
Ignoring some tests for now and left some to run
2019-11-19 11:29:35 +02:00
cesar
e2610eec54 [fenix] ktlint clean up 2019-11-18 20:07:22 -08:00
cesar
3402ab6636 [fenix] Fixed Typo 2019-11-18 20:07:22 -08:00
cesar
1f32a65e4e [fenix] Test for 6594 2019-11-18 20:07:22 -08:00
cesar
0fd8d98d12 [fenix] Test for 6593 2019-11-18 20:07:22 -08:00
Emily Kager
a4a5315838 [fenix] Add logins to UI test 2019-11-14 16:05:20 -08:00
Oana Horvath
9f4e9dcc69 [fenix] Added a method to detect the UI Theme (https://github.com/mozilla-mobile/fenix/pull/6542) 2019-11-13 08:52:41 -08:00
David Walsh
adfd7798e5 [fenix] Use consistent verbiage with regard to opened tabs (https://github.com/mozilla-mobile/fenix/pull/6550) 2019-11-12 16:06:37 -08:00
Severin Rudie
2e76d82c9a [fenix] 4281 remove qab (https://github.com/mozilla-mobile/fenix/pull/6310)
* For https://github.com/mozilla-mobile/fenix/issues/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
Emily Kager
1b228ac62a [fenix] No issue: Ignore rest of HistoryTest tests (https://github.com/mozilla-mobile/fenix/pull/6450) 2019-11-05 08:53:07 -08:00
Richard Pappalardo
a17bb1d8dd [fenix] Temp disable all History UI tests (https://github.com/mozilla-mobile/fenix/pull/6443) 2019-11-04 15:25:29 -08:00
Richard Pappalardo
cdfba9536a [fenix] Temp disable flaky deleteMultipleSelectionTest (https://github.com/mozilla-mobile/fenix/pull/6405)
* Temp disable flaky deleteMultipleSelectionTest

* Fix indentation
2019-11-04 09:44:44 -08:00
mcarare
6f2df90bc2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
Oana Horvath
956b506474 [fenix] History menu UI tests (https://github.com/mozilla-mobile/fenix/pull/6272)
Removed failing verifyOverflowMenuButton method

Added new Robot for MultipleSelectionTooolbar

Renamed MultipleSelectionToolbarRobot to LibrarySubMenusMultipleSelectionToolbarRobot
2019-10-29 11:36:19 +02:00
No-Jun Park
e40b258890 [fenix] Collection UI Test added, but set to disabled until Collection is refactored (https://github.com/mozilla-mobile/fenix/pull/6160) 2019-10-28 15:10:19 -04:00
isabelrios
4eb8ad16d0 [fenix] Fix sync test after changes in the syntaxt to check the elements (https://github.com/mozilla-mobile/fenix/pull/6249) 2019-10-28 11:31:32 -04:00
psy0ch
7cc240bcd2 [fenix] Add explanation to @Ignore in CollectionTest (https://github.com/mozilla-mobile/fenix/pull/6238)
https://github.com/mozilla-mobile/fenix/issues/6235
2019-10-24 10:23:03 -07:00
Aaron Train
aa400955a6 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6172 - Convert waitNotNull into extension function for UI tests (https://github.com/mozilla-mobile/fenix/pull/6220) 2019-10-23 17:40:28 -04:00
Aaron Train
16eebc77c9 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6031 - Wrap waits with assert check; adjust timer check (https://github.com/mozilla-mobile/fenix/pull/6084)
See https://github.com/mozilla-mobile/fenix/issues/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
Tiger Oakes
0af2e9d821 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3366 - Use one layout for edit/add bookmark (https://github.com/mozilla-mobile/fenix/pull/5900) 2019-10-21 10:06:08 -07:00
isabelrios
e6e5ab6ffb [fenix] Fix https://github.com/mozilla-mobile/fenix/issues/6004: Add UI sync integration test for Bookmarks (https://github.com/mozilla-mobile/fenix/pull/6019)
* Fix https://github.com/mozilla-mobile/fenix/issues/6004: Add UI sync integration test for Bookmarks

* fix two typos
2019-10-21 10:01:17 -07:00
Richard Pappalardo
1839ce12f1 [fenix] Add verify items tests for settings menus 2019-10-21 08:24:47 -07:00
MozLando
66e7638fb7 [fenix] Merge https://github.com/mozilla-mobile/fenix/pull/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>
2019-10-11 14:43:39 +00:00
Emily Kager
b36c9c67dd [fenix] For https://github.com/mozilla-mobile/fenix/issues/1901 - Get rid of black flash when leaving GV Engine 2019-10-09 11:02:21 -07:00
Sawyer Blatz
129951e3a9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5534: Temporarily disables find in page test 2019-10-08 16:17:38 -07:00
isabelrios
785c89743a [fenix] fixing more reviewers comments 2019-10-08 09:56:29 +02:00
isabelrios
67661747f3 [fenix] fixing reviewers comments
improve writing email and password in file
2019-10-08 09:56:29 +02:00
Isabel Rios
339524226a [fenix] Add fxa/sync integration tests
fixing Jenkins path to tests and clean tests

commenting future tests and adding doc with info about the tests
2019-10-08 09:56:29 +02:00
sv-ohorvath
92ac8a2042 [fenix] Boomkarks UI tests
Added a comment to the clear all bookmarks method
2019-10-07 10:45:04 -07:00
Sawyer Blatz
e3d58b1676 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5567: Removes search shortcuts button (https://github.com/mozilla-mobile/fenix/pull/5739)
* For https://github.com/mozilla-mobile/fenix/issues/5567: Removes search shortcut button

* No issue: Simplifies logic for displaying shortcuts
2019-10-03 08:53:16 -07:00
Richard Pappalardo
ad8e2d1d2f [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/5758 - Increase UI test wait time (https://github.com/mozilla-mobile/fenix/pull/5759) 2019-10-03 07:54:10 -07:00
ekager
4d5fdffdb7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5534 - Make FIP Robot Wait for Text Changes 2019-09-30 13:17:29 -07:00
Colin Lee
28d64cdd9e [fenix] For https://github.com/mozilla-mobile/fenix/issues/2754 Add tab cards to share sheet (https://github.com/mozilla-mobile/fenix/pull/5493)
* For https://github.com/mozilla-mobile/fenix/issues/2754 Add tab cards to share sheet

* For https://github.com/mozilla-mobile/fenix/issues/2754: Fix background near rounded corners and ShareButtonAppearanceTest

* Add license to share_tab_item
2019-09-26 14:25:34 -07:00
Sawyer Blatz
6b03a6e1f9 [fenix] No issue: Fixes GleanMetricsService nits & broken UI test (https://github.com/mozilla-mobile/fenix/pull/5539)
* No issue: Fixes GleanMetricsService nits

* No issue: fixes broken UI test
2019-09-24 16:12:09 -07:00
Richard Pappalardo
867b6485ee [fenix] Move UI tests to x86 devices on Firebase (https://github.com/mozilla-mobile/fenix/pull/5463) 2019-09-22 19:19:10 -07:00
Sawyer Blatz
320fd1462f [fenix] For https://github.com/mozilla-mobile/fenix/issues/5371: Updates search engine settings string (https://github.com/mozilla-mobile/fenix/pull/5393) 2019-09-18 11:26:44 -07:00
ekager
d14d848d51 [fenix] No issue: Fixes UI tests by removing TP onboarding closure 2019-09-15 19:47:16 -07:00
Richard Pappalardo
6b813c0aae [fenix] fix: broken UI tests (https://github.com/mozilla-mobile/fenix/pull/5324) 2019-09-13 17:30:53 -07:00
Oana Horvath
9706df2e2b [fenix] Adds 2 new tests to SearchTest (https://github.com/mozilla-mobile/fenix/pull/4770) 2019-09-13 10:11:33 -07:00
No-Jun Park
d293228b8f [fenix] fix TabbedBrowsingTest.kt failure where Share Tabs element was not found (https://github.com/mozilla-mobile/fenix/pull/5282) 2019-09-12 15:56:35 -07:00
Oana Horvath
f36d0c476a [fenix] added LibraryMenuTest, BookmarksRobot, HistoryRobot (https://github.com/mozilla-mobile/fenix/pull/4769)
ran ktlint

added the goBack()method in  Transition

added the goBack method in Transition
2019-09-11 09:09:22 -07:00
Aaron Train
1465ea335c [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/5192 - Add UI Test for "What's New" menu option (https://github.com/mozilla-mobile/fenix/pull/5193) 2019-09-11 11:41:05 -04:00
No-Jun Park
5dc8dd7264 [fenix] Create homeview share dialog UITest (https://github.com/mozilla-mobile/fenix/pull/5160)
Share Button UI test added
Collection test steps created
2019-09-10 15:03:47 -04:00
Aaron Train
7f6fdcda4b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/5137 - Add Find in Page UI Test (https://github.com/mozilla-mobile/fenix/pull/5138) 2019-09-09 14:16:47 -04:00
Richard Pappalardo
6a54b74c1e [fenix] Temporarily disable broken UI test (https://github.com/mozilla-mobile/fenix/pull/5136) 2019-09-05 10:22:14 -07:00
Aaron Train
da02c6f228 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4926: Add basic UI test for regular/private tabs (https://github.com/mozilla-mobile/fenix/pull/4928) 2019-08-27 13:56:12 -04:00
Colin Lee
cdc611fec5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4885: D8 Build failure on attempt to execute UI test (https://github.com/mozilla-mobile/fenix/pull/4903)
* For https://github.com/mozilla-mobile/fenix/issues/4885: D8 Build failure on attempt to execute UI test

* Disabled screengrab tests until AndroidX fix is available
2019-08-23 13:37:52 -07:00
Richard Pappalardo
3e02efef28 [fenix] Stub out Settings tests 2019-08-21 13:52:03 -07:00
Yeon Taek Jeong
86ec7d5d6c [fenix] For https://github.com/mozilla-mobile/fenix/issues/2834: Delete all Private Tabs redesign (https://github.com/mozilla-mobile/fenix/pull/4787) 2019-08-20 13:10:08 -07:00
Aaron Train
aa9bf1aa6e [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4618 - Stub Library UI tests (https://github.com/mozilla-mobile/fenix/pull/4619)
See https://github.com/mozilla-mobile/fenix/issues/4572
2019-08-19 14:05:10 -04:00
Emily Kager
043f8829c9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4688 - Try to use context instead of targetContext (https://github.com/mozilla-mobile/fenix/pull/4765) 2019-08-16 10:12:56 -07:00
Emily Kager
52ff9a61f0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4688 - Try slightly different Context class for MockWebServer (https://github.com/mozilla-mobile/fenix/pull/4747) 2019-08-15 08:05:23 -07:00
Emily Kager
e4f3b39e0b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/3860 - Update description text for collections 2019-08-14 17:13:52 -04:00
isabelrios
61e400c2d8 [fenix] Fix UI Screenshot TabMenuTest (https://github.com/mozilla-mobile/fenix/pull/4730) 2019-08-14 11:57:36 -05:00
Sawyer Blatz
e4488b1909 [fenix] No issue: Removes deprecated usage of InstrumentationRegistry 2019-08-08 17:35:13 -07:00
Emily Kager
03e8f5b054 [fenix] No issue: Update testing dependencies and deprecated method (https://github.com/mozilla-mobile/fenix/pull/4608) 2019-08-08 09:03:39 -07:00
Richard Pappalardo
7ea855bda8 [fenix] Stub out tabs tests (https://github.com/mozilla-mobile/fenix/pull/4573) 2019-08-07 09:54:38 -07:00
Emily Kager
ad16d1efcd [fenix] No issue: Update UI tests with new engine shortcuts behavior (https://github.com/mozilla-mobile/fenix/pull/4552) 2019-08-06 08:30:15 -07:00
ekager
1034671723 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4495 - Clean up homescreen toolbar focus and content descriptions 2019-08-05 08:58:03 -07:00
Emily Kager
e4ccbeb6ea [fenix] No issue: Fix failing UI tests because of renamed views (https://github.com/mozilla-mobile/fenix/pull/4527) 2019-08-05 10:09:34 -05:00
Sawyer Blatz
190fe7b09b [fenix] No issue: Fixes failing UI test on master 2019-08-01 19:10:51 -04:00
isabelrios
4e2c157646 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4324 - Add more l10n screenshots tests (https://github.com/mozilla-mobile/fenix/pull/4350)
* Fixes https://github.com/mozilla-mobile/fenix/issues/4324 - l10n Add more screenshots tests

* change test name

* final changes

* fixing reviewer comments
2019-08-01 08:35:47 -07:00
Andrey Mukamolov
18bdd3f102 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2142: Added UI test assertion 2019-07-29 09:26:33 -07:00
Richard Pappalardo
1531d6d6ad [fenix] Add taskcluster job for UI tests (https://github.com/mozilla-mobile/fenix/pull/4088) 2019-07-26 08:08:01 -07:00
isabelrios
87ca3f8e45 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4260 - UITests update data collection string (https://github.com/mozilla-mobile/fenix/pull/4261) 2019-07-24 10:05:28 -07:00
Sawyer Blatz
3636834626 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4091 & Fixes https://github.com/mozilla-mobile/fenix/issues/4092: Resolve issues with Search UI tests (https://github.com/mozilla-mobile/fenix/pull/4224) 2019-07-23 09:30:57 -07:00
isabelrios
0dab6ec592 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4094 - Improved original PR to fix screenshots tests API21 (https://github.com/mozilla-mobile/fenix/pull/4144)
use robot for three dot menu screenshot
2019-07-22 09:58:53 -07:00
Richard Pappalardo
ebd2e02a60 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/4094 - Fix screenshots tests on API 21 devices (https://github.com/mozilla-mobile/fenix/pull/4108)" (https://github.com/mozilla-mobile/fenix/pull/4138)
This reverts commit d6850b82e31d414df97cb9462a9716ba43bb64f1.
2019-07-17 14:58:12 -07:00
isabelrios
23928ccf36 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4094 - Fix screenshots tests on API 21 devices (https://github.com/mozilla-mobile/fenix/pull/4108)
fix ktlint error
2019-07-17 14:27:59 -07:00
Aaron Train
f1fefba0a9 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/3977: Add basic navigational UI tests (https://github.com/mozilla-mobile/fenix/pull/3978)
- Adds UI tests (and assets) for basic navigation

fix: review changes

fix: linter cleanup

fix: detekt cleanup

fix: adjust wait approaches
2019-07-16 13:02:12 -07:00
Sawyer Blatz
f428d7a545 [fenix] No issue: Speed up onboarding UI test (https://github.com/mozilla-mobile/fenix/pull/4061) 2019-07-15 17:02:55 -05:00
Sawyer Blatz
da7f3ddb75 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4027: Adds search fragment UI tests (https://github.com/mozilla-mobile/fenix/pull/4033) 2019-07-15 14:25:31 -07:00
Sawyer Blatz
e3ae3bf145 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4032: Fixes broken homescreen UI tests (https://github.com/mozilla-mobile/fenix/pull/4011) 2019-07-12 16:19:08 -07:00
Tiger Oakes
8d3020ebcf [fenix] No issue: Normalize license header comment (https://github.com/mozilla-mobile/fenix/pull/3909) 2019-07-12 11:38:15 -07:00
Richard Pappalardo
4bcbc91e9e [fenix] Update HomeScreenTest and add first run (https://github.com/mozilla-mobile/fenix/pull/3951) 2019-07-09 14:52:15 -07:00
kglazko
e8acfc56b4 [fenix] Adding l10n screenshot tests for Fenix (https://github.com/mozilla-mobile/fenix/pull/3562)
* Adding l10n screenshot tests for Fenix

* fixing comments

* fix klint and detekt error and adding all tests

* better test name and doc added explaining tests
2019-07-08 11:00:29 -05:00
Richard Pappalardo
623407a92f [fenix] Update HomeScreenTest (https://github.com/mozilla-mobile/fenix/pull/3882) 2019-07-05 10:38:09 -07:00
Richard Pappalardo
ce9ac9e988 [fenix] Add automated UI test for main three dot menu (https://github.com/mozilla-mobile/fenix/pull/2540) 2019-05-15 17:32:25 -07:00
Kevin Brosnan
3f181f63c9 [fenix] UI tests for the home screen 2019-04-16 13:38:06 -07:00
Emily Kager
59b0b3015d [fenix] Remove test imports 2019-03-01 17:48:44 -08:00
Colin Lee
c0a89dc3c1 [fenix] Make ktlint and detekt style changes 2019-01-30 11:08:25 -06:00
Jeff Boek
06f1bf6471 [fenix] Initializes Android project
Co-authored-by: Colin Lee <mncolinlee@gmail.com>
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
Co-authored-by: Emily Kager <emilykager@gmail.com>
2018-12-07 15:25:38 -05:00