Skip to content

Commit

Permalink
Tests: Change selector for clicking button to add a Post Excerpt
Browse files Browse the repository at this point in the history
  • Loading branch information
n7studios committed Oct 22, 2024
1 parent 190e3f1 commit a18425d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/_support/Helper/Acceptance/WPGutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function addGutenbergExcerpt($I, $excerpt)
$I->click('button[data-tab-id="edit-post/document"]');

// Click the 'Add an excerpt' link.
$I->click('button.editor-post-excerpt__dropdown__trigger');
$I->click('div.editor-post-excerpt__dropdown button');

// Insert the excerpt into the field.
$I->waitForElementVisible('.editor-post-excerpt');
Expand Down

0 comments on commit a18425d

Please sign in to comment.