From 0b6625bbad05be706163bd1f059a22cfdada69e1 Mon Sep 17 00:00:00 2001 From: Ross Wollman Date: Mon, 29 Mar 2021 20:04:44 -0700 Subject: [PATCH] docs: fix HEADFUL run instructions (#5980) --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c3ef1da5f3..964ff1244c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -169,7 +169,7 @@ it.skip('should work', async ({server, page}) => { - To run tests in non-headless (headful) mode: ```bash -HEADLESS=false npm run ctest +HEADFUL=1 npm run ctest ``` - To run tests with custom browser executable, specify `CRPATH`, `WKPATH` or `FFPATH` env variable that points to browser executable: @@ -181,7 +181,7 @@ CRPATH= npm run ctest - To run tests in slow-mode: ```bash -HEADLESS=false SLOW_MO=500 npm run wtest +HEADFUL=1 SLOW_MO=500 npm run wtest ``` - When should a test be marked with `skip` or `fail`?