Commit Graph

6034 Commits (08a71a5366908f3ba3f63895202094e2a78686de)

Author SHA1 Message Date
Arturo Mejia 42a5fcc880 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21095 allow users to configure their home screen. 3 years ago
Elise Richards d0757d386a [fenix] For https://github.com/mozilla-mobile/fenix/issues/19947: manually add login (https://github.com/mozilla-mobile/fenix/pull/21199)
* [WIP] New Layout for adding login and 'add login' button in 'SavedLoginsListView' to launch it.
Fixed bindings.

* [WIP] Removed "reveal password" button

* [WIP] Added interactor for the add login screen

* [WIP] Trying to check for duplicates

* [WIP] Renaming "addNew..." with "add..."

* [WIP] Check for duplicates

* [WIP] Fixes after merge

* Cleaning up the layout and making edit text for hostname selectable

* Error handling on add login screen. Tests for interactors and controllers

Co-authored-by: Vitaly V. Pinchuk <vetal.978@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Mozilla L10n Automation Bot 0ea0ce4532 [fenix] Import l10n. 3 years ago
Michael Comella df0b8e5886 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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 88f34d654e [fenix] For https://github.com/mozilla-mobile/fenix/issues/21183: remove lazyMonitored wrapper functionality.
We're not using the functionality so there's no sense in doing the work.
However, we keep the wrapper: see the code comments for details.
3 years ago
Michael Comella afea6772f2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
Arturo Mejia c42b4d7481 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20892 update connection panel strings 3 years ago
Noah Bond 691fe57943 [fenix] Issue mozilla-mobilehttps://github.com/mozilla-mobile/fenix/issues/21140 - Updated recent tab logic to show media tab and second-to-last tab, if the media tab was the last active tab. (https://github.com/mozilla-mobile/fenix/pull/21141)
* Issue mozilla-mobilehttps://github.com/mozilla-mobile/fenix/issues/21140 - Updated recent tab logic to show media tab and second-to-last tab, if the media tab was the last active tab.

