@shopware-ag/acceptance-test-suite 10.2.2 → 10.2.3

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.d.mts CHANGED
@@ -1243,6 +1243,7 @@ declare class AccountLogin implements PageObject {
1243
1243
  readonly loginButton: Locator;
1244
1244
  readonly logoutLink: Locator;
1245
1245
  readonly successAlert: Locator;
1246
+ readonly invalidCredentialsAlert: Locator;
1246
1247
  readonly personalFormArea: Locator;
1247
1248
  readonly billingAddressFormArea: Locator;
1248
1249
  readonly accountTypeSelect: Locator;
@@ -1295,6 +1296,9 @@ declare class AccountProfile implements PageObject {
1295
1296
  readonly loginDataEmailAddress: Locator;
1296
1297
  readonly emailUpdateMessage: Locator;
1297
1298
  readonly passwordUpdateMessage: Locator;
1299
+ readonly emailValidationAlert: Locator;
1300
+ readonly emailUpdateFailureAlert: Locator;
1301
+ readonly passwordUpdateFailureAlert: Locator;
1298
1302
  constructor(page: Page);
1299
1303
  url(): string;
1300
1304
  }
package/dist/index.d.ts CHANGED
@@ -1243,6 +1243,7 @@ declare class AccountLogin implements PageObject {
1243
1243
  readonly loginButton: Locator;
1244
1244
  readonly logoutLink: Locator;
1245
1245
  readonly successAlert: Locator;
1246
+ readonly invalidCredentialsAlert: Locator;
1246
1247
  readonly personalFormArea: Locator;
1247
1248
  readonly billingAddressFormArea: Locator;
1248
1249
  readonly accountTypeSelect: Locator;
@@ -1295,6 +1296,9 @@ declare class AccountProfile implements PageObject {
1295
1296
  readonly loginDataEmailAddress: Locator;
1296
1297
  readonly emailUpdateMessage: Locator;
1297
1298
  readonly passwordUpdateMessage: Locator;
1299
+ readonly emailValidationAlert: Locator;
1300
+ readonly emailUpdateFailureAlert: Locator;
1301
+ readonly passwordUpdateFailureAlert: Locator;
1298
1302
  constructor(page: Page);
1299
1303
  url(): string;
1300
1304
  }
package/dist/index.mjs CHANGED
@@ -3422,6 +3422,7 @@ class AccountLogin {
3422
3422
  __publicField$F(this, "loginButton");
3423
3423
  __publicField$F(this, "logoutLink");
3424
3424
  __publicField$F(this, "successAlert");
3425
+ __publicField$F(this, "invalidCredentialsAlert");
3425
3426
  // Inputs for registration
3426
3427
  __publicField$F(this, "personalFormArea");
3427
3428
  __publicField$F(this, "billingAddressFormArea");
@@ -3444,6 +3445,7 @@ class AccountLogin {
3444
3445
  this.loginButton = page.getByRole("button", { name: "Log in" });
3445
3446
  this.forgotPasswordLink = page.getByRole("link", { name: "I have forgotten my password." });
3446
3447
  this.logoutLink = page.getByRole("link", { name: "Log out" });
3448
+ this.invalidCredentialsAlert = page.getByText("Could not find an account that matches the given credentials.");
3447
3449
  this.personalFormArea = page.locator(".register-personal");
3448
3450
  this.billingAddressFormArea = page.locator(".register-billing");
3449
3451
  this.accountTypeSelect = this.personalFormArea.locator(".contact-select");
@@ -3524,23 +3526,29 @@ class AccountProfile {
3524
3526
  __publicField$D(this, "loginDataEmailAddress");
3525
3527
  __publicField$D(this, "emailUpdateMessage");
3526
3528
  __publicField$D(this, "passwordUpdateMessage");
3529
+ __publicField$D(this, "emailValidationAlert");
3530
+ __publicField$D(this, "emailUpdateFailureAlert");
3531
+ __publicField$D(this, "passwordUpdateFailureAlert");
3527
3532
  this.salutationSelect = page.getByLabel("Salutation");
3528
3533
  this.firstNameInput = page.getByLabel("First name");
3529
3534
  this.lastNameInput = page.getByLabel("Last name");
3530
3535
  this.saveProfileButton = page.locator("#profilePersonalForm").getByRole("button", { name: "Save changes" });
3531
3536
  this.changeEmailButton = page.getByRole("button", { name: "Change email address" });
3532
- this.emailAddressInput = page.getByLabel("Email address");
3537
+ this.emailAddressInput = page.locator('input[id="personalMail"]');
3533
3538
  this.emailAddressConfirmInput = page.getByLabel("Email address confirmation");
3534
3539
  this.emailConfirmPasswordInput = page.locator('input[id="personalMailPasswordCurrent"]');
3535
3540
  this.saveEmailAddressButton = page.locator("#profileMailForm").getByRole("button", { name: "Save changes" });
3536
3541
  this.changePasswordButton = page.getByRole("button", { name: "Change password" });
3537
3542
  this.newPasswordInput = page.locator('input[id="newPassword"]');
3538
- this.newPasswordConfirmInput = page.locator('input[id="newPasswordConfirmation"]');
3539
- this.currentPasswordInput = page.locator('input[id="passwordCurrent"]');
3543
+ this.newPasswordConfirmInput = page.locator('input[id="passwordConfirmation"]');
3544
+ this.currentPasswordInput = page.locator('input[id="password"]');
3540
3545
  this.saveNewPasswordButton = page.locator("#profilePasswordForm").getByRole("button", { name: "Save changes" });
3541
3546
  this.loginDataEmailAddress = page.locator(".account-profile-mail");
3542
3547
  this.emailUpdateMessage = page.getByText("Your email address has been updated.");
3543
3548
  this.passwordUpdateMessage = page.getByText("Your password has been updated.");
3549
+ this.emailValidationAlert = page.locator(".was-validated");
3550
+ this.emailUpdateFailureAlert = page.getByText("Email address could not be changed.");
3551
+ this.passwordUpdateFailureAlert = page.getByText("Password could not be changed.");
3544
3552
  }
3545
3553
  url() {
3546
3554
  return "account/profile";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "10.2.2",
3
+ "version": "10.2.3",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "author": "shopware AG",
6
6
  "license": "MIT",