Commit Graph

418 Commits (90c9e634afda589b7d4ba384aa63f1b676db42d9)

Author SHA1 Message Date
Michael Comella bff8a0d6a7 No issue: make StrictMode suppression count thread safe. 4 years ago
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
4 years ago
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>
4 years ago
Oana Horvath e36e61b2c3 For #10690: re-enable editBookmarkTest 4 years ago
Aaron Train b8fff8cef1
For #8169 - Upgrade Mockwebserver (#16186)
Upgrades Mockwebserver to 4.9.0
4 years ago
ekager d5cb9c599c
For #15910 - Adds back automatic toggle, disables slider when enabled (#16070) 4 years ago
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.
4 years ago
mcarare edd613ace2 For #15688: Update UI tests. 4 years ago
Sebastian Kaspari 2da24cd91d
Update Android Components, Kotlin, Gradle plugin (#16021)
* Closes #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>
4 years ago
Shen 45e3f7805b For #13168 - Removed the close button from history navigation bar 4 years ago
ekager 881e3d6ccd For #14923 - Removes auto size preference toggle 4 years ago
Jonathan Almeida 666781aa62 Fix lint warnings and test in site permissions 4 years ago
Gabriel Luong 5153a3f2c5 For #15115 - Part 9: Fix ui tests for the tabs settings 4 years ago
Jonathan Almeida ee673348bf Issue #15754: Disable failing notification UI tests 4 years ago
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.
4 years ago
Michael Comella b222376cb0 For #13959: add test to prevent increasing StrictMode suppression count. 4 years ago
Michael Comella c33aafb024 For #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.
4 years ago
Jocelyne 0154c81f81
For #10107: Show Today and Yesterday labels in History (#15415) 4 years ago
ekager 01e802fef0 For #15324 - Show tab settings and recently closed items in menu when no tabs 4 years ago
mcarare cd53b8fdaf For #15130: Remove "what's new card" check in UI test. 4 years ago
Oana Horvath 108666c277 Closes #14524, #12896, #13830: re-enabled strict ETP tests after code bug fix 4 years ago
Oana Horvath abe06da6e2 Closes #13829: Added idling resources to the addon details view" 4 years ago
Oana Horvath 2e38635781 For #13829: Disables verifyAddonsCanBeUninstalled UI test 4 years ago
Oana Horvath 100cc7c088 Closes #14277: Ads idling resources for History UI tests 4 years ago
Oana Horvath cf69058ce8 Closes #12645: Re-enable mediaSystemNotificationInPrivateModeTest 4 years ago
Oana Horvath bf9f6794e9 For #14524: Disable ETP tests failing on AC 58 update 4 years ago
Arturo Mejia 6f5e9bad26
Pin AC TO 57.0.0 and remove feature flag for view downloads (#14592)
* Update Android Components version to 57.0.0.

* Remove feature flag for "View Downloads".

* Update search enginer list from changes by #13452

Co-authored-by: Chenxia Liu <liuche@mozilla.com>
4 years ago
ekager 2d67e4b748 For #4118 - Creates setting for auto closing tabs 4 years ago
Oana Horvath 4a00131fa1 Closes #13218: adds IdlingResources for the Addons list 4 years ago
Oana Horvath 1e7faa693f Closes #14522: item 'Open link in apps' moved 4 years ago
Oana Horvath 9e47d9e70d
Closes #10911: idling resource registration timing issues (#14231) 4 years ago
Oana Horvath 4ebb070ed7 [Ui Tests] Closes #11944: changes the way the system notifications are verified according to their visibility 4 years ago
Jeff Boek 4b997c1334 No Issue - Fixes UI Tests with new search experience 4 years ago
Oana Horvath 92886121fe Closes #13877: shortens closeTabTest to avoid flakiness 4 years ago
Gilbert Gilb's 9430546d12 for #7584 - fix about libraries toolbar theme
fixes #7584 #13970
4 years ago
Elise Richards feae7fff2f
FNX-14498 ⁃ For #9487: improve fxa onboarding manual sign in card (#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
4 years ago
Oana Horvath 0b2e629774
Closes #13219: Changes device long-tap delay before UI tests (#13502) 4 years ago
TejaswiKarasani cd729b39e5
For #112,#145: Verify Search engine can be changed temporarily using Search engine (#13259) 4 years ago
Oana Horvath 4542b4b934
Closes #12778: re-arranged the steps in closeTabTest and closePrivateTabTest (#13810) 4 years ago
Richard Pappalardo 73fb5e6875 fix: disable broken tests 4 years ago
Aaron Train 25cd1dbac2
No issue: Remove unused import in SettingsAddonsTest (#13345)
Fixes lint-ktlint error on master https://github.com/mozilla-mobile/fenix/runs/954237630
4 years ago
Kadeem M 60526dffd8
Fix failing verifyAddonsCanBeUninstalled test (#13319) 4 years ago
Aaron Train b9391c141b For #13218: Fix settingsAddonsItemsTest 4 years ago
Richard Pappalardo 0e0183aa24
Disable flaky tests: settingsAddonsItemsTest, verifyAboutFirefoxPreview (#13286)
* fix: disable intermittent failing UI tests

* fix: add dependency
4 years ago
ekager f663129632 For #6313 - On first load, hides engineView until firstContentfulPaint 4 years ago
Oana Horvath 1e806b25c1
Closes #12893: fixed deleteAllHistoryTest (#13255) 4 years ago
Oana Horvath 6f5f8cc5aa For #13220, #13217: Disables failing UI tests 4 years ago
Aaron Train 5b997ff1d8 Closes #13021: Fix verifyAboutFirefoxPreview UI test 4 years ago
Roger Yang b7fabdd2f1 Closes #12670: Add lastUri as a parameter in RequestInterceptor 4 years ago
Oana Horvath b0dfdd57dc
For #12968: Re-enables Search settings tests (#13020) 4 years ago
Kadeem M 1353e157cd
Created UI tests for Addon Settings (#9258) 4 years ago
Oana Horvath 808584b75f For: #12894, #12899, #12968, #11239, disables failing UI tests 4 years ago
Oana Horvath a07f8a5041
For #12893: Disables failing deleteAllHistoryTest (#12902) 4 years ago
Oana Horvath a116950fc8
For #12473: Disable failing verifyContextCopyLink (#12891) 4 years ago
Aaron Train aa495b4526
No issue: Fix recent UI test breakage (#12869) 4 years ago
Hakkı Kaan Çalışkan 2a0a11f740 For #12571: Rename 'Shortcuts' to 'Search engines'
Co-Authored-By: Khushraj Rathod <khushrajrathod@gmail.com>
4 years ago
Tiger Oakes c08d375c18
Move settings in components (#12675) 4 years ago
TejaswiKarasani 899f6e63ad
No issue: verify ETP toolbar shield icon is not displayed if ETP is OFF globally in ETP UI tests (#12623) 4 years ago
Oana Horvath 6ab6f3efe9
Fix UI tests from #12752 #12637 #12764 (#12779)
* For #12752 & #12764: Fixes tabs tray behavior in UI tests

* For #12637: fixes goBackTest
4 years ago
Richard Pappalardo 41c256e474
Fixes #12752, #12764 - Temp disable openHistoryInNewTabTest intermittent UI test failures (#12754)
* Fixes #12752 - Temp disable intermittent failing test
4 years ago
Mihai-Eduard Badea 1823fdb66d
For issue #9949 - Bookmarks/History deletion inconsistencies (#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 #8648.

Co-authored-by: Mihai Eduard Badea <mihai.badea@softvision.ro>
4 years ago
Roger Yang 7923255fda For #12118: Add isSubframeRequest parameter for app links 4 years ago
James Hugman 798c1bf743 Address review comments 4 years ago
James Hugman 22689a9ff5 Remove need to specify component names for new intents 4 years ago
James Hugman 98a33ea82b Changed home_* style links to urls_* to reflect that the destination is a set of links, rather than where the screen is 4 years ago
James Hugman 4573d09fd8 Add UI tests for deep links 4 years ago
isabelrios 5b61b44f1a
cron-job-ui-screenshots (#12423)
Co-authored-by: isabel rios <isabelrios@MacBook-Pro-de-isabel-2.local>
4 years ago
Oana Horvath af3c232615 Replaces verifyPageContent in UI tests 4 years ago
Aaron Train 661835a35c No issue: Add a couple Tabs Tray UI tests 4 years ago
ekager 9ed85510ae For #7094 - Adds save login exceptions 4 years ago
Oana Horvath 4624bf5c50 For #10911: disables flaky createBookmarkFolderTest 4 years ago
Tiger Oakes c99a8f5cfa
Fixes #9832 - Change targetSdkVersion to Android 10 (#11014) 4 years ago
TejaswiKarasani 1926ddbc22
No Issue: Verify the page main menu items UI Test (#12336) 4 years ago
isabelrios 8b3f9804b5
No issue: Update screenshots test (#12348) 4 years ago
Richard Pappalardo cf94906e9d fix: disable intermittent test failure 4 years ago
MickeyMoz 4f74f34dba Update Android Components version to 49.0.20200707131055. 4 years ago
MickeyMoz da39a7e671 Update Android Components version to 49.0.20200705130154. 4 years ago
Oana Horvath 836199ff16 For #11764: doubles long-press delay UI test 4 years ago
Aaron Train 3351a02885
For #12309: Disable verifyContextSaveImage and verifyContextMixedVariations (#12314) 4 years ago
isabelrios 84324f52ae
For #12018 - Sync Int tests fixes (#12252) 4 years ago
Aaron Train 0a4f92a5d0
No issue: Re-enable Context Menu UI tests (#12250) 4 years ago
Aaron Train 901a90643f
Closes #8714: Re-enable toggleShowVisitedSitesAndBookmarks (#12251) 4 years ago
isabelrios 4dc3a00ed0
For #12224 - Fix UI testAboutFirefoxPreview (#12233) 4 years ago
Richard Pappalardo 11aea321ed
Fixes #11642 - Re-enable disabled UI-tests (#12142) 4 years ago
ekager 60069395eb Update AC to 48.0.20200627130132 and fix breaking changes 4 years ago
David Walsh c4a4beb6b9 For 11468 - Show tab tray after opening links from history and bookmarks 4 years ago
Kate Glazko 2ac8496315 For #12025: Set Search Shortcuts Off By Default 4 years ago
Gabriel Luong e6a56aec36
For #12026 - Update default top sites for new users (#12028) 4 years ago
Oana Horvath 45bc42f92d
For #11764: delay single-click duration to avoid long-clicks (#11949) 4 years ago
Oana Horvath 932a032772
Closes #11947: fix and enable closePrivateTabsNotificationTest (#11951) 4 years ago
ValentinTimisica c75ab3f720
For #10462: Removes back button from bookmarks and history fragments (#11721) 4 years ago
Oana Horvath 79f231b80d
Fixes #11797 defaultDesktopBookmarksFoldersTest intermittent failure (#11803) 4 years ago
Oana Horvath 76266c84c2
For #11642: disables UI test privateModeScreenItemsTest (#11768) 4 years ago
Oana Horvath 268c4f25d8
No issue: re-enables tests ignoring the verifyPageContent step (#11765) 4 years ago
mcarare f4ebe39311 For #11665: Update UI tests. 4 years ago
Emily Kager 44ff29bdc0 Revert "For issue #9949 - Bookmarks/History deletion inconsistencies"
This reverts commit 3feab90b19.
4 years ago
Aaron Train 4270c837be
For #10642: Comment out verifyPageContent calls (#11748)
fix: expectedText not called warning
4 years ago
Oana Horvath ed41c97be0
For #11642 & #10642: Disable intermittent tests (#11724)
* for #11642: disables tests crashing

* for #10642: disables frequently failing  tests
4 years ago
David Walsh 3feab90b19 For issue #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 #8648.
4 years ago
Oana Horvath 4e590bf7f8
For #10909: Fix flaky navigateBookmarksFoldersTest (#11592) 4 years ago
Aaron Train 0eae3129ac
No issue: Disable verifyBasicNavigationToolbarFunctionality (#11643) 4 years ago
TejaswiKarasani 576558818e
For #116 #173: UI test for verifying the nav toolbar buttons (#10976) 4 years ago
liuche 35fa445165
Issue #11112 - Update empty collections string + tests. (#11538) 4 years ago
ValentinTimisica ce0d5a1a28 For #11365: Fixes UI tests for Settings 4 years ago
ekager 6d4a673c6f For #8967 - Expose autofill logins setting in nightly 4 years ago
mcarare 91c27a023e For #11229: Update settings ETP copy. 4 years ago
mcarare a0d9189321 For #11229: Update onboarding ETP copy. 4 years ago
Jeff Boek 52c2fdb310
Remove tab tray feature flag (#11176)
* For #11171 - Removes feature flag for the new tab tray

* For #11171 - Removes all tab references from homeFragment

* For #11171 - Fixes unit tests

* For #11171 - Gets UI tests to compile and HomeScreenTest to pass

* For #11171 - Fixes `deleteMultipleSelectionTest`

* For #11171 - Fixes `openHistoryItemInNewPrivateTabTest`

* For #11171 - Fixes `openHistoryInPrivateTabTest`

* For #11171 - Fixes `openHistoryInNewTabTest`

* For #11171 - Fixes `openNewPrivateTabTest`

* For #11171 - Fixes tabbedBrowsingTests

* For #11171 - Fixes SettingsPrivacyTest

* For #11171 - Fixes TopSitesTest

* For #11171 - Fixes lint errors

* Ignore
4 years ago
Beatriz Rizental 41a7d6e058
For #10652: Fix validateBaselinePing test (#11254)
* Stop ignoring validateBaselinePing test

* Remove spacing between package and imports

* Add functionality to decompress gzipped ping body
4 years ago
Aaron Train b39e0c7b42
For #10798: Disable testDownloadPrompt (#11147) 4 years ago
ekager 20e358228e For #11015 - Switch Default ETP Setting to Standard 4 years ago
Aaron Train 507ccaec7e
Closes 10927: Improve wait on session loaded for UI tests (#10928) 4 years ago
ValentinTimisica 29be9e4b9f Fixes #10064: Updates UI tests for About Page 4 years ago
Oana Horvath 43a78c4fd6
For #10761: Updates UI test tracking test page asset (#10945) 4 years ago
Grisha Kruglov e3f0df0118 Update Settings About test to account for debug builds 4 years ago
Jonathan Almeida aa0b8f65b1 For #10915: Disabled failing UI tests in SettingsPrivacyTest 4 years ago
mcarare 44d9dc9237 For #10705: Update copy of auto font sizing preference. 4 years ago
mcarare ce46a96742 For #10706: Update copy of deleting open tabs preference. 4 years ago
Oana Horvath d3672880a3
for #10690: disable editBookmarkTest (#10891) 4 years ago
Justin Wood 4bf04142ba Bug 1638073 - Update conftest for 'tps' to use current (firefoxci) api urls 4 years ago
Oana Horvath b2673bc654
for #10753: improves the clickAddBookmarkButton method in flaky tests (#10842) 4 years ago
Oana Horvath fed3f2fe91
for #10759: close notification shade if still open (#10819) 4 years ago
codrut.topliceanu 7feae98944 For #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
4 years ago
isabelrios 1b8a990edb
For #10756 - UI intermittent media playback failures (#10775) 4 years ago
Aaron Train c0e4056c16
No issue: Disable validateBaselinePing UI test (#10772) 4 years ago
Emily Kager 32e74aae61 Revert "For #6313 - On first load, hides engineView until firstContentfulPaint"
This reverts commit d66762910f.
4 years ago
ekager d66762910f For #6313 - On first load, hides engineView until firstContentfulPaint 4 years ago
Simon Chae cb307061ab Update Android Components version to 42.0.20200514130134 4 years ago
Oana Horvath 19dd057cd5
MediaNotificationTest: close media notification shade after each test (#10649) 4 years ago
Oana Horvath 84a6cc4d92
for #10587: Disable all flaky collections tests (#10643) 4 years ago
Oana Horvath 3a94d64d61
Disable failing tests from #10587 and #10586 (#10620) 4 years ago
Oana Horvath 56e0dd8d6d
for #9407: fixed and added collection tests (#10566) 4 years ago
ValentinTimisica 1e83f54a94 For #10343: Updates UI tests accordingly to 'Library' removal 4 years ago
Oana Horvath edff0d8e2c
fix #10468: wait for main menu to disappear after creating bookmark (#10478) 4 years ago
TejaswiKarasani 2e45244b6c
no issue: Added settings_privacy_items_test (#10474) 4 years ago
kglazko c0c41dfd74
No Issue Reenable testDownloadPrompt (#10407)
Co-authored-by: Kate Glazko <kglazko@Kates-MacBook-Pro.local>
4 years ago
Alessio Placitelli 14e58c9353 Fixup the BaselinePingTest 4 years ago
Mihai Eduard Badea 02bd0cc203 For issue #8648 4 years ago
Oana Horvath 2c18c255da
For #9783: bring app in focus with sendSingleTapToScreen for UI test (#10136) 4 years ago
Oana Horvath 21894a3cea
Added new bookmarks tests (#9878)
Fix for #7417: Fix and re-enable disabled tests
4 years ago
ekager 59484208d6 No issue: Update Private Browsing placeholder string 4 years ago
Oana Horvath e4764592fd
fix private notification text (#10192) 4 years ago
ekager 66d9a24b28 Closes #9928 - Updates private browsing text description 4 years ago
isabelrios 587bdfbd7b
For #8081 - UI screenshots tests update (#10023) 4 years ago
Ryan Kelly 8ebb891bf8 Some cleanups for running the sync integration tests 4 years ago
Grisha Kruglov 853a0acab4 Closes #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.
4 years ago
ekager 2056b6f2ff Update UI test to match Support Page title 4 years ago
ekager 55b04b9885 Update Server.dev to Server.stage to fix A-S upgrade breaking change 4 years ago
Oana Horvath 52857b09d7
fix #9670 intermittent tests (#9767)
also disabled intermittent closePrivateTabsNotification
4 years ago
Aaron Train b35704beed Closes #9688: Disable ReaderViewTest for intermittent investigation in detection issues 4 years ago