From e9d1a9e04e590b5d2d4930188918f3ef60a57ed4 Mon Sep 17 00:00:00 2001 From: Nikita Fedrunov <66663241+fedrunov@users.noreply.github.com> Date: Tue, 27 Sep 2022 09:54:24 +0200 Subject: [PATCH] app layout labs flag is enabled by default (#7237) --- changelog.d/7166.misc | 1 + .../java/im/vector/app/VerifySessionInteractiveTest.kt | 4 ++-- .../androidTest/java/im/vector/app/ui/robot/ElementRobot.kt | 2 +- vector-config/src/main/res/values/config-settings.xml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 changelog.d/7166.misc diff --git a/changelog.d/7166.misc b/changelog.d/7166.misc new file mode 100644 index 0000000000..d223208853 --- /dev/null +++ b/changelog.d/7166.misc @@ -0,0 +1 @@ +New App Layout is now enabled by default! Go to the Settings > Labs to toggle this diff --git a/vector-app/src/androidTest/java/im/vector/app/VerifySessionInteractiveTest.kt b/vector-app/src/androidTest/java/im/vector/app/VerifySessionInteractiveTest.kt index da13e49e84..901ef8e4c1 100644 --- a/vector-app/src/androidTest/java/im/vector/app/VerifySessionInteractiveTest.kt +++ b/vector-app/src/androidTest/java/im/vector/app/VerifySessionInteractiveTest.kt @@ -225,8 +225,8 @@ class VerifySessionInteractiveTest : VerificationTestBase() { // Wait until local secrets are known (gossip) withIdlingResource(allSecretsKnownIdling(uiSession)) { - onView(withId(R.id.groupToolbarAvatarImageView)) - .perform(click()) + onView(withId(R.id.roomListContainer)) + .check(matches(isDisplayed())) } } diff --git a/vector-app/src/androidTest/java/im/vector/app/ui/robot/ElementRobot.kt b/vector-app/src/androidTest/java/im/vector/app/ui/robot/ElementRobot.kt index 86709a75a5..d9dfb0facf 100644 --- a/vector-app/src/androidTest/java/im/vector/app/ui/robot/ElementRobot.kt +++ b/vector-app/src/androidTest/java/im/vector/app/ui/robot/ElementRobot.kt @@ -50,7 +50,7 @@ import im.vector.app.withIdlingResource import timber.log.Timber class ElementRobot( - private val labsPreferences: LabFeaturesPreferences = LabFeaturesPreferences(false) + private val labsPreferences: LabFeaturesPreferences = LabFeaturesPreferences(true) ) { fun onboarding(block: OnboardingRobot.() -> Unit) { block(OnboardingRobot()) diff --git a/vector-config/src/main/res/values/config-settings.xml b/vector-config/src/main/res/values/config-settings.xml index d7017375d5..c69452e3d0 100755 --- a/vector-config/src/main/res/values/config-settings.xml +++ b/vector-config/src/main/res/values/config-settings.xml @@ -40,7 +40,7 @@ true true false - false + true true false