Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
kmanijak committed Dec 7, 2023
1 parent ebbe4ff commit bf2251d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/tests/product-collection/product-collection.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ProductCollectionPage {
async chooseCollectionInPost( collection?: Collections ) {
const buttonName = collection
? collectionToButtonNameMap[ collection ]
: collectionToButtonNameMap.defaultQuery;
: collectionToButtonNameMap.productCatalog;

await this.admin.page
.getByRole( 'button', { name: buttonName } )
Expand All @@ -100,7 +100,7 @@ class ProductCollectionPage {
async chooseCollectionInTemplate( collection?: Collections ) {
const buttonName = collection
? collectionToButtonNameMap[ collection ]
: collectionToButtonNameMap.defaultQuery;
: collectionToButtonNameMap.productCatalog;

await this.admin.page
.frameLocator( 'iframe[name="editor-canvas"]' )
Expand Down

0 comments on commit bf2251d

Please sign in to comment.