Ghost/test
Daniel Lockyer 1a0362f3db Added demo E2E browser test
refs https://github.com/TryGhost/Toolbox/issues/207

- we want to start writing some E2E tests that involve automated
  pointing and clicking around the frontend of Ghost to test that
  members of Ghost sites can still do what we expect
- we've decided to look in to Playwright for this - it looks __really__
  nice
- this is a VERY basic first test - it'll check for a 200 on the
  homepage of whatever we provide as the TEST_URL env variable, or
  default to a (manually-run) Ghost instance on port 2368
- also adds a `yarn test:browser` command to run the tests using the
  Playwright CLI, and a sample GitHub Action workflow which we can
  manually run with a site URL
- there's a lot more to add here in terms of test framework but this
  gets us started
2022-02-17 12:16:58 +01:00
..
e2e-api Improved webhooks e2e test bootstrap speed 2022-02-17 15:31:57 +07:00
e2e-browser Added demo E2E browser test 2022-02-17 12:16:58 +01:00
e2e-frontend Fixed e2e-framework to correctly compare headers 2022-02-15 18:38:45 +07:00
e2e-server
integration
regression Added new matcher for location strings 2022-02-16 13:48:56 +00:00
unit Fixed admin views path mocking override in tests 2022-02-16 19:22:20 +01:00
utils Improved webhooks e2e test bootstrap speed 2022-02-17 15:31:57 +07:00
.eslintignore
.eslintrc.js
.jshintrc