Commit Graph

778 Commits

Author SHA1 Message Date
Pg
9cf42cb7d9 For #11404 - Create open all function
- Create element to be displayed

- Update the interface and bind in the view holder
Set the filter to limit this action to FOLDER.

- Create core function
Main logic is done on the controller (has it should be done). The whole
process is done in one coroutine to be non-blocking as many
(sub)folders & links can be present. If folder is empty, a toast is
displayed. Else iterate on items. When item is:
- a FOLDER -> restart process (without toast) on the folder
- a ITEM -> open it
- a SEPARATOR -> do nothing
Once finished, show the tabs tray.

Toast message is defined in fragment to have access to context.

- Create androidTest for openAllInTabs
- Create tests for handleBookmarkFolderOpening
- Display 'open all' options only if folder has at least on child:
A coroutine and suspended functions have to be used, since `getTree`
is async.
2022-09-19 14:25:16 -04:00
AndiAJ
400a2a60d1 For #26286 new homepage settings UI tests 2022-09-19 15:09:42 +00:00
AndiAJ
af1fbd5eeb For #26784 refactor use of idling resources in UI tests 2022-09-15 14:27:25 +00:00
AndiAJ
43b6445b46 For #27002 use featureSettingsHelper instead of app settings 2022-09-15 13:01:53 +00:00
AndiAJ
7193e4e637 For #26286 new sponsored shortcut UI tests and other refactoring work 2022-09-15 08:35:11 +00:00
Aaron Train
0f4d711083 Update SmokeTest.kt
Disabled selectAllAndCopyTextTest()
2022-09-15 02:47:12 +00:00
Aaron Train
51c314e262 Disable copyTextTest in SmokeTest.kt
See https://github.com/mozilla-mobile/fenix/issues/26884
2022-09-15 02:47:12 +00:00
Mugurell
8af2ee8aa9 For #26884: Properly disable the jumpBackIn and TCP CFRs in BookmarksTest 2022-09-14 15:22:47 +00:00
Mugurell
5010aa7d0d For #26884: [UI tests] Reset modified settings just before the Activity finishes
This should prevent issues with the cleanup being done earlier (even in @After)
and affecting the behavior of the Activity which is still running.
With this issue fixed I've re-enabled verifyCustomizeHomepageTest.

Because when FeatureSettingsHelper is instantiated it caches the settings
values from that instant it's important to only use one instance of it so I've
updated all tests that are using HomeActivityTestRule.
HomeActivityIntentTestRule may be updated with a similar functionality later.
2022-09-14 15:22:47 +00:00
Aaron Train
4e99fe8521
For #26792 - Change active Firebase Test Lab emulator from x86 to ARM (#26793)
* For #26792 - Change active Firebase Test Lab emulator from x86 to ARM

Update startup-test kind.yml Jobs for ARM
Update ui-test kind.yml Jobs for ARM
Cleans up and renames Flank configurations for ARM
Updates ui-test.sh for ARM

* Fix BookmarksTest.kt and HomeScreenTest.kt

* Fix intent matcher for SettingsAboutTest

Adds a helper function for Play Store intent

* Fix SettingsSearchTest.kt

