Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test-commerce: comment out not-implemented customer hooks #877

Merged
merged 2 commits into from
Jan 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,19 @@ function UseCustomer() {
body: {firstName: `Kobe${RANDOM_STR}`},
parameters: {customerId: CUSTOMER_ID}
},
{
action: 'updateCustomerPassword',
body: {currentPassword: 'Test12345!', password: 'Test1234!'},
parameters: {customerId: CUSTOMER_ID}
},
// {
// action: 'updateCustomerPassword',
// body: {currentPassword: 'Test12345!', password: 'Test1234!'},
// parameters: {customerId: CUSTOMER_ID}
// },
// TODO: Not working in PWA Kit Today. Potentially related to the issue scoping tokens
// https://pwa-kit.mobify-storefront.com/global/en-GB/reset-password
// {"type":"https://api.commercecloud.salesforce.com/documentation/error/v1/errors/unauthorized","title":"Unauthorized","detail":"Your access-token is invalid and could not be used to identify the API client."}
{
action: 'getResetPasswordToken',
body: {login: 'kobe@test.com'},
parameters: {}
},
// {
// action: 'getResetPasswordToken',
// body: {login: 'kobe@test.com'},
// parameters: {}
// },
{
action: 'createCustomerAddress',
body: {addressId: `TestAddress${RANDOM_STR}`, countryCode: 'CA', lastName: 'Murphy'},
Expand Down