Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/e2e-test-utils/src/posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function trashAllPosts( postType = 'post', postStatus ) {
// Submit the form to send all draft/scheduled/published posts to the trash.
await page.click( '#doaction' );
await page.waitForXPath(
'//*[contains(@class, "updated notice")]/p[contains(text(), "moved to the Trash.")]'
'//*[contains(@class, "notice")]/p[contains(text(), "moved to the Trash.")]'
);
await switchUserToTest();
}
2 changes: 1 addition & 1 deletion packages/e2e-test-utils/src/trash-all-comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export async function trashAllComments() {
// Submit the form to send all mine/pendings/approved/spam comments to the trash.
await page.click( '#doaction' );
await page.waitForXPath(
'//*[contains(@class, "updated notice")]/p[contains(text(), "moved to the Trash.")]'
'//*[contains(@class, "notice")]/p[contains(text(), "moved to the Trash.")]'
);
await switchUserToTest();
}