add sharding to best practices
This commit is contained in:
parent
d0c840f639
commit
b35b404a37
|
|
@ -261,7 +261,7 @@ npx playwright --version
|
||||||
|
|
||||||
Setup CI/CD and run your tests frequently. The more often you run your tests the better. Ideally you should run your tests on each commit and pull request. Playwright comes with a [GitHub actions workflow](/ci-intro.md) so that tests will run on CI for you with no setup required. Playwright can also be setup on the [CI environment](/ci.md) of your choice.
|
Setup CI/CD and run your tests frequently. The more often you run your tests the better. Ideally you should run your tests on each commit and pull request. Playwright comes with a [GitHub actions workflow](/ci-intro.md) so that tests will run on CI for you with no setup required. Playwright can also be setup on the [CI environment](/ci.md) of your choice.
|
||||||
|
|
||||||
Use Linux when running your tests on CI as it is cheaper. Developers can use whatever environment when running locally but use linux on CI.
|
Use Linux when running your tests on CI as it is cheaper. Developers can use whatever environment when running locally but use linux on CI. Set up [Sharding](./test-sharding-js.md) to make CI faster.
|
||||||
|
|
||||||
### Lint your tests
|
### Lint your tests
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue