Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Try reorder the test
  • Loading branch information
kevin940726 committed May 27, 2021
commit f240cdbe4326be08e0aea14a772e6534d4f6081c
Original file line number Diff line number Diff line change
Expand Up @@ -632,10 +632,10 @@ describe( 'Widgets Customizer', () => {
await publishButton.click();

// Wait for publishing to finish.
await page.waitForResponse( createURL( '/wp-admin/admin-ajax.php' ) );
await expect( publishButton ).toMatchQuery( {
disabled: true,
} );
await page.waitForResponse( createURL( '/wp-admin/admin-ajax.php' ) );

expect( console ).toHaveWarned(
"The page delivered both an 'X-Frame-Options' header and a 'Content-Security-Policy' header with a 'frame-ancestors' directive. Although the 'X-Frame-Options' header alone would have blocked embedding, it has been ignored."
Expand Down