@shopware-ag/acceptance-test-suite 11.33.0 → 11.33.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.d.mts +44 -9
- package/dist/index.d.ts +44 -9
- package/dist/index.mjs +53 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1783,6 +1783,13 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1783
1783
|
cannotDeliverToCountry: string;
|
|
1784
1784
|
shippingNotPossible: string;
|
|
1785
1785
|
};
|
|
1786
|
+
navigation: {
|
|
1787
|
+
overview: string;
|
|
1788
|
+
yourProfile: string;
|
|
1789
|
+
addresses: string;
|
|
1790
|
+
orders: string;
|
|
1791
|
+
logout: string;
|
|
1792
|
+
};
|
|
1786
1793
|
recovery: {
|
|
1787
1794
|
title: string;
|
|
1788
1795
|
subtitle: string;
|
|
@@ -2657,6 +2664,13 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2657
2664
|
defaultBillingAddress: string;
|
|
2658
2665
|
defaultShippingAddress: string;
|
|
2659
2666
|
};
|
|
2667
|
+
navigation: {
|
|
2668
|
+
overview: string;
|
|
2669
|
+
yourProfile: string;
|
|
2670
|
+
addresses: string;
|
|
2671
|
+
orders: string;
|
|
2672
|
+
logout: string;
|
|
2673
|
+
};
|
|
2660
2674
|
recovery: {
|
|
2661
2675
|
title: string;
|
|
2662
2676
|
subtitle: string;
|
|
@@ -3539,6 +3553,13 @@ declare const baseNamespaces: {
|
|
|
3539
3553
|
cannotDeliverToCountry: string;
|
|
3540
3554
|
shippingNotPossible: string;
|
|
3541
3555
|
};
|
|
3556
|
+
navigation: {
|
|
3557
|
+
overview: string;
|
|
3558
|
+
yourProfile: string;
|
|
3559
|
+
addresses: string;
|
|
3560
|
+
orders: string;
|
|
3561
|
+
logout: string;
|
|
3562
|
+
};
|
|
3542
3563
|
recovery: {
|
|
3543
3564
|
title: string;
|
|
3544
3565
|
subtitle: string;
|
|
@@ -5427,7 +5448,24 @@ declare class CheckoutRegister implements PageObject {
|
|
|
5427
5448
|
url(): string;
|
|
5428
5449
|
}
|
|
5429
5450
|
|
|
5430
|
-
declare class
|
|
5451
|
+
declare class AccountNavigation {
|
|
5452
|
+
private readonly page;
|
|
5453
|
+
readonly overviewLink: Locator;
|
|
5454
|
+
readonly yourProfileLink: Locator;
|
|
5455
|
+
readonly addressesLink: Locator;
|
|
5456
|
+
readonly ordersLink: Locator;
|
|
5457
|
+
readonly logoutLink: Locator;
|
|
5458
|
+
constructor(page: Page);
|
|
5459
|
+
}
|
|
5460
|
+
|
|
5461
|
+
declare abstract class BaseAccount implements PageObject {
|
|
5462
|
+
readonly page: Page;
|
|
5463
|
+
readonly navigation: AccountNavigation;
|
|
5464
|
+
protected constructor(page: Page);
|
|
5465
|
+
abstract url(): string;
|
|
5466
|
+
}
|
|
5467
|
+
|
|
5468
|
+
declare class Account extends BaseAccount {
|
|
5431
5469
|
readonly headline: Locator;
|
|
5432
5470
|
readonly personalDataCardTitle: Locator;
|
|
5433
5471
|
readonly paymentMethodCardTitle: Locator;
|
|
@@ -5438,7 +5476,6 @@ declare class Account implements PageObject {
|
|
|
5438
5476
|
readonly customerGroupRequestMessage: Locator;
|
|
5439
5477
|
readonly cannotDeliverToCountryAlert: Locator;
|
|
5440
5478
|
readonly shippingToAddressNotPossibleAlert: Locator;
|
|
5441
|
-
readonly page: Page;
|
|
5442
5479
|
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
5443
5480
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
5444
5481
|
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
@@ -5508,7 +5545,7 @@ declare class AccountRecover implements PageObject {
|
|
|
5508
5545
|
url(recoverLink?: string): string;
|
|
5509
5546
|
}
|
|
5510
5547
|
|
|
5511
|
-
declare class AccountProfile
|
|
5548
|
+
declare class AccountProfile extends BaseAccount {
|
|
5512
5549
|
readonly page: Page;
|
|
5513
5550
|
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
5514
5551
|
readonly salutationSelect: Locator;
|
|
@@ -5535,7 +5572,7 @@ declare class AccountProfile implements PageObject {
|
|
|
5535
5572
|
url(): string;
|
|
5536
5573
|
}
|
|
5537
5574
|
|
|
5538
|
-
declare class AccountOrder
|
|
5575
|
+
declare class AccountOrder extends BaseAccount {
|
|
5539
5576
|
readonly cartLineItemImages: Locator;
|
|
5540
5577
|
readonly orderExpandButton: Locator;
|
|
5541
5578
|
readonly digitalProductDownloadButton: Locator;
|
|
@@ -5545,13 +5582,13 @@ declare class AccountOrder implements PageObject {
|
|
|
5545
5582
|
readonly orderDetails: Locator;
|
|
5546
5583
|
readonly invoiceHTML: Locator;
|
|
5547
5584
|
readonly creditItem: Locator;
|
|
5548
|
-
readonly
|
|
5585
|
+
readonly noOrdersAlert: Locator;
|
|
5549
5586
|
constructor(page: Page);
|
|
5550
5587
|
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
5551
5588
|
url(): string;
|
|
5552
5589
|
}
|
|
5553
5590
|
|
|
5554
|
-
declare class AccountAddresses
|
|
5591
|
+
declare class AccountAddresses extends BaseAccount {
|
|
5555
5592
|
readonly addNewAddressButton: Locator;
|
|
5556
5593
|
readonly editBillingAddressButton: Locator;
|
|
5557
5594
|
readonly editShippingAddressButton: Locator;
|
|
@@ -5563,7 +5600,6 @@ declare class AccountAddresses implements PageObject {
|
|
|
5563
5600
|
readonly addressDropdownButtons: Locator | undefined;
|
|
5564
5601
|
readonly availableAddressesUseAsBillingAddress: Locator | undefined;
|
|
5565
5602
|
readonly availableAddressesUseAsShippingAddress: Locator | undefined;
|
|
5566
|
-
readonly page: Page;
|
|
5567
5603
|
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
5568
5604
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
5569
5605
|
url(): string;
|
|
@@ -5637,7 +5673,7 @@ declare class CheckoutOrderEdit implements PageObject {
|
|
|
5637
5673
|
getPaymentMethodButton(paymentMethodName: string): Locator;
|
|
5638
5674
|
}
|
|
5639
5675
|
|
|
5640
|
-
declare class AccountAddressCreate
|
|
5676
|
+
declare class AccountAddressCreate extends BaseAccount {
|
|
5641
5677
|
readonly salutationDropdown: Locator;
|
|
5642
5678
|
readonly firstNameInput: Locator;
|
|
5643
5679
|
readonly lastNameInput: Locator;
|
|
@@ -5649,7 +5685,6 @@ declare class AccountAddressCreate implements PageObject {
|
|
|
5649
5685
|
readonly countryDropdown: Locator;
|
|
5650
5686
|
readonly saveAddressButton: Locator;
|
|
5651
5687
|
readonly stateDropdown: Locator;
|
|
5652
|
-
readonly page: Page;
|
|
5653
5688
|
constructor(page: Page);
|
|
5654
5689
|
url(): string;
|
|
5655
5690
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1783,6 +1783,13 @@ declare const BUNDLED_RESOURCES: {
|
|
|
1783
1783
|
cannotDeliverToCountry: string;
|
|
1784
1784
|
shippingNotPossible: string;
|
|
1785
1785
|
};
|
|
1786
|
+
navigation: {
|
|
1787
|
+
overview: string;
|
|
1788
|
+
yourProfile: string;
|
|
1789
|
+
addresses: string;
|
|
1790
|
+
orders: string;
|
|
1791
|
+
logout: string;
|
|
1792
|
+
};
|
|
1786
1793
|
recovery: {
|
|
1787
1794
|
title: string;
|
|
1788
1795
|
subtitle: string;
|
|
@@ -2657,6 +2664,13 @@ declare const BUNDLED_RESOURCES: {
|
|
|
2657
2664
|
defaultBillingAddress: string;
|
|
2658
2665
|
defaultShippingAddress: string;
|
|
2659
2666
|
};
|
|
2667
|
+
navigation: {
|
|
2668
|
+
overview: string;
|
|
2669
|
+
yourProfile: string;
|
|
2670
|
+
addresses: string;
|
|
2671
|
+
orders: string;
|
|
2672
|
+
logout: string;
|
|
2673
|
+
};
|
|
2660
2674
|
recovery: {
|
|
2661
2675
|
title: string;
|
|
2662
2676
|
subtitle: string;
|
|
@@ -3539,6 +3553,13 @@ declare const baseNamespaces: {
|
|
|
3539
3553
|
cannotDeliverToCountry: string;
|
|
3540
3554
|
shippingNotPossible: string;
|
|
3541
3555
|
};
|
|
3556
|
+
navigation: {
|
|
3557
|
+
overview: string;
|
|
3558
|
+
yourProfile: string;
|
|
3559
|
+
addresses: string;
|
|
3560
|
+
orders: string;
|
|
3561
|
+
logout: string;
|
|
3562
|
+
};
|
|
3542
3563
|
recovery: {
|
|
3543
3564
|
title: string;
|
|
3544
3565
|
subtitle: string;
|
|
@@ -5427,7 +5448,24 @@ declare class CheckoutRegister implements PageObject {
|
|
|
5427
5448
|
url(): string;
|
|
5428
5449
|
}
|
|
5429
5450
|
|
|
5430
|
-
declare class
|
|
5451
|
+
declare class AccountNavigation {
|
|
5452
|
+
private readonly page;
|
|
5453
|
+
readonly overviewLink: Locator;
|
|
5454
|
+
readonly yourProfileLink: Locator;
|
|
5455
|
+
readonly addressesLink: Locator;
|
|
5456
|
+
readonly ordersLink: Locator;
|
|
5457
|
+
readonly logoutLink: Locator;
|
|
5458
|
+
constructor(page: Page);
|
|
5459
|
+
}
|
|
5460
|
+
|
|
5461
|
+
declare abstract class BaseAccount implements PageObject {
|
|
5462
|
+
readonly page: Page;
|
|
5463
|
+
readonly navigation: AccountNavigation;
|
|
5464
|
+
protected constructor(page: Page);
|
|
5465
|
+
abstract url(): string;
|
|
5466
|
+
}
|
|
5467
|
+
|
|
5468
|
+
declare class Account extends BaseAccount {
|
|
5431
5469
|
readonly headline: Locator;
|
|
5432
5470
|
readonly personalDataCardTitle: Locator;
|
|
5433
5471
|
readonly paymentMethodCardTitle: Locator;
|
|
@@ -5438,7 +5476,6 @@ declare class Account implements PageObject {
|
|
|
5438
5476
|
readonly customerGroupRequestMessage: Locator;
|
|
5439
5477
|
readonly cannotDeliverToCountryAlert: Locator;
|
|
5440
5478
|
readonly shippingToAddressNotPossibleAlert: Locator;
|
|
5441
|
-
readonly page: Page;
|
|
5442
5479
|
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
5443
5480
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
5444
5481
|
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
@@ -5508,7 +5545,7 @@ declare class AccountRecover implements PageObject {
|
|
|
5508
5545
|
url(recoverLink?: string): string;
|
|
5509
5546
|
}
|
|
5510
5547
|
|
|
5511
|
-
declare class AccountProfile
|
|
5548
|
+
declare class AccountProfile extends BaseAccount {
|
|
5512
5549
|
readonly page: Page;
|
|
5513
5550
|
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
5514
5551
|
readonly salutationSelect: Locator;
|
|
@@ -5535,7 +5572,7 @@ declare class AccountProfile implements PageObject {
|
|
|
5535
5572
|
url(): string;
|
|
5536
5573
|
}
|
|
5537
5574
|
|
|
5538
|
-
declare class AccountOrder
|
|
5575
|
+
declare class AccountOrder extends BaseAccount {
|
|
5539
5576
|
readonly cartLineItemImages: Locator;
|
|
5540
5577
|
readonly orderExpandButton: Locator;
|
|
5541
5578
|
readonly digitalProductDownloadButton: Locator;
|
|
@@ -5545,13 +5582,13 @@ declare class AccountOrder implements PageObject {
|
|
|
5545
5582
|
readonly orderDetails: Locator;
|
|
5546
5583
|
readonly invoiceHTML: Locator;
|
|
5547
5584
|
readonly creditItem: Locator;
|
|
5548
|
-
readonly
|
|
5585
|
+
readonly noOrdersAlert: Locator;
|
|
5549
5586
|
constructor(page: Page);
|
|
5550
5587
|
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
5551
5588
|
url(): string;
|
|
5552
5589
|
}
|
|
5553
5590
|
|
|
5554
|
-
declare class AccountAddresses
|
|
5591
|
+
declare class AccountAddresses extends BaseAccount {
|
|
5555
5592
|
readonly addNewAddressButton: Locator;
|
|
5556
5593
|
readonly editBillingAddressButton: Locator;
|
|
5557
5594
|
readonly editShippingAddressButton: Locator;
|
|
@@ -5563,7 +5600,6 @@ declare class AccountAddresses implements PageObject {
|
|
|
5563
5600
|
readonly addressDropdownButtons: Locator | undefined;
|
|
5564
5601
|
readonly availableAddressesUseAsBillingAddress: Locator | undefined;
|
|
5565
5602
|
readonly availableAddressesUseAsShippingAddress: Locator | undefined;
|
|
5566
|
-
readonly page: Page;
|
|
5567
5603
|
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
5568
5604
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
5569
5605
|
url(): string;
|
|
@@ -5637,7 +5673,7 @@ declare class CheckoutOrderEdit implements PageObject {
|
|
|
5637
5673
|
getPaymentMethodButton(paymentMethodName: string): Locator;
|
|
5638
5674
|
}
|
|
5639
5675
|
|
|
5640
|
-
declare class AccountAddressCreate
|
|
5676
|
+
declare class AccountAddressCreate extends BaseAccount {
|
|
5641
5677
|
readonly salutationDropdown: Locator;
|
|
5642
5678
|
readonly firstNameInput: Locator;
|
|
5643
5679
|
readonly lastNameInput: Locator;
|
|
@@ -5649,7 +5685,6 @@ declare class AccountAddressCreate implements PageObject {
|
|
|
5649
5685
|
readonly countryDropdown: Locator;
|
|
5650
5686
|
readonly saveAddressButton: Locator;
|
|
5651
5687
|
readonly stateDropdown: Locator;
|
|
5652
|
-
readonly page: Page;
|
|
5653
5688
|
constructor(page: Page);
|
|
5654
5689
|
url(): string;
|
|
5655
5690
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1239,6 +1239,13 @@ const general$7 = {
|
|
|
1239
1239
|
cannotDeliverToCountry: "We can not deliver to the country that is stored in your delivery address.",
|
|
1240
1240
|
shippingNotPossible: "Shipping to the selected shipping address is currently not possible."
|
|
1241
1241
|
};
|
|
1242
|
+
const navigation$1 = {
|
|
1243
|
+
overview: "Overview",
|
|
1244
|
+
yourProfile: "Your profile",
|
|
1245
|
+
addresses: "Addresses",
|
|
1246
|
+
orders: "Orders",
|
|
1247
|
+
logout: "Log out"
|
|
1248
|
+
};
|
|
1242
1249
|
const recovery$1 = {
|
|
1243
1250
|
title: "Password recovery",
|
|
1244
1251
|
subtitle: "We will send you a confirmation email. Click the link in that email in order to change your password.",
|
|
@@ -1259,6 +1266,7 @@ const storefrontAccount = {
|
|
|
1259
1266
|
addresses: addresses$1,
|
|
1260
1267
|
registration: registration$1,
|
|
1261
1268
|
general: general$7,
|
|
1269
|
+
navigation: navigation$1,
|
|
1262
1270
|
recovery: recovery$1,
|
|
1263
1271
|
payment: payment$1
|
|
1264
1272
|
};
|
|
@@ -2311,6 +2319,13 @@ const general$1 = {
|
|
|
2311
2319
|
defaultBillingAddress: "Hinzufügen",
|
|
2312
2320
|
defaultShippingAddress: "Hinzufügen"
|
|
2313
2321
|
};
|
|
2322
|
+
const navigation = {
|
|
2323
|
+
overview: "Übersicht",
|
|
2324
|
+
yourProfile: "Persönliches Profil",
|
|
2325
|
+
addresses: "Adressen",
|
|
2326
|
+
orders: "Bestellungen",
|
|
2327
|
+
logout: "Abmelden"
|
|
2328
|
+
};
|
|
2314
2329
|
const recovery = {
|
|
2315
2330
|
title: "Passwort-Wiederherstellung",
|
|
2316
2331
|
subtitle: "Wir senden Ihnen eine Bestätigungs-E-Mail. Klicken Sie auf den Link in dieser E-Mail, um Ihr Passwort zu ändern.",
|
|
@@ -2344,6 +2359,7 @@ const deStorefrontAccount = {
|
|
|
2344
2359
|
addresses: addresses,
|
|
2345
2360
|
registration: registration,
|
|
2346
2361
|
general: general$1,
|
|
2362
|
+
navigation: navigation,
|
|
2347
2363
|
recovery: recovery,
|
|
2348
2364
|
payment: payment,
|
|
2349
2365
|
tasks: tasks
|
|
@@ -6525,7 +6541,32 @@ class CheckoutRegister {
|
|
|
6525
6541
|
}
|
|
6526
6542
|
}
|
|
6527
6543
|
|
|
6528
|
-
class
|
|
6544
|
+
class AccountNavigation {
|
|
6545
|
+
constructor(page) {
|
|
6546
|
+
this.page = page;
|
|
6547
|
+
this.overviewLink = page.getByRole("link", { name: translate("storefront:account:navigation.overview") });
|
|
6548
|
+
this.yourProfileLink = page.getByRole("link", { name: translate("storefront:account:navigation.yourProfile") });
|
|
6549
|
+
this.addressesLink = page.getByRole("link", { name: translate("storefront:account:navigation.addresses") });
|
|
6550
|
+
this.ordersLink = page.getByRole("link", { name: translate("storefront:account:navigation.orders") });
|
|
6551
|
+
this.logoutLink = page.getByRole("link", { name: translate("storefront:account:navigation.logout") });
|
|
6552
|
+
}
|
|
6553
|
+
overviewLink;
|
|
6554
|
+
yourProfileLink;
|
|
6555
|
+
addressesLink;
|
|
6556
|
+
ordersLink;
|
|
6557
|
+
logoutLink;
|
|
6558
|
+
}
|
|
6559
|
+
|
|
6560
|
+
class BaseAccount {
|
|
6561
|
+
page;
|
|
6562
|
+
navigation;
|
|
6563
|
+
constructor(page) {
|
|
6564
|
+
this.page = page;
|
|
6565
|
+
this.navigation = new AccountNavigation(page);
|
|
6566
|
+
}
|
|
6567
|
+
}
|
|
6568
|
+
|
|
6569
|
+
class Account extends BaseAccount {
|
|
6529
6570
|
headline;
|
|
6530
6571
|
personalDataCardTitle;
|
|
6531
6572
|
paymentMethodCardTitle;
|
|
@@ -6536,10 +6577,9 @@ class Account {
|
|
|
6536
6577
|
customerGroupRequestMessage;
|
|
6537
6578
|
cannotDeliverToCountryAlert;
|
|
6538
6579
|
shippingToAddressNotPossibleAlert;
|
|
6539
|
-
page;
|
|
6540
6580
|
instanceMeta;
|
|
6541
6581
|
constructor(page, instanceMeta) {
|
|
6542
|
-
|
|
6582
|
+
super(page);
|
|
6543
6583
|
this.instanceMeta = instanceMeta;
|
|
6544
6584
|
this.headline = page.getByRole("heading", { name: translate("storefront:account:general.overview") });
|
|
6545
6585
|
this.personalDataCardTitle = page.getByRole("heading", { name: translate("storefront:account:general.personalData") });
|
|
@@ -6695,7 +6735,7 @@ class AccountRecover {
|
|
|
6695
6735
|
}
|
|
6696
6736
|
}
|
|
6697
6737
|
|
|
6698
|
-
class AccountProfile {
|
|
6738
|
+
class AccountProfile extends BaseAccount {
|
|
6699
6739
|
page;
|
|
6700
6740
|
instanceMeta;
|
|
6701
6741
|
salutationSelect;
|
|
@@ -6719,6 +6759,7 @@ class AccountProfile {
|
|
|
6719
6759
|
emailUpdateFailureAlert;
|
|
6720
6760
|
passwordUpdateFailureAlert;
|
|
6721
6761
|
constructor(page, instanceMeta) {
|
|
6762
|
+
super(page);
|
|
6722
6763
|
this.page = page;
|
|
6723
6764
|
this.instanceMeta = instanceMeta;
|
|
6724
6765
|
this.salutationSelect = page.getByLabel(translate("storefront:account:common.salutation"));
|
|
@@ -6760,7 +6801,7 @@ class AccountProfile {
|
|
|
6760
6801
|
}
|
|
6761
6802
|
}
|
|
6762
6803
|
|
|
6763
|
-
class AccountOrder {
|
|
6804
|
+
class AccountOrder extends BaseAccount {
|
|
6764
6805
|
cartLineItemImages;
|
|
6765
6806
|
orderExpandButton;
|
|
6766
6807
|
digitalProductDownloadButton;
|
|
@@ -6770,9 +6811,9 @@ class AccountOrder {
|
|
|
6770
6811
|
orderDetails;
|
|
6771
6812
|
invoiceHTML;
|
|
6772
6813
|
creditItem;
|
|
6773
|
-
|
|
6814
|
+
noOrdersAlert;
|
|
6774
6815
|
constructor(page) {
|
|
6775
|
-
|
|
6816
|
+
super(page);
|
|
6776
6817
|
this.orderExpandButton = page.getByRole("button", { name: new RegExp(`${translate("storefront:account:orders.expand")}|${translate("storefront:account:orders.showDetails")}`) }).first();
|
|
6777
6818
|
this.cartLineItemImages = page.locator(".line-item-img-link");
|
|
6778
6819
|
this.digitalProductDownloadButton = page.getByRole("link", { name: translate("storefront:account:orders.download") }).first();
|
|
@@ -6782,6 +6823,7 @@ class AccountOrder {
|
|
|
6782
6823
|
this.orderDetails = page.locator(".order-item-detail");
|
|
6783
6824
|
this.invoiceHTML = page.getByRole("link", { name: ".html" });
|
|
6784
6825
|
this.creditItem = page.locator(`.line-item:has-text("${translate("storefront:account:orders.creditItem")}")`);
|
|
6826
|
+
this.noOrdersAlert = page.locator(".alert-warning");
|
|
6785
6827
|
}
|
|
6786
6828
|
async getOrderByOrderNumber(orderNumber) {
|
|
6787
6829
|
const orderItem = this.page.getByRole("listitem").getByLabel(`${translate("storefront:account:orders.orderNumber")} ${orderNumber}`);
|
|
@@ -6827,7 +6869,7 @@ class AccountOrder {
|
|
|
6827
6869
|
}
|
|
6828
6870
|
}
|
|
6829
6871
|
|
|
6830
|
-
class AccountAddresses {
|
|
6872
|
+
class AccountAddresses extends BaseAccount {
|
|
6831
6873
|
addNewAddressButton;
|
|
6832
6874
|
editBillingAddressButton;
|
|
6833
6875
|
editShippingAddressButton;
|
|
@@ -6839,10 +6881,9 @@ class AccountAddresses {
|
|
|
6839
6881
|
addressDropdownButtons;
|
|
6840
6882
|
availableAddressesUseAsBillingAddress;
|
|
6841
6883
|
availableAddressesUseAsShippingAddress;
|
|
6842
|
-
page;
|
|
6843
6884
|
instanceMeta;
|
|
6844
6885
|
constructor(page, instanceMeta) {
|
|
6845
|
-
|
|
6886
|
+
super(page);
|
|
6846
6887
|
this.instanceMeta = instanceMeta;
|
|
6847
6888
|
this.addNewAddressButton = page.getByRole("link", { name: /Add (new )?address/ });
|
|
6848
6889
|
this.editBillingAddressButton = page.getByRole("link", { name: translate("storefront:address:actions.editAddress") }).first();
|
|
@@ -6985,7 +7026,7 @@ class CheckoutOrderEdit {
|
|
|
6985
7026
|
}
|
|
6986
7027
|
}
|
|
6987
7028
|
|
|
6988
|
-
class AccountAddressCreate {
|
|
7029
|
+
class AccountAddressCreate extends BaseAccount {
|
|
6989
7030
|
salutationDropdown;
|
|
6990
7031
|
firstNameInput;
|
|
6991
7032
|
lastNameInput;
|
|
@@ -6997,9 +7038,8 @@ class AccountAddressCreate {
|
|
|
6997
7038
|
countryDropdown;
|
|
6998
7039
|
saveAddressButton;
|
|
6999
7040
|
stateDropdown;
|
|
7000
|
-
page;
|
|
7001
7041
|
constructor(page) {
|
|
7002
|
-
|
|
7042
|
+
super(page);
|
|
7003
7043
|
this.salutationDropdown = page.getByRole("combobox", { name: translate("storefront:address:common.salutation") });
|
|
7004
7044
|
this.firstNameInput = page.getByRole("textbox", { name: translate("storefront:address:common.firstName") });
|
|
7005
7045
|
this.lastNameInput = page.getByRole("textbox", { name: translate("storefront:address:common.lastName") });
|