LearningSalesForceCommerceC.../storefront-reference-architecture/test/acceptance/steps/utilities.steps.js

14 lines
372 B
JavaScript
Raw Normal View History

2021-12-21 10:57:31 -08:00
const { I, utilities } = inject();
When('shopper load Page Designer home page', () => {
I.amOnPage('/s/RefArch/homepage-example.html?lang=default');
});
When('shopper load Page Designer campaign page', () => {
I.amOnPage('/s/RefArch/campaign-example.html?lang=default');
});
When('shopper accept the Consent Tracking Modal', () => {
utilities.accept();
});