Ghost/ghost/core/test/e2e-browser/portal
Steve Larson 78d2a5e3c0
🐛 Fixed flaky browser tests (#19929)
ref https://linear.app/tryghost/issue/CFR-13
- enabled saving traces on browser test failure; this makes troubleshooting a lot easier
- updated handling in offers tests to ensure the tier has fully loaded in the UI (not just `networkidle`)
- updated publishing test to examine the publish button reaction to the save action response instead of a 300ms pause

In general, our tests use a lot of watching for 'networkidle' - and sometimes just raw timeouts - which do not scale well into running tests on CI. In particular, 'networkidle' does not work if we're expecting to see React components' state updates propagate and re-render. We should always instead look to the content which encapsulates the response and the UI updates. This is something we should tackle on a larger scale.
2024-03-27 13:57:53 -05:00
..
donations.spec.js 🐛 Fixed flaky browser tests (#19929) 2024-03-27 13:57:53 -05:00
member-actions.spec.js Switched to a shared page for each playwright worker 2023-10-16 15:32:13 +00:00
offers.spec.js Updated browser tests to be less flaky (#19701) 2024-02-21 17:47:44 +00:00
tiers.spec.js Switched to a shared page for each playwright worker 2023-10-16 15:32:13 +00:00
upgrade.spec.js Switched to a shared page for each playwright worker 2023-10-16 15:32:13 +00:00