Bug 1920092 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Hello, this affects some UI tests in how we handle or expect to handle intent handling of opening downloaded PDFs as they are now failing on `autoland`.

https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/5520127331887211174/details?stepId=bs.23dc13a0e8a32e25&testCaseId=2&tabId=logs

https://firefox-ci-tc.services.mozilla.com/tasks/LUk4eDz4QOunYkiqo6WMyA

* `verifyPDFViewerDownloadButtonTest`
* `saveAsPdfFunctionalityTest`
* `saveAsPdfFunctionalityTest`

Nicholas, can you adjust the intent action here that these tests use?

https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/DownloadRobot.kt#230
Hello, this affects some UI tests in how we handle or expect to handle intent handling of opening downloaded PDFs as they are now failing on `autoland`.

https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/5520127331887211174/details?stepId=bs.23dc13a0e8a32e25&testCaseId=2&tabId=logs

https://firefox-ci-tc.services.mozilla.com/tasks/LUk4eDz4QOunYkiqo6WMyA

* `verifyPDFViewerDownloadButtonTest` in org.mozilla.fenix.ui.PDFViewerTest
* `saveAsPdfFunctionalityTest` in org.mozilla.fenix.ui.DownloadTest
* `saveAsPdfFunctionalityTest` in org.mozilla.fenix.ui.RedesignedNavigationToolbarSmokeTest

Nicholas, can you adjust the intent action here that these tests use?

https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/DownloadRobot.kt#230
Hello, this affects some UI tests in how we handle or expect to handle intent handling of opening downloaded PDFs as they are now failing on `autoland`.

https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/5520127331887211174/details?stepId=bs.23dc13a0e8a32e25&testCaseId=2&tabId=logs

https://firefox-ci-tc.services.mozilla.com/tasks/LUk4eDz4QOunYkiqo6WMyA

* `verifyPDFViewerDownloadButtonTest` in org.mozilla.fenix.ui.PDFViewerTest
* `saveAsPdfFunctionalityTest` in org.mozilla.fenix.ui.DownloadTest
* `saveAsPdfFunctionalityTest` in org.mozilla.fenix.ui.RedesignedNavigationToolbarSmokeTest

As these also failed on your `Try` https://treeherder.mozilla.org/jobs?repo=try&revision=117dbdb8443c384c60c1defcc03bf4299d8d9057&selectedTaskRun=DfzOPMEaQOauWHycryPocw.0


Nicholas, can you adjust the intent action here that these tests use?

https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/DownloadRobot.kt#230
Hello, this affects some UI tests in how we handle or expect to handle intent handling of opening downloaded PDFs as they are now failing on `autoland`.

https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/5520127331887211174/details?stepId=bs.23dc13a0e8a32e25&testCaseId=2&tabId=logs

https://firefox-ci-tc.services.mozilla.com/tasks/LUk4eDz4QOunYkiqo6WMyA

* `verifyPDFViewerDownloadButtonTest` in org.mozilla.fenix.ui.PDFViewerTest
* `saveAsPdfFunctionalityTest` in org.mozilla.fenix.ui.DownloadTest
* `saveAsPdfFunctionalityTest` in org.mozilla.fenix.ui.RedesignedNavigationToolbarSmokeTest

As these also failed on your `Try` https://treeherder.mozilla.org/jobs?repo=try&revision=117dbdb8443c384c60c1defcc03bf4299d8d9057&selectedTaskRun=DfzOPMEaQOauWHycryPocw.0


Nicholas, can you adjust the intent action here that these tests use?

https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/DownloadRobot.kt#230

I believe these tests previously expected `com.google.android.apps.docs` to handle the PDF on `Open`

https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/DownloadTest.kt#354
Hello, this affects some UI tests in how we handle or expect to handle intent handling of opening downloaded PDFs as they are now failing on `autoland`.

https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/5520127331887211174/details?stepId=bs.23dc13a0e8a32e25&testCaseId=2&tabId=logs

https://firefox-ci-tc.services.mozilla.com/tasks/LUk4eDz4QOunYkiqo6WMyA

* `verifyPDFViewerDownloadButtonTest` in org.mozilla.fenix.ui.PDFViewerTest
* `saveAsPdfFunctionalityTest` in org.mozilla.fenix.ui.DownloadTest
* `saveAsPdfFunctionalityTest` in org.mozilla.fenix.ui.RedesignedNavigationToolbarSmokeTest

As these also failed on your `Try` https://treeherder.mozilla.org/jobs?repo=try&revision=117dbdb8443c384c60c1defcc03bf4299d8d9057&selectedTaskRun=DfzOPMEaQOauWHycryPocw.0


Nicholas, can you adjust the intent action here that these tests use?

https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/DownloadRobot.kt#230

I believe these tests previously expected `com.google.android.apps.docs` to handle the PDF on `Open`

https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/DownloadTest.kt#354
https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/PDFViewerTest.kt#61
Hello, this affects some UI tests in how we handle or expect to handle intent handling of opening downloaded PDFs as they are now failing on `autoland`.

https://console.firebase.google.com/project/moz-fenix/testlab/histories/bh.66b7091e15d53d45/matrices/5520127331887211174/details?stepId=bs.23dc13a0e8a32e25&testCaseId=2&tabId=logs

https://firefox-ci-tc.services.mozilla.com/tasks/LUk4eDz4QOunYkiqo6WMyA

* `verifyPDFViewerDownloadButtonTest` in org.mozilla.fenix.ui.PDFViewerTest
* `saveAsPdfFunctionalityTest` in org.mozilla.fenix.ui.DownloadTest
* `saveAsPdfFunctionalityTest` in org.mozilla.fenix.ui.RedesignedNavigationToolbarSmokeTest

As these also failed on your `Try` https://treeherder.mozilla.org/jobs?repo=try&revision=117dbdb8443c384c60c1defcc03bf4299d8d9057&selectedTaskRun=DfzOPMEaQOauWHycryPocw.0


I believe these tests previously expected `com.google.android.apps.docs` to handle the PDF on `Open`, so we need to assert that Firefox remains in foreground.

https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/DownloadTest.kt#354
https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/PDFViewerTest.kt#61

Back to Bug 1920092 Comment 4