diff --git a/test/e2e/specs/site-editor/block-style-variations.spec.js b/test/e2e/specs/site-editor/block-style-variations.spec.js index fedcd0946eac8..6d139dd755b29 100644 --- a/test/e2e/specs/site-editor/block-style-variations.spec.js +++ b/test/e2e/specs/site-editor/block-style-variations.spec.js @@ -149,12 +149,14 @@ test.describe( 'Block Style Variations', () => { }, }, } ); - // The save button has been re-enabled. + + // Wait for the save button to be re-enabled. await expect( page .getByRole( 'region', { name: 'Editor top bar' } ) .getByRole( 'button', { name: 'Save' } ) - ).toBeEnabled(); + ).toBeVisible(); + // Second revision (current). await siteEditorBlockStyleVariations.saveRevision( stylesPostId, { blocks: {