0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/apps/admin-x-settings/test/acceptance
Ronald Langeveld 1c95acfd57
Fixed flaky Admin X design tests (#21426)
ref ONC-478

- Admin X design tests became flaky largely due to the implementation of
a debounce.
- Initially running a `waitForTimeout` helped to give the environment
enough time to ensure that the specific requests are made, however it
proved to be unpredictable across CI and locally.
- We then replaced `waitForTimeout` in with `waitForRequest` to ensure
tests reliably wait for specific requests.
- Updated logic to check `x-ghost-preview` headers directly, ensuring
the correct response headers are captured and tested against
- Improved stability by using request interception and matching,
preventing debounce issues in the tests.
2024-10-28 17:25:05 +09:00
..
advanced Migrated the design system to Radix (#20244) 2024-08-19 20:37:33 +08:00
email Improved hover styling for list items in Settings (#21387) 2024-10-26 09:00:14 +02:00
general Added nicer apostrophes (#21271) 2024-10-10 10:11:19 +01:00
growth Added Tips & Donations one-off payments 2024-09-03 16:00:48 +01:00
membership Updated layout for Analytics in Settings (#21322) 2024-10-21 09:44:48 +00:00
site Fixed flaky Admin X design tests (#21426) 2024-10-28 17:25:05 +09:00
layout.test.ts Added test examples to AdminX demo (#19116) 2023-11-23 12:59:48 +00:00
permissions.test.ts Added test examples to AdminX demo (#19116) 2023-11-23 12:59:48 +00:00
routing.test.ts Added test examples to AdminX demo (#19116) 2023-11-23 12:59:48 +00:00
search.test.ts Added test examples to AdminX demo (#19116) 2023-11-23 12:59:48 +00:00