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 Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
integration Updated tests to handle visibility tier 2022-02-01 11:13:51 +05:30
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 Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00