LearningSalesForceCommerceC.../storefront-reference-architecture/test/acceptance/steps/accountPage/changePassword.steps.js
2021-12-21 10:57:31 -08:00

10 lines
258 B
JavaScript

const { data, accountPage } = inject();
Then('shopper clicks edit password', () => {
accountPage.clickEditPassword();
});
Then('shopper changes their password', () => {
accountPage.changePassword(data.login.password, data.account.newPassword);
});