Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
run #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Oana Horvath committed Nov 24, 2021
1 parent 89a633e commit c4c4746
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
8 changes: 6 additions & 2 deletions app/src/androidTest/java/org/mozilla/fenix/ui/SmokeTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -888,10 +888,12 @@ class SmokeTest {

navigationToolbar {
}.enterURLAndEnterToBrowser(firstWebsite.url) {
verifyPageContent(firstWebsite.content)
}.openTabDrawer {
createCollection(firstWebsite.title, collectionName)
}.openNewTab {
}.submitQuery(secondWebsite.url.toString()) {
verifyPageContent(secondWebsite.content)
}.openThreeDotMenu {
}.openSaveToCollection {
}.selectExistingCollection(collectionName) {
Expand Down Expand Up @@ -975,14 +977,16 @@ class SmokeTest {
val firstWebsiteTitle = firstWebsite.title
val secondWebsiteTitle = secondWebsite.title
val sharingApp = "Gmail"
val urlString = "${firstWebsite.url}\n\n${secondWebsite.url}"
val sharedUrlsString = "${firstWebsite.url}\n\n${secondWebsite.url}"

homeScreen {
}.openNavigationToolbar {
}.enterURLAndEnterToBrowser(firstWebsite.url) {
verifyPageContent(firstWebsite.content)
}.openTabDrawer {
}.openNewTab {
}.submitQuery(secondWebsite.url.toString()) {
verifyPageContent(secondWebsite.content)
}.openTabDrawer {
verifyExistingOpenTabs("Test_Page_1")
verifyExistingOpenTabs("Test_Page_2")
Expand All @@ -992,7 +996,7 @@ class SmokeTest {
verifyShareTabsOverlay(firstWebsiteTitle, secondWebsiteTitle)
selectAppToShareWith(sharingApp)
verifySharedTabsIntent(
urlString,
sharedUrlsString,
"$firstWebsiteTitle, $secondWebsiteTitle"
)
}
Expand Down
14 changes: 7 additions & 7 deletions automation/taskcluster/androidTest/flank-x86-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ gcloud:
performance-metrics: true

test-targets:
- class org.mozilla.fenix.ui.NavigationToolbarTest#visitURLTest
- class org.mozilla.fenix.ui.HistoryTest#visitedUrlHistoryTest
- class org.mozilla.fenix.ui.SmokeTest#openMainMenuSettingsItemTest
- class org.mozilla.fenix.ui.SmokeTest#toggleSearchSuggestions
- class org.mozilla.fenix.ui.SmokeTest#deleteCollectionTest
- class org.mozilla.fenix.ui.SmokeTest#noHistoryInPrivateBrowsingTest
- class org.mozilla.fenix.ui.NoNetworkAccessStartupTests#noNetworkConnectionStartupTest
# - class org.mozilla.fenix.ui.NavigationToolbarTest#visitURLTest
# - class org.mozilla.fenix.ui.HistoryTest#visitedUrlHistoryTest
# - class org.mozilla.fenix.ui.SmokeTest#openMainMenuSettingsItemTest
# - class org.mozilla.fenix.ui.SmokeTest#toggleSearchSuggestions
# - class org.mozilla.fenix.ui.SmokeTest#deleteCollectionTest
# - class org.mozilla.fenix.ui.SmokeTest#noHistoryInPrivateBrowsingTest
# - class org.mozilla.fenix.ui.NoNetworkAccessStartupTests#noNetworkConnectionStartupTest

device:
- model: Pixel2
Expand Down
14 changes: 7 additions & 7 deletions automation/taskcluster/androidTest/flank-x86-start-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ gcloud:
performance-metrics: true

test-targets:
- class org.mozilla.fenix.ui.NavigationToolbarTest#visitURLTest
- class org.mozilla.fenix.ui.HistoryTest#visitedUrlHistoryTest
- class org.mozilla.fenix.ui.SmokeTest#openMainMenuSettingsItemTest
- class org.mozilla.fenix.ui.SmokeTest#toggleSearchSuggestions
- class org.mozilla.fenix.ui.SmokeTest#deleteCollectionTest
- class org.mozilla.fenix.ui.SmokeTest#noHistoryInPrivateBrowsingTest
- class org.mozilla.fenix.ui.NoNetworkAccessStartupTests#noNetworkConnectionStartupTest
# - class org.mozilla.fenix.ui.NavigationToolbarTest#visitURLTest
# - class org.mozilla.fenix.ui.HistoryTest#visitedUrlHistoryTest
# - class org.mozilla.fenix.ui.SmokeTest#openMainMenuSettingsItemTest
# - class org.mozilla.fenix.ui.SmokeTest#toggleSearchSuggestions
# - class org.mozilla.fenix.ui.SmokeTest#deleteCollectionTest
# - class org.mozilla.fenix.ui.SmokeTest#noHistoryInPrivateBrowsingTest
# - class org.mozilla.fenix.ui.NoNetworkAccessStartupTests#noNetworkConnectionStartupTest

device:
- model: Pixel2
Expand Down
2 changes: 1 addition & 1 deletion automation/taskcluster/androidTest/flank-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ flank:
max-test-shards: -1
# num-test-runs: the amount of times to run the tests.
# 1 runs the tests once. 10 runs all the tests 10x
num-test-runs: 5
num-test-runs: 60
### Output Style flag
## Output style of execution status. May be one of [verbose, multi, single, compact].
## For runs with only one test execution the default value is 'verbose', in other cases
Expand Down

0 comments on commit c4c4746

Please sign in to comment.