|
|
|
@ -18,6 +18,7 @@ import org.mozilla.fenix.helpers.AndroidAssetDispatcher
|
|
|
|
|
import org.mozilla.fenix.helpers.FeatureSettingsHelperDelegate
|
|
|
|
|
import org.mozilla.fenix.helpers.HomeActivityIntentTestRule
|
|
|
|
|
import org.mozilla.fenix.helpers.MatcherHelper.itemContainingText
|
|
|
|
|
import org.mozilla.fenix.helpers.MatcherHelper.itemWithResIdAndText
|
|
|
|
|
import org.mozilla.fenix.helpers.MatcherHelper.itemWithText
|
|
|
|
|
import org.mozilla.fenix.helpers.TestAssetHelper
|
|
|
|
|
import org.mozilla.fenix.helpers.TestHelper.createCustomTabIntent
|
|
|
|
@ -310,6 +311,7 @@ class CustomTabsTest {
|
|
|
|
|
|
|
|
|
|
customTabScreen {
|
|
|
|
|
clickPageObject(itemWithText("PDF form file"))
|
|
|
|
|
clickPageObject(itemWithResIdAndText("android:id/button2", "CANCEL"))
|
|
|
|
|
waitForPageToLoad()
|
|
|
|
|
verifyPDFReaderToolbarItems()
|
|
|
|
|
verifyCustomTabCloseButton()
|
|
|
|
|