From f68c56a7602baf0eacd97650d9a65f0dacea7b99 Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Mon, 19 Oct 2020 21:19:38 -0700 Subject: [PATCH] Hide private browsing myths link Also turn off Android test for it. This is easier than actually writing our own documentation, disentangling the link from the SUMO topic linking system, and changing the tests to respect the new destination. The downside is that if users don't know what they're doing with private browsing, we will no longer even try to help them. This fixes #221. --- .../androidTest/java/org/mozilla/fenix/ui/HomeScreenTest.kt | 3 --- app/src/main/res/layout/private_browsing_description.xml | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/HomeScreenTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/HomeScreenTest.kt index f83061359..65beff57c 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/HomeScreenTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/HomeScreenTest.kt @@ -131,9 +131,6 @@ class HomeScreenTest { verifyPrivateSessionMessage() verifyHomeToolbar() verifyHomeComponent() - }.openCommonMythsLink { - verifyUrl("common-myths-about-private-browsing") - mDevice.pressBack() } homeScreen { diff --git a/app/src/main/res/layout/private_browsing_description.xml b/app/src/main/res/layout/private_browsing_description.xml index d964945a0..5742fd441 100644 --- a/app/src/main/res/layout/private_browsing_description.xml +++ b/app/src/main/res/layout/private_browsing_description.xml @@ -39,5 +39,6 @@ android:scrollHorizontally="false" android:text="@string/private_browsing_common_myths" android:textColor="?primaryText" - android:textSize="14sp" /> + android:textSize="14sp" + android:visibility="gone" />