Ghost/ghost/core/test
Chris Raible 7a800ec06e
Fixed flaky test: posts API export can export with order (#16605)
closes Tryghost/Team#2975

- The test was failing because the order of the posts was not guaranteed
- The posts receive a published_at timestamp = new Date() when they are
created, unless a published_at date is passed in
- ~1/3 times the tests would run, the ordering would change and this
test would fail
- This commit fixes the test by passing in a published_at date to ensure
the order is always the same
2023-04-10 18:40:03 -07:00
..
e2e-api Added email snapshot test to member suite 2023-04-07 16:12:51 +02:00
e2e-browser Fixing error in browser test (#16583) 2023-04-07 01:11:37 -07:00
e2e-frontend Added show_latest_posts column to newsletter table (#16402) 2023-03-20 11:10:49 +01:00
e2e-server Removed unnecessary mockMail call 2023-04-07 14:34:57 +02:00
e2e-webhooks Added newsletter color columns (#16506) 2023-03-28 11:38:43 +02:00
integration Added retries to a flaky batch sending test (#16591) 2023-04-07 17:44:11 -07:00
regression Update email mock receive (#16578) 2023-04-06 17:24:23 +02:00
unit Merged v5.42.1 into main 2023-04-07 08:51:06 +01:00
utils Fixed flaky test: posts API export can export with order (#16605) 2023-04-10 18:40:03 -07:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00