Skip to content

Commit

Permalink
Merge pull request #711 from bugsnag/je/plat-13351-update-bs-session-…
Browse files Browse the repository at this point in the history
…links

[PLAT-13351] Update BrowserStack Session URL
  • Loading branch information
joshedney authored Jan 8, 2025
2 parents 389592d + b01f754 commit 6df8386
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ steps:
# BrowserStack tests
#

- label: 'browserstack: Android 8.1 - JWP'
- label: ':browserstack: Android 8.1 - JWP'
timeout_in_minutes: 20
depends_on:
- "android-test-fixture"
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# 9.22.0 - 2024/12/xx
# 9.22.0 - 2025/01/08

## Enhancements

- Skip remaining tests after Appium session failure [708](https://github.com/bugsnag/maze-runner/pull/708)
- Add wait_for_element and click_element methods to browser driver [710](https://github.com/bugsnag/maze-runner/pull/710)
- Adjust the URL used for Browserstack Sessions [711](https://github.com/bugsnag/maze-runner/pull/711)

# 9.21.0 - 2024/11/28

Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ services:
BRANCH_NAME:
RUBY_VERSION:
environment:
<<: *common-environment
BUILDKITE:
BROWSER_STACK_USERNAME:
BROWSER_STACK_ACCESS_KEY:
Expand All @@ -261,6 +262,7 @@ services:
BRANCH_NAME:
RUBY_VERSION:
environment:
<<: *common-environment
BUILDKITE:
BROWSER_STACK_USERNAME:
BROWSER_STACK_ACCESS_KEY:
Expand All @@ -278,6 +280,7 @@ services:
BRANCH_NAME:
RUBY_VERSION:
environment:
<<: *common-environment
BITBAR_USERNAME:
BITBAR_ACCESS_KEY:
BUILDKITE:
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.ci-ruby-3
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ruby image are based on Debian
FROM ruby:3-bullseye as ci-ruby-3
FROM ruby:3.3.3-bullseye as ci-ruby-3

RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
apt-get install -y apt-utils wget unzip bash bundler \
Expand Down
2 changes: 1 addition & 1 deletion lib/maze/client/appium/bs_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def device_capabilities

def log_run_intro
# Log a link to the BrowserStack session search dashboard
url = "https://app-automate.browserstack.com/dashboard/v2/search?query=#{Maze.run_uuid}&type=builds"
url = "https://app-automate.browserstack.com/projects/#{project_name_capabilities[:project]}/builds/#{Maze.run_uuid}/1?tab=tests"
$logger.info Maze::Loggers::LogUtil.linkify(url, 'BrowserStack session(s)')
end

Expand Down
2 changes: 1 addition & 1 deletion lib/maze/client/selenium/bs_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def project_name_capabilities

def log_session_info
# Log a link to the BrowserStack session search dashboard
url = "https://automate.browserstack.com/dashboard/v2/search?query=#{Maze.run_uuid}&type=builds"
url = "https://automate.browserstack.com/projects/#{project_name_capabilities[:project]}/builds/#{Maze.run_uuid}/1?tab=tests"
$logger.info Maze::Loggers::LogUtil.linkify url, 'BrowserStack session(s)'
end
end
Expand Down

0 comments on commit 6df8386

Please sign in to comment.