This project demonstrates a simple website app and executing an on-demand test from a branch. The code changes are visible in pull request #1. The Github Actions configuration to execute the on-demand test is in the workflow.
You can start up the example site locally with the following:
git clone https://github.com/ghost-inspector/version-controlled-test-example.git
cd version-controlled-test-example
npm install .
npm run start
Install the Ghost Inspector CLI and execute an on-demand test against the local app:
npm install -g ghost-inspector
ghost-inspector test execute-on-demand $myOrganizationId ./tests/test-contact-form.json \
--ngrokTunnel localhost:3000 \
--ngrokUrlVariable startUrl \
--ngrokToken $myNgrokToken \
--apiKey $myApiKey
Freelancer Bootstrap theme copyright 2013-2021 Start Bootstrap LLC. Code released under the MIT license.