diff --git a/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts b/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts index 3216128013b..db09b131363 100644 --- a/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts +++ b/tests/e2e/tests/product-collection/compatibility-layer.block_theme.side_effects.spec.ts @@ -118,14 +118,12 @@ test.describe( 'Compatibility Layer with Product Collection block', () => { test( `${ scenario.title } is attached to the page`, async ( { pageObject, } ) => { - await test.step( scenario.title, async () => { - const hooks = pageObject.locateByTestId( - scenario.dataTestId - ); + const hooks = pageObject.locateByTestId( + scenario.dataTestId + ); - await expect( hooks ).toHaveCount( scenario.amount ); - await expect( hooks ).toHaveText( scenario.content ); - } ); + await expect( hooks ).toHaveCount( scenario.amount ); + await expect( hooks ).toHaveText( scenario.content ); } ); } @@ -133,16 +131,14 @@ test.describe( 'Compatibility Layer with Product Collection block', () => { test( `${ scenario.title } is attached to the page`, async ( { pageObject, } ) => { - await test.step( scenario.title, async () => { - const hooks = pageObject.locateByTestId( - scenario.dataTestId - ); + const hooks = pageObject.locateByTestId( + scenario.dataTestId + ); - await expect( hooks ).toHaveCount( scenario.amount ); - await expect( hooks.first() ).toHaveText( - scenario.content - ); - } ); + await expect( hooks ).toHaveCount( scenario.amount ); + await expect( hooks.first() ).toHaveText( + scenario.content + ); } ); } }