* ktlint fix TestHelper.kt and SettingsRobot.kt
2022-09-14 16:42:25 +02:00
mike a
65bee4bb27 Closes #26750: add Wallpapers Onboarding dialog 2022-09-12 23:21:25 +00:00
AndiAJ
27e2402429 For #26932 disabled failing verifyCustomizeHomepageTest UI test 2022-09-12 14:51:25 +00:00
AndiAJ
aef6c0a5e4 For #26286 new site security quick settings UI tests 2022-09-12 09:34:52 +00:00
Christian Sadilek
a4692a67f0 Revert "Closes #26750: add Wallpapers Onboarding dialog"
This reverts commit 05b95b6a97.
2022-09-11 13:25:28 -04:00
Christian Sadilek
7ec570e8b1 Revert "Closes #26750: disable wallpapers onboarding in HomeScreenTest.verifyCustomizeHomepageTest"
This reverts commit 72d7264201.
2022-09-11 13:25:28 -04:00
mike a
72d7264201 Closes #26750: disable wallpapers onboarding in HomeScreenTest.verifyCustomizeHomepageTest 2022-09-09 23:30:31 +00:00
mike a
05b95b6a97 Closes #26750: add Wallpapers Onboarding dialog 2022-09-09 23:30:31 +00:00
mcarare
ffcef5ff2e For #26844: Fix ktlint issues and remove them from baseline. 2022-09-09 16:52:09 +00:00
sarah541
adb7f7d48a For #26731 - First run onboarding updates 2022-09-07 22:36:25 +00:00
Noah Bond
b1369a5de8 For #26606 - Add backplating to Top Sites 2022-09-06 17:48:02 +00:00
AndiAJ
26a8f02233 For #26286 new home screen UI tests 2022-09-05 10:10:27 +00:00
sv-ohorvath
df9c60b392 Issue #26711: Disable verifyPageMainMenuItemsTest UI test 2022-09-02 11:08:59 +00:00
sv-ohorvath
0a2d1c63f1 Issue #26286: adds UI test for the Language menu 2022-09-02 11:08:59 +00:00
Aaron Train
a719d3f764 No issue: Add is Test Lab helper 2022-08-30 18:36:42 +00:00
sv-ohorvath
cad6c64236 No issue: disable TCP CFR in screenshots tests 2022-08-29 15:58:26 +00:00
sv-ohorvath
d49c87f66d Issue #26286: adds delete browsing data UI tests 2022-08-29 14:15:37 +00:00
Noah Bond
bd36b31e5c For #26608 - Update recent bookmarks homepage title 2022-08-25 20:55:50 +00:00
Mugurell
b16e69105c For #26224 - Disable the TCP CFR in failing UI tests 2022-08-25 12:30:10 +00:00
Mugurell
bf23a2a6b9 For #18175 - Add a new total protection ETP cookies policy
This should only add the new option in settings based on a Nimbus experiment.
2022-08-25 10:05:11 +00:00
AndiAJ
c63150332e For #26144 new credit card autofill UI smoke tests 2022-08-24 15:00:23 +00:00
AndiAJ
a4fbf4c1f1 For #26144 new address autofill UI smoke tests 2022-08-24 15:00:23 +00:00
MatthewTighe
299f887953 Add updated wallpaper use cases and activate them with feature flag. 2022-08-22 23:07:14 +00:00
sv-ohorvath
fb8d22e37b Issue #26127, #26092: Ads RetryTestRule to TopSitesTest class, other small refactors 2022-08-19 07:44:18 +00:00
AndiAJ
d7c21755f3 For #26074 fix failing settingsTest screen shot UI test 2022-08-18 16:22:52 +00:00
AndiAJ
96c8bde3fd For #26144 new verifySponsoredShortcutsListTest UI test 2022-08-18 15:07:16 +00:00
Mugurell
edff593ee6 For #26335: Disable tests for the number of inflations.
These fail in Firebase with different values making the test intermittent.
2022-08-18 13:40:09 +00:00
Mugurell
1f562fe927 For #26335: Allow for more inflations in performance tests
The first patch for this enabled the contile feature by default which based on
the automated tests increased the number of inflations done in HomeActivity.
This patch comes to address that by allowing for up to 6 inflations as seen
reported as the actual count in tests.
2022-08-18 13:40:09 +00:00
sunilk9211
db47f4182d For #25985: Remove ability to click the logo to change the wallpaper 2022-08-16 19:11:39 +00:00
sv-ohorvath
cffce104cf Issue ##26361: randomize shortcut titles to avoid data overlapping 2022-08-12 12:26:07 +00:00
AndiAJ
6bab84f565 For #26144 new cancelDeleteAllHistoryTest UI test 2022-08-12 08:15:35 +00:00
AndiAJ
323da3b459 For #26144 refactor deleteAllHistoryTest UI test 2022-08-12 08:15:35 +00:00
isabelrios
33406ac245 use python 3.10 2022-08-11 15:31:37 +00:00
isabelrios
ae21e63f8b For #26390 Upgrade to Python3 2022-08-11 15:31:37 +00:00
MatthewTighe
72959901d8 Fixes #26245: refactor the WallpaperManager as several WallpaperUseCases 2022-08-11 14:56:49 +00:00
Noah Bond
db0162465b For #26289 - Remove search term tab groups metrics and setting 2022-08-08 18:16:33 +00:00
AndiAJ
c356982a4d For #26144 new App-like experience in PWAs UI test 2022-08-04 19:28:09 +00:00
AndiAJ
9a6d7f5bbd For #26286 new verifyRemoveTopSiteFromMainMenu UI test 2022-08-04 14:35:34 +00:00
AndiAJ
7e06d48bcb For #25926 disable failing mainMenuOpenInAppTest UI test 2022-08-04 11:54:48 +00:00
AndiAJ
f239a24d48 For #26286 new undoDeleteHistoryItemTest UI test 2022-08-03 05:51:31 +00:00
MatthewTighe
9fb6eeb8cf Fixes: #26052 remove WallpaperManager::updateWallpaper 2022-08-02 21:33:54 +00:00