From 1e55287003ce0338f5fb7376af433416d1feed40 Mon Sep 17 00:00:00 2001 From: Oana Horvath Date: Mon, 26 Jul 2021 16:48:10 +0300 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/20297: close tab to avoid saving the same tab to collection --- .../androidTest/java/org/mozilla/fenix/ui/CollectionTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/CollectionTest.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/CollectionTest.kt index 094fefebac..e5966c57b3 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/CollectionTest.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/CollectionTest.kt @@ -86,7 +86,8 @@ class CollectionTest { }.openTabDrawer { createCollection(firstWebPage.title, firstCollectionName) verifySnackBarText("Collection saved!") - }.closeTabDrawer {} + closeTab() + } navigationToolbar { }.enterURLAndEnterToBrowser(secondWebPage.url) {