* Fixed RecentTabsListFeatureTest unit test

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Arturo Mejia 1e64f87d67 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20881 print if the build is a MozillaOnline 3 years ago
Mozilla L10n Automation Bot 03932cc800 [fenix] Import l10n. 3 years ago
Elise Richards 4be9b84c20 [fenix] Dont clip bounds on recently saved bookmarks 3 years ago
Michael Comella c5b2185119 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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 d4c2608670 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
Roger Yang e7c3145fec [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/18711: Telemetry for credit card autofill 3 years ago
Mozilla L10n Automation Bot 5fe3efeb98 [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 09eb475097 [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot dac9585e2d [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot ce52e5510b [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 6c724c7f13 [fenix] Import l10n. 3 years ago
Arturo Mejia c0e8005c76 [fenix] For 20892 Update connection icons in address bar 3 years ago
Christian Sadilek 193016b662 [fenix] Remove mocked lambdas from AccountSettingsInteractorTest 3 years ago
Christian Sadilek e9b1f3fb81 [fenix] Add missing androidx.lifecycle dependencies 3 years ago
Mozilla L10n Automation Bot 9865ade3f8 [fenix] Import l10n. 3 years ago
czlucius 2d6dffe36a [fenix] For https://github.com/mozilla-mobile/fenix/issues/18727: Exit PiP when launched externally with Intents 3 years ago
Mickey Moz dccc1133b1 [fenix] Update Android Components version (https://github.com/mozilla-mobile/fenix/pull/21109)
* Update Android Components version to 93.0.20210901143120.

* For https://github.com/mozilla-mobile/fenix/issues/21043 - Integrate AC changes

* Fix breaking API changes of RestoreAction

Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
3 years ago
Christian Sadilek cda4440bad [fenix] Do not run unit tests in parallel
This is to investigate the intermittent mockk class
generation/loading issues. Since we can not reproduce
locally and the failures are intermittent they could
be caused by us running unit tests in parallel.
3 years ago
codrut.topliceanu bde4c0207a [fenix] For https://github.com/mozilla-mobile/fenix/issues/19166: Increases tab_tray_list bottom padding
... to fit snackbar and FAB
3 years ago
Mozilla L10n Automation Bot b4bf6f22fd [fenix] Import l10n. 3 years ago
Gabriel Luong 9d12ec623c [fenix] For https://github.com/mozilla-mobile/fenix/issues/21078 - Remove unused creditCardsFeature feature flag 3 years ago
Elise Richards 061e5bf6af [fenix] Include data review for renewed metrics 3 years ago
Elise Richards 2d433166a8 [fenix] Remove banner open in app telemetry 3 years ago
Elise Richards edd26c3363 [fenix] Remove search suggestions in private telemetry 3 years ago
Elise Richards 4d2c0b9caf [fenix] Remove user specified search engine telemetry 3 years ago
Elise Richards 17ad77ea02 [fenix] Remove private browsing shortcut telemetry 3 years ago
Elise Richards 49c3b46145 [fenix] Fix data-review listed for default_browser_changed, toolbar_menu_visible, and toolbar_menu_clicked 3 years ago
Elise Richards 5abec1fb15 [fenix] Remove private browsing mode telemetry 3 years ago
Elise Richards 1e05446283 [fenix] Remove tip telemetry 3 years ago
Elise Richards 83416415b8 [fenix] Remove enable private search suggestions telemetry 3 years ago
Elise Richards 49e6325de4 [fenix] Remove open links in private tab telemetry 3 years ago
Elise Richards 61d95c4967 [fenix] Remove find in page telemetry 3 years ago
Elise Richards 9c5bb84cb1 [fenix] Remove total uri count telemetry 3 years ago
Elise Richards dd398def06 [fenix] Remove about page telemetry 3 years ago
Elise Richards 09132f35ac [fenix] Remove downloads management telemetry 3 years ago
Elise Richards 9a432d9f64 [fenix] Remove downloads misc telemetry. 3 years ago
Elise Richards dbf3897680 [fenix] Remove download notification telemetry. 3 years ago
Elise Richards cf2d620e0e [fenix] Remove master password telemetry. 3 years ago
Elise Richards feb4af320b [fenix] Renew probes set to expire in September 3 years ago
Elise Richards cc642da2e8 [fenix] Renew probes set to expire in October 3 years ago
Gabriel Luong 41f1202daa [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
Arturo Mejia 938992c39a [fenix] Add tint to settings icon on Tracking protection panel 3 years ago
Mozilla L10n Automation Bot acb12761e4 [fenix] Import l10n. 3 years ago
AndiAJ 3af7f3dfd4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002 update and add missing tabs setting validations 3 years ago
Oana Horvath 2642dfc203 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20702: fix tests flakiness 3 years ago
Sebastian Kaspari e38ed593d4 [fenix] Enable Android Autofill support in all build types. 3 years ago
Mozilla L10n Automation Bot 1bbf5bda7c [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 4df5f7f8b9 [fenix] Import l10n. 3 years ago
Gabriel Luong 054f6b5626 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21035 - Refactor HistoryViewInteractor from HistoryView into HistoryInteractor 3 years ago
Oana Horvath e619f4b030 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002: added page main menu items tests 3 years ago
Christian Sadilek 690f3e72f5 [fenix] Dedupe history metadata in groups based on url 3 years ago
Elise Richards 19c10c3779 [fenix] Update search metric expiration dates (https://github.com/mozilla-mobile/fenix/pull/21016) 3 years ago
Arturo Mejia 115cc74bb8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20919 add confirm dialog when turning on/off experiments 3 years ago
Arturo Mejia 38c5617b7e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20871 mark strings for removal 3 years ago
Elise Richards d105e8bc19 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19931: Add telemetry probes for recent bookmarks on home screen (https://github.com/mozilla-mobile/fenix/pull/20316)
* Add telemetry probes for recent bookmarks on home screen. Tests for controller.

* Make the events into counters in the metrics ping

Update tests to reflect new metrics

Add data review link for new metrics

Mock new settings for startup metrics tests

Update metrics

Add test for recent bookmark glean events

* Recent bookmarks controller tests
3 years ago
Mugurell 7b7a252ecf [fenix] For https://github.com/mozilla-mobile/fenix/issues/20507 - Inactive tabs telemetry
Two new events are added:
- "inactive_tabs_expanded" for when the inactive tabs section is expanded
- "inactive_tabs_collapsed" for when the inactive tabs section is collapsed

For tracking when an inactive tab is opened / closed I've repurposed the
existing tabs tray telemetry (since the functionality uses the same code)
- tabs_tray.opened_existing_tab
- tabs_tray.closed_existing_tab
to support an extra "source" key indicating the feature from which a tab was
opened or closed. The current values for this new key are:
- "Tabs tray" for when a tab was opened/closed from tabs tray
- "Inactive tabs" for when a tab was openes/closed from the Inactive tabs
section of the tabs tray.
3 years ago
Mugurell 785a42edfd [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the Kotlin synthetics Lint detector
Since all usages of Kotlin synthetics are removed and no such code is generated
anymore there is no need to keep around this Detector anymore.
3 years ago
Mugurell 4466a39727 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the `kotlin-android-extensions` plugin
This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`

For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the `kotlin-android-extensions` plugin

This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`
3 years ago
Mugurell 9959334a26 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Finish migrating all synthetics usages 3 years ago
codrut.topliceanu ecae7a61be [fenix] For https://github.com/mozilla-mobile/fenix/issues/20328 - Adds telemetry for recentlyClosed button
...from tabsTray, inactiveTabs section.
3 years ago
Oana Horvath d689ee206f [fenix] For https://github.com/mozilla-mobile/fenix/issues/20716: re-enables mainMenuInstallPWATest UI test 3 years ago
Oana Horvath eb8aeec73e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20868, https://github.com/mozilla-mobile/fenix/issues/18764: Update Tracking Protection UI tests 3 years ago
Grisha Kruglov dd1b4ba5ae [fenix] Closes 20975: Run metadata cleanup after Megazord.init()
This ensures that we do not attempt places initialization before
Megazord.init() finishes, and that touching BrowserStore does not
kick-off places initialization (due to the `cleanup` call being a
side-effect of creating metadata middleware, used as part of the
BrowserStore).

Glean initialization happens before initialize megazord, and it touches
core.store BrowserStore instance, kicking-off places initialization on
an IO thread (due to the cleanup call), which raced megazord
initialization on the main thread.

App init sequence is a bit of a mine-field, so this patch takes the easy
way out and doesn't attempt to re-order initialization sequence. Also,
initializing places as a side-effect of touching BrowserStore was also,
clearly, a bug.
3 years ago
codrut.topliceanu 48eff4f831 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in add-ons 3 years ago
Mugurell f826174109 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20586 - Put everything behing a secret setting
Not ready for prime-time. Lot of work still to be done.
3 years ago
Mugurell b1cc91a9ac [fenix] For https://github.com/mozilla-mobile/fenix/issues/20586 - Basic Jetpack Compose implementation.
This is just the basic skeleton for the feature.
3 years ago
Arturo Mejia 96042fa50a [fenix] For https://github.com/mozilla-mobile/fenix/issues/20892 update connection icons in quick settings 3 years ago
mcarare 2adea3fd40 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20927: Replace icons with AC icons. 3 years ago
rxu d457385e79 [fenix] Use armeabi-v7a version code for MozillaOnline builds 3 years ago
Arturo Mejia 06f86c42c4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20919 quite the app when turning on/off experiments 3 years ago
Rohan Maity 7ffaefd3fd [fenix] For https://github.com/mozilla-mobile/fenix/issues/20596 remove startup timeline probes 3 years ago
Jonathan Almeida d2b9962319 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20945: Fix failing test in AccountSettingsInteractorTest 3 years ago
Jonathan Almeida eae779d231 [fenix] Speculative fixes intermittent test in DeleteAndQuitTest 3 years ago
Arturo Mejia b50ecb92b4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20919 quit the after removing a study. 3 years ago
codrut.topliceanu 4e917c5eac [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in tabs tray 3 years ago
Mugurell 5b99139048 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Migrate `home` from Kotlin synthetics to View Binding. 3 years ago
Mugurell b38f717c4b [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Migrate `browser` from Kotlin synthetics to View Binding. 3 years ago
codrut.topliceanu c0d03b3d1e [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in Login Exceptions 3 years ago
rxu 36aed742b3 [fenix] Add event ping telemetry for the Baidu top site click 3 years ago
Grisha Kruglov 988712dd63 [fenix] Enable recording of history metadata for all builds
This allows recording part of history metadata to ride the trains.
The UI features are still guarded by the secret settings flag (or,
enabled on debug builds).
3 years ago
Arturo Mejia a82a02a9e7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20890 when TP is off globally hide TP section on quick settings. 3 years ago
Roger Yang 1928220c0d [fenix] Restore unused string tab_collection_dialog_negative 3 years ago
Grisha Kruglov 9268b550c2 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/20901: Do not record viewTime observations when we do not have a set lastAccess
The bug here was that we'd try to record `now - 0` as a viewTime delta.
This isn't just an obviously wrong value to record, but it will also
overflow our storage - we'll end up with a value on disk that doesn't
fit into an i32, but HistoryMetadata.total_view_time is i32 in our Rust
struct. Once that happens, reads that touch this bad row will result in
an overflow and a crash.
3 years ago
Roger Yang 0a2cdff945 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/2783: Add snackbar to collection deletion 3 years ago
codrut.topliceanu c4bc780c28 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20716 - Disables Intermittent failing UI test 3 years ago
Sebastian Kaspari b9d7552339 [fenix] metrics.yaml: Add data review URL for Android Autofill metrics 3 years ago
Roger Yang 52cb17d12a [fenix] Update Android Components version 3 years ago
Jonathan Almeida aded72af41 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/20864: Speculative fix for HomeFragmentTest failures 3 years ago
codrut.topliceanu 5e0b094e4f [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in tracking protection(2) 3 years ago
Michael Comella c80a53f93e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20824: use fast service loader for MainDispatcherFactory.
For details on the root cause, see the commit. We replaced the similar
proguard rules because:
- the key line was returning false instead of true
- the other line had the same outcome as the written code. I believe it
  was a micro-optimization. Since perf seems fine without it, let's
  remove it

I benchmarked this change on COLD MAIN first frame. We see an
improvement of 89ms:
- before: 1346ms
- after: 1257ms
3 years ago
codrut.topliceanu a4a1f6ddaf [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in Share views 3 years ago
codrut.topliceanu 179dd793ad [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in Onboarding Tests 3 years ago
Arturo Mejia 33ac87cbd3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 use block color on disabled permissions 3 years ago
Mozilla L10n Automation Bot 841b304f0d [fenix] Import l10n. 3 years ago
Jonathan Almeida 591d6744df [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20796: Additional fixes for intermittent failing test
Fixes for TrackingProtectionExceptionsInteractorTest to remove the lamba
mocking and test actual BrowserState changes instead (where possible).
3 years ago
Arturo Mejia 93f23aa750 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 integrate view binding. 3 years ago
Arturo Mejia 2e60b8d80a [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 fix ui tests 3 years ago
Gabriel Luong 2d6dcb814c [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Add a back navigation to the Global Quick Settings from the Tracking Protection dialog 3 years ago
Arturo Mejia 39dc0701a8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Improve quick setting dialogs navigation 3 years ago
Gabriel Luong c9575d0d62 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Remove tracking protection overlay CFR 3 years ago
Gabriel Luong 609acda69c [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Use the new "Details" text for navigating to ETP details 3 years ago
Arturo Mejia ab1e4228c9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Add connection sub-menu. 3 years ago
Gabriel Luong 7d8ca1ec98 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Add favicon to website info view
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
3 years ago
Gabriel Luong 66192cc136 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Add right arrowheader to tracking protection navigators 3 years ago
Gabriel Luong 9bb39fe7b3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Handle toggling tracking protection in quick settings 3 years ago
Gabriel Luong 23d57b151f [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Add navigation from quick settings to tracking protection panel 3 years ago
Gabriel Luong 70d55f4746 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Remove the tracking protection indicator 3 years ago
Mozilla L10n Automation Bot 0196a85e19 [fenix] Import l10n. 3 years ago
Jonathan Almeida 8c5bccf445 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20853: Fix intermittent failing test in HomeFragmentStoreTest 3 years ago
Jonathan Almeida b9c243c0ec [fenix] Update TabSessionState.createdAt for inactive tabs debugging 3 years ago
Arturo Mejia d735df1dd6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20764 separate learn more string 3 years ago
Sebastian Kaspari 7e548348e3 [fenix] Android Autofill: Use AppCompat theme for UnlockActivity. 3 years ago
Arturo Mejia 3dc3db856c [fenix] Remove duplicated line in TabsSettingsFragment 3 years ago
Sebastian Kaspari eb35f06802 [fenix] Use theming in debug screen. 3 years ago
Jonathan Almeida 632311b1ea [fenix] Close https://github.com/mozilla-mobile/fenix/issues/15168: Remove intermittent failing test in ToolbarViewTest
This test seems to be hacking at the binding between Fenix and the
BrowserToolbar to simulate toolbar events passing to the Fenix
interactor.

This is rather clumsy test that relies on the magic working of mockk
instead of following a general unit testing strategy that would commonly
require the class to be re-written to allow for better testing instead.

It is far safer to remove this test since we are not guaranteeing
anything in it and instead we see intermittent failures that make us
lose more time.

So therefore.. 🔥
3 years ago
Jonathan Almeida d32727eff9 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20796: Fix intermittent test failure in TrackingProtectionExceptionsInteractorTest 3 years ago
Jonathan Almeida 14735a61ae [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20795: Speculative fix for intermittent test failures in HomeFragmentTest
The expectation is that replacing `return` with `answers` will compute
the return value for the extension function again in order to avoid the
error, "no answer found for: Settings".
3 years ago
Jonathan Almeida a590fd2b74 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20797: Fix intermittent test failures in ShortcutsSuggestionProviderTest 3 years ago
Jonathan Almeida 9b20f9c1c0 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20792: Fix intermittent test failures in QuickSettingsFragmentReducerTest 3 years ago
Aaron Train f2fe9ae61d [fenix] Filter out test target packages in Flank-x86 (https://github.com/mozilla-mobile/fenix/pull/20841)
* Filter out test target packages in Flank-x86
* Ignore verifyRunBlockingAndStrictModeSuppresionCount
3 years ago
Michael Comella fce543516e [fenix] No issue: move kotlin-allopen outside appVariants loop.
The kotlin-allopen plugin could be getting applied for each variant we
have in the app. With the changed code, it will only get applied once.
3 years ago
Elise Richards cc2f37b040 [fenix] Use header20 style on collections to match other home items. Add margin above collections. (https://github.com/mozilla-mobile/fenix/pull/20633) 3 years ago
Jonathan Almeida 00cb0c74f3 [fenix] Update the description for an inactive tabs string 3 years ago
Steven Knipe 982dc4410f [fenix] For https://github.com/mozilla-mobile/fenix/issues/4134 Add Forward Back Reload to Toolbar on Tablets 3 years ago
codrut.topliceanu 4082b5eb90 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20098: Allow PB PiP video screenshots
...when `Allow screenshots in private browsing` is enabled
3 years ago
Rohan Maity 620d034134 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20596 remove perf.startup probes 3 years ago
Arturo Mejia d4a2d1ac83 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20764 add screen for opting out of experiments 3 years ago
Arturo Mejia be0f7d9dcc [fenix] Disable intermittent tests. 3 years ago
Arturo Mejia 8ff9adb54e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20672 crash when attempting to disconnect from Mozilla account 3 years ago
codrut.topliceanu f4f6b18cbe [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in history screens 3 years ago
codrut.topliceanu c441adb0d8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in collections 3 years ago
Vitaly V. Pinchuk 21fedbf45f [fenix] Dismisses search dialog if active in (RecentTabsHeaderViewHolder, RecentBookmarksViewHolderTest) and adapts test for the changes. 3 years ago
Michael Comella b8f673380f [fenix] No issue: remove unnecessary robolectric annotations.
Theoretically, this should marginally decrease the duration of our unit
test suite. In my testing, for 1 iteration each (i.e. noise is very
possible), the duration changed from 9m 32s to 8m 21s – a 71s
improvement.

---

To identify tests that were running with robolectric that didn't need to
be, I removed the @RunWith(FenixRobo... from all relevant files:
    sed -i '' "/@RunWith(FenixRobolectric/d" app/src/test/**/*.kt

I ran the tests and discovered which ones failed from the Classes tab of
the index.html test result file. Something like:
    tests = document.querySelectorAll('table')[3].querySelectorAll('tr');
    failureElements = tests.querySelectorAll('.failures');
    // TODO: extract the test names

Then I copied these results to a text file and compared them to all the
files that had robolectric test runners to figure out which ones still
pass:
    comm -1 -2 failures.txt changed_files.txt > robolectric_not_needed.txt

And undid the changes to the failing files:
    for i in $(cat robolectric_not_needed.txt); do git checkout $i; done

Then I removed the import statements on those files:
    for i in $(cut changed_files.txt); do sed -i '' "/import.*RunWith/d" $i; done
    for i in $(cat changed_files.txt); do sed -i '' "/import.*RobolectricTestRunner/d" $i; done
3 years ago
Elise Richards 7273536742 [fenix] For FNXV2-17067: always show home in background behind search dialog (https://github.com/mozilla-mobile/fenix/pull/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
codrut.topliceanu 33b08b6b83 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in downloads screen 3 years ago
mcarare dcbd978c73 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20425: Re-add tests for class BookmarksUseCaseTest. 3 years ago
AndiAJ 8f3313ad02 [fenix] Start on home UI tests 3 years ago
Mozilla L10n Automation Bot 2120e07768 [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 8c1a00b21c [fenix] Import l10n. 3 years ago
Jonathan Almeida feb8f5e363 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20726: Fix intermittent failure in AddonsManagementViewTest 3 years ago
Jonathan Almeida 0a0af212f0 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/20718: Show url if title is missing for inactive tabs 3 years ago
Elise Richards 3bfd5d1827 [fenix] Correct search_count telemetry after revert 3 years ago