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

Commit

Permalink
improve E2E test
Browse files Browse the repository at this point in the history
  • Loading branch information
gigitux committed Nov 27, 2023
1 parent 2390c43 commit 761e9da
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,30 @@ type Scenario = {
};

const singleOccurranceScenarios: Scenario[] = [
{
title: 'Before Main Content',
dataTestId: 'woocommerce_before_main_content',
content: 'Hook: woocommerce_before_main_content',
amount: 1,
},
{
title: 'Sidebar',
dataTestId: 'woocommerce_sidebar',
content: 'Hook: woocommerce_sidebar',
amount: 1,
},
{
title: 'Before Single Product',
dataTestId: 'woocommerce_before_single_product',
content: 'Hook: woocommerce_before_single_product',
amount: 1,
},
{
title: 'Before Single Product Summary',
dataTestId: 'woocommerce_before_single_product_summary',
content: 'Hook: woocommerce_before_single_product_summary',
amount: 1,
},
{
title: 'Before Add To Cart Button',
dataTestId: 'woocommerce_before_add_to_cart_button',
Expand All @@ -43,6 +61,18 @@ const singleOccurranceScenarios: Scenario[] = [
content: 'Hook: woocommerce_product_meta_start',
amount: 1,
},
{
title: 'Product Meta End',
dataTestId: 'woocommerce_product_meta_end',
content: 'Hook: woocommerce_product_meta_end',
amount: 1,
},
{
title: 'Share',
dataTestId: 'woocommerce_share',
content: 'Hook: woocommerce_share',
amount: 1,
},
{
title: 'After Single Product Summary',
dataTestId: 'woocommerce_after_single_product_summary',
Expand Down

0 comments on commit 761e9da

Please sign in to comment.