### Test Scenarios: Widget Integration (only applies if you are integrating Recommendations Widgets)
#### **Scenario 1: Verify the Widget View, Click and ATC events**
Scenario Flow | Expected Result/ Pixels to Fire | Notes |
Start at the homepage | Homepage Page View Pixel | This pixel will be fired only if you have integrated any widgets in the home page. |
Navigate to a Category Page, where the Bloomreach Widgets are integrated | Category Page View Pixel | |
Navigate to a Product Page, where the Bloomreach Widgets are integrated | Product Page View Pixel | |
Event triggered when widget is viewed | Widget View event | 1) **wrid** cannot be empty and matches the **wrid** in the feed 2) **wq** should match the 'search term' from the search page view pixel for which the widgets are populated. E.g. "_Milk_". 3) **wid** needs to be matched with the widget ID created in the dashboard. 4) **wty** needs to be matched with the widget type created in the dashboard. |
Click on the product from the widget | Widget Click event | 1.) **item_id** cannot be empty. 2.) **wrid** matches the **wrid** in the feed. 3.) **item_id** matches the product **item_id** clicked |
Click on the ATC of any product from the widget | Widget ATC event | 1.) **item_id** cannot be empty. 2.) **wrid** matches the **wrid** in the feed. 3.) **item_id** matches the product **item_id** clicked |
Navigate to a Content Page, where the Widgets are integrated | Content Page Pixel | If Content pages are out of scope for the Widget Integration, the **sid** parameter in the Other Page View Pixel should be empty. - If the widgets are integrated successfully, you can see a widget view pixel fired. - Validate the mandatory attributes mentioned in the overall test case sheet. |
Navigate to any other Page Types, where the Widgets are integrated | Other Page View Pixel | |
Navigate to any product with integrated widgets inside the quick view of the product. | Quick View Page Pixel | |