Commit Graph

312 Commits

Author SHA1 Message Date
AndiAJ
eb910ff5e8 For #16615: UI Smoke Tests for Bookmarks
For #16615: UI Smoke Tests for Bookmarks
2021-01-18 14:55:05 +02:00
Oana Horvath
58cefbbb94 For #16615: Collections UI smoke tests 2021-01-18 10:08:43 +02:00
isabelrios
d8584ed632
Changes to run tests on beta builds (#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
7983a7fc89 For #16615: UI smoke test editCustomSearchEngineTest 2021-01-13 14:39:20 +02:00
AndiAJ
fc964862e0 For #16615: UI Smoke Tests for Recently Closed Tabs 2021-01-12 14:38:09 +02:00
Oana Horvath
7ac4af46bc For #10798 & #14526: Apply auto-download test file fix for download UI tests 2021-01-11 18:42:11 +02:00
Oana Horvath
23789c86c4 For #16615: UI smoke test manageDownloadsInDownloadsMenuTest 2021-01-11 18:42:11 +02:00
Oana Horvath
d7a35ed6bd For #16966: Remove unnecessary step from mainMenuAddToHomeScreenTest 2021-01-05 10:31:59 +02:00
Oana Horvath
095d07598a Code cleanup in BookmarksRobot and BookmarksTest 2020-12-22 11:55:52 +02:00
Christian Sadilek
36a6d364a7 For #17086 #17143: Temporarily turn off Nimbus 2020-12-21 10:45:03 -05:00
Oana Horvath
0a0dbeb132 Added a description to each smoke test 2020-12-17 14:47:07 +02:00
Oana Horvath
b0277c3f39 For #16615: UI smoke test noCrashWithAddonInstalledTest 2020-12-17 14:47:07 +02:00
Oana Horvath
f24c6e1316 For #16615: UI smoke test redirectToAppPermissionsSystemSettingsTest 2020-12-16 10:32:04 +02:00
Oana Horvath
9d5ec47ec3 Fix #16960 & #16959: updateSavedLoginTest, swipeToSwitchTabTest UI smoke tests 2020-12-10 17:09:42 +02:00
Oana Horvath
80ad6dea32 For #16615: UI smoke test updateSavedLoginTest 2020-12-08 13:46:40 +02:00
Oana Horvath
5e046c8f04 For #16615: UI smoke test startBrowsingButtonTest 2020-12-08 13:46:40 +02:00
Oana Horvath
7a08175568 For #16615: Smoke UI test swipeToSwitchTabTest 2020-12-04 18:49:28 +02:00
Oana Horvath
8a579ee62b For #16838: deleted mainMenuOpenInAppTest 2020-12-03 18:47:02 +02:00
Oana Horvath
5867d2830a Split UI smoke tests into smaller tests 2020-12-02 16:06:26 +02:00
Oana Horvath
c8f8e2e665 Updates to UI tests using the modified recyclerViewIdlingResources minItemCount 2020-11-27 15:08:32 +02:00
Oana Horvath
894b25855e For #16615: UI smoke test toggleSearchSuggestions 2020-11-27 15:08:32 +02:00
Oana Horvath
2d652acbf2 For #16615: UI smoke test addPredefinedSearchEngineTest 2020-11-25 13:32:31 +02:00
Sebastian Kaspari
2b759e9d6f Integrate new search code from Android Components into Fenix. 2020-11-20 17:45:45 +01:00
jhugman
9cdfb6db4a
Nimbus Global Opt Out (#16543) r=gl 2020-11-19 11:17:25 +00:00
Oana Horvath
2d6d49324e For #16615: UI smoke test firstRunScreenTest 2020-11-18 09:30:40 +02:00
Michael Comella
72ab058551 For #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
54c7dc70e7 For #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
b0a1e0884e For #16376: test view hierarchy depth in StartupExcessive*Test. 2020-11-13 15:39:06 -08:00
Oana Horvath
10dadb838e Closes #12899: fixed UI test for ETP off 2020-11-13 13:00:46 +02:00
ekager
1ed9ebf622 For #16132 - Rename normal mode menu item, remove telemetry 2020-11-12 09:11:16 -08:00
Oana Horvath
ae407a7367 Closes #13217: fixed UI test for main menu items 2020-11-12 16:33:54 +02:00
Oana Horvath
5e745d0bc3 For #15847: use Espresso's RecyclerView scrollTo action 2020-11-06 15:28:31 +02:00
Michael Comella
c96e16112f For #15279: add component init count to StartupExcessiveResourceUseTest. 2020-11-05 07:48:17 -08:00
Mugurell
172977f698
For #14980 - Effectively disable tabs tray STATE_HALF_EXPANDED (#16052)
STATE_HALF_EXPANDED cannot be disabled while also keeping fitToContents = true
based on which the tabs tray layout is currently set.
To work around this we'll set a a minuscule height for the tab tray when in
this state and then immediately advance to STATE_HIDDEN so to make it
imperceptible to the users.
Since I couldn't write unit tests because of InflateExceptions in Robolectric
I've written UI tests to protect against regressions.
2020-11-04 11:22:46 +02:00
Oana Horvath
c3204b7644
For #15847 - Disables verifyAboutFirefoxPreview UI test (#16346) 2020-11-03 15:31:36 -05:00
Oana Horvath
4ff2635423 For #13446 UI tests: wait for historyList to exist 2020-11-03 10:59:33 +02:00
Michael Comella
bff8a0d6a7 No issue: make StrictMode suppression count thread safe. 2020-11-02 15:37:04 -08:00
MarcLeclair
7b1af41b40
15278 detekt rule runblocking (#15942)
* For #15278: added CoroutineManager to count runBlocking calls

* For #15278: Added actual detekt rule for runblocking and its config to the yaml

* For #15278: Added unit test for RunblockingCounter

* For #15278: renamed StrictModeStartupSuppressionCountTest.kt to PerformanceStartupTest.kt and added runBlockingCount test

* Lint fix

* For #15278: made runblocking a Long to prevent overflow

* For #15278: fixed MozRunblocking name, description and moved RunBlockingCounter to perf package

* For #15278:Renamed MozillaRunblockingCheck to MozillaRunBlockingCheck

* For #15278: Added setup for unit test, since it failed without restting counter

* For #15278: Fixed naming for RunBlocking lint check

* For #15278: removed changes made to test to use runBlockingIncrement

* For #15728: added test exclusion for runBlocking check

* For #15278: changed null check and added Synchronized to count setter

* For #15278: fix for nits

* For #15278: added StartupExcessiveResourceUseTest to CODEOWNERS

* For #15278: fixed for nits

* For #15278: Moved increment function to extension function and fixed indentation

* For #15278: Added tests for Atomic Integer extension and nit fix
2020-11-02 12:49:17 -05:00
Gabriel Luong
66210469c0
For #9548 - Ability to rename top sites (#16285)
* Ability to rename top sites, closes #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
e36e61b2c3 For #10690: re-enable editBookmarkTest 2020-10-28 16:09:52 +02:00
Aaron Train
b8fff8cef1
For #8169 - Upgrade Mockwebserver (#16186)
Upgrades Mockwebserver to 4.9.0
2020-10-27 10:19:24 -04:00
ekager
d5cb9c599c
For #15910 - Adds back automatic toggle, disables slider when enabled (#16070) 2020-10-21 12:20:04 -04:00
Mihai Adrian Carare
b1bc024ff5
For #11631: Move report site issue extension to main menu. (#15884)
* For #11631: Move report site issue extension to main menu.

* For #11631: Update UI test for installing add-on.
2020-10-20 09:34:54 +03:00
mcarare
edd613ace2 For #15688: Update UI tests. 2020-10-19 17:45:46 -07:00
Shen
45e3f7805b For #13168 - Removed the close button from history navigation bar 2020-10-09 20:33:37 -04:00
ekager
881e3d6ccd For #14923 - Removes auto size preference toggle 2020-10-09 15:04:57 -07:00
Jonathan Almeida
666781aa62 Fix lint warnings and test in site permissions 2020-10-08 19:37:56 -04:00
Gabriel Luong
5153a3f2c5 For #15115 - Part 9: Fix ui tests for the tabs settings 2020-10-08 12:50:43 -04:00
Jonathan Almeida
ee673348bf Issue #15754: Disable failing notification UI tests 2020-10-07 20:01:35 -04:00
Michael Comella
4302cd20b2 For #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