We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb4712 commit da2e35fCopy full SHA for da2e35f
test/e2e/specs/editor/blocks/image.spec.js
@@ -828,11 +828,11 @@ test.describe( 'Image - interactivity', () => {
828
const lightbox = page.locator( '.wp-lightbox-overlay' );
829
await expect( lightbox ).toBeHidden();
830
831
+ await page.getByRole( 'button', { name: 'Enlarge image' } ).click();
832
+
833
const image = lightbox.locator( 'img' );
834
await expect( image ).toHaveAttribute( 'src', new RegExp( filename ) );
835
- await page.getByRole( 'button', { name: 'Enlarge image' } ).click();
-
836
await expect( lightbox ).toBeVisible();
837
838
const closeButton = lightbox.getByRole( 'button', {
0 commit comments