GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit 1e7faa69 authored by Oana Horvath's avatar Oana Horvath
Browse files

Closes #14522: item 'Open link in apps' moved

parent 8f71704c
...@@ -52,6 +52,8 @@ class SettingsAdvancedTest { ...@@ -52,6 +52,8 @@ class SettingsAdvancedTest {
// ADVANCED // ADVANCED
verifyAdvancedHeading() verifyAdvancedHeading()
verifyAddons() verifyAddons()
verifyOpenLinksInAppsButton()
verifyOpenLinksInAppsSwitchDefault()
verifyRemoteDebug() verifyRemoteDebug()
verifyLeakCanaryButton() verifyLeakCanaryButton()
} }
......
...@@ -147,10 +147,6 @@ class SettingsPrivacyTest { ...@@ -147,10 +147,6 @@ class SettingsPrivacyTest {
verifyNavigationToolBarHeader() verifyNavigationToolBarHeader()
verifyDataCollectionSubMenuItems() verifyDataCollectionSubMenuItems()
}.goBack { }.goBack {
// OPEN LINKS IN APPS
verifyOpenLinksInAppsButton()
verifyOpenLinksInAppsSwitchDefault()
}.goBack { }.goBack {
verifyHomeComponent() verifyHomeComponent()
} }
......
...@@ -345,11 +345,16 @@ private fun assertDataCollectionButton() = onView(withText("Data collection")) ...@@ -345,11 +345,16 @@ private fun assertDataCollectionButton() = onView(withText("Data collection"))
private fun openLinksInAppsButton() = onView(withText("Open links in apps")) private fun openLinksInAppsButton() = onView(withText("Open links in apps"))
private fun assertOpenLinksInAppsButton() = openLinksInAppsButton() private fun assertOpenLinksInAppsButton() {
scrollToElementByText("Open links in apps")
openLinksInAppsButton()
.check(matches(withEffectiveVisibility(Visibility.VISIBLE))) .check(matches(withEffectiveVisibility(Visibility.VISIBLE)))
}
private fun assertOpenLinksInAppsValue() = openLinksInAppsButton() private fun assertOpenLinksInAppsValue() {
.assertIsEnabled(isEnabled = true) scrollToElementByText("Open links in apps")
openLinksInAppsButton().assertIsEnabled(isEnabled = true)
}
// DEVELOPER TOOLS SECTION // DEVELOPER TOOLS SECTION
private fun assertDeveloperToolsHeading() { private fun assertDeveloperToolsHeading() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment