docs: fix typo in detox.md #6333
Workflow file for this run
This file contains hidden or 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: Playwright Tests | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| env: | |
| CI: true | |
| # Force terminal colors. @see https://www.npmjs.com/package/colors | |
| FORCE_COLOR: 1 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-18.04 | |
| strategy: | |
| matrix: | |
| node-version: [12.x] | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - uses: microsoft/playwright-github-action@v1 | |
| - name: install required packages | |
| run: | | |
| sudo apt-get install php | |
| - name: npm install | |
| run: | | |
| npm install | |
| - name: start a server | |
| run: "php -S 127.0.0.1:8000 -t test/data/app &" | |
| - name: run chromium tests | |
| run: "./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --debug" | |
| - name: run firefox tests | |
| run: "BROWSER=firefox node ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --debug" | |
| - name: run webkit tests | |
| run: "BROWSER=webkit node ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --debug" | |
| - name: run unit tests | |
| run: ./node_modules/.bin/mocha test/helper/Playwright_test.js |