Skip to content

Commit

Permalink
Fix Serenity Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
karanshah-browserstack committed Oct 23, 2024
1 parent 5e16705 commit 9d53784
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ local.log
.idea
*/*/logs
*.iml
logs/
6 changes: 3 additions & 3 deletions android/browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ buildName: browserstack build
buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${expression}
# Set `framework` of your test suite. Example, `testng`, `cucumber`, `cucumber-testng`
# This property is needed to send test context to BrowserStack (test name, status)
framework: junit5
framework: serenity

source: junit5:appium-sample-sdk:v1.1
source: serenity:appium-sample-sdk:v1.1

app: ./WikipediaSample.apk
#app: ./LocalSample.apk #For running local tests
# app: ./LocalSample.apk #For running local tests

# =======================================
# Platforms (Browsers / Devices to test)
Expand Down
7 changes: 7 additions & 0 deletions android/src/test/resources/serenity.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
webdriver {
driver = remote
remote.url = "https://hub.browserstack.com/wd/hub"
remote.driver = "appium"
}
browserstack.user="${BROWSERSTACK_USERNAME}"
browserstack.key="${BROWSERSTACK_ACCESS_KEY}"
4 changes: 2 additions & 2 deletions ios/browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ buildName: browserstack build
buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${expression}
# Set `framework` of your test suite. Example, `testng`, `cucumber`, `cucumber-testng`
# This property is needed to send test context to BrowserStack (test name, status)
framework: junit5
framework: serenity

source: junit5:appium-sample-sdk:v1.1
source: serenity:appium-sample-sdk:v1.1

app: ./BStackSampleApp.ipa
#app: ./LocalSample.ipa #For running local tests
Expand Down
7 changes: 7 additions & 0 deletions ios/src/test/resources/serenity.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
webdriver {
driver = remote
remote.url = "https://hub.browserstack.com/wd/hub"
remote.driver = "appium"
}
browserstack.user="${BROWSERSTACK_USERNAME}"
browserstack.key="${BROWSERSTACK_ACCESS_KEY}"

0 comments on commit 9d53784

Please sign in to comment.