зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1815872 - Test org.mozilla.geckoview.test.PdfCreationTest#saveAPdfDocument must only run on nightly r=geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D169323
This commit is contained in:
Родитель
d84ba3f2ec
Коммит
357a4769c7
|
@ -15,6 +15,7 @@ import androidx.test.filters.LargeTest
|
|||
import org.hamcrest.Matchers.equalTo
|
||||
import org.junit.After
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Assume.assumeThat
|
||||
import org.junit.Before
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
|
@ -146,6 +147,8 @@ class PdfCreationTest : BaseSessionTest() {
|
|||
@NullDelegate(Autofill.Delegate::class)
|
||||
@Test
|
||||
fun saveAPdfDocument() {
|
||||
assumeThat(sessionRule.env.isNightly, equalTo(true))
|
||||
|
||||
activityRule.scenario.onActivity {
|
||||
mainSession.loadTestPath(HELLO_PDF_WORLD_PDF_PATH)
|
||||
mainSession.waitForPageStop()
|
||||
|
|
Загрузка…
Ссылка в новой задаче