git clone https://github.com/rink9/jest-puppeteer-scaffold.git
cd to jest-puppeteer-scaffold
- Open
.env.example
file under tests/e2e and provide your credentials - After everything is done, rename file as
.env
and save it
npm install
To run interactively:
npm run test:e2e -- --wordpress-base-url=BASE_URL --wordpress-username=username --wordpress-password=password --puppeteer-interactive
To run headlessly:
npm run test:e2e -- --wordpress-base-url=BASE_URL --wordpress-username=username --wordpress-password=password