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
chore: remove Playwright GitHub Action mentions (#7281)
Max Schmitt0d36cec60090
diff --git a/.github/workflows/infra.yml b/.github/workflows/infra.ymlindex d9965b3176..82dfe1214d 100644--- a/.github/workflows/infra.yml+++ b/.github/workflows/infra.yml@@ -19,9 +19,9 @@ jobs:- uses: actions/setup-node@v2with:node-version: 12- - uses: microsoft/playwright-github-action@v1- run: npm ci- run: npm run build+ - run: node lib/cli/cli install-deps- run: npm run lint- name: Verify clean treerun: |@@ -39,8 +39,8 @@ jobs:- uses: actions/setup-node@v2with:node-version: 12- - uses: microsoft/playwright-github-action@v1- run: npm ci- run: npm run build+ - run: node lib/cli/cli install-deps- run: node utils/build/update_canary_version.js --today-date- run: utils/build/build-playwright-driver.shdiff --git a/.github/workflows/publish_canary_docker.yml b/.github/workflows/publish_canary_docker.ymlindex 6c854d03c9..38343f092f 100644--- a/.github/workflows/publish_canary_docker.yml+++ b/.github/workflows/publish_canary_docker.yml@@ -22,12 +22,12 @@ jobs:login-server: playwright.azurecr.iousername: playwrightpassword: ${{ secrets.DOCKER_PASSWORD }}- - uses: microsoft/playwright-github-action@v1- uses: actions/setup-node@v2with:node-version: 12- run: npm ci- run: npm run build+ - run: node lib/cli/cli install-deps- run: ./utils/docker/build.sh bionic playwright:localbuild-bionic- run: ./utils/docker/build.sh focal playwright:localbuild-focal- name: tag & publishdiff --git a/.github/workflows/publish_canary_driver.yml b/.github/workflows/publish_canary_driver.ymlindex 934ca6e990..7730ebc3a1 100644--- a/.github/workflows/publish_canary_driver.yml+++ b/.github/workflows/publish_canary_driver.yml@@ -17,9 +17,9 @@ jobs:with:node-version: 12registry-url: 'https://registry.npmjs.org'- - uses: microsoft/playwright-github-action@v1- run: npm ci- run: npm run build+ - run: node lib/cli/cli install-deps- run: node utils/build/update_canary_version.js --commit-timestamp- run: utils/build/build-playwright-driver.sh- run: utils/build/upload-playwright-driver.shdiff --git a/.github/workflows/publish_canary_npm.yml b/.github/workflows/publish_canary_npm.ymlindex 9212c81c65..6c6c2c2a32 100644--- a/.github/workflows/publish_canary_npm.yml+++ b/.github/workflows/publish_canary_npm.yml@@ -19,9 +19,9 @@ jobs:with:node-version: 12registry-url: 'https://registry.npmjs.org'- - uses: microsoft/playwright-github-action@v1- run: npm ci- run: npm run build+ - run: node lib/cli/cli install-deps- run: node utils/build/update_canary_version.js --today-dateif: contains(github.ref, 'master') && github.event_name != 'workflow_dispatch'- run: node utils/build/update_canary_version.js --commit-timestampdiff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.ymlindex a6e5132511..e462cbf7bd 100644--- a/.github/workflows/publish_release.yml+++ b/.github/workflows/publish_release.yml@@ -15,9 +15,9 @@ jobs:with:node-version: 12registry-url: 'https://registry.npmjs.org'- - uses: microsoft/playwright-github-action@v1- run: npm ci- run: npm run build+ - run: node lib/cli/cli install-deps- run: utils/publish_all_packages.sh --releaseenv:NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}@@ -32,9 +32,9 @@ jobs:with:node-version: 12registry-url: 'https://registry.npmjs.org'- - uses: microsoft/playwright-github-action@v1- run: npm ci- run: npm run build+ - run: node lib/cli/cli install-deps- run: utils/build/build-playwright-driver.sh- run: utils/build/upload-playwright-driver.shenv:@@ -53,12 +53,12 @@ jobs:login-server: playwright.azurecr.iousername: playwrightpassword: ${{ secrets.DOCKER_PASSWORD }}- - uses: microsoft/playwright-github-action@v1- uses: actions/setup-node@v2with:node-version: 12- run: npm ci- run: npm run build+ - run: node lib/cli/cli install-deps- run: ./utils/docker/build.sh bionic playwright:localbuild-bionic- run: ./utils/docker/build.sh focal playwright:localbuild-focal- name: tag & publishdiff --git a/docs/src/ci.md b/docs/src/ci.mdindex 94e0f4b847..95d038a109 100644--- a/docs/src/ci.md+++ b/docs/src/ci.md@@ -13,7 +13,7 @@ configurations for common CI providers.3 steps to get your tests running on CI:1. **Ensure CI agent can run browsers**: Use [our Docker image](./docker.md)- in Linux agents. Windows and macOS agents do not require any additional dependencies.+ in Linux agents or install your dependencies using the [CLI](./cli.md#install-system-dependencies). Windows and macOS agents do not require any additional dependencies.1. **Install Playwright**:```bash jsnpm ci@@ -35,20 +35,24 @@ configurations for common CI providers.## CI configurations-### GitHub Actions+The [Command Line Interface](./cli.md#install-system-dependencies) can be used to install all operating system dependencies on GitHub Actions.-The [Playwright GitHub Action](https://github.com/microsoft/playwright-github-action) can be used to run Playwright tests on GitHub Actions.+### GitHub Actions```yml jssteps:- - uses: microsoft/playwright-github-action@v1+ - uses: actions/checkout@v2+ - uses: actions/setup-node@v2+ with:+ node-version: '14'+ - name: Install operating system dependencies+ run: npx playwright install-deps- name: Run your testsrun: npm test``````yml pythonsteps:- - uses: microsoft/playwright-github-action@v1- name: Set up Pythonuses: actions/setup-python@v2with:@@ -60,11 +64,13 @@ steps:pip install -e .- name: Ensure browsers are installedrun: python -m playwright install+ - name: Install operating system dependencies+ run: python -m playwright install-deps- name: Run your testsrun: pytest```-We run [our tests](https://github.com/microsoft/playwright/blob/master/.github/workflows/tests.yml) on GitHub Actions, across a matrix of 3 platforms (Windows, Linux, macOS) and 3 browsers (Chromium, Firefox, WebKit).+We run [our tests](https://github.com/microsoft/playwright/blob/master/.github/workflows/tests_secondary.yml) on GitHub Actions, across a matrix of 3 platforms (Windows, Linux, macOS) and 3 browsers (Chromium, Firefox, WebKit).### Dockerdiff --git a/docs/src/why-playwright.md b/docs/src/why-playwright.mdindex f343ac2158..2130f32ba8 100644--- a/docs/src/why-playwright.md+++ b/docs/src/why-playwright.md@@ -52,7 +52,7 @@ Playwright enables fast, reliable and capable automation across all modern brows* **Language bindings**. Playwright is available for [Node.js](https://github.com/microsoft/playwright) [Python](https://github.com/microsoft/playwright-python), [.NET](https://github.com/microsoft/playwright-dotnet) and[Java](https://github.com/microsoft/playwright-java). Learn more about [supported languages](./languages.md).-* **Deploy tests to CI**. First-party [Docker image](./docker.md) and [GitHub Actions](https://github.com/microsoft/playwright-github-action) to deploy tests to [your preferred CI/CD provider](./ci.md).+* **Deploy tests to CI**. First-party [Docker image](./docker.md) and [GitHub Actions](./ci.md#github-actions) support to deploy tests to [your preferred CI/CD provider](./ci.md).## Limitations