Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(test runner): document that --only-changed on CI needs history (#32461)

Simon Knott0a49c05e2d12
diff --git a/docs/src/ci.md b/docs/src/ci.md
index 7a08a00b4a..97ea4ad8d2 100644
--- a/docs/src/ci.md
+++ b/docs/src/ci.md
@@ -432,6 +432,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
+ with:
+ # Force a non-shallow checkout, so that we can reference $GITHUB_BASE_REF.
+ # See https://github.com/actions/checkout for more details.
+ fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
@@ -1044,4 +1048,4 @@ xvfb-run mvn test
```
```bash csharp
xvfb-run dotnet test
-```
\ No newline at end of file
+```