Skip to content

Conversation

@PatrikKozak
Copy link
Contributor

What?

The test "should keep save draft button enabled after validation failure on update" was intermittently failing in CI with:

Error: strict mode violation: locator('.payload-toast-container .toast-error') resolved to 2 elements

This occurred because the test clicks the save draft button twice in quick succession to verify it remains enabled after validation failures. In slower CI environments, both error toasts were visible simultaneously, causing Playwright's strict mode to fail.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 14, 2025

📦 esbuild Bundle Analysis for payload

This analysis was generated by esbuild-bundle-analyzer. 🤖
This PR introduced no changes to the esbuild bundle! 🙌

@PatrikKozak PatrikKozak merged commit 62508ca into main Nov 14, 2025
93 checks passed
@PatrikKozak PatrikKozak deleted the test/flaky-field-error-states-draft-validation branch November 14, 2025 15:42
@github-actions
Copy link
Contributor

🚀 This is included in version v3.65.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants