We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a3b71b + a649450 commit 7acff50Copy full SHA for 7acff50
1 file changed
tests/Support/Helper/WPClassicEditor.php
@@ -257,6 +257,9 @@ public function publishClassicEditorPage($I)
257
// Wait for the Publish button to change its state from disabled (WordPress disables it for a moment when auto-saving).
258
$I->waitForElementVisible('input#publish:not(:disabled)');
259
260
+ // Some tests are flaky and fail if we click the Publish button too soon.
261
+ $I->wait(1);
262
+
263
// Click the Publish button.
264
$I->click('input#publish');
265
0 commit comments