@shopware-ag/acceptance-test-suite 10.2.0 → 10.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 +20 -20
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3229,7 +3229,7 @@ class OffCanvasCart {
|
|
|
3229
3229
|
this.goToCheckoutButton = page.getByRole("link", { name: "Go to checkout" });
|
|
3230
3230
|
this.goToCartButton = page.getByRole("link", { name: "Display shopping cart" });
|
|
3231
3231
|
this.continueShoppingButton = page.getByRole("button", { name: "Continue shopping" });
|
|
3232
|
-
this.enterPromoInput = page.
|
|
3232
|
+
this.enterPromoInput = page.locator('input[id="addPromotionOffcanvasCartInput"]');
|
|
3233
3233
|
this.submitDiscountButton = page.locator("#addPromotionOffcanvasCart");
|
|
3234
3234
|
this.subTotalPrice = page.locator('dt:has-text("Subtotal") + dd:visible');
|
|
3235
3235
|
this.shippingCosts = page.locator('dt:has-text("Shipping costs") + dd:visible');
|
|
@@ -3448,17 +3448,17 @@ class AccountLogin {
|
|
|
3448
3448
|
this.billingAddressFormArea = page.locator(".register-billing");
|
|
3449
3449
|
this.accountTypeSelect = this.personalFormArea.locator(".contact-select");
|
|
3450
3450
|
this.salutationSelect = this.personalFormArea.locator(".form-group").filter({ has: page.getByLabel("Salutation") }).locator(".form-select");
|
|
3451
|
-
this.firstNameInput = this.personalFormArea.getByLabel("First name
|
|
3452
|
-
this.lastNameInput = this.personalFormArea.getByLabel("Last name
|
|
3453
|
-
this.companyInput = this.personalFormArea.
|
|
3454
|
-
this.departmentInput = this.personalFormArea.
|
|
3455
|
-
this.vatRegNoInput = this.personalFormArea.
|
|
3456
|
-
this.registerEmailInput = this.personalFormArea.getByLabel("Email address
|
|
3457
|
-
this.registerPasswordInput = this.personalFormArea.getByLabel("Password
|
|
3458
|
-
this.streetAddressInput = this.billingAddressFormArea.getByLabel("Street address
|
|
3459
|
-
this.cityInput = this.billingAddressFormArea.getByLabel("City
|
|
3460
|
-
this.countryInput = this.billingAddressFormArea.getByLabel("Country
|
|
3461
|
-
this.postalCodeInput = this.billingAddressFormArea.getByLabel("Postal code
|
|
3451
|
+
this.firstNameInput = this.personalFormArea.getByLabel("First name");
|
|
3452
|
+
this.lastNameInput = this.personalFormArea.getByLabel("Last name");
|
|
3453
|
+
this.companyInput = this.personalFormArea.getByLabel("Company");
|
|
3454
|
+
this.departmentInput = this.personalFormArea.getByLabel("Department");
|
|
3455
|
+
this.vatRegNoInput = this.personalFormArea.locator('input[id="vatIds"]');
|
|
3456
|
+
this.registerEmailInput = this.personalFormArea.getByLabel("Email address");
|
|
3457
|
+
this.registerPasswordInput = this.personalFormArea.getByLabel("Password");
|
|
3458
|
+
this.streetAddressInput = this.billingAddressFormArea.getByLabel("Street address");
|
|
3459
|
+
this.cityInput = this.billingAddressFormArea.getByLabel("City");
|
|
3460
|
+
this.countryInput = this.billingAddressFormArea.getByLabel("Country");
|
|
3461
|
+
this.postalCodeInput = this.billingAddressFormArea.getByLabel("Postal code");
|
|
3462
3462
|
this.registerButton = page.getByRole("button", { name: "Continue" });
|
|
3463
3463
|
this.logoutLink = page.getByRole("link", { name: "Log out" });
|
|
3464
3464
|
this.successAlert = page.getByText("Successfully logged out.");
|
|
@@ -3525,18 +3525,18 @@ class AccountProfile {
|
|
|
3525
3525
|
__publicField$D(this, "emailUpdateMessage");
|
|
3526
3526
|
__publicField$D(this, "passwordUpdateMessage");
|
|
3527
3527
|
this.salutationSelect = page.getByLabel("Salutation");
|
|
3528
|
-
this.firstNameInput = page.
|
|
3529
|
-
this.lastNameInput = page.
|
|
3528
|
+
this.firstNameInput = page.getByLabel("First name");
|
|
3529
|
+
this.lastNameInput = page.getByLabel("Last name");
|
|
3530
3530
|
this.saveProfileButton = page.locator("#profilePersonalForm").getByRole("button", { name: "Save changes" });
|
|
3531
3531
|
this.changeEmailButton = page.getByRole("button", { name: "Change email address" });
|
|
3532
|
-
this.emailAddressInput = page.
|
|
3533
|
-
this.emailAddressConfirmInput = page.
|
|
3534
|
-
this.emailConfirmPasswordInput = page.
|
|
3532
|
+
this.emailAddressInput = page.getByLabel("Email address");
|
|
3533
|
+
this.emailAddressConfirmInput = page.getByLabel("Email address confirmation");
|
|
3534
|
+
this.emailConfirmPasswordInput = page.locator('input[id="personalMailPasswordCurrent"]');
|
|
3535
3535
|
this.saveEmailAddressButton = page.locator("#profileMailForm").getByRole("button", { name: "Save changes" });
|
|
3536
3536
|
this.changePasswordButton = page.getByRole("button", { name: "Change password" });
|
|
3537
|
-
this.newPasswordInput = page.
|
|
3538
|
-
this.newPasswordConfirmInput = page.
|
|
3539
|
-
this.currentPasswordInput = page.
|
|
3537
|
+
this.newPasswordInput = page.locator('input[id="newPassword"]');
|
|
3538
|
+
this.newPasswordConfirmInput = page.locator('input[id="newPasswordConfirmation"]');
|
|
3539
|
+
this.currentPasswordInput = page.locator('input[id="passwordCurrent"]');
|
|
3540
3540
|
this.saveNewPasswordButton = page.locator("#profilePasswordForm").getByRole("button", { name: "Save changes" });
|
|
3541
3541
|
this.loginDataEmailAddress = page.locator(".account-profile-mail");
|
|
3542
3542
|
this.emailUpdateMessage = page.getByText("Your email address has been updated.");
|