@shopware-ag/acceptance-test-suite 11.2.0 → 11.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +3 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6486,15 +6486,14 @@ const Register = test$e.extend({
|
|
|
6486
6486
|
return async function Register2() {
|
|
6487
6487
|
const registrationData = { ...defaultRegistrationData, ...overrides };
|
|
6488
6488
|
registeredEmail = registrationData.email;
|
|
6489
|
+
await StorefrontAccountLogin.salutationSelect.selectOption(registrationData.salutation);
|
|
6490
|
+
await StorefrontAccountLogin.firstNameInput.fill(registrationData.firstName);
|
|
6491
|
+
await StorefrontAccountLogin.lastNameInput.fill(registrationData.lastName);
|
|
6489
6492
|
if (registrationData.isCommercial || isCommercial) {
|
|
6490
|
-
await StorefrontAccountLogin.accountTypeSelect.selectOption("Commercial");
|
|
6491
6493
|
await StorefrontAccountLogin.companyInput.fill(registrationData.company);
|
|
6492
6494
|
await StorefrontAccountLogin.departmentInput.fill(registrationData.department);
|
|
6493
6495
|
await StorefrontAccountLogin.vatRegNoInput.fill(registrationData.vatRegNo);
|
|
6494
6496
|
}
|
|
6495
|
-
await StorefrontAccountLogin.salutationSelect.selectOption(registrationData.salutation);
|
|
6496
|
-
await StorefrontAccountLogin.firstNameInput.fill(registrationData.firstName);
|
|
6497
|
-
await StorefrontAccountLogin.lastNameInput.fill(registrationData.lastName);
|
|
6498
6497
|
await StorefrontAccountLogin.registerEmailInput.fill(registrationData.email);
|
|
6499
6498
|
if (!registrationData.isGuest) {
|
|
6500
6499
|
await StorefrontAccountLogin.registerPasswordInput.fill(registrationData.password);
|