Ghost/test/utils
Hannah Wolfe 2768f5bb72
Removed ancient Casper fixture
refs: https://github.com/TryGhost/Toolbox/issues/168

- The fixture represented Casper at Ghost version 1.0 which pre-dated the introduction of the posts_per_page config in package.json
- When Casper was upgraded to 2.0 in the fixtures, the lack of pagination broke the e2e tests for pagination
- This change introduces proper code to stub and override posts_per_page rather than keeping and using the old casper-1.4 fixture
- It also required me to remove a handful of CSS-based checks which are no longer true in the new theme version, but also didn't really add anything to the tests
2022-01-24 12:24:51 +00:00
..
fixtures Removed ancient Casper fixture 2022-01-24 12:24:51 +00:00
mocks Colocated mock-express style utilities 2021-10-20 13:18:35 +01:00
admin-utils.js Improved dev tooling (#13118) 2021-07-05 20:02:22 +01:00
api.js Fixed handing test suite 2021-12-09 13:52:02 +04:00
assertions.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
configUtils.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
db-utils.js Destroyed connection before restoring DB file 2021-12-07 08:23:51 +00:00
e2e-framework-mock-utils.js Moved email stubbing logic into e2e-framework utils 2021-12-09 15:10:13 +04:00
e2e-framework.js Removed copy-pasta code form TestAgent 2021-12-13 13:13:17 +04:00
e2e-utils.js Revert "Improve the performance of prepareContentFolder" 2022-01-04 11:34:42 +00:00
fixture-utils.js Fixed error wording in fixture-utils 2021-12-07 11:12:10 +04:00
index.js Added extra debug to test utilities 2021-11-19 10:47:21 +00:00
overrides.js Improved dev tooling (#13118) 2021-07-05 20:02:22 +01:00
redirects.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
snapshots.js Removed duplicate snapshot initialization code 2021-12-10 06:37:31 +13:00
test-agent.js Removed copy-pasta code form TestAgent 2021-12-13 13:13:17 +04:00
url-service-utils.js Removed unused parameter from isFinished method 2021-11-24 05:32:20 +13:00
urlUtils.js Updated test UrlUtils to use canary by default 2022-01-21 15:12:27 +00:00