mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
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. |
||
---|---|---|
.. | ||
admin-x-activitypub | ||
admin-x-demo | ||
admin-x-design-system | ||
admin-x-framework | ||
admin-x-settings | ||
announcement-bar | ||
comments-ui | ||
portal | ||
signup-form | ||
sodo-search |