@shopware-ag/acceptance-test-suite 11.20.0 → 11.21.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 +160 -93
- package/dist/index.d.ts +160 -93
- package/dist/index.mjs +1407 -1143
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as axe_core from 'axe-core';
|
|
2
|
+
import * as playwright_core from 'playwright-core';
|
|
3
|
+
import { APIRequestContext, APIResponse, Page, BrowserContext, Locator } from 'playwright-core';
|
|
4
|
+
export { APIRequestContext, APIResponse, BrowserContext, Locator, Page, Request } from 'playwright-core';
|
|
2
5
|
import * as _playwright_test from '@playwright/test';
|
|
3
|
-
import {
|
|
4
|
-
export
|
|
6
|
+
import { Page as Page$1, Locator as Locator$1 } from '@playwright/test';
|
|
7
|
+
export { expect, mergeTests } from '@playwright/test';
|
|
5
8
|
import { components } from '@shopware/api-client/admin-api-types';
|
|
6
9
|
import { Image } from 'image-js';
|
|
7
10
|
|
|
@@ -349,6 +352,8 @@ type Promotion = Omit<components['schemas']['Promotion'], 'discounts'> & {
|
|
|
349
352
|
considerAdvancedRules: boolean;
|
|
350
353
|
}
|
|
351
354
|
];
|
|
355
|
+
active: boolean;
|
|
356
|
+
code: string;
|
|
352
357
|
};
|
|
353
358
|
type PromotionDiscount = components['schemas']['PromotionDiscount'] & {
|
|
354
359
|
id: string;
|
|
@@ -404,14 +409,15 @@ type CustomField = Omit<components['schemas']['CustomField'], 'config'> & {
|
|
|
404
409
|
type Tax$1 = components['schemas']['Tax'] & {
|
|
405
410
|
id: string;
|
|
406
411
|
};
|
|
407
|
-
declare
|
|
408
|
-
shippingAvailability
|
|
409
|
-
taxAvailability
|
|
410
|
-
paymentAvailability
|
|
411
|
-
promotionOrder
|
|
412
|
-
promotionCustomer
|
|
413
|
-
promotionCart
|
|
414
|
-
}
|
|
412
|
+
declare const RuleType: {
|
|
413
|
+
readonly shippingAvailability: "shippingMethodAvailabilityRule";
|
|
414
|
+
readonly taxAvailability: "taxProviderAvailabilityRule";
|
|
415
|
+
readonly paymentAvailability: "paymentMethodAvailabilityRule";
|
|
416
|
+
readonly promotionOrder: "promotionOrderRule";
|
|
417
|
+
readonly promotionCustomer: "promotionCustomerRule";
|
|
418
|
+
readonly promotionCart: "promotionCartRule";
|
|
419
|
+
};
|
|
420
|
+
type RuleType = typeof RuleType[keyof typeof RuleType];
|
|
415
421
|
interface RuleAssignmentEntity {
|
|
416
422
|
entity: {
|
|
417
423
|
id: string;
|
|
@@ -1118,9 +1124,9 @@ declare class TestDataService {
|
|
|
1118
1124
|
} & Partial<OrderLineItem>;
|
|
1119
1125
|
getBasicPromotionLineItemStruct(lineItem: SimpleLineItem): {
|
|
1120
1126
|
promotionId: string;
|
|
1121
|
-
referencedId: string
|
|
1127
|
+
referencedId: string;
|
|
1122
1128
|
payload: {
|
|
1123
|
-
code: string
|
|
1129
|
+
code: string;
|
|
1124
1130
|
};
|
|
1125
1131
|
identifier: string | undefined;
|
|
1126
1132
|
type: string;
|
|
@@ -1250,7 +1256,6 @@ interface PageObject {
|
|
|
1250
1256
|
}
|
|
1251
1257
|
|
|
1252
1258
|
declare class Home implements PageObject {
|
|
1253
|
-
readonly page: Page;
|
|
1254
1259
|
readonly categoryTitle: Locator;
|
|
1255
1260
|
readonly accountMenuButton: Locator;
|
|
1256
1261
|
readonly closeGuestSessionButton: Locator;
|
|
@@ -1317,6 +1322,7 @@ declare class Home implements PageObject {
|
|
|
1317
1322
|
readonly productItemNames: Locator;
|
|
1318
1323
|
readonly productRatingButton: Locator;
|
|
1319
1324
|
readonly productRatingList: Locator;
|
|
1325
|
+
readonly page: Page;
|
|
1320
1326
|
constructor(page: Page);
|
|
1321
1327
|
getRatingItemLocatorByRating(rating: number): Promise<Locator>;
|
|
1322
1328
|
getFilterItemByFilterName(filterName: string): Promise<Locator>;
|
|
@@ -1331,7 +1337,6 @@ declare class Home implements PageObject {
|
|
|
1331
1337
|
}
|
|
1332
1338
|
|
|
1333
1339
|
declare class ProductDetail$1 implements PageObject {
|
|
1334
|
-
readonly page: Page;
|
|
1335
1340
|
readonly addToCartButton: Locator;
|
|
1336
1341
|
readonly quantitySelect: Locator;
|
|
1337
1342
|
readonly productSingleImage: Locator;
|
|
@@ -1375,6 +1380,7 @@ declare class ProductDetail$1 implements PageObject {
|
|
|
1375
1380
|
readonly reviewSubmitButton: Locator;
|
|
1376
1381
|
readonly productReviewsLink: Locator;
|
|
1377
1382
|
readonly productReviewRating: Locator;
|
|
1383
|
+
readonly page: Page;
|
|
1378
1384
|
constructor(page: Page);
|
|
1379
1385
|
getReviewFilterRowOptionsByName(filterOptionName: string): Promise<{
|
|
1380
1386
|
reviewFilterOptionCheckbox: Locator;
|
|
@@ -1385,16 +1391,15 @@ declare class ProductDetail$1 implements PageObject {
|
|
|
1385
1391
|
}
|
|
1386
1392
|
|
|
1387
1393
|
declare class Category implements PageObject {
|
|
1388
|
-
readonly page: Page;
|
|
1389
1394
|
readonly sortingSelect: Locator;
|
|
1390
1395
|
readonly firstProductBuyButton: Locator;
|
|
1391
1396
|
readonly noProductsFoundAlert: Locator;
|
|
1397
|
+
readonly page: Page;
|
|
1392
1398
|
constructor(page: Page);
|
|
1393
1399
|
url(categoryName: string): string;
|
|
1394
1400
|
}
|
|
1395
1401
|
|
|
1396
1402
|
declare class CheckoutCart implements PageObject {
|
|
1397
|
-
readonly page: Page;
|
|
1398
1403
|
readonly headline: Locator;
|
|
1399
1404
|
readonly goToCheckoutButton: Locator;
|
|
1400
1405
|
readonly enterPromoInput: Locator;
|
|
@@ -1404,13 +1409,13 @@ declare class CheckoutCart implements PageObject {
|
|
|
1404
1409
|
readonly cartLineItemImages: Locator;
|
|
1405
1410
|
readonly unitPriceInfo: Locator;
|
|
1406
1411
|
readonly cartQuantityNumber: Locator;
|
|
1412
|
+
readonly page: Page;
|
|
1407
1413
|
constructor(page: Page);
|
|
1408
1414
|
url(): string;
|
|
1409
1415
|
getLineItemByProductNumber(productNumber: string): Promise<Record<string, Locator>>;
|
|
1410
1416
|
}
|
|
1411
1417
|
|
|
1412
1418
|
declare class OffCanvasCart implements PageObject {
|
|
1413
|
-
readonly page: Page;
|
|
1414
1419
|
readonly headline: Locator;
|
|
1415
1420
|
readonly itemCount: Locator;
|
|
1416
1421
|
readonly goToCheckoutButton: Locator;
|
|
@@ -1421,13 +1426,13 @@ declare class OffCanvasCart implements PageObject {
|
|
|
1421
1426
|
readonly subTotalPrice: Locator;
|
|
1422
1427
|
readonly shippingCosts: Locator;
|
|
1423
1428
|
readonly cartQuantityNumber: Locator;
|
|
1429
|
+
readonly page: Page;
|
|
1424
1430
|
constructor(page: Page);
|
|
1425
1431
|
url(): string;
|
|
1426
1432
|
getLineItemByProductNumber(productNumber: string): Promise<Record<string, Locator>>;
|
|
1427
1433
|
}
|
|
1428
1434
|
|
|
1429
1435
|
declare class CheckoutConfirm implements PageObject {
|
|
1430
|
-
readonly page: Page;
|
|
1431
1436
|
readonly headline: Locator;
|
|
1432
1437
|
readonly termsAndConditionsCheckbox: Locator;
|
|
1433
1438
|
readonly immediateAccessToDigitalProductCheckbox: Locator;
|
|
@@ -1449,17 +1454,18 @@ declare class CheckoutConfirm implements PageObject {
|
|
|
1449
1454
|
* Product details
|
|
1450
1455
|
*/
|
|
1451
1456
|
readonly cartLineItemImages: Locator;
|
|
1457
|
+
readonly page: Page;
|
|
1452
1458
|
constructor(page: Page);
|
|
1453
1459
|
url(): string;
|
|
1454
1460
|
}
|
|
1455
1461
|
|
|
1456
1462
|
declare class CheckoutFinish implements PageObject {
|
|
1457
|
-
readonly page: Page;
|
|
1458
1463
|
readonly headline: Locator;
|
|
1459
1464
|
readonly orderNumberText: Locator;
|
|
1460
1465
|
readonly grandTotalPrice: Locator;
|
|
1461
1466
|
readonly taxPrice: Locator;
|
|
1462
1467
|
readonly cartLineItemImages: Locator;
|
|
1468
|
+
readonly page: Page;
|
|
1463
1469
|
private readonly orderNumberRegex;
|
|
1464
1470
|
constructor(page: Page);
|
|
1465
1471
|
url(): string;
|
|
@@ -1468,15 +1474,13 @@ declare class CheckoutFinish implements PageObject {
|
|
|
1468
1474
|
}
|
|
1469
1475
|
|
|
1470
1476
|
declare class CheckoutRegister implements PageObject {
|
|
1471
|
-
readonly page: Page;
|
|
1472
1477
|
readonly cartLineItemImages: Locator;
|
|
1478
|
+
readonly page: Page;
|
|
1473
1479
|
constructor(page: Page);
|
|
1474
1480
|
url(): string;
|
|
1475
1481
|
}
|
|
1476
1482
|
|
|
1477
1483
|
declare class Account implements PageObject {
|
|
1478
|
-
readonly page: Page;
|
|
1479
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1480
1484
|
readonly headline: Locator;
|
|
1481
1485
|
readonly personalDataCardTitle: Locator;
|
|
1482
1486
|
readonly paymentMethodCardTitle: Locator;
|
|
@@ -1487,13 +1491,14 @@ declare class Account implements PageObject {
|
|
|
1487
1491
|
readonly customerGroupRequestMessage: Locator;
|
|
1488
1492
|
readonly cannotDeliverToCountryAlert: Locator;
|
|
1489
1493
|
readonly shippingToAddressNotPossibleAlert: Locator;
|
|
1494
|
+
readonly page: Page;
|
|
1495
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1490
1496
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1491
1497
|
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
1492
1498
|
url(): string;
|
|
1493
1499
|
}
|
|
1494
1500
|
|
|
1495
1501
|
declare class AccountLogin implements PageObject {
|
|
1496
|
-
readonly page: Page;
|
|
1497
1502
|
readonly emailInput: Locator;
|
|
1498
1503
|
readonly passwordInput: Locator;
|
|
1499
1504
|
readonly forgotPasswordLink: Locator;
|
|
@@ -1533,13 +1538,13 @@ declare class AccountLogin implements PageObject {
|
|
|
1533
1538
|
readonly shippingAddressCountryInput: Locator;
|
|
1534
1539
|
readonly shippingAddressPostalCodeInput: Locator;
|
|
1535
1540
|
readonly shippingAddressStateInput: Locator;
|
|
1541
|
+
readonly page: Page;
|
|
1536
1542
|
constructor(page: Page);
|
|
1537
1543
|
getShippingCountryLocatorByName(countryName: string): Promise<Locator>;
|
|
1538
1544
|
url(): string;
|
|
1539
1545
|
}
|
|
1540
1546
|
|
|
1541
1547
|
declare class AccountRecover implements PageObject {
|
|
1542
|
-
readonly page: Page;
|
|
1543
1548
|
readonly passwordRecoveryForm: Locator;
|
|
1544
1549
|
readonly title: Locator;
|
|
1545
1550
|
readonly subtitle: Locator;
|
|
@@ -1551,6 +1556,7 @@ declare class AccountRecover implements PageObject {
|
|
|
1551
1556
|
readonly newPasswordConfirmInput: Locator;
|
|
1552
1557
|
readonly changePasswordButton: Locator;
|
|
1553
1558
|
readonly invalidLinkMessage: Locator;
|
|
1559
|
+
readonly page: Page;
|
|
1554
1560
|
constructor(page: Page);
|
|
1555
1561
|
url(recoverLink?: string): string;
|
|
1556
1562
|
}
|
|
@@ -1583,7 +1589,6 @@ declare class AccountProfile implements PageObject {
|
|
|
1583
1589
|
}
|
|
1584
1590
|
|
|
1585
1591
|
declare class AccountOrder implements PageObject {
|
|
1586
|
-
readonly page: Page;
|
|
1587
1592
|
readonly cartLineItemImages: Locator;
|
|
1588
1593
|
readonly orderExpandButton: Locator;
|
|
1589
1594
|
readonly digitalProductDownloadButton: Locator;
|
|
@@ -1593,14 +1598,13 @@ declare class AccountOrder implements PageObject {
|
|
|
1593
1598
|
readonly orderDetails: Locator;
|
|
1594
1599
|
readonly invoiceHTML: Locator;
|
|
1595
1600
|
readonly creditItem: Locator;
|
|
1601
|
+
readonly page: Page;
|
|
1596
1602
|
constructor(page: Page);
|
|
1597
1603
|
getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
|
|
1598
1604
|
url(): string;
|
|
1599
1605
|
}
|
|
1600
1606
|
|
|
1601
1607
|
declare class AccountAddresses implements PageObject {
|
|
1602
|
-
readonly page: Page;
|
|
1603
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1604
1608
|
readonly addNewAddressButton: Locator;
|
|
1605
1609
|
readonly editBillingAddressButton: Locator;
|
|
1606
1610
|
readonly editShippingAddressButton: Locator;
|
|
@@ -1612,30 +1616,31 @@ declare class AccountAddresses implements PageObject {
|
|
|
1612
1616
|
readonly addressDropdownButtons: Locator | undefined;
|
|
1613
1617
|
readonly availableAddressesUseAsBillingAddress: Locator | undefined;
|
|
1614
1618
|
readonly availableAddressesUseAsShippingAddress: Locator | undefined;
|
|
1619
|
+
readonly page: Page;
|
|
1620
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1615
1621
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1616
1622
|
url(): string;
|
|
1617
1623
|
}
|
|
1618
1624
|
|
|
1619
1625
|
declare class AccountPayment implements PageObject {
|
|
1620
|
-
readonly page: Page;
|
|
1621
1626
|
readonly cashOnDeliveryOption: Locator;
|
|
1622
1627
|
readonly paidInAdvanceOption: Locator;
|
|
1623
1628
|
readonly invoiceOption: Locator;
|
|
1624
1629
|
readonly changeDefaultPaymentButton: Locator;
|
|
1630
|
+
readonly page: Page;
|
|
1625
1631
|
constructor(page: Page);
|
|
1626
1632
|
url(): string;
|
|
1627
1633
|
}
|
|
1628
1634
|
|
|
1629
1635
|
declare class Search implements PageObject {
|
|
1630
|
-
readonly page: Page;
|
|
1631
1636
|
readonly headline: Locator;
|
|
1632
1637
|
readonly productImages: Locator;
|
|
1638
|
+
readonly page: Page;
|
|
1633
1639
|
constructor(page: Page);
|
|
1634
1640
|
url(searchTerm: string): string;
|
|
1635
1641
|
}
|
|
1636
1642
|
|
|
1637
1643
|
declare class SearchSuggest extends Home implements PageObject {
|
|
1638
|
-
readonly page: Page;
|
|
1639
1644
|
readonly searchSuggestLineItemImages: Locator;
|
|
1640
1645
|
readonly searchInput: Locator;
|
|
1641
1646
|
readonly searchIcon: Locator;
|
|
@@ -1645,6 +1650,7 @@ declare class SearchSuggest extends Home implements PageObject {
|
|
|
1645
1650
|
readonly searchSuggestTotalLink: Locator;
|
|
1646
1651
|
readonly searchResultTotal: Locator;
|
|
1647
1652
|
readonly searchHeadline: Locator;
|
|
1653
|
+
readonly page: Page;
|
|
1648
1654
|
constructor(page: Page);
|
|
1649
1655
|
getTotalSearchResultCount(): Promise<number>;
|
|
1650
1656
|
url(searchTerm?: string): string;
|
|
@@ -1657,7 +1663,6 @@ declare class CustomRegister extends AccountLogin implements PageObject {
|
|
|
1657
1663
|
}
|
|
1658
1664
|
|
|
1659
1665
|
declare class CheckoutOrderEdit implements PageObject {
|
|
1660
|
-
readonly page: Page;
|
|
1661
1666
|
readonly completePaymentButton: Locator;
|
|
1662
1667
|
readonly orderCancelButton: Locator;
|
|
1663
1668
|
readonly dialogOrderCancel: Locator;
|
|
@@ -1674,6 +1679,7 @@ declare class CheckoutOrderEdit implements PageObject {
|
|
|
1674
1679
|
*/
|
|
1675
1680
|
readonly shippingStandard: Locator;
|
|
1676
1681
|
readonly shippingExpress: Locator;
|
|
1682
|
+
readonly page: Page;
|
|
1677
1683
|
constructor(page: Page);
|
|
1678
1684
|
url(orderUuid: string): string;
|
|
1679
1685
|
/**
|
|
@@ -1685,7 +1691,6 @@ declare class CheckoutOrderEdit implements PageObject {
|
|
|
1685
1691
|
}
|
|
1686
1692
|
|
|
1687
1693
|
declare class AccountAddressCreate implements PageObject {
|
|
1688
|
-
readonly page: Page;
|
|
1689
1694
|
readonly salutationDropdown: Locator;
|
|
1690
1695
|
readonly firstNameInput: Locator;
|
|
1691
1696
|
readonly lastNameInput: Locator;
|
|
@@ -1697,23 +1702,22 @@ declare class AccountAddressCreate implements PageObject {
|
|
|
1697
1702
|
readonly countryDropdown: Locator;
|
|
1698
1703
|
readonly saveAddressButton: Locator;
|
|
1699
1704
|
readonly stateDropdown: Locator;
|
|
1705
|
+
readonly page: Page;
|
|
1700
1706
|
constructor(page: Page);
|
|
1701
1707
|
url(): string;
|
|
1702
1708
|
}
|
|
1703
1709
|
|
|
1704
1710
|
declare class PageNotFound implements PageObject {
|
|
1705
|
-
readonly page: Page;
|
|
1706
1711
|
readonly pageNotFoundImage: Locator;
|
|
1707
1712
|
readonly headline: Locator;
|
|
1708
1713
|
readonly pageNotFoundMessage: Locator;
|
|
1709
1714
|
readonly backToShopButton: Locator;
|
|
1715
|
+
readonly page: Page;
|
|
1710
1716
|
constructor(page: Page);
|
|
1711
1717
|
url(): string;
|
|
1712
1718
|
}
|
|
1713
1719
|
|
|
1714
1720
|
declare class ContactForm extends Home implements PageObject {
|
|
1715
|
-
readonly page: Page;
|
|
1716
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1717
1721
|
/**
|
|
1718
1722
|
* @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
|
|
1719
1723
|
*/
|
|
@@ -1746,33 +1750,33 @@ declare class ContactForm extends Home implements PageObject {
|
|
|
1746
1750
|
readonly greCaptchaV2Container: Locator;
|
|
1747
1751
|
readonly greCaptchaV2Input: Locator;
|
|
1748
1752
|
readonly greCaptchaProtectionInformation: Locator;
|
|
1753
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1749
1754
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1750
1755
|
url(): string;
|
|
1751
1756
|
}
|
|
1752
1757
|
|
|
1753
1758
|
declare class Wishlist extends Home implements PageObject {
|
|
1754
|
-
readonly page: Page;
|
|
1755
1759
|
readonly wishListHeader: Locator;
|
|
1756
1760
|
readonly removeAlert: Locator;
|
|
1757
1761
|
readonly emptyListing: Locator;
|
|
1762
|
+
readonly page: Page;
|
|
1758
1763
|
constructor(page: Page);
|
|
1759
1764
|
getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
|
|
1760
1765
|
url(): string;
|
|
1761
1766
|
}
|
|
1762
1767
|
|
|
1763
1768
|
declare class Footer implements PageObject {
|
|
1764
|
-
readonly page: Page;
|
|
1765
1769
|
readonly footerHeadline: Locator;
|
|
1766
1770
|
readonly footerContent: Locator;
|
|
1767
1771
|
readonly footerHotline: Locator;
|
|
1768
1772
|
readonly footerContactForm: Locator;
|
|
1769
1773
|
readonly footerContactFormLink: Locator;
|
|
1774
|
+
readonly page: Page;
|
|
1770
1775
|
constructor(page: Page);
|
|
1771
1776
|
url(): string;
|
|
1772
1777
|
}
|
|
1773
1778
|
|
|
1774
1779
|
declare class Header implements PageObject {
|
|
1775
|
-
readonly page: Page;
|
|
1776
1780
|
readonly mainNavigationLink: Locator;
|
|
1777
1781
|
readonly languagesDropdown: Locator;
|
|
1778
1782
|
readonly languagesMenuOptions: Locator;
|
|
@@ -1780,6 +1784,7 @@ declare class Header implements PageObject {
|
|
|
1780
1784
|
readonly currenciesMenuOptions: Locator;
|
|
1781
1785
|
readonly wishlistIcon: Locator;
|
|
1782
1786
|
readonly wishlistBasket: Locator;
|
|
1787
|
+
readonly page: Page;
|
|
1783
1788
|
constructor(page: Page);
|
|
1784
1789
|
url(): string;
|
|
1785
1790
|
}
|
|
@@ -1840,8 +1845,6 @@ declare const StorefrontPageObjects: {
|
|
|
1840
1845
|
};
|
|
1841
1846
|
|
|
1842
1847
|
declare class ProductDetail implements PageObject {
|
|
1843
|
-
readonly page: Page;
|
|
1844
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1845
1848
|
readonly contentView: Locator;
|
|
1846
1849
|
readonly productHeadline: Locator;
|
|
1847
1850
|
/**
|
|
@@ -1913,6 +1916,8 @@ declare class ProductDetail implements PageObject {
|
|
|
1913
1916
|
* Cards
|
|
1914
1917
|
*/
|
|
1915
1918
|
readonly customFieldCard: Locator;
|
|
1919
|
+
readonly page: Page;
|
|
1920
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1916
1921
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1917
1922
|
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
1918
1923
|
url(productId: string): string;
|
|
@@ -1925,8 +1930,6 @@ declare class ProductDetail implements PageObject {
|
|
|
1925
1930
|
}
|
|
1926
1931
|
|
|
1927
1932
|
declare class OrderDetail implements PageObject {
|
|
1928
|
-
readonly page: Page;
|
|
1929
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1930
1933
|
readonly saveButton: Locator;
|
|
1931
1934
|
readonly dataGridContextButton: Locator;
|
|
1932
1935
|
readonly orderTag: Locator;
|
|
@@ -1946,6 +1949,8 @@ declare class OrderDetail implements PageObject {
|
|
|
1946
1949
|
readonly generalTabLink: Locator;
|
|
1947
1950
|
readonly detailsTabLink: Locator;
|
|
1948
1951
|
readonly documentsTabLink: Locator;
|
|
1952
|
+
readonly page: Page;
|
|
1953
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1949
1954
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1950
1955
|
url(orderId: string, tabName?: string): string;
|
|
1951
1956
|
getCustomFieldCardLocators(customFieldSetName: string, customFieldTextName: string): Promise<{
|
|
@@ -1957,7 +1962,6 @@ declare class OrderDetail implements PageObject {
|
|
|
1957
1962
|
}
|
|
1958
1963
|
|
|
1959
1964
|
declare class CustomerListing implements PageObject {
|
|
1960
|
-
readonly page: Page;
|
|
1961
1965
|
readonly headline: Locator;
|
|
1962
1966
|
readonly addCustomerButton: Locator;
|
|
1963
1967
|
readonly bulkEditButton: Locator;
|
|
@@ -1966,6 +1970,7 @@ declare class CustomerListing implements PageObject {
|
|
|
1966
1970
|
readonly startBulkEditButton: Locator;
|
|
1967
1971
|
readonly cancelButton: Locator;
|
|
1968
1972
|
readonly modalHeaderCheckbox: Locator;
|
|
1973
|
+
readonly page: Page;
|
|
1969
1974
|
constructor(page: Page);
|
|
1970
1975
|
getCustomerByEmail(customerEmail: string): Promise<Record<string, Locator>>;
|
|
1971
1976
|
getCustomerBulkEditModalTitle(customerCount: number): Promise<Locator>;
|
|
@@ -1974,8 +1979,6 @@ declare class CustomerListing implements PageObject {
|
|
|
1974
1979
|
}
|
|
1975
1980
|
|
|
1976
1981
|
declare class CustomerDetail implements PageObject {
|
|
1977
|
-
readonly page: Page;
|
|
1978
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1979
1982
|
readonly editButton: Locator;
|
|
1980
1983
|
readonly generalTab: Locator;
|
|
1981
1984
|
readonly accountCard: Locator;
|
|
@@ -1987,6 +1990,8 @@ declare class CustomerDetail implements PageObject {
|
|
|
1987
1990
|
readonly customerGroupDeclineButton: Locator;
|
|
1988
1991
|
readonly tagList: Locator;
|
|
1989
1992
|
readonly tagItems: Locator;
|
|
1993
|
+
readonly page: Page;
|
|
1994
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
1990
1995
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
1991
1996
|
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
1992
1997
|
getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
|
|
@@ -1997,17 +2002,15 @@ declare class CustomerDetail implements PageObject {
|
|
|
1997
2002
|
}
|
|
1998
2003
|
|
|
1999
2004
|
declare class CustomerGroupListing implements PageObject {
|
|
2000
|
-
readonly page: Page;
|
|
2001
2005
|
readonly headline: Locator;
|
|
2002
2006
|
readonly addCustomerGroupButton: Locator;
|
|
2007
|
+
readonly page: Page;
|
|
2003
2008
|
constructor(page: Page);
|
|
2004
2009
|
getCustomerGroupByName(customerGroup: string): Promise<Record<string, Locator>>;
|
|
2005
2010
|
url(): string;
|
|
2006
2011
|
}
|
|
2007
2012
|
|
|
2008
2013
|
declare class CustomerGroupCreate implements PageObject {
|
|
2009
|
-
readonly page: Page;
|
|
2010
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2011
2014
|
readonly headline: Locator;
|
|
2012
2015
|
readonly saveButton: Locator;
|
|
2013
2016
|
readonly cancelButton: Locator;
|
|
@@ -2022,13 +2025,13 @@ declare class CustomerGroupCreate implements PageObject {
|
|
|
2022
2025
|
readonly signupFormCompanySignupToggle: Locator;
|
|
2023
2026
|
readonly customerGroupSaleschannelSelection: Locator;
|
|
2024
2027
|
readonly customerGroupSaleschannelResultList: Locator;
|
|
2028
|
+
readonly page: Page;
|
|
2029
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2025
2030
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2026
2031
|
url(): string;
|
|
2027
2032
|
}
|
|
2028
2033
|
|
|
2029
2034
|
declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
|
|
2030
|
-
readonly page: Page;
|
|
2031
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2032
2035
|
readonly headline: Locator;
|
|
2033
2036
|
readonly selectedSalesChannel: Locator;
|
|
2034
2037
|
readonly technicalUrl: Locator;
|
|
@@ -2038,8 +2041,6 @@ declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObj
|
|
|
2038
2041
|
}
|
|
2039
2042
|
|
|
2040
2043
|
declare class FirstRunWizard implements PageObject {
|
|
2041
|
-
readonly page: Page;
|
|
2042
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2043
2044
|
readonly nextButton: Locator;
|
|
2044
2045
|
readonly configureLaterButton: Locator;
|
|
2045
2046
|
readonly skipButton: Locator;
|
|
@@ -2090,13 +2091,13 @@ declare class FirstRunWizard implements PageObject {
|
|
|
2090
2091
|
readonly toolsSelector: Locator;
|
|
2091
2092
|
readonly recommendationHeader: Locator;
|
|
2092
2093
|
readonly toolsRecommendedPlugin: Locator;
|
|
2094
|
+
readonly page: Page;
|
|
2095
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2093
2096
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2094
2097
|
url(): string;
|
|
2095
2098
|
}
|
|
2096
2099
|
|
|
2097
2100
|
declare class FlowBuilderCreate implements PageObject {
|
|
2098
|
-
readonly page: Page;
|
|
2099
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2100
2101
|
readonly saveButton: Locator;
|
|
2101
2102
|
readonly header: Locator;
|
|
2102
2103
|
readonly smartBarHeader: Locator;
|
|
@@ -2134,13 +2135,14 @@ declare class FlowBuilderCreate implements PageObject {
|
|
|
2134
2135
|
readonly newFlowHeader: Locator;
|
|
2135
2136
|
readonly resultListItem: Locator;
|
|
2136
2137
|
readonly resultList: Locator;
|
|
2138
|
+
readonly page: Page;
|
|
2139
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2137
2140
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2138
2141
|
url(flowId?: string, tabName?: string): string;
|
|
2139
2142
|
getSelectFieldListitem(selectField: Locator, listItem: string): Promise<Locator>;
|
|
2140
2143
|
}
|
|
2141
2144
|
|
|
2142
2145
|
declare class FlowBuilderListing implements PageObject {
|
|
2143
|
-
readonly page: Page;
|
|
2144
2146
|
readonly createFlowButton: Locator;
|
|
2145
2147
|
readonly firstFlowName: Locator;
|
|
2146
2148
|
readonly firstFlowContextButton: Locator;
|
|
@@ -2155,25 +2157,23 @@ declare class FlowBuilderListing implements PageObject {
|
|
|
2155
2157
|
readonly successAlert: Locator;
|
|
2156
2158
|
readonly successAlertMessage: Locator;
|
|
2157
2159
|
readonly searchBar: Locator;
|
|
2160
|
+
readonly page: Page;
|
|
2158
2161
|
constructor(page: Page);
|
|
2159
2162
|
url(): string;
|
|
2160
2163
|
getLineItemByFlowName(flowName: string): Promise<Record<string, Locator>>;
|
|
2161
2164
|
}
|
|
2162
2165
|
|
|
2163
2166
|
declare class FlowBuilderTemplates extends FlowBuilderListing implements PageObject {
|
|
2164
|
-
readonly page: Page;
|
|
2165
2167
|
constructor(page: Page);
|
|
2166
2168
|
url(): string;
|
|
2167
2169
|
getLineItemByFlowName(flowName: string): Promise<{
|
|
2168
|
-
createFlowLink:
|
|
2169
|
-
lineItem:
|
|
2170
|
-
templateDetailLink:
|
|
2170
|
+
createFlowLink: playwright_core.Locator;
|
|
2171
|
+
lineItem: playwright_core.Locator;
|
|
2172
|
+
templateDetailLink: playwright_core.Locator;
|
|
2171
2173
|
}>;
|
|
2172
2174
|
}
|
|
2173
2175
|
|
|
2174
2176
|
declare class FlowBuilderDetail extends FlowBuilderCreate implements PageObject {
|
|
2175
|
-
readonly page: Page;
|
|
2176
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2177
2177
|
readonly saveButtonLoader: Locator;
|
|
2178
2178
|
readonly saveButton: Locator;
|
|
2179
2179
|
readonly generalTab: Locator;
|
|
@@ -2189,19 +2189,18 @@ declare class FlowBuilderDetail extends FlowBuilderCreate implements PageObject
|
|
|
2189
2189
|
}
|
|
2190
2190
|
|
|
2191
2191
|
declare class DataSharing implements PageObject {
|
|
2192
|
-
readonly page: Page;
|
|
2193
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2194
2192
|
readonly dataConsentHeadline: Locator;
|
|
2195
2193
|
readonly dataSharingSuccessMessageLabel: Locator;
|
|
2196
2194
|
readonly dataSharingAgreeButton: Locator;
|
|
2197
2195
|
readonly dataSharingDisableButton: Locator;
|
|
2198
2196
|
readonly dataSharingTermsAgreementLabel: Locator;
|
|
2197
|
+
readonly page: Page;
|
|
2198
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2199
2199
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2200
2200
|
url(): "#/sw/settings/usage/data/index" | "#/sw/settings/usage/data/index/general";
|
|
2201
2201
|
}
|
|
2202
2202
|
|
|
2203
2203
|
declare class Dashboard implements PageObject {
|
|
2204
|
-
readonly page: Page;
|
|
2205
2204
|
readonly contentView: Locator;
|
|
2206
2205
|
readonly adminMenuView: Locator;
|
|
2207
2206
|
readonly adminMenuCatalog: Locator;
|
|
@@ -2224,12 +2223,12 @@ declare class Dashboard implements PageObject {
|
|
|
2224
2223
|
readonly dataSharingNotAtTheMomentMessageText: Locator;
|
|
2225
2224
|
readonly statisticsDateRange: Locator;
|
|
2226
2225
|
readonly statisticsChart: Locator;
|
|
2226
|
+
readonly page: Page;
|
|
2227
2227
|
constructor(page: Page);
|
|
2228
2228
|
url(): string;
|
|
2229
2229
|
}
|
|
2230
2230
|
|
|
2231
2231
|
declare class ShippingListing implements PageObject {
|
|
2232
|
-
readonly page: Page;
|
|
2233
2232
|
readonly header: Locator;
|
|
2234
2233
|
readonly addShippingMethod: Locator;
|
|
2235
2234
|
readonly contextMenu: Locator;
|
|
@@ -2239,34 +2238,34 @@ declare class ShippingListing implements PageObject {
|
|
|
2239
2238
|
readonly modalHeader: Locator;
|
|
2240
2239
|
readonly modalCancelButton: Locator;
|
|
2241
2240
|
readonly modalDeleteButton: Locator;
|
|
2241
|
+
readonly page: Page;
|
|
2242
2242
|
constructor(page: Page);
|
|
2243
2243
|
url(): string;
|
|
2244
2244
|
}
|
|
2245
2245
|
|
|
2246
2246
|
declare class ShippingDetail implements PageObject {
|
|
2247
|
-
readonly page: Page;
|
|
2248
2247
|
readonly header: Locator;
|
|
2249
2248
|
readonly nameField: Locator;
|
|
2250
2249
|
readonly availabilityRuleField: Locator;
|
|
2251
2250
|
readonly availabilityRuleListItem: Locator;
|
|
2251
|
+
readonly page: Page;
|
|
2252
2252
|
constructor(page: Page);
|
|
2253
2253
|
url(shippingId: string): string;
|
|
2254
2254
|
getRuleSelectionCheckmark(ruleName: string): Locator;
|
|
2255
2255
|
}
|
|
2256
2256
|
|
|
2257
2257
|
declare class PaymentDetail implements PageObject {
|
|
2258
|
-
readonly page: Page;
|
|
2259
2258
|
readonly header: Locator;
|
|
2260
2259
|
readonly nameField: Locator;
|
|
2261
2260
|
readonly availabilityRuleField: Locator;
|
|
2262
2261
|
readonly availabilityRuleListItem: Locator;
|
|
2262
|
+
readonly page: Page;
|
|
2263
2263
|
constructor(page: Page);
|
|
2264
2264
|
url(paymentId: string): string;
|
|
2265
2265
|
getRuleSelectionCheckmark(ruleName: string): Locator;
|
|
2266
2266
|
}
|
|
2267
2267
|
|
|
2268
2268
|
declare class LandingPageCreate implements PageObject {
|
|
2269
|
-
readonly page: Page;
|
|
2270
2269
|
/**
|
|
2271
2270
|
* General
|
|
2272
2271
|
*/
|
|
@@ -2288,12 +2287,12 @@ declare class LandingPageCreate implements PageObject {
|
|
|
2288
2287
|
readonly layoutEmptyState: Locator;
|
|
2289
2288
|
readonly createNewLayoutButton: Locator;
|
|
2290
2289
|
readonly layoutCheckboxes: Locator;
|
|
2290
|
+
readonly page: Page;
|
|
2291
2291
|
constructor(page: Page);
|
|
2292
2292
|
url(): string;
|
|
2293
2293
|
}
|
|
2294
2294
|
|
|
2295
2295
|
declare class LandingPageDetail implements PageObject {
|
|
2296
|
-
readonly page: Page;
|
|
2297
2296
|
/**
|
|
2298
2297
|
* General
|
|
2299
2298
|
*/
|
|
@@ -2315,13 +2314,12 @@ declare class LandingPageDetail implements PageObject {
|
|
|
2315
2314
|
readonly layoutResetButton: Locator;
|
|
2316
2315
|
readonly layoutAssignmentStatus: Locator;
|
|
2317
2316
|
readonly layoutAssignmentContentSection: Locator;
|
|
2317
|
+
readonly page: Page;
|
|
2318
2318
|
constructor(page: Page);
|
|
2319
2319
|
url(landingPageUuid: string): string;
|
|
2320
2320
|
}
|
|
2321
2321
|
|
|
2322
2322
|
declare class Categories implements PageObject {
|
|
2323
|
-
readonly page: Page;
|
|
2324
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2325
2323
|
/**
|
|
2326
2324
|
* Visual tests
|
|
2327
2325
|
*/
|
|
@@ -2374,6 +2372,8 @@ declare class Categories implements PageObject {
|
|
|
2374
2372
|
readonly popoverCategoryTree: Locator;
|
|
2375
2373
|
readonly categorySelectionListWrapper: Locator;
|
|
2376
2374
|
readonly productSelectionInput: Locator;
|
|
2375
|
+
readonly page: Page;
|
|
2376
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2377
2377
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2378
2378
|
getLandingPageByName(landingPageName: string): Promise<Locator>;
|
|
2379
2379
|
getPopOverCategoryByName(categoryName: string): Promise<Locator>;
|
|
@@ -2382,16 +2382,15 @@ declare class Categories implements PageObject {
|
|
|
2382
2382
|
}
|
|
2383
2383
|
|
|
2384
2384
|
declare class CustomFieldListing implements PageObject {
|
|
2385
|
-
readonly page: Page;
|
|
2386
2385
|
readonly addNewSetButton: Locator;
|
|
2387
2386
|
readonly customFieldRows: Locator;
|
|
2387
|
+
readonly page: Page;
|
|
2388
2388
|
constructor(page: Page);
|
|
2389
2389
|
getLineItemByCustomFieldSetName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
2390
2390
|
url(): string;
|
|
2391
2391
|
}
|
|
2392
2392
|
|
|
2393
2393
|
declare class CustomFieldCreate implements PageObject {
|
|
2394
|
-
readonly page: Page;
|
|
2395
2394
|
readonly saveButton: Locator;
|
|
2396
2395
|
readonly cancelButton: Locator;
|
|
2397
2396
|
readonly technicalNameInput: Locator;
|
|
@@ -2399,13 +2398,12 @@ declare class CustomFieldCreate implements PageObject {
|
|
|
2399
2398
|
readonly labelEnglishGBInput: Locator;
|
|
2400
2399
|
readonly assignToSelectionList: Locator;
|
|
2401
2400
|
readonly resultAssignToPopoverItemList: Locator;
|
|
2401
|
+
readonly page: Page;
|
|
2402
2402
|
constructor(page: Page);
|
|
2403
2403
|
url(): string;
|
|
2404
2404
|
}
|
|
2405
2405
|
|
|
2406
2406
|
declare class CustomFieldDetail extends CustomFieldCreate {
|
|
2407
|
-
readonly page: Page;
|
|
2408
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2409
2407
|
readonly newCustomFieldButton: Locator;
|
|
2410
2408
|
readonly customFieldEditDialog: Locator;
|
|
2411
2409
|
readonly newCustomFieldDialog: Locator;
|
|
@@ -2424,6 +2422,7 @@ declare class CustomFieldDetail extends CustomFieldCreate {
|
|
|
2424
2422
|
readonly customFieldDeleteCancelButton: Locator;
|
|
2425
2423
|
readonly customFieldDeleteButton: Locator;
|
|
2426
2424
|
readonly customFieldEditAvailableInShoppingCartCheckbox: Locator;
|
|
2425
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2427
2426
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2428
2427
|
getLineItemByCustomFieldName(customFieldName: string): Promise<Record<string, Locator>>;
|
|
2429
2428
|
url(customFieldUuid?: string): string;
|
|
@@ -2431,13 +2430,13 @@ declare class CustomFieldDetail extends CustomFieldCreate {
|
|
|
2431
2430
|
}
|
|
2432
2431
|
|
|
2433
2432
|
declare class CategoryDetail implements PageObject {
|
|
2434
|
-
readonly page: Page;
|
|
2435
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2436
2433
|
readonly saveButton: Locator;
|
|
2437
2434
|
readonly cancelButton: Locator;
|
|
2438
2435
|
readonly customFieldCard: Locator;
|
|
2439
2436
|
readonly customFieldSetTabs: Locator;
|
|
2440
2437
|
readonly customFieldSetTabCustomContent: Locator;
|
|
2438
|
+
readonly page: Page;
|
|
2439
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2441
2440
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2442
2441
|
getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
|
|
2443
2442
|
url(categoryUuid: string): string;
|
|
@@ -2450,8 +2449,6 @@ declare class CategoryDetail implements PageObject {
|
|
|
2450
2449
|
}
|
|
2451
2450
|
|
|
2452
2451
|
declare class RuleCreate implements PageObject {
|
|
2453
|
-
readonly page: Page;
|
|
2454
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2455
2452
|
readonly nameInput: Locator;
|
|
2456
2453
|
readonly priorityInput: Locator;
|
|
2457
2454
|
readonly conditionTypeSelectionInput: Locator;
|
|
@@ -2460,14 +2457,14 @@ declare class RuleCreate implements PageObject {
|
|
|
2460
2457
|
readonly saveButton: Locator;
|
|
2461
2458
|
readonly cancelButton: Locator;
|
|
2462
2459
|
readonly valueNotAvailableTooltip: Locator;
|
|
2460
|
+
readonly page: Page;
|
|
2461
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2463
2462
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2464
2463
|
url(): string;
|
|
2465
2464
|
getSelectFieldListitem(selectField: Locator, listItem: string): Promise<Locator>;
|
|
2466
2465
|
}
|
|
2467
2466
|
|
|
2468
2467
|
declare class RuleDetail extends RuleCreate implements PageObject {
|
|
2469
|
-
readonly page: Page;
|
|
2470
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2471
2468
|
readonly shippingMethodAvailabilityRulesCard: Locator;
|
|
2472
2469
|
readonly shippingMethodAvailabilityRulesCardLink: Locator;
|
|
2473
2470
|
readonly shippingMethodAvailabilityRulesCardTable: Locator;
|
|
@@ -2492,36 +2489,34 @@ declare class RuleDetail extends RuleCreate implements PageObject {
|
|
|
2492
2489
|
}
|
|
2493
2490
|
|
|
2494
2491
|
declare class RuleListing implements PageObject {
|
|
2495
|
-
readonly page: Page;
|
|
2496
2492
|
readonly createRuleButton: Locator;
|
|
2493
|
+
readonly page: Page;
|
|
2497
2494
|
constructor(page: Page);
|
|
2498
2495
|
url(): string;
|
|
2499
2496
|
}
|
|
2500
2497
|
|
|
2501
2498
|
declare class ManufacturerCreate implements PageObject {
|
|
2502
|
-
readonly page: Page;
|
|
2503
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2504
2499
|
readonly saveButton: Locator;
|
|
2505
2500
|
readonly cancelButton: Locator;
|
|
2506
2501
|
readonly nameInput: Locator;
|
|
2507
2502
|
readonly websiteInput: Locator;
|
|
2508
2503
|
readonly descriptionInput: Locator;
|
|
2504
|
+
readonly page: Page;
|
|
2505
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2509
2506
|
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2510
2507
|
url(): string;
|
|
2511
2508
|
}
|
|
2512
2509
|
|
|
2513
2510
|
declare class ManufacturerListing implements PageObject {
|
|
2514
|
-
readonly page: Page;
|
|
2515
2511
|
readonly addManufacturerButton: Locator;
|
|
2516
2512
|
readonly manufacturerRows: Locator;
|
|
2513
|
+
readonly page: Page;
|
|
2517
2514
|
constructor(page: Page);
|
|
2518
2515
|
getLineItemByManufacturerName(manufacturerName: string): Promise<Record<string, Locator>>;
|
|
2519
2516
|
url(): string;
|
|
2520
2517
|
}
|
|
2521
2518
|
|
|
2522
2519
|
declare class ManufacturerDetail extends ManufacturerCreate {
|
|
2523
|
-
readonly page: Page;
|
|
2524
|
-
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2525
2520
|
readonly customFieldCard: Locator;
|
|
2526
2521
|
readonly customFieldSetTabs: Locator;
|
|
2527
2522
|
readonly customFieldSetTabCustomContent: Locator;
|
|
@@ -2531,12 +2526,12 @@ declare class ManufacturerDetail extends ManufacturerCreate {
|
|
|
2531
2526
|
}
|
|
2532
2527
|
|
|
2533
2528
|
declare class ProductListing implements PageObject {
|
|
2534
|
-
readonly page: Page;
|
|
2535
2529
|
/**
|
|
2536
2530
|
* Multi selection
|
|
2537
2531
|
*/
|
|
2538
2532
|
readonly productsTable: Locator;
|
|
2539
2533
|
readonly bulkEditButton: Locator;
|
|
2534
|
+
readonly page: Page;
|
|
2540
2535
|
/**
|
|
2541
2536
|
* Bulk edit modal
|
|
2542
2537
|
*/
|
|
@@ -2558,7 +2553,6 @@ declare class ProductListing implements PageObject {
|
|
|
2558
2553
|
}
|
|
2559
2554
|
|
|
2560
2555
|
declare class ProductBulkEdit implements PageObject {
|
|
2561
|
-
readonly page: Page;
|
|
2562
2556
|
/**
|
|
2563
2557
|
* Bulk edit values
|
|
2564
2558
|
*/
|
|
@@ -2605,13 +2599,13 @@ declare class ProductBulkEdit implements PageObject {
|
|
|
2605
2599
|
readonly confirmModalLoadingSpinner: Locator;
|
|
2606
2600
|
readonly confirmModalSuccessHeader: Locator;
|
|
2607
2601
|
readonly confirmModalSuccessCloseButton: Locator;
|
|
2602
|
+
readonly page: Page;
|
|
2608
2603
|
constructor(page: Page);
|
|
2609
2604
|
url(): string;
|
|
2610
2605
|
getDropdownEntry(entry: string): Promise<Locator>;
|
|
2611
2606
|
}
|
|
2612
2607
|
|
|
2613
2608
|
declare class CustomerBulkEdit implements PageObject {
|
|
2614
|
-
readonly page: Page;
|
|
2615
2609
|
readonly applyChangesButton: Locator;
|
|
2616
2610
|
readonly filtersResultPopoverItemList: Locator;
|
|
2617
2611
|
readonly changeCustomerGroupCheckbox: Locator;
|
|
@@ -2635,6 +2629,7 @@ declare class CustomerBulkEdit implements PageObject {
|
|
|
2635
2629
|
readonly confirmModalApplyChangesButton: Locator;
|
|
2636
2630
|
readonly confirmModalSuccessHeader: Locator;
|
|
2637
2631
|
readonly confirmModalSuccessCloseButton: Locator;
|
|
2632
|
+
readonly page: Page;
|
|
2638
2633
|
constructor(page: Page);
|
|
2639
2634
|
getPageHeadline(customerCount: number): Promise<Locator>;
|
|
2640
2635
|
getCustomFieldInputByName(customFieldName: string): Promise<Locator>;
|
|
@@ -2643,30 +2638,96 @@ declare class CustomerBulkEdit implements PageObject {
|
|
|
2643
2638
|
}
|
|
2644
2639
|
|
|
2645
2640
|
declare class SettingsListing implements PageObject {
|
|
2646
|
-
readonly page: Page;
|
|
2647
2641
|
readonly contentView: Locator;
|
|
2648
2642
|
readonly header: Locator;
|
|
2643
|
+
readonly page: Page;
|
|
2649
2644
|
constructor(page: Page);
|
|
2650
2645
|
url(): string;
|
|
2651
2646
|
}
|
|
2652
2647
|
|
|
2653
2648
|
declare class DocumentListing implements PageObject {
|
|
2654
|
-
readonly page: Page;
|
|
2655
2649
|
readonly addDocumentButton: Locator;
|
|
2656
2650
|
readonly invoiceLink: Locator;
|
|
2651
|
+
readonly page: Page;
|
|
2657
2652
|
constructor(page: Page);
|
|
2658
2653
|
url(): string;
|
|
2659
2654
|
}
|
|
2660
2655
|
|
|
2661
2656
|
declare class DocumentDetail implements PageObject {
|
|
2662
|
-
readonly page: Page;
|
|
2663
2657
|
readonly showInAccountSwitch: Locator;
|
|
2664
2658
|
readonly saveButton: Locator;
|
|
2665
2659
|
readonly documentTypeSelect: Locator;
|
|
2660
|
+
readonly page: Page;
|
|
2666
2661
|
constructor(page: Page);
|
|
2667
2662
|
url(documentId: string): string;
|
|
2668
2663
|
}
|
|
2669
2664
|
|
|
2665
|
+
declare class PromotionsListing implements PageObject {
|
|
2666
|
+
private readonly instanceMeta;
|
|
2667
|
+
readonly page: Page;
|
|
2668
|
+
readonly smartBar: Locator;
|
|
2669
|
+
readonly smartBarHeader: Locator;
|
|
2670
|
+
readonly languageSelect: Locator;
|
|
2671
|
+
readonly smartBarAddPromotionButton: Locator;
|
|
2672
|
+
readonly emptyState: Locator;
|
|
2673
|
+
readonly emptyStateAddPromotionButton: Locator;
|
|
2674
|
+
readonly promotionsTable: Locator;
|
|
2675
|
+
readonly sidebarRefreshButton: Locator;
|
|
2676
|
+
constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2677
|
+
/**
|
|
2678
|
+
* Returns the url to the listing page.
|
|
2679
|
+
*
|
|
2680
|
+
* @param searchTerms - Includes search terms for filtering of the promotions list.
|
|
2681
|
+
*/
|
|
2682
|
+
url(searchTerms?: string[]): string;
|
|
2683
|
+
/**
|
|
2684
|
+
* Returns the table row containing the promotion with the given promotion name.
|
|
2685
|
+
*
|
|
2686
|
+
* @param promotionName - Promotion name you are looking for.
|
|
2687
|
+
*/
|
|
2688
|
+
getPromotionRow(promotionName: string): Promise<Record<string, Locator>>;
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
declare class PromotionCreate implements PageObject {
|
|
2692
|
+
readonly page: Page$1;
|
|
2693
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2694
|
+
readonly smartBar: Locator$1;
|
|
2695
|
+
readonly smartBarHeader: Locator$1;
|
|
2696
|
+
readonly languageSelect: Locator$1;
|
|
2697
|
+
readonly saveButton: Locator$1;
|
|
2698
|
+
readonly cancelButton: Locator$1;
|
|
2699
|
+
readonly generalCard: Locator$1;
|
|
2700
|
+
readonly nameInput: Locator$1;
|
|
2701
|
+
readonly priorityInput: Locator$1;
|
|
2702
|
+
constructor(page: Page$1, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2703
|
+
/**
|
|
2704
|
+
* Returns the url to the creation page.
|
|
2705
|
+
*/
|
|
2706
|
+
url(): string;
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
declare class PromotionDetail extends PromotionCreate {
|
|
2710
|
+
readonly page: Page$1;
|
|
2711
|
+
readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
|
|
2712
|
+
readonly tabGeneralLink: Locator$1;
|
|
2713
|
+
readonly tabConditionsLink: Locator$1;
|
|
2714
|
+
readonly tabDiscountsLink: Locator$1;
|
|
2715
|
+
readonly promotionCodesCard: Locator$1;
|
|
2716
|
+
readonly promotionCodesHeading: Locator$1;
|
|
2717
|
+
readonly promotionCodesSelection: Locator$1;
|
|
2718
|
+
readonly preConditionsCard: Locator$1;
|
|
2719
|
+
readonly addDiscountButton: Locator$1;
|
|
2720
|
+
readonly discountCards: Locator$1;
|
|
2721
|
+
constructor(page: Page$1, instanceMeta: HelperFixtureTypes['InstanceMeta']);
|
|
2722
|
+
/**
|
|
2723
|
+
* Returns the url to the detail page.
|
|
2724
|
+
*
|
|
2725
|
+
* @param promotionId - Id of the promotion to show the details of.
|
|
2726
|
+
* @param tab - The tab to open. Defaults to 'general'. Other options are 'conditions' and 'discounts'.
|
|
2727
|
+
*/
|
|
2728
|
+
url(promotionId?: string, tab?: 'general' | 'conditions' | 'discounts'): string;
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2670
2731
|
interface AdministrationPageTypes {
|
|
2671
2732
|
AdminProductDetail: ProductDetail;
|
|
2672
2733
|
AdminOrderDetail: OrderDetail;
|
|
@@ -2704,6 +2765,9 @@ interface AdministrationPageTypes {
|
|
|
2704
2765
|
AdminSettingsListing: SettingsListing;
|
|
2705
2766
|
AdminDocumentListing: DocumentListing;
|
|
2706
2767
|
AdminDocumentDetail: DocumentDetail;
|
|
2768
|
+
AdminPromotionsListing: PromotionsListing;
|
|
2769
|
+
AdminPromotionCreate: PromotionCreate;
|
|
2770
|
+
AdminPromotionDetail: PromotionDetail;
|
|
2707
2771
|
}
|
|
2708
2772
|
declare const AdminPageObjects: {
|
|
2709
2773
|
ProductDetail: typeof ProductDetail;
|
|
@@ -2742,6 +2806,9 @@ declare const AdminPageObjects: {
|
|
|
2742
2806
|
SettingsListing: typeof SettingsListing;
|
|
2743
2807
|
DocumentListing: typeof DocumentListing;
|
|
2744
2808
|
DocumentDetail: typeof DocumentDetail;
|
|
2809
|
+
PromotionsListing: typeof PromotionsListing;
|
|
2810
|
+
PromotionCreate: typeof PromotionCreate;
|
|
2811
|
+
PromotionDetail: typeof PromotionDetail;
|
|
2745
2812
|
};
|
|
2746
2813
|
|
|
2747
2814
|
interface DataFixtureTypes {
|