Skip to content

Commit

Permalink
Fix even data retrieval for related products test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalec committed Dec 17, 2024
1 parent 957400a commit d191708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/specs/gtag-events/blocks-pages.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ test.describe( 'GTag events on block pages', () => {
const relatedProductID = await relatedProductAddToCart( page );

await event.then( ( request ) => {
const data = getEventData( request );
const data = getEventData( request, 'add_to_cart' );
expect( data.product1 ).toEqual( {
id: relatedProductID.toString(),
nm: 'Simple product',
Expand Down

0 comments on commit d191708

Please sign in to comment.