0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test
Naz 2ae0d8ef32 Added e2e framework
refs 24505db918

- The code is heavily borrowed from the referenced commit by @ErisDS. It starts a fresh abstraction layer for all e2e tests to use, provides simle interface for request agent initialization and state management (read the e2e-framework top file description for more)
- Main methods the framework exposes are:
  - getAgent - to initialize request agent with a fresh Ghost instance
  - initFixtures - to initializer a fresh db state
  - resetDb - cleans up the db state if there were state manipulations during the test suite run (POST, PUT requests or non-default fixtures)
2021-12-09 22:20:54 +13:00
..
e2e-api Moved locale testing out of casper fixture (#13850) 2021-12-06 15:11:54 +00:00
e2e-frontend Removed unused sinon referece 2021-11-30 20:14:51 +13:00
e2e-server Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
integration Removed unnecessary rewire call 2021-11-22 14:53:16 +04:00
regression Started a greenfield e2e test framework 2021-12-09 22:20:54 +13:00
unit Revert "Remove unnecessary references to ghostVersion" 2021-12-08 14:28:41 +00:00
utils Added e2e framework 2021-12-09 22:20:54 +13:00
.eslintignore
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc