mirror of
https://github.com/SeleniumHQ/selenium.git
synced 2026-03-29 06:30:33 +00:00
55 lines
2.5 KiB
YAML
55 lines
2.5 KiB
YAML
name: CI - Java
|
|
|
|
on:
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
browser-tests:
|
|
name: Browser Tests
|
|
uses: ./.github/workflows/bazel.yml
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os:
|
|
- ubuntu
|
|
- windows
|
|
- macos
|
|
with:
|
|
name: Browser Tests (${{ matrix.os }})
|
|
os: ${{ matrix.os }}
|
|
cache-key: java-${{ matrix.os }}-tests
|
|
java-version: 17
|
|
# Targets:
|
|
# 1. Browser functional tests (local & remote)
|
|
# 2. Selenium Manager tests
|
|
# 3. Tests skipped in .skipped-tests (cannot run on RBE)
|
|
run: >
|
|
bazel test
|
|
--flaky_test_attempts 3
|
|
--pin_browsers=false
|
|
--test_env=SE_FORCE_BROWSER_DOWNLOAD=true
|
|
--test_env=SE_SKIP_DRIVER_IN_PATH=true
|
|
//java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest
|
|
//java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote
|
|
//java/test/org/openqa/selenium/edge:EdgeDriverFunctionalTest
|
|
//java/test/org/openqa/selenium/edge:EdgeDriverFunctionalTest-remote
|
|
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest
|
|
//java/test/org/openqa/selenium/firefox:RemoteFirefoxDriverTest
|
|
//java/test/org/openqa/selenium/manager:SeleniumManagerTest
|
|
//java/test/org/openqa/selenium/manager:SeleniumManagerTest-chrome
|
|
//java/test/org/openqa/selenium/manager:SeleniumManagerTest-edge
|
|
//java/test/org/openqa/selenium/manager:SeleniumManagerTest-safari
|
|
//java/test/org/openqa/selenium/devtools:NetworkInterceptorRestTest
|
|
//java/test/org/openqa/selenium/devtools:NetworkInterceptorRestTest-remote
|
|
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest
|
|
//java/test/org/openqa/selenium/grid/gridui:OverallGridTest
|
|
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest
|
|
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-chrome
|
|
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-chrome-remote
|
|
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-edge
|
|
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-edge-remote
|
|
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest-remote
|
|
//java/test/org/openqa/selenium/remote:RemoteWebDriverBuilderTest
|
|
//java/test/org/openqa/selenium/remote:RemoteWebDriverScreenshotTest-remote
|