2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00
Commit Graph

6963 Commits

Author SHA1 Message Date
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).
2021-08-16 22:54:22 +00:00
MickeyMoz
d643af098a [fenix] Update Android Components version to 93.0.20210816143131. 2021-08-16 21:41:18 +00:00
Arturo Mejia
93f23aa750 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 integrate view binding. 2021-08-16 16:42:39 -04:00
Arturo Mejia
2e60b8d80a [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 fix ui tests 2021-08-16 16:42:39 -04:00
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 2021-08-16 16:42:39 -04:00
Arturo Mejia
39dc0701a8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Improve quick setting dialogs navigation 2021-08-16 16:42:39 -04:00
Gabriel Luong
c9575d0d62 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Remove tracking protection overlay CFR 2021-08-16 16:42:39 -04:00
Gabriel Luong
609acda69c [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Use the new "Details" text for navigating to ETP details 2021-08-16 16:42:39 -04:00
Arturo Mejia
ab1e4228c9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Add connection sub-menu. 2021-08-16 16:42:39 -04:00
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>
2021-08-16 16:42:39 -04:00
Gabriel Luong
66192cc136 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Add right arrowheader to tracking protection navigators 2021-08-16 16:42:39 -04:00
Gabriel Luong
9bb39fe7b3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Handle toggling tracking protection in quick settings 2021-08-16 16:42:39 -04:00
Gabriel Luong
23d57b151f [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Add navigation from quick settings to tracking protection panel 2021-08-16 16:42:39 -04:00
Gabriel Luong
70d55f4746 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Remove the tracking protection indicator 2021-08-16 16:42:39 -04:00
Mozilla L10n Automation Bot
0196a85e19 [fenix] Import l10n. 2021-08-16 16:49:49 +00:00
Jonathan Almeida
8c5bccf445 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20853: Fix intermittent failing test in HomeFragmentStoreTest 2021-08-16 16:19:38 +00:00
Jonathan Almeida
b9c243c0ec [fenix] Update TabSessionState.createdAt for inactive tabs debugging 2021-08-16 15:53:25 +00:00
Arturo Mejia
d735df1dd6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20764 separate learn more string 2021-08-16 11:24:42 -04:00
Sebastian Kaspari
7e548348e3 [fenix] Android Autofill: Use AppCompat theme for UnlockActivity. 2021-08-16 08:00:13 +00:00
Arturo Mejia
3dc3db856c [fenix] Remove duplicated line in TabsSettingsFragment 2021-08-16 07:29:52 +00:00
Sebastian Kaspari
eb35f06802 [fenix] Use theming in debug screen. 2021-08-16 07:03:29 +00:00
Mickey Moz
3a8940d933 [fenix] Update Android Components version to 93.0.20210815143147. (https://github.com/mozilla-mobile/fenix/pull/20859) 2021-08-15 22:18:08 -04:00
MickeyMoz
094c8b5da8 [fenix] Update Android Components version to 93.0.20210814143348. 2021-08-14 20:47:19 -04:00
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.. 🔥
2021-08-14 01:52:52 -04:00
Jonathan Almeida
d32727eff9 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20796: Fix intermittent test failure in TrackingProtectionExceptionsInteractorTest 2021-08-14 01:52:52 -04:00
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".
2021-08-14 01:52:52 -04:00
Jonathan Almeida
a590fd2b74 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20797: Fix intermittent test failures in ShortcutsSuggestionProviderTest 2021-08-14 01:52:52 -04:00
Jonathan Almeida
9b20f9c1c0 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20792: Fix intermittent test failures in QuickSettingsFragmentReducerTest 2021-08-14 01:52:52 -04:00
Mickey Moz
2722a662de [fenix] Update Android Components version to 93.0.20210813143343. (https://github.com/mozilla-mobile/fenix/pull/20839)
Co-authored-by: Ryan VanderMeulen <ryanvm@gmail.com>
2021-08-13 21:42:51 -04:00
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
2021-08-13 15:00:10 -04:00
Ben Hearsum
b498187399 [fenix] Ship nightlies to Google Play twice a day
This was moved to once per day in https://bugzilla.mozilla.org/show_bug.cgi?id=1628413 when Google Play reviews were very slow. That hasn't been a problem for awhile, and the less frequent nightlies are causing delays getting new Android Components bumps shipped out.
2021-08-13 02:54:28 +00:00
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.
2021-08-12 20:39:27 +00:00
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) 2021-08-12 19:32:38 +00:00
Jonathan Almeida
00cb0c74f3 [fenix] Update the description for an inactive tabs string 2021-08-12 17:44:56 +00:00
MickeyMoz
043cf59211 [fenix] Update Android Components version to 93.0.20210812143121. 2021-08-12 16:46:13 +00:00
Steven Knipe
982dc4410f [fenix] For https://github.com/mozilla-mobile/fenix/issues/4134 Add Forward Back Reload to Toolbar on Tablets 2021-08-12 13:54:13 +00:00
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
2021-08-12 06:49:55 +00:00
Rohan Maity
620d034134 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20596 remove perf.startup probes 2021-08-11 22:31:52 +00:00
MickeyMoz
a174504f33 [fenix] Update Android Components version to 93.0.20210811143137. 2021-08-11 21:15:23 +00:00
Arturo Mejia
d4a2d1ac83 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20764 add screen for opting out of experiments 2021-08-11 16:14:13 -04:00
Arturo Mejia
be0f7d9dcc [fenix] Disable intermittent tests. 2021-08-11 19:05:06 +00:00
Arturo Mejia
8ff9adb54e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20672 crash when attempting to disconnect from Mozilla account 2021-08-11 17:39:33 +00:00
codrut.topliceanu
f4f6b18cbe [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in history screens 2021-08-11 15:29:35 +00:00
MickeyMoz
c0e20cf63d [fenix] Update Android Components version to 92.0.20210809190134. 2021-08-11 16:33:04 +02:00
codrut.topliceanu
c441adb0d8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in collections 2021-08-11 08:01:58 +00:00
Arturo Mejia
12541dfb2a [fenix] Set version to 93.0.0 2021-08-10 14:49:47 -04:00
Ben Hearsum
dea42546cf [fenix] Backout mergify changes for bustage 2021-08-10 15:37:34 +02:00
Ben Hearsum
366a3da875 [fenix] Add a default to task-priority to fix issues when forks are named differently 2021-08-10 12:36:12 +00:00
Vitaly V. Pinchuk
21fedbf45f [fenix] Dismisses search dialog if active in (RecentTabsHeaderViewHolder, RecentBookmarksViewHolderTest) and adapts test for the changes. 2021-08-10 12:01:29 +00:00
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
2021-08-10 00:22:44 +00:00