diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index a201c1612..7b4f43c6e 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -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" diff --git a/CHANGELOG.md b/CHANGELOG.md index 36666c376..2105525e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index a17b90060..2a1cb90bc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -241,6 +241,7 @@ services: BRANCH_NAME: RUBY_VERSION: environment: + <<: *common-environment BUILDKITE: BROWSER_STACK_USERNAME: BROWSER_STACK_ACCESS_KEY: @@ -261,6 +262,7 @@ services: BRANCH_NAME: RUBY_VERSION: environment: + <<: *common-environment BUILDKITE: BROWSER_STACK_USERNAME: BROWSER_STACK_ACCESS_KEY: @@ -278,6 +280,7 @@ services: BRANCH_NAME: RUBY_VERSION: environment: + <<: *common-environment BITBAR_USERNAME: BITBAR_ACCESS_KEY: BUILDKITE: diff --git a/dockerfiles/Dockerfile.ci-ruby-3 b/dockerfiles/Dockerfile.ci-ruby-3 index cb64855d3..b81d6e0a9 100644 --- a/dockerfiles/Dockerfile.ci-ruby-3 +++ b/dockerfiles/Dockerfile.ci-ruby-3 @@ -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 \ diff --git a/lib/maze/client/appium/bs_client.rb b/lib/maze/client/appium/bs_client.rb index cddbc4dba..20fcc63e9 100644 --- a/lib/maze/client/appium/bs_client.rb +++ b/lib/maze/client/appium/bs_client.rb @@ -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 diff --git a/lib/maze/client/selenium/bs_client.rb b/lib/maze/client/selenium/bs_client.rb index 447a84cec..b840af125 100644 --- a/lib/maze/client/selenium/bs_client.rb +++ b/lib/maze/client/selenium/bs_client.rb @@ -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