Commit Graph

688 Commits (84cf2472a82237b931aaa808654d14547e9935d7)

Author SHA1 Message Date
Noah Bond 157acdf7fc For #23159 - Created setting to turn off the Contile feature 3 years ago
Oana Horvath 02d62c8591 For #21002: improve Manage Downloads smoke tests coverage
Add parametrized test for downloading various file types
3 years ago
Christian Sadilek 12a9071fc4 Issue #22256: Ignore intermittent editCustomSearchEngineTest 3 years ago
mcarare 2577e07aff For #22559: Update leak canary version to 2.8.1 3 years ago
Brais Gabín 7ec31a25c4 For #23142 - Fix license formatting in tests 3 years ago
Aaron Train 8edd3f9fa1
No issue: Try out RetryTestRule in SmokeTest UI test class (#22868)
* Add RetryTestRule to SmokeTest UI tests

* fix: newline in RetryTestRule.kt

fix: switch off generic Throwable

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Matt Tighe db71d8dfe7 fixes #22889: add bottom spacer to onboarding adapter 3 years ago
Gabriel Luong 378f19eb59 For #22741 - Remove all unused strings marked moz:removedIn <= 94 3 years ago
Christian Sadilek 28222df29c Fix BrowserRobot.goToHomescreen to wait for home screen to be rendered
It was previously just waiting for the application to be idle, which
is not a reliable check in case the navigation to home is triggered
on completion of an async operation i.e., the app / main thread may
be idle, but the navigation to home hasn't completed yet.

goToHomeScreen further needs to wait for the browser fragment's
home button to exist before clicking it.
3 years ago
Andrei Joltan ee9eab0d8c
[UI Smoke Tests] New undoDeleteBookmarkFolderTest UI test and Improve coverage for deleteNonEmptyBookmarkFolderTest UI test (#22587)
* New undoDeleteBookmarkFolderTest smoke UI test

* Improve coverage for deleteNonEmptyBookmarkFolderTest UI smoke test

Co-authored-by: AndiAJ <andiaj@users.noreply.github.com>
3 years ago
Oana Horvath b1dab8170c For #21002: Add testETPOffGlobally UI smoke test 3 years ago
AndiAJ cb48ff7882 Refactor recently closed tabs UI smoke tests 3 years ago
AndiAJ f6caf507fd Move verifyRecentlyClosedTabsListTest UI test from SmokeTest class 3 years ago
AndiAJ 0ac7bc80ab Disable failing verifyUndoSnackBarTest UI test 3 years ago
Mugurell 5c3fedd707
For #22534 - Show history highlights and groups in "Recently visited" (#22535)
* For #22534 - Update homescreen section name to "Recently visited"

* For #22534 - Show both history highlights and groups in Recently visited

For now the metadata groups don't support scoring so as an interim solution we
will show up to 9 items, evenly distributes, first favoring groups sorted by
date then history highlights pre-sorted by default.

Tapping a history highlight will switch to it's already open tab if available
or create a new one in which to load it if needed.

A "Remove" option will also be available for history highlights to remove it
from the screen and also from history.
Currently removing a group / highlight will not query new ones to again show up
to 9 items, this will be implemented separately.

* For #22534 - Rename and refactor historymetadata to recentvisits

The updated feature supports more than history metadata so updating the overall
naming scheme seems needed.
To signal that this is a homescreen feature the entire package is moved to home

* For #22534 - Update UI tests to account for the new items space on the screen

Saw failures about not finding the collection section on screen.
This is probably happening because w are now adding the recent visits to
homescreen above the collections section pushing it off screen.

Since the collections might be obstructed by the toolbar shown on top as a
quick solution we'll scroll to the next homescreen section so that the
collections will be shown above in their entirety.

* Update app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

* Update app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
AndiAJ 45f1666c6f New text search UI smoke tests 3 years ago
AndiAJ c9303f44b4 Improve expand/collapse collection UI test coverage 3 years ago
AndiAJ 5934c7d6b2 Improve collection deletion UI coverage 3 years ago
Oana Horvath aff3e4b9dd For #21002: improves the share tabs smoke tests coverage 3 years ago
AndiAJ 378ac03e30 Improve privateTabsTrayWithOpenedTabTest UI test coverage 3 years ago
AndiAJ ec31faef7a Improve verifyOpenTabDetails UI test coverage 3 years ago
AndiAJ 4261ca7ea6 Refactor and improve coverage for empty tabs tray UI tests 3 years ago
Oana Horvath 4892f0ddbe For #21002: add missing steps to selectSearchEnginesShortcutTest, addPredefinedSearchEngineTest 3 years ago
AndiAJ 2c9efac286 Improve mainMenuAddToHomeScreenTest UI test coverage 3 years ago
AndiAJ e265da0cb4 startOnLastTab UI smoke test 3 years ago
AndiAJ 4ff64ad7ca recentBookmarksOption UI smoke test 3 years ago
AndiAJ eee83c9cbd jumpBackInOption UI smoke test 3 years ago
AndiAJ 7460461e16 startOnHomepageTest refactoring work 3 years ago
Roger Yang 24e4452cb5 Close #22402: Add top placeholder for home 3 years ago
AndiAJ f91285881d Improve homeThreeDotMenuItemsTest UI test coverage 3 years ago
Arturo Mejia 94a543a403 For #22271 Improve URL accessing from the clipboard for Android 12 and above. 3 years ago
Oana Horvath ba91180e85 No issue: creates new SmokeTest annotation.
Updates smoke tests list according to the ones in TestRail.
3 years ago
AndiAJ 1ade096145 For #22256 re-enable editCustomSearchEngineTest UI test 3 years ago
AndiAJ f4e7547190 Improve verifyEmptyTabTray Ui test coverage 3 years ago
Grisha Kruglov 81b70122d4 No issue: rename test resource file that was causing issues on Windows 3 years ago
mike a d69b5ed456 For #21816: Filename in "Open" PDF dialog overflows screen
Changing the download file name length to the max allowed by AS (251 char, won’t compile if more; max would be 260 for latest windows versions, but generally it is 255), and changing the UI test to check if the long file name is fully visible.
Changing the downloaded dialog layout to properly display really long file names.
3 years ago
Oana Horvath 4d88c521ac For #22304 & #22256: Disabled failing visitedUrlHistoryTest & editCustomSearchEngineTest tests 3 years ago
AndiAJ 1066acbe1e Improve deleteBookmarkInEditModeTest UI test coverage 3 years ago
AndiAJ ff0befdd1d Improve coverage for cancelCreateBookmarkFolderTest UI test 3 years ago
AndiAJ 979d8a79cd For #18421 re-enable verifyContextOpenImageNewTab, verifyContextOpenLinkNewTab & verifyContextOpenLinkPrivateTab UI tests 3 years ago
Oana Horvath cee72a965b For #21397: disabled homescreen features to improve collections visibility 3 years ago
Oana Horvath f6b83e37b1 For #15624 & #17484: improves tab drawer locator & avoids homescreen refreshing 3 years ago
AndiAJ 71d151ef18 For #18421 re-enable verifyContextCopyLink and verifyContextCopyImageLocation UI tests 3 years ago
AndiAJ 4fe8921a82 For #18421 fix and re-enable verifyContextShareLink, verifyContextSaveImage and verifyContextMixedVariations UI tests 3 years ago
Gabriel Luong b54698a3f2 For #21776 - Class member can have 'private' visibility 3 years ago
AndiAJ 6149f9faf8 Use identifiers instead of hard coded strings 3 years ago
AndiAJ d3651eb0fc For #21747 re-enable start on homepage UI test and refactoring work 3 years ago
AndiAJ b10835992d For #21754 re-enable general settings UI test and refactoring work 3 years ago
AndiAJ 4c343b8b3a For #21004 fix and refactor verifyBasicNavigationToolbarFunctionality UI test 3 years ago
Oana Horvath 52facc9723 For #21628: catch ComposeNotIdleException 3 years ago
Oana Horvath 1234d8f518 For #22095: fix intermittent click failure in verifyRateOnGooglePlayRedirect UI test 3 years ago
Oana Horvath 34ca959661 For #20754: fix intermittent click failure in verifyAboutFirefoxPreview test 3 years ago
Andrei Joltan 3af6abff18
For #22065 fix flaky privateTabsTrayWithOpenedTabTest UI test (#22068)
Co-authored-by: AndiAJ <andiaj@users.noreply.github.com>
3 years ago
AndiAJ 560de4f396 For #21207 fix flaky updateSavedLoginTest UI test 3 years ago
Arturo Mejia 846aefc0f4 For #21723 Align the default value of the custom cookie setting with the UI 3 years ago
AndiAJ 9a3e94eb31 Improve tabsSettingsMenuItemsTest UI test coverage 3 years ago
AndiAJ db2946c78a Fix for ambiguous tabstray_title and with text matcher for audio page 3 years ago
AndiAJ 198f407dd2 For #21769 fix flaky tabMediaControlButtonTest Ui test 3 years ago
Gabriel Luong 0b17b443dc For #21760 - Remove some unused resources 3 years ago
AndiAJ 671dfa59c2 For #21540 fix and re-enable editCustomSearchEngineTest 3 years ago
AndiAJ 58e12b18e6 Disable editCustomSearchEngineTest UI test 3 years ago
AndiAJ 979d99342b For #21620 fix for disabled toggleSearchSuggestions UI test 3 years ago
AndiAJ 64d010dcc8 For #19016 re-enable changeThemeSetting Ui test 3 years ago
AndiAJ c3fdf35c6d For #21540 fix disabled editCustomSearchEngineTest 3 years ago
Oana Horvath e3266ca6e0 For #21006 & #21005: fixed ETP status info display 3 years ago
AndiAJ 2eae152beb Remove openNewTabAndEnterToBrowser() and replace it with enterURLAndEnterToBrowser() in the UI tests 3 years ago
AndiAJ 19c4186f0a Remove closeTabViaXButton() and replace it with closeTab() in the UI tests 3 years ago
AndiAJ c9ca6f01b5 Fix for ambiguous mozac_browser_tabstray_close and with content description 3 years ago
AndiAJ 66ac309d40 Fix for ambiguous tabstray_title and with text 3 years ago
AndiAJ 8d7e5dd4b7 Fix for ambiguous tabstray_close 3 years ago
AndiAJ 681fc216ac Fix for ambiguous tab_item 3 years ago
Noah Bond 1f97ca6ce6
For #21437 - Relocated Home-related settings to its dedicated sub screen (#21722)
* For #21437 - Relocated Home-related settings to its dedicated sub screen

* For #21437 - Updated show top sites toggle text

* PR: Fixed lint warning. Reverted preference keys

* PR: added ignore for UI test

* PR: Added ignore for UI test
3 years ago
Arturo Mejia 0f07703c3e For #21611: Show the jump back in Contextual Hints independently of the home onboarding dialog. 3 years ago
AndiAJ 8a8bbd9517 For #20814 fix flaky tabMediaControlButtonTest UI test 3 years ago
AndiAJ 84c61e24a7 For #21644 fix disabled alwaysStartOnHomeTest UI test 3 years ago
Noah Bond aa28b6f142
For #21360 - Added toggle for search term tab groups (#21615)
* For #21360  - Added toggle for search term tab groups

* For #21360 - Lint cleanup

* PR: Added missing licenses and possibly fixed UI test

* PR: Added a "scrollTo" to potentially fix a UI test

* PR: Added potential fix for alwaysStartOnHomeTest

* PR: Added temporary ignore to alwaysStartOnHomeTest

* PR: added missing ignore comment

* For #21360 - Added missing feature flag driven visibility logic

Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Oana Horvath a4a04173cc For #21540, #21620: disables failing UI tests 3 years ago
Oana Horvath 526501160c For #21441, #21477, #21500, #21499 #21476, #21474: retry dismissing the search bar 3 years ago
Roger Yang 920376ee5b Close #21610: Update Strings for Tab Settings 3 years ago
Aaron Train 2bde49f911 No issue: Fix AssertionError in openThreeDotMenu
fix: ktlint
3 years ago
AndiAJ f72ab0a4f3 For #21540 fix flaky editCustomSearchEngineTest UI test 3 years ago
Andrei Joltan d30583e0e7
For #21442 fix flaky deleteMultipleSelectionTest UI test (#21563)
Co-authored-by: AndiAJ <andiaj@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Roger Yang ddd472d143 No issue: Improve rendering of jump back in 3 years ago
AndiAJ 37e342fd92 For #21478 fix flaky verifyOpenTopSiteNormalTab UI test 3 years ago
Oana Horvath 0ac23486c1 Fixed verifyAboutFirefoxPreview test according with new steps 3 years ago
Oana Horvath 1015072db6 Fixed disabled UI test openExternalLinksInPrivateTest 3 years ago
Elise Richards 777f2d1f12
For #21339: update styles for homescreen show all buttons and jump back in spacing (#21342)
For #21339: Add ignores for intermittent ui tests

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
AndiAJ bf3b669151 Delete browsing data tests UI tests 3 years ago
AndiAJ 06292ac8d6 Fix disabled toggleSearchSuggestions UI Tets and refactoring work 3 years ago
Arturo Mejia f15291757b For #21493 show onboarding dialog for home sections 3 years ago
AndiAJ 10f2074749 Fix disabled shortcutButtonTest UI test 3 years ago
Aaron Train 1418d3f2bd Closes #21441: Fix changeAccessibiltySettings 3 years ago
Oana Horvath 43d1cb233e For #17847: adding back editCustomSearchEngineTest UI test 3 years ago
AndiAJ d534adc932 Improve coverage verifyEmptyBookmarksMenuTest and undoDeleteMultipleSelectionTest UI tests 3 years ago
AndiAJ 3ad0ec1302 Fix for disabled saveLoginFromPromptTest 3 years ago
Oana Horvath 83e3e0b19d No issue: re-enabled swipeToSwitchTabTest 3 years ago
Aaron Train 87e4a250f1 Various UI test fixes and disabling of intermittents 3 years ago
Sebastian Kaspari cd61ef1c1d Issue #21172: Refactor UI tests accessing awesomebar suggestions. 3 years ago
Gabriel Luong 2ae7d5d593 For #20893 - Search term groups in history 3 years ago
AndiAJ 391ff6b5fd Exit onboarding tour UI tests 3 years ago
AndiAJ d4ce149c3e Improve coverage for verifyAboutFirefoxPreview 3 years ago
Gabriel Luong 66a31ddbfc Issue #21099 - Update items under "Jump back in" section to the latest designs 3 years ago
AndiAJ abc881f9f8 New deleteBookmarkInEditModeTest UI test 3 years ago
AndiAJ 9546e50451 Improve coverage for copyBookmarkURLTest 3 years ago
AndiAJ d33df2bedd Improve coverage for addPrivateBrowsingShortcut Ui test 3 years ago
AndiAJ fc806283a5 For #21133 fix openMainMenuSyncItemTest UI test 3 years ago
Michael Comella d4b13ce519 For #21183: remove view hierarchy depth check from excessive resource test.
This doesn't seem to be a high value test: increasing the view hierarchy
depth will only result in a performance problem on low end devices
if there is enough content on the new layer to cause the traversal to
take longer. It's more likely to result in a hard-to-workaround false
positive so we can remove it, like component init count.
3 years ago
Michael Comella 09fe569b30 For #21183: remove component init check from excessive resource test.
This check doesn't seem high value because initializing a component
only indicates a performance problem if it's slow, which is not most
components, so it's likely to result in many false positives. To fix
the intermittent, we won't lose much if we remove it.
3 years ago
Michael Comella 951e49fec4 For #21138: change EXPECTED_RUNBLOCKING to range.
Compared with my local runs, CI sees +1 runBlockingIncrement calls so seems to
take other code paths. As such, we search for a range of rather than a single
value. The main downside I can think of is this could make the test trickier to
debug but we can wait and see if that's a problem in practice before taking
action on it.
3 years ago
Michael Comella 0014f94176 For #21138: re-enable excessive resource use test.
This test wasn't running in CI
https://github.com/mozilla-mobile/fenix/issues/20386 so we changed the
CI configuration so that it will. However, the test was then failing so
this is the revision that unignores the test.

I wonder if componentInit count is useful - it seems like it'd cause
more false positives than not - but I figure we can leave it in and see
how it goes.
3 years ago
Gabriel Luong 4080eba225 For #21037 - Add a delete history menu item
This removes the existing "Delete history" button in the History in favour of a menu item
3 years ago
AndiAJ dd889d8c0d For #21002 update and add missing tabs setting validations 3 years ago
Oana Horvath fe8f4be9b9 For #20702: fix tests flakiness 3 years ago
Oana Horvath a7c45425d7 For #21002: added page main menu items tests 3 years ago
Mugurell 621c388c12 For #17917 - Finish migrating all synthetics usages 3 years ago
Oana Horvath 84767f84ea For #20716: re-enables mainMenuInstallPWATest UI test 3 years ago
Oana Horvath 9920cbeb1d For #20868, #18764: Update Tracking Protection UI tests 3 years ago
Roger Yang c9b2f9e866 Issue #2783: Add snackbar to collection deletion 3 years ago
codrut.topliceanu 77e12f9014 For #20716 - Disables Intermittent failing UI test 3 years ago
Roger Yang 64cd72871f Update Android Components version 3 years ago
Arturo Mejia fd8e6a9c27 For #19886 fix ui tests 3 years ago
Gabriel Luong 4b2b058b4e For #19886 - Remove tracking protection overlay CFR 3 years ago
Aaron Train 5ff2c21849
Filter out test target packages in Flank-x86 (#20841)
* Filter out test target packages in Flank-x86
* Ignore verifyRunBlockingAndStrictModeSuppresionCount
3 years ago
Elise Richards 7fdad978a3
For FNXV2-17067: always show home in background behind search dialog (#20573)
* Navigate to home on toolbar click. Handle back press from search dialog

Update tests to show home behind search dialog. Remove unused test.

Jump back in show all button is clickable behind search dialog

Recently saved bookmarks show all button is clickable behind search dialog

* Add feature flag

* Past explorations show all button is clickable behind search dialog

Handle keyboard in controllers instead of viewholders. Update tests.

Allow collections to be visible behind search dialog

Dismiss keyboard and search dialog with navigateUp instead of just dismissing the keyboard

Verify navigateUp in tests

Adding ignore for flaky UI test

Only resize home behind search dialog

Add ignore for collection intermittent test

Cleanup
3 years ago
AndiAJ 7a02db22c3 Start on home UI tests 3 years ago
Sebastian Kaspari 1cc4ae9ab2 Fix UI tests: SettingsPrivacyTest, DeepLinkTest. 3 years ago
Sebastian Kaspari 7fed8b4ab5 Add preference for enabling/disabling Android Autofill from within the app. 3 years ago
Sebastian Kaspari 971b419d77 Run ktlintFormat to adapt to latest formatting rules. 3 years ago
Michael Comella f7b85a6e95 Closes #20540: always swipe twice to openSettings in ThreeDotMenuMainRobot. 3 years ago
Oana Horvath f37abbe4ae For #20297: close tab to avoid saving the same tab to collection 3 years ago
Mugurell 52e152300d For #20420 - Re-enable shortcutButtonTest
The issue affecting this was resolved in AC.
3 years ago
Michael Comella 6d609bc651 For #19901: integrate Jetback Benchmark (microbenchmark). 3 years ago
Mugurell 094413578c For #20420 - Temporarily disable SearchTest#shortcutButtonTest 3 years ago
Sebastian Kaspari 8b5aef7def Update Kotlin to 1.5.10 (and Coroutines to 1.5.0). 3 years ago
Oana Horvath 81849ec6d0 No issue: adds warning comment to beta & release running tests 3 years ago
Oana Horvath df960c4187 For #10915: fix tests by removing existing session 3 years ago
Oana Horvath ea3e4c9956 No issue: New UI smoke test for the Language menu 3 years ago
Roger Yang e69f3dfbbb Closes #19090: Show snackbar on adding to bookmarks from tabs tray 3 years ago
Oana Horvath d20bebc2a3 For #20000: Re-try swipe on collection items 3 years ago
Arturo Mejia 1d76bc7ca2 For #19922 Update the default autoplay setting to be block audio only 3 years ago
Jonathan Almeida 854da1ac9d Issue #20053: Disabling collection smoke tests temporarily
The changes from #19090 did not fix the issue consistently, and are
causing failures intermittently on-unrelated PRs.

Disabling these tests again until we have another fix for #19090.
3 years ago
AndiAJ 78edf06a7a Text selection tests 3 years ago
Oana Horvath 6278a2b07d For #19090: Re-enable createFirstCollectionTest, shareCollectionTest, deleteCollectionTest 3 years ago
Oana Horvath c5962b2502 For #10587: Fix and re-enable old CollectionTest.kt 3 years ago
AndiAJ 51517bea7e For #19585: disables failing restoreTabCrashedReporterTest UI test 3 years ago
Oana Horvath 1e05e23b23 For #18986: re-enable changeAccessibiltySettings UI test, not failing anymore 3 years ago
Oana Horvath 597c8812f4 Changes to #17416, #19686, #19770 UI smoke tests to remove flakiness 3 years ago
Roger Yang 2e4635334a
Closes #19090: Show snackbar on adding to bookmarks from tabs tray (#19807) 3 years ago
Jonathan Almeida 811dd3e618 Issue #19809: Change default tab tray view to grid layout 3 years ago
Oana Horvath f901f7e92f For #18647: Fixed and re-enabled customTrackingProtectionSettingsTest UI test 3 years ago