@shopware-ag/acceptance-test-suite 3.3.0 → 3.4.0
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +5 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -880,6 +880,7 @@ declare class AccountLogin implements PageObject {
|
|
|
880
880
|
readonly streetAddressInput: Locator;
|
|
881
881
|
readonly cityInput: Locator;
|
|
882
882
|
readonly countryInput: Locator;
|
|
883
|
+
readonly postalCodeInput: Locator;
|
|
883
884
|
readonly registerButton: Locator;
|
|
884
885
|
constructor(page: Page);
|
|
885
886
|
url(): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -880,6 +880,7 @@ declare class AccountLogin implements PageObject {
|
|
|
880
880
|
readonly streetAddressInput: Locator;
|
|
881
881
|
readonly cityInput: Locator;
|
|
882
882
|
readonly countryInput: Locator;
|
|
883
|
+
readonly postalCodeInput: Locator;
|
|
883
884
|
readonly registerButton: Locator;
|
|
884
885
|
constructor(page: Page);
|
|
885
886
|
url(): string;
|
package/dist/index.mjs
CHANGED
|
@@ -2501,6 +2501,7 @@ class AccountLogin {
|
|
|
2501
2501
|
__publicField$g(this, "streetAddressInput");
|
|
2502
2502
|
__publicField$g(this, "cityInput");
|
|
2503
2503
|
__publicField$g(this, "countryInput");
|
|
2504
|
+
__publicField$g(this, "postalCodeInput");
|
|
2504
2505
|
__publicField$g(this, "registerButton");
|
|
2505
2506
|
this.emailInput = page.getByLabel("Your email address");
|
|
2506
2507
|
this.passwordInput = page.getByLabel("Your password");
|
|
@@ -2515,6 +2516,7 @@ class AccountLogin {
|
|
|
2515
2516
|
this.streetAddressInput = this.billingAddressFormArea.getByLabel("Street address*");
|
|
2516
2517
|
this.cityInput = this.billingAddressFormArea.getByLabel("City*");
|
|
2517
2518
|
this.countryInput = this.billingAddressFormArea.getByLabel("Country*");
|
|
2519
|
+
this.postalCodeInput = this.billingAddressFormArea.getByLabel("Postal code*");
|
|
2518
2520
|
this.registerButton = page.getByRole("button", { name: "Continue" });
|
|
2519
2521
|
this.logoutLink = page.getByRole("link", { name: "Log out" });
|
|
2520
2522
|
this.successAlert = page.getByText("Successfully logged out.");
|
|
@@ -3734,7 +3736,8 @@ const Register = test$e.extend({
|
|
|
3734
3736
|
password: "shopware",
|
|
3735
3737
|
street: "Ebbinghof 10",
|
|
3736
3738
|
city: "Sch\xF6ppingen",
|
|
3737
|
-
country: "Germany"
|
|
3739
|
+
country: "Germany",
|
|
3740
|
+
postalCode: "48624"
|
|
3738
3741
|
};
|
|
3739
3742
|
const task = (email) => {
|
|
3740
3743
|
return async function Register2() {
|
|
@@ -3746,6 +3749,7 @@ const Register = test$e.extend({
|
|
|
3746
3749
|
await StorefrontAccountLogin.streetAddressInput.fill(registrationData.street);
|
|
3747
3750
|
await StorefrontAccountLogin.cityInput.fill(registrationData.city);
|
|
3748
3751
|
await StorefrontAccountLogin.countryInput.selectOption(registrationData.country);
|
|
3752
|
+
await StorefrontAccountLogin.postalCodeInput.fill(registrationData.postalCode);
|
|
3749
3753
|
await StorefrontAccountLogin.registerButton.click();
|
|
3750
3754
|
};
|
|
3751
3755
|
};
|