Skip to content

Commit

Permalink
Fix E2E classic editor
Browse files Browse the repository at this point in the history
  • Loading branch information
puntope committed Nov 22, 2024
1 parent c2f4f58 commit c523702
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/e2e/specs/product-editor/classic-integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,9 @@ test.describe( 'Classic Product Editor integration', () => {
await editorUtils.clickPluginTab();

for ( const [ attribute, value ] of pairs ) {
await expect( attribute ).toHaveValue( value );
if ( await attribute.isEditable() ) {
await expect( attribute ).toHaveValue( value );
}
}

/*
Expand Down Expand Up @@ -631,7 +633,9 @@ test.describe( 'Classic Product Editor integration', () => {
await editorUtils.gotoEditVariation();

for ( const [ attribute, value ] of pairs ) {
await expect( attribute ).toHaveValue( value );
if ( await attribute.isEditable() ) {
await expect( attribute ).toHaveValue( value );
}
}

/*
Expand Down

0 comments on commit c523702

Please sign in to comment.