0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/apps/admin-x-framework/src
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
..
api Updated search to be dynamic in admin-x-activitypub app (#21099) 2024-09-30 11:32:05 +01:00
hooks 🐛 Fixed default recipients setting not showing label filters (#20480) 2024-06-27 17:47:26 +02:00
providers 🐛 Fixed trailing slashes not handled in Settings (#19640) 2024-02-01 19:23:22 +02:00
test Fixed flaky Admin X design tests (#21426) 2024-10-28 17:25:05 +09:00
utils Updated ActivityPub API root path (#20471) 2024-06-27 11:27:25 +07:00
errors.ts
helpers.ts
hooks.ts Added tests to AdminX framework package (#19022) 2023-11-20 11:00:51 +00:00
index.ts Updated files with mixed named/default exports to use only named exports (#19385) 2023-12-14 16:01:28 +00:00
playwright.ts Updated files with mixed named/default exports to use only named exports (#19385) 2023-12-14 16:01:28 +00:00
routing.ts Updated files with mixed named/default exports to use only named exports (#19385) 2023-12-14 16:01:28 +00:00
vite.ts Created a skeleton AdminX demo app (#19005) 2023-11-20 13:30:15 +00:00