LearningSalesForceCommerceC.../storefront-reference-architecture/test/acceptance/steps/homePage/landHomePage.steps.js

7 lines
168 B
JavaScript
Raw Normal View History

2021-12-21 10:57:31 -08:00
const { I, data, homePage } = inject();
When('shopper selects yes or no for tracking consent', () => {
I.amOnPage(data.login.homePage);
homePage.accept();
});