Disable render blockified Product Grid Block (https://github.com/woocommerce/woocommerce-blocks/pull/6660)
* Disable render blockified Product Grid Block * try now
This commit is contained in:
parent
75184ae22d
commit
4aaaebe0c0
|
@ -371,9 +371,10 @@ class BlockTemplatesController {
|
|||
return $this->template_parts_directory;
|
||||
}
|
||||
|
||||
if ( $this->package->is_experimental_build() && BlockTemplateUtils::should_use_blockified_product_grid_templates() ) {
|
||||
return $this->templates_directory . '/blockified';
|
||||
}
|
||||
// When the blockified Product Grid Block will be implemented, we need to use the blockified templates.
|
||||
// if ( $this->package->is_experimental_build() && BlockTemplateUtils::should_use_blockified_product_grid_templates() ) {
|
||||
// return $this->templates_directory . '/blockified';
|
||||
// }.
|
||||
|
||||
return $this->templates_directory;
|
||||
}
|
||||
|
|
|
@ -126,13 +126,8 @@ describe( `${ block.name } Block`, () => {
|
|||
} );
|
||||
|
||||
expect( isRefreshed ).not.toBeCalled();
|
||||
|
||||
await Promise.all( [
|
||||
page.waitForNavigation( {
|
||||
waitUntil: 'networkidle0',
|
||||
} ),
|
||||
page.click( selectors.frontend.filter ),
|
||||
] );
|
||||
await page.click( selectors.frontend.filter );
|
||||
await page.waitForNetworkIdle();
|
||||
|
||||
const products = await page.$$(
|
||||
selectors.frontend.classicProductsList
|
||||
|
|
Loading…
Reference in New Issue