Skip to content

Commit

Permalink
feat!: Next-39285 - Remove account type selection from registration (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufttur authored Dec 5, 2024
1 parent f4331c4 commit d233452
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/tasks/shop-customer/Account/Register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ export const Register = base.extend<{ Register: Task }, FixtureTypes>({
const registrationData = { ...defaultRegistrationData, ...overrides };
registeredEmail = registrationData.email;

if (isCommercial) {
await StorefrontAccountLogin.accountTypeSelect.selectOption('Commercial');
}

await StorefrontAccountLogin.salutationSelect.selectOption(registrationData.salutation);
await StorefrontAccountLogin.firstNameInput.fill(registrationData.firstName);
await StorefrontAccountLogin.lastNameInput.fill(registrationData.lastName);
Expand Down

0 comments on commit d233452

Please sign in to comment.