Allow to set DefaultNavigationTimeout via Timeouts.pageLoadTimeout #366
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Playwrightium Tests | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: [ main, master ] | |
permissions: | |
contents: write | |
actions: write | |
checks: write | |
jobs: | |
playwrightium_local: | |
env: | |
DISPLAY: :0 | |
name: 'Playwrightuim local Tests' | |
runs-on: ubuntu-latest | |
container: | |
image: mcr.microsoft.com/playwright/java:v1.43.0-jammy | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Build & Install | |
run: mvn -B install -DskipTests --no-transfer-progress | |
- name: Run tests | |
run: xvfb-run mvn test -Dtest=org.brit.test.selenide.local.**.* | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v5 | |
if: success() || failure() # always run even if the previous step fails | |
with: | |
check_name: 'Playwrightium local tests results' | |
report_paths: '**/target/surefire-reports/TEST-*.xml' | |
include_passed: true | |
playwrightium_selenoid: | |
name: 'Playwrightium remote tests' | |
runs-on: ubuntu-latest | |
# container: | |
# image: mcr.microsoft.com/playwright/java:v1.41.2-jammy | |
steps: | |
- name: Start selenoid | |
uses: Xotabu4/selenoid-github-action@v2 | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup Maven Action | |
uses: s4u/setup-maven-action@v1.16.0 | |
- name: install playwright | |
run: mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install" | |
- name: Build & Install | |
run: mvn -B install -DskipTests --no-transfer-progress | |
- name: Run tests | |
run: mvn test -Dtest=org.brit.test.selenide.remote.**.* | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v5 | |
if: success() || failure() # always run even if the previous step fails | |
with: | |
check_name: 'Playwrightium remote tests results' | |
report_paths: '**/target/surefire-reports/TEST-*.xml' | |
include_passed: true |