Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs(ci): updated language ports container images (#22852)
Ricardo Melo Joia1f209204cd18
diff --git a/docs/src/ci.md b/docs/src/ci.mdindex 5a35ae0126..b20999f93c 100644--- a/docs/src/ci.md+++ b/docs/src/ci.md@@ -194,7 +194,7 @@ jobs:name: 'Playwright Tests'runs-on: ubuntu-latestcontainer:- image: mcr.microsoft.com/playwright:v1.34.0-jammy+ image: mcr.microsoft.com/playwright/python:v1.34.0-jammysteps:- uses: actions/checkout@v3- name: Set up Python@@ -206,8 +206,6 @@ jobs:python -m pip install --upgrade pippip install -r local-requirements.txtpip install -e .- - name: Ensure browsers are installed- run: python -m playwright install --with-deps- name: Run your testsrun: pytest```@@ -218,7 +216,7 @@ jobs:name: 'Playwright Tests'runs-on: ubuntu-latestcontainer:- image: mcr.microsoft.com/playwright:v1.34.0-jammy+ image: mcr.microsoft.com/playwright/java:v1.34.0-jammysteps:- uses: actions/checkout@v3- uses: actions/setup-java@v3@@ -227,8 +225,6 @@ jobs:java-version: '17'- name: Build & Installrun: mvn -B install -D skipTests --no-transfer-progress- - name: Install Playwright- run: mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install --with-deps"- name: Run testsrun: mvn test```@@ -239,7 +235,7 @@ jobs:name: 'Playwright Tests'runs-on: ubuntu-latestcontainer:- image: mcr.microsoft.com/playwright:v1.34.0-jammy+ image: mcr.microsoft.com/playwright/dotnet:v1.34.0-jammysteps:- uses: actions/checkout@v3- name: Setup dotnet@@ -247,8 +243,6 @@ jobs:with:dotnet-version: 6.0.x- run: dotnet build- - name: Ensure browsers are installed- run: pwsh bin\Debug\net6.0\playwright.ps1 install --with-deps- name: Run your testsrun: dotnet test```@@ -348,7 +342,7 @@ jobs:inputs:searchFolder: 'my-e2e-tests/test-results'testResultsFormat: 'JUnit'- testResultsFiles: 'e2e-junit-results.xml'+ testResultsFiles: 'e2e-junit-results.xml'mergeTestResults: truefailTaskOnFailedTests: truetestRunTitle: 'My End-To-End Tests'@@ -393,7 +387,7 @@ Sharding in CircleCI is indexed with 0 which means that you will need to overridexecutor: pw-jammy-developmentparallelism: 4steps:- - run: SHARD="$((${CIRCLE_NODE_INDEX}+1))"; npx playwright test -- --shard=${SHARD}/${CIRCLE_NODE_TOTAL}+ - run: SHARD="$((${CIRCLE_NODE_INDEX}+1))"; npx playwright test -- --shard=${SHARD}/${CIRCLE_NODE_TOTAL}```### Jenkins