Skip to content

Commit b27d755

Browse files
authoredOct 15, 2020
docs(e2e-tests): add alternative hint of running the e2e tests (#27472)
1 parent 239d539 commit b27d755

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎e2e-tests/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ These are end to end tests triggered via a CI job. You can run these tests local
1515
- OPTIONAL: Use [gatsby-dev-cli][gatsby-dev-cli] to link current changes in packages
1616
- Run the `test` script, e.g. `yarn test` or `npm test`
1717

18+
Alternatively you can do what the CI does:
19+
20+
- From the gatsby root run `./scripts/e2e-test.sh "e2e-tests/gatsby-image" "yarn test"`
21+
- The script uses sudo to install -g gatsby-cli. You won't need to and you can ctrl+c the prompt away
22+
1823
Thanks for contributing to Gatsby! 💜
1924

2025
[gatsby-dev-cli]: https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-dev-cli

0 commit comments

Comments
 (0)
Please sign in to comment.