Latest version hosted on Netlify
cd gridsome-portfolio-starter
npm install
(This can be a long download because of Cypress.)gridsome develop
to start a local dev server athttp://localhost:8080
Basic end-to-end tests using Cypress. You can find them in /cypress/integration/tests.js
.
To run tests, first make sure your dev server is running with gridsome develop
. I'm assuming you're using the default port of 8080. If not, change the baseUrl
key in the cypress.json
file.
After your dev server is running, you can run npm run test
or ./node_modules/.bin/cypress open
to start Cypress. The Cypress electron app will run. Click the tests.js
file and the tests will run in an automated browser.
- Illustrations from unDraw