Skip to content

Commit

Permalink
Merge pull request #1604 from bugsnag/tms/app-hangs-bs
Browse files Browse the repository at this point in the history
Run App Hang test scenarios with Appium 1
  • Loading branch information
twometresteve authored Nov 8, 2023
2 parents d7edee0 + 6c72cd9 commit 89cc9fb
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 1 deletion.
120 changes: 120 additions & 0 deletions .buildkite/pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ steps:
run: cocoa-maze-runner-bitbar
service-ports: true
command:
# PLAT-11155: App hang scenarios run on BrowserStack
- "--exclude=features/app_hangs.feature"
- "--exclude=features/[e-z].*.feature$"
- "--app=@/app/build/ipa_url_bb.txt"
- "--farm=bb"
Expand Down Expand Up @@ -79,6 +81,8 @@ steps:
- "--no-tunnel"
- "--aws-public-ip"
- "--fail-fast"
# PLAT-11155: App hang scenarios run on BrowserStack
- "--exclude=features/app_hangs.feature"
- "--exclude=features/[e-z].*.feature$"
concurrency: 25
concurrency_group: 'bitbar'
Expand Down Expand Up @@ -139,6 +143,8 @@ steps:
- "--no-tunnel"
- "--aws-public-ip"
- "--fail-fast"
# PLAT-11155: App hang scenarios run on BrowserStack
- "--exclude=features/app_hangs.feature"
- "--exclude=features/[e-z].*.feature$"
concurrency: 25
concurrency_group: 'bitbar'
Expand Down Expand Up @@ -199,6 +205,8 @@ steps:
- "--no-tunnel"
- "--aws-public-ip"
- "--fail-fast"
# PLAT-11155: App hang scenarios run on BrowserStack
- "--exclude=features/app_hangs.feature"
- "--exclude=features/[e-z].*.feature$"
concurrency: 25
concurrency_group: 'bitbar'
Expand Down Expand Up @@ -241,6 +249,118 @@ steps:
#
# BrowserStack
#
# PLAT-11155: App hang tests run on BrowserStack (Appium 1.x) for now
- label: ':browserstack: iOS 15 app hang tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 10
agents:
queue: opensource
plugins:
artifacts#v1.5.0:
download: "features/fixtures/ios/output/ipa_url_bs.txt"
upload: "maze_output/failed/**/*"
docker-compose#v3.7.0:
pull: cocoa-maze-runner
run: cocoa-maze-runner
command:
- "--app=@build/ipa_url_bs.txt"
- "--farm=bs"
- "--device=IOS_15"
- "--appium-version=1.21.0"
- "features/app_hangs.feature"
concurrency: 5
concurrency_group: 'browserstack-app'
concurrency_method: eager
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

# PLAT-11155: App hang tests run on BrowserStack (Appium 1.x) for now
- label: ':browserstack: iOS 14 app hang tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 10
agents:
queue: opensource
plugins:
artifacts#v1.5.0:
download: "features/fixtures/ios/output/ipa_url_bs.txt"
upload: "maze_output/failed/**/*"
docker-compose#v3.7.0:
pull: cocoa-maze-runner
run: cocoa-maze-runner
command:
- "--app=@build/ipa_url_bs.txt"
- "--farm=bs"
- "--device=IOS_14"
- "--appium-version=1.21.0"
- "features/app_hangs.feature"
concurrency: 5
concurrency_group: 'browserstack-app'
concurrency_method: eager
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

# PLAT-11155: App hang tests run on BrowserStack (Appium 1.x) for now
- label: ':browserstack: iOS 13 app hang tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 10
agents:
queue: opensource
plugins:
artifacts#v1.5.0:
download: "features/fixtures/ios/output/ipa_url_bs.txt"
upload: "maze_output/failed/**/*"
docker-compose#v3.7.0:
pull: cocoa-maze-runner
run: cocoa-maze-runner
command:
- "--app=@build/ipa_url_bs.txt"
- "--farm=bs"
- "--device=IOS_13"
- "--appium-version=1.21.0"
- "features/app_hangs.feature"
concurrency: 5
concurrency_group: 'browserstack-app'
concurrency_method: eager
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

# PLAT-11155: App hang tests run on BrowserStack (Appium 1.x) for now
- label: ':browserstack: iOS 12 app hang tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 10
agents:
queue: opensource
plugins:
artifacts#v1.5.0:
download: "features/fixtures/ios/output/ipa_url_bs.txt"
upload: "maze_output/failed/**/*"
docker-compose#v3.7.0:
pull: cocoa-maze-runner
run: cocoa-maze-runner
command:
- "--app=@build/ipa_url_bs.txt"
- "--farm=bs"
- "--device=IOS_12"
- "--appium-version=1.21.0"
- "features/app_hangs.feature"
concurrency: 5
concurrency_group: 'browserstack-app'
concurrency_method: eager
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: ':browserstack: iOS 11 E2E tests batch 1'
skip: "https://smartbear.atlassian.net/browse/PLAT-11154"
depends_on:
Expand Down
30 changes: 30 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ steps:
- "--no-tunnel"
- "--aws-public-ip"
- "--fail-fast"
# PLAT-11155: App hang scenarios run on BrowserStack
- "--exclude=features/app_hangs.feature"
- "--exclude=features/[e-z].*.feature$"
concurrency: 25
concurrency_group: 'bitbar'
Expand Down Expand Up @@ -355,6 +357,34 @@ steps:
- exit_status: -1 # Agent was lost
limit: 2

# PLAT-11155: App hang tests run on BrowserStack (Appium 1.x) for now
- label: ':browserstack: iOS 16 app hang tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 10
agents:
queue: opensource
plugins:
artifacts#v1.5.0:
download: "features/fixtures/ios/output/ipa_url_bs.txt"
upload: "maze_output/failed/**/*"
docker-compose#v3.7.0:
pull: cocoa-maze-runner
run: cocoa-maze-runner
command:
- "--app=@build/ipa_url_bs.txt"
- "--farm=bs"
- "--device=IOS_16"
- "--appium-version=1.21.0"
- "features/app_hangs.feature"
concurrency: 5
concurrency_group: 'browserstack-app'
concurrency_method: eager
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2

- label: ':bitbar: iOS 15 barebone tests'
depends_on:
- cocoa_fixture
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ Package.resolved
/docs/
/infer-out
/oclint.json
bb.ready
1 change: 0 additions & 1 deletion features/app_hangs.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@skip # https://smartbear.atlassian.net/browse/PLAT-11155
Feature: App hangs

Background:
Expand Down

0 comments on commit 89cc9fb

Please sign in to comment.