@shopware-ag/acceptance-test-suite 12.4.3 → 12.5.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as axe_core from 'axe-core';
2
2
  import * as playwright_test from 'playwright/test';
3
- import { Page as Page$1, Locator as Locator$1 } from '@playwright/test';
3
+ import { Page as Page$1, Locator as Locator$1, Browser } from '@playwright/test';
4
4
  export { expect, mergeTests } from '@playwright/test';
5
5
  import * as playwright_core from 'playwright-core';
6
6
  import { APIRequestContext, APIResponse, Page, Locator, BrowserContext } from 'playwright-core';
@@ -19,6 +19,7 @@ declare global {
19
19
  interface RequestOptions$1<PAYLOAD> {
20
20
  [key: string]: unknown;
21
21
  data?: PAYLOAD;
22
+ headers?: Record<string, string>;
22
23
  }
23
24
  interface AdminApiContextOptions {
24
25
  app_url?: string;
@@ -53,13 +54,13 @@ declare class AdminApiContext {
53
54
  private handleRequest;
54
55
  }
55
56
 
56
- type SalesChannel = components['schemas']['SalesChannel'] & {
57
+ type SalesChannel = components["schemas"]["SalesChannel"] & {
57
58
  id: string;
58
59
  };
59
- type SalesChannelDomain = components['schemas']['SalesChannelDomain'] & {
60
+ type SalesChannelDomain = components["schemas"]["SalesChannelDomain"] & {
60
61
  id: string;
61
62
  };
62
- type Customer = Omit<components['schemas']['Customer'], 'defaultShippingAddress' | 'defaultBillingAddress'> & {
63
+ type Customer = Omit<components["schemas"]["Customer"], "defaultShippingAddress" | "defaultBillingAddress"> & {
63
64
  id: string;
64
65
  password: string;
65
66
  defaultShippingAddress: {
@@ -81,15 +82,15 @@ type Customer = Omit<components['schemas']['Customer'], 'defaultShippingAddress'
81
82
  salutationId: string;
82
83
  };
83
84
  };
84
- type User = components['schemas']['User'] & {
85
+ type User = components["schemas"]["User"] & {
85
86
  id: string;
86
87
  password: string;
87
88
  };
88
- type AclRole = components['schemas']['AclRole'] & {
89
+ type AclRole = components["schemas"]["AclRole"] & {
89
90
  id: string;
90
91
  privileges: string[];
91
92
  };
92
- type CustomerAddress = components['schemas']['CustomerAddress'] & {
93
+ type CustomerAddress = components["schemas"]["CustomerAddress"] & {
93
94
  id: string;
94
95
  };
95
96
  interface Address {
@@ -104,7 +105,7 @@ interface Address {
104
105
  country: string;
105
106
  state: string;
106
107
  }
107
- type Salutation = components['schemas']['Salutation'] & {
108
+ type Salutation = components["schemas"]["Salutation"] & {
108
109
  id: string;
109
110
  };
110
111
  interface Price {
@@ -123,7 +124,7 @@ interface ProductPrice {
123
124
  quantityStart: number;
124
125
  quantityEnd: number | null;
125
126
  }
126
- type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'options' | 'tags' | 'visibilities' | 'variantListingConfig'> & {
127
+ type Product = Omit<components["schemas"]["Product"], "price" | "prices" | "options" | "tags" | "visibilities" | "variantListingConfig"> & {
127
128
  id: string;
128
129
  price: Price[];
129
130
  prices?: ProductPrice[];
@@ -135,7 +136,7 @@ type Product = Omit<components['schemas']['Product'], 'price' | 'prices' | 'opti
135
136
  visibilities?: Record<string, unknown>[];
136
137
  variantListingConfig?: VariantListingConfig;
137
138
  };
138
- type ProductReview = components['schemas']['ProductReview'] & {
139
+ type ProductReview = components["schemas"]["ProductReview"] & {
139
140
  id: string;
140
141
  productId: string;
141
142
  salesChannelId: string;
@@ -143,9 +144,9 @@ type ProductReview = components['schemas']['ProductReview'] & {
143
144
  content: string;
144
145
  points: number;
145
146
  };
146
- type OrderDelivery = Omit<components['schemas']['OrderDelivery'], 'shippingOrderAddress' | 'shippingCosts'> & {
147
+ type OrderDelivery = Omit<components["schemas"]["OrderDelivery"], "shippingOrderAddress" | "shippingCosts"> & {
147
148
  id: string;
148
- shippingOrderAddress: Partial<components['schemas']['OrderAddress']>;
149
+ shippingOrderAddress: Partial<components["schemas"]["OrderAddress"]>;
149
150
  shippingCosts: {
150
151
  unitPrice: number;
151
152
  totalPrice: number;
@@ -154,28 +155,28 @@ type OrderDelivery = Omit<components['schemas']['OrderDelivery'], 'shippingOrder
154
155
  taxRules: TaxRules[];
155
156
  };
156
157
  };
157
- type Manufacturer = components['schemas']['ProductManufacturer'] & {
158
+ type Manufacturer = components["schemas"]["ProductManufacturer"] & {
158
159
  id: string;
159
160
  };
160
- type PropertyGroup = components['schemas']['PropertyGroup'] & {
161
+ type PropertyGroup = components["schemas"]["PropertyGroup"] & {
161
162
  id: string;
162
163
  };
163
- type Category$1 = components['schemas']['Category'] & {
164
+ type Category$1 = components["schemas"]["Category"] & {
164
165
  id: string;
165
166
  };
166
- type Media$1 = components['schemas']['Media'] & {
167
+ type Media$1 = components["schemas"]["Media"] & {
167
168
  id: string;
168
169
  };
169
- type Tag = components['schemas']['Tag'] & {
170
+ type Tag = components["schemas"]["Tag"] & {
170
171
  id: string;
171
172
  };
172
- type Rule = components['schemas']['Rule'] & {
173
+ type Rule = components["schemas"]["Rule"] & {
173
174
  id: string;
174
175
  };
175
- type Currency$2 = components['schemas']['Currency'] & {
176
+ type Currency$2 = components["schemas"]["Currency"] & {
176
177
  id: string;
177
178
  };
178
- type Country$1 = Omit<components['schemas']['Country'], 'states'> & {
179
+ type Country$1 = Omit<components["schemas"]["Country"], "states"> & {
179
180
  id: string;
180
181
  states: [
181
182
  {
@@ -184,10 +185,10 @@ type Country$1 = Omit<components['schemas']['Country'], 'states'> & {
184
185
  }
185
186
  ];
186
187
  };
187
- type SystemConfig = components['schemas']['SystemConfig'] & {
188
+ type SystemConfig = components["schemas"]["SystemConfig"] & {
188
189
  id: string;
189
190
  };
190
- type ProductCrossSelling = components['schemas']['ProductCrossSelling'] & {
191
+ type ProductCrossSelling = components["schemas"]["ProductCrossSelling"] & {
191
192
  id: string;
192
193
  };
193
194
  interface CalculatedTaxes {
@@ -199,7 +200,7 @@ interface TaxRules {
199
200
  taxRate: number;
200
201
  percentage: number;
201
202
  }
202
- type Order = Omit<components['schemas']['Order'], 'deliveries' | 'price'> & {
203
+ type Order = Omit<components["schemas"]["Order"], "deliveries" | "price"> & {
203
204
  id: string;
204
205
  orderNumber: string;
205
206
  orderCustomer: {
@@ -218,19 +219,19 @@ type Order = Omit<components['schemas']['Order'], 'deliveries' | 'price'> & {
218
219
  };
219
220
  deliveries: Record<string, unknown>[];
220
221
  };
221
- type ShippingMethod$1 = components['schemas']['ShippingMethod'] & {
222
+ type ShippingMethod$1 = components["schemas"]["ShippingMethod"] & {
222
223
  id: string;
223
224
  };
224
- type PaymentMethod$1 = components['schemas']['PaymentMethod'] & {
225
+ type PaymentMethod$1 = components["schemas"]["PaymentMethod"] & {
225
226
  id: string;
226
227
  };
227
- type StateMachine = components['schemas']['StateMachine'] & {
228
+ type StateMachine = components["schemas"]["StateMachine"] & {
228
229
  id: string;
229
230
  };
230
- type StateMachineState = components['schemas']['StateMachineState'] & {
231
+ type StateMachineState = components["schemas"]["StateMachineState"] & {
231
232
  id: string;
232
233
  };
233
- type Promotion = Omit<components['schemas']['Promotion'], 'discounts'> & {
234
+ type Promotion = Omit<components["schemas"]["Promotion"], "discounts"> & {
234
235
  id: string;
235
236
  discounts: [
236
237
  {
@@ -244,25 +245,25 @@ type Promotion = Omit<components['schemas']['Promotion'], 'discounts'> & {
244
245
  active: boolean;
245
246
  code: string;
246
247
  };
247
- type PromotionDiscount = components['schemas']['PromotionDiscount'] & {
248
+ type PromotionDiscount = components["schemas"]["PromotionDiscount"] & {
248
249
  id: string;
249
250
  };
250
- type OrderLineItem = components['schemas']['OrderLineItem'] & {
251
+ type OrderLineItem = components["schemas"]["OrderLineItem"] & {
251
252
  id: string;
252
253
  };
253
- type PropertyGroupOption = components['schemas']['PropertyGroupOption'] & {
254
+ type PropertyGroupOption = components["schemas"]["PropertyGroupOption"] & {
254
255
  id: string;
255
256
  };
256
- type DeliveryTime = components['schemas']['DeliveryTime'] & {
257
+ type DeliveryTime = components["schemas"]["DeliveryTime"] & {
257
258
  id: string;
258
259
  };
259
- type CmsPage = components['schemas']['CmsPage'] & {
260
+ type CmsPage = components["schemas"]["CmsPage"] & {
260
261
  id: string;
261
262
  };
262
- type CustomerGroup = components['schemas']['CustomerGroup'] & {
263
+ type CustomerGroup = components["schemas"]["CustomerGroup"] & {
263
264
  id: string;
264
265
  };
265
- type SalesChannelAnalytics = components['schemas']['SalesChannelAnalytics'] & {
266
+ type SalesChannelAnalytics = components["schemas"]["SalesChannelAnalytics"] & {
266
267
  id: string;
267
268
  };
268
269
  interface RegistrationData {
@@ -281,21 +282,21 @@ interface RegistrationData {
281
282
  department: string;
282
283
  vatRegNo: string;
283
284
  }
284
- type Language$2 = components['schemas']['Language'] & {
285
+ type Language$2 = components["schemas"]["Language"] & {
285
286
  id: string;
286
287
  };
287
- type CustomFieldSet = components['schemas']['CustomFieldSet'] & {
288
+ type CustomFieldSet = components["schemas"]["CustomFieldSet"] & {
288
289
  id: string;
289
290
  };
290
- type CustomField = Omit<components['schemas']['CustomField'], 'config'> & {
291
+ type CustomField = Omit<components["schemas"]["CustomField"], "config"> & {
291
292
  id: string;
292
293
  config: {
293
294
  label: {
294
- 'en-GB': string;
295
+ "en-GB": string;
295
296
  };
296
297
  };
297
298
  };
298
- type Tax$1 = components['schemas']['Tax'] & {
299
+ type Tax$1 = components["schemas"]["Tax"] & {
299
300
  id: string;
300
301
  };
301
302
  declare const RuleType: {
@@ -306,7 +307,7 @@ declare const RuleType: {
306
307
  readonly promotionCustomer: "promotionCustomerRule";
307
308
  readonly promotionCart: "promotionCartRule";
308
309
  };
309
- type RuleType = typeof RuleType[keyof typeof RuleType];
310
+ type RuleType = (typeof RuleType)[keyof typeof RuleType];
310
311
  interface RuleAssignmentEntity {
311
312
  entity: {
312
313
  id: string;
@@ -329,12 +330,12 @@ interface FlowConfig {
329
330
  }
330
331
  interface CategoryData {
331
332
  name: string;
332
- categoryType: 'Link' | 'Page / List' | 'Structuring element / Entry point';
333
+ categoryType: "Link" | "Page / List" | "Structuring element / Entry point";
333
334
  status: boolean;
334
335
  }
335
336
  interface CategoryCustomizableLinkData {
336
- linkType: 'Internal' | 'External';
337
- entity: 'Category' | 'Product' | 'Landing page';
337
+ linkType: "Internal" | "External";
338
+ entity: "Category" | "Product" | "Landing page";
338
339
  category?: string;
339
340
  product?: string;
340
341
  landingPage?: string;
@@ -347,7 +348,7 @@ interface AccountData {
347
348
  replyToCustomerGroupRequest?: string;
348
349
  }
349
350
  interface TagData {
350
- changeType: 'Overwrite' | 'Clear' | 'Add' | 'Remove';
351
+ changeType: "Overwrite" | "Clear" | "Add" | "Remove";
351
352
  tags: string[];
352
353
  }
353
354
  interface CustomFieldData {
@@ -415,15 +416,15 @@ declare const getCountryCodeFromLocale: (locale?: string) => string;
415
416
  declare const getCurrencyCodeFromLocale: (locale?: string) => string;
416
417
  declare const getCurrencySymbolFromLocale: (locale?: string) => string;
417
418
  declare const formatPrice: (price: number, locale?: string, currencyCode?: string) => string;
418
- type Language$1 = components['schemas']['Language'] & {
419
+ type Language$1 = components["schemas"]["Language"] & {
419
420
  id: string;
420
- translationCode: components['schemas']['Locale'] & {
421
+ translationCode: components["schemas"]["Locale"] & {
421
422
  id: string;
422
423
  };
423
424
  };
424
425
  declare const getLanguageData: (adminApiContext: AdminApiContext, languageCode?: string) => Promise<Language$1>;
425
426
  declare const getSnippetSetId: (adminApiContext: AdminApiContext, languageCode?: string) => Promise<string>;
426
- type Currency$1 = components['schemas']['Currency'] & {
427
+ type Currency$1 = components["schemas"]["Currency"] & {
427
428
  id: string;
428
429
  };
429
430
  declare const getCurrency: (adminApiContext: AdminApiContext, isoCode?: string) => Promise<Currency$1>;
@@ -451,7 +452,7 @@ declare const getFlowTemplate: (flowTemplateId: string, adminApiContext: AdminAp
451
452
  declare const getFlow: (flowId: string, adminApiContext: AdminApiContext) => Promise<Flow>;
452
453
  declare const compareFlowTemplateWithFlow: (flowId: string, flowTemplateId: string, adminApiContext: AdminApiContext) => Promise<boolean>;
453
454
  declare function extractIdFromUrl(url: string): string | null;
454
- type OrderStatus = 'cancel' | 'complete' | 'reopen' | 'process';
455
+ type OrderStatus = "cancel" | "complete" | "reopen" | "process";
455
456
  declare const setOrderStatus: (orderId: string, orderStatus: OrderStatus, adminApiContext: AdminApiContext) => Promise<APIResponse>;
456
457
  /**
457
458
  * Return a single promotion entity with a fetched single discount entity
@@ -468,9 +469,9 @@ interface StoreUser {
468
469
  password: string;
469
470
  }
470
471
  interface StoreApiContextOptions {
471
- 'app_url'?: string;
472
- 'sw-access-key'?: string;
473
- 'sw-context-token'?: string;
472
+ app_url?: string;
473
+ "sw-access-key"?: string;
474
+ "sw-context-token"?: string;
474
475
  ignoreHTTPSErrors?: boolean;
475
476
  }
476
477
  declare class StoreApiContext {
@@ -526,7 +527,7 @@ interface SimpleLineItem {
526
527
  }
527
528
  interface SyncApiOperation {
528
529
  entity: string;
529
- action: 'upsert' | 'delete';
530
+ action: "upsert" | "delete";
530
531
  payload: Record<string, unknown>[];
531
532
  }
532
533
  interface DataServiceOptions {
@@ -1017,7 +1018,7 @@ declare class TestDataService {
1017
1018
  * @param stateMachineId - The uuid of the state machine.
1018
1019
  * @param stateName - The name of the state. Default is "open".
1019
1020
  */
1020
- getStateMachineState(stateMachineId: string, stateName?: 'open' | 'completed' | 'in_progress' | 'cancelled'): Promise<StateMachineState>;
1021
+ getStateMachineState(stateMachineId: string, stateName?: "open" | "completed" | "in_progress" | "cancelled"): Promise<StateMachineState>;
1021
1022
  /**
1022
1023
  * Retrieves all corresponding property group options.
1023
1024
  *
@@ -1304,7 +1305,7 @@ declare function assertScreenshot(page: Page, filename: string, locator?: Locato
1304
1305
 
1305
1306
  declare const BUNDLED_RESOURCES: {
1306
1307
  readonly en: {
1307
- readonly 'administration/category': {
1308
+ readonly "administration/category": {
1308
1309
  general: {
1309
1310
  name: string;
1310
1311
  active: string;
@@ -1343,7 +1344,7 @@ declare const BUNDLED_RESOURCES: {
1343
1344
  landingPage: string;
1344
1345
  };
1345
1346
  };
1346
- readonly 'administration/customer': {
1347
+ readonly "administration/customer": {
1347
1348
  listing: {
1348
1349
  customers: string;
1349
1350
  bulkEdit: string;
@@ -1383,7 +1384,7 @@ declare const BUNDLED_RESOURCES: {
1383
1384
  };
1384
1385
  };
1385
1386
  };
1386
- readonly 'administration/customField': {
1387
+ readonly "administration/customField": {
1387
1388
  common: {
1388
1389
  technicalName: string;
1389
1390
  position: string;
@@ -1422,7 +1423,7 @@ declare const BUNDLED_RESOURCES: {
1422
1423
  deleteCustomField: string;
1423
1424
  };
1424
1425
  };
1425
- readonly 'administration/dataSharing': {
1426
+ readonly "administration/dataSharing": {
1426
1427
  buttons: {
1427
1428
  agree: string;
1428
1429
  disableDataSharing: string;
@@ -1435,7 +1436,7 @@ declare const BUNDLED_RESOURCES: {
1435
1436
  dataConsent: string;
1436
1437
  };
1437
1438
  };
1438
- readonly 'administration/document': {
1439
+ readonly "administration/document": {
1439
1440
  listing: {
1440
1441
  addDocument: string;
1441
1442
  };
@@ -1444,10 +1445,11 @@ declare const BUNDLED_RESOURCES: {
1444
1445
  };
1445
1446
  detail: {
1446
1447
  displayDocumentInMyAccount: string;
1448
+ displayDocumentInMyAccountSwitch: string;
1447
1449
  save: string;
1448
1450
  };
1449
1451
  };
1450
- readonly 'administration/landingPage': {
1452
+ readonly "administration/landingPage": {
1451
1453
  create: {
1452
1454
  searchLayoutsPlaceholder: string;
1453
1455
  assignLayout: string;
@@ -1467,7 +1469,7 @@ declare const BUNDLED_RESOURCES: {
1467
1469
  editInDesigner: string;
1468
1470
  };
1469
1471
  };
1470
- readonly 'administration/layout': {
1472
+ readonly "administration/layout": {
1471
1473
  listing: {
1472
1474
  createNewLayout: string;
1473
1475
  };
@@ -1492,13 +1494,13 @@ declare const BUNDLED_RESOURCES: {
1492
1494
  layoutAssignment: string;
1493
1495
  };
1494
1496
  };
1495
- readonly 'administration/login': {
1497
+ readonly "administration/login": {
1496
1498
  username: string;
1497
1499
  emailAddress: string;
1498
1500
  password: string;
1499
1501
  loginButton: string;
1500
1502
  };
1501
- readonly 'administration/flowBuilder': {
1503
+ readonly "administration/flowBuilder": {
1502
1504
  listing: {
1503
1505
  delete: string;
1504
1506
  downloadFlow: string;
@@ -1527,7 +1529,7 @@ declare const BUNDLED_RESOURCES: {
1527
1529
  deleteConfirmation: string;
1528
1530
  };
1529
1531
  };
1530
- readonly 'administration/dashboard': {
1532
+ readonly "administration/dashboard": {
1531
1533
  dataSharing: {
1532
1534
  agree: string;
1533
1535
  notAtTheMoment: string;
@@ -1547,7 +1549,7 @@ declare const BUNDLED_RESOURCES: {
1547
1549
  orderOverview: string;
1548
1550
  };
1549
1551
  };
1550
- readonly 'administration/manufacturer': {
1552
+ readonly "administration/manufacturer": {
1551
1553
  listing: {
1552
1554
  addManufacturer: string;
1553
1555
  };
@@ -1569,7 +1571,7 @@ declare const BUNDLED_RESOURCES: {
1569
1571
  warning: string;
1570
1572
  };
1571
1573
  };
1572
- readonly 'administration/media': {
1574
+ readonly "administration/media": {
1573
1575
  buttons: {
1574
1576
  uploadFile: string;
1575
1577
  addNewFolder: string;
@@ -1582,7 +1584,7 @@ declare const BUNDLED_RESOURCES: {
1582
1584
  delete: string;
1583
1585
  };
1584
1586
  };
1585
- readonly 'administration/order': {
1587
+ readonly "administration/order": {
1586
1588
  detail: {
1587
1589
  items: string;
1588
1590
  sendDocument: string;
@@ -1608,7 +1610,7 @@ declare const BUNDLED_RESOURCES: {
1608
1610
  warning: string;
1609
1611
  };
1610
1612
  };
1611
- readonly 'administration/payment': {
1613
+ readonly "administration/payment": {
1612
1614
  common: {
1613
1615
  name: string;
1614
1616
  availabilityRule: string;
@@ -1621,7 +1623,7 @@ declare const BUNDLED_RESOURCES: {
1621
1623
  customPaymentMethod: string;
1622
1624
  };
1623
1625
  };
1624
- readonly 'administration/promotion': {
1626
+ readonly "administration/promotion": {
1625
1627
  tabs: {
1626
1628
  general: string;
1627
1629
  conditions: string;
@@ -1649,7 +1651,7 @@ declare const BUNDLED_RESOURCES: {
1649
1651
  refresh: string;
1650
1652
  };
1651
1653
  };
1652
- readonly 'administration/rule': {
1654
+ readonly "administration/rule": {
1653
1655
  buttons: {
1654
1656
  createRule: string;
1655
1657
  add: string;
@@ -1673,12 +1675,12 @@ declare const BUNDLED_RESOURCES: {
1673
1675
  filter: string;
1674
1676
  };
1675
1677
  };
1676
- readonly 'administration/settings': {
1678
+ readonly "administration/settings": {
1677
1679
  header: {
1678
1680
  settings: string;
1679
1681
  };
1680
1682
  };
1681
- readonly 'administration/shipping': {
1683
+ readonly "administration/shipping": {
1682
1684
  common: {
1683
1685
  name: string;
1684
1686
  availabilityRule: string;
@@ -1698,7 +1700,7 @@ declare const BUNDLED_RESOURCES: {
1698
1700
  delete: string;
1699
1701
  };
1700
1702
  };
1701
- readonly 'administration/yourProfile': {
1703
+ readonly "administration/yourProfile": {
1702
1704
  tabs: {
1703
1705
  searchPreferences: string;
1704
1706
  };
@@ -1712,7 +1714,7 @@ declare const BUNDLED_RESOURCES: {
1712
1714
  deselectAll: string;
1713
1715
  };
1714
1716
  };
1715
- readonly 'administration/customerGroup': {
1717
+ readonly "administration/customerGroup": {
1716
1718
  listing: {
1717
1719
  customerGroups: string;
1718
1720
  };
@@ -1729,7 +1731,7 @@ declare const BUNDLED_RESOURCES: {
1729
1731
  seoMetaDescription: string;
1730
1732
  };
1731
1733
  };
1732
- readonly 'administration/firstRunWizard': {
1734
+ readonly "administration/firstRunWizard": {
1733
1735
  welcome: {
1734
1736
  text: string;
1735
1737
  };
@@ -1779,7 +1781,7 @@ declare const BUNDLED_RESOURCES: {
1779
1781
  forgotPassword: string;
1780
1782
  };
1781
1783
  };
1782
- readonly 'administration/shopwareServices': {
1784
+ readonly "administration/shopwareServices": {
1783
1785
  headings: {
1784
1786
  futureProofStore: string;
1785
1787
  };
@@ -1802,7 +1804,7 @@ declare const BUNDLED_RESOURCES: {
1802
1804
  shopwareServicesIntroduction: string;
1803
1805
  };
1804
1806
  };
1805
- readonly 'administration/product': {
1807
+ readonly "administration/product": {
1806
1808
  detail: {
1807
1809
  customFields: string;
1808
1810
  colorProperty: string;
@@ -1856,7 +1858,7 @@ declare const BUNDLED_RESOURCES: {
1856
1858
  large: string;
1857
1859
  };
1858
1860
  };
1859
- readonly 'administration/salesChannel': {
1861
+ readonly "administration/salesChannel": {
1860
1862
  tabs: {
1861
1863
  general: string;
1862
1864
  products: string;
@@ -1867,7 +1869,7 @@ declare const BUNDLED_RESOURCES: {
1867
1869
  addDomain: string;
1868
1870
  };
1869
1871
  };
1870
- readonly 'storefront/account': {
1872
+ readonly "storefront/account": {
1871
1873
  common: {
1872
1874
  salutation: string;
1873
1875
  firstName: string;
@@ -1965,7 +1967,7 @@ declare const BUNDLED_RESOURCES: {
1965
1967
  change: string;
1966
1968
  };
1967
1969
  };
1968
- readonly 'storefront/address': {
1970
+ readonly "storefront/address": {
1969
1971
  common: {
1970
1972
  salutation: string;
1971
1973
  firstName: string;
@@ -1985,7 +1987,7 @@ declare const BUNDLED_RESOURCES: {
1985
1987
  deliveryNotPossible: string;
1986
1988
  };
1987
1989
  };
1988
- readonly 'storefront/checkout': {
1990
+ readonly "storefront/checkout": {
1989
1991
  common: {
1990
1992
  back: string;
1991
1993
  paymentMethod: string;
@@ -2022,7 +2024,7 @@ declare const BUNDLED_RESOURCES: {
2022
2024
  cancelOrder: string;
2023
2025
  };
2024
2026
  };
2025
- readonly 'storefront/product': {
2027
+ readonly "storefront/product": {
2026
2028
  addToCart: string;
2027
2029
  quantity: string;
2028
2030
  addToWishlist: string;
@@ -2040,7 +2042,7 @@ declare const BUNDLED_RESOURCES: {
2040
2042
  noProductsFound: string;
2041
2043
  };
2042
2044
  };
2043
- readonly 'storefront/navigation': {
2045
+ readonly "storefront/navigation": {
2044
2046
  pageNotFound: {
2045
2047
  title: string;
2046
2048
  backToShop: string;
@@ -2061,7 +2063,7 @@ declare const BUNDLED_RESOURCES: {
2061
2063
  noProductsFound: string;
2062
2064
  };
2063
2065
  };
2064
- readonly 'storefront/contact': {
2066
+ readonly "storefront/contact": {
2065
2067
  title: string;
2066
2068
  link: {
2067
2069
  contactForm: string;
@@ -2083,7 +2085,7 @@ declare const BUNDLED_RESOURCES: {
2083
2085
  subject: string;
2084
2086
  };
2085
2087
  };
2086
- readonly 'storefront/consent': {
2088
+ readonly "storefront/consent": {
2087
2089
  cookie: {
2088
2090
  onlyTechnicallyRequired: string;
2089
2091
  configure: string;
@@ -2092,7 +2094,7 @@ declare const BUNDLED_RESOURCES: {
2092
2094
  marketing: string;
2093
2095
  };
2094
2096
  };
2095
- readonly 'storefront/header': {
2097
+ readonly "storefront/header": {
2096
2098
  topBarNav: string;
2097
2099
  currencyDropdown: string;
2098
2100
  languageDropdown: string;
@@ -2100,7 +2102,7 @@ declare const BUNDLED_RESOURCES: {
2100
2102
  searchInputAriaLabel: string;
2101
2103
  wishlistIcon: string;
2102
2104
  };
2103
- readonly 'storefront/home': {
2105
+ readonly "storefront/home": {
2104
2106
  account: {
2105
2107
  yourAccount: string;
2106
2108
  };
@@ -2129,7 +2131,7 @@ declare const BUNDLED_RESOURCES: {
2129
2131
  addToShoppingCart: string;
2130
2132
  };
2131
2133
  };
2132
- readonly 'storefront/login': {
2134
+ readonly "storefront/login": {
2133
2135
  emailAddress: string;
2134
2136
  password: string;
2135
2137
  loginButton: string;
@@ -2155,7 +2157,7 @@ declare const BUNDLED_RESOURCES: {
2155
2157
  continue: string;
2156
2158
  };
2157
2159
  };
2158
- readonly 'storefront/order': {
2160
+ readonly "storefront/order": {
2159
2161
  actions: {
2160
2162
  cancelOrder: string;
2161
2163
  back: string;
@@ -2165,12 +2167,12 @@ declare const BUNDLED_RESOURCES: {
2165
2167
  express: string;
2166
2168
  };
2167
2169
  };
2168
- readonly 'storefront/pageNotFound': {
2170
+ readonly "storefront/pageNotFound": {
2169
2171
  title: string;
2170
2172
  message: string;
2171
2173
  backToShop: string;
2172
2174
  };
2173
- readonly 'storefront/payment': {
2175
+ readonly "storefront/payment": {
2174
2176
  methods: {
2175
2177
  cashOnDelivery: string;
2176
2178
  paidInAdvance: string;
@@ -2181,7 +2183,7 @@ declare const BUNDLED_RESOURCES: {
2181
2183
  completePayment: string;
2182
2184
  };
2183
2185
  };
2184
- readonly 'storefront/recover': {
2186
+ readonly "storefront/recover": {
2185
2187
  passwordRecovery: string;
2186
2188
  subtitle: string;
2187
2189
  requestEmail: string;
@@ -2192,7 +2194,7 @@ declare const BUNDLED_RESOURCES: {
2192
2194
  changePassword: string;
2193
2195
  invalidLink: string;
2194
2196
  };
2195
- readonly 'storefront/offCanvasCart': {
2197
+ readonly "storefront/offCanvasCart": {
2196
2198
  general: {
2197
2199
  title: string;
2198
2200
  };
@@ -2202,12 +2204,12 @@ declare const BUNDLED_RESOURCES: {
2202
2204
  continueShopping: string;
2203
2205
  };
2204
2206
  };
2205
- readonly 'storefront/wishlist': {
2207
+ readonly "storefront/wishlist": {
2206
2208
  removeProduct: string;
2207
2209
  };
2208
2210
  };
2209
2211
  readonly de: {
2210
- readonly 'administration/category': {
2212
+ readonly "administration/category": {
2211
2213
  general: {
2212
2214
  name: string;
2213
2215
  active: string;
@@ -2246,7 +2248,7 @@ declare const BUNDLED_RESOURCES: {
2246
2248
  landingPage: string;
2247
2249
  };
2248
2250
  };
2249
- readonly 'administration/customer': {
2251
+ readonly "administration/customer": {
2250
2252
  listing: {
2251
2253
  customers: string;
2252
2254
  bulkEdit: string;
@@ -2286,7 +2288,7 @@ declare const BUNDLED_RESOURCES: {
2286
2288
  };
2287
2289
  };
2288
2290
  };
2289
- readonly 'administration/customerGroup': {
2291
+ readonly "administration/customerGroup": {
2290
2292
  listing: {
2291
2293
  addCustomerGroup: string;
2292
2294
  customerGroups: string;
@@ -2309,7 +2311,7 @@ declare const BUNDLED_RESOURCES: {
2309
2311
  technicalUrl: string;
2310
2312
  };
2311
2313
  };
2312
- readonly 'administration/customField': {
2314
+ readonly "administration/customField": {
2313
2315
  common: {
2314
2316
  technicalName: string;
2315
2317
  type: string;
@@ -2357,7 +2359,7 @@ declare const BUNDLED_RESOURCES: {
2357
2359
  deleteCustomField: string;
2358
2360
  };
2359
2361
  };
2360
- readonly 'administration/dashboard': {
2362
+ readonly "administration/dashboard": {
2361
2363
  dataSharing: {
2362
2364
  agree: string;
2363
2365
  notAtTheMoment: string;
@@ -2377,7 +2379,7 @@ declare const BUNDLED_RESOURCES: {
2377
2379
  orderOverview: string;
2378
2380
  };
2379
2381
  };
2380
- readonly 'administration/dataSharing': {
2382
+ readonly "administration/dataSharing": {
2381
2383
  buttons: {
2382
2384
  agree: string;
2383
2385
  disableDataSharing: string;
@@ -2390,7 +2392,7 @@ declare const BUNDLED_RESOURCES: {
2390
2392
  dataConsent: string;
2391
2393
  };
2392
2394
  };
2393
- readonly 'administration/document': {
2395
+ readonly "administration/document": {
2394
2396
  listing: {
2395
2397
  addDocument: string;
2396
2398
  };
@@ -2399,10 +2401,11 @@ declare const BUNDLED_RESOURCES: {
2399
2401
  };
2400
2402
  detail: {
2401
2403
  displayDocumentInMyAccount: string;
2404
+ displayDocumentInMyAccountSwitch: string;
2402
2405
  save: string;
2403
2406
  };
2404
2407
  };
2405
- readonly 'administration/firstRunWizard': {
2408
+ readonly "administration/firstRunWizard": {
2406
2409
  welcome: {
2407
2410
  text: string;
2408
2411
  };
@@ -2452,7 +2455,7 @@ declare const BUNDLED_RESOURCES: {
2452
2455
  forgotPassword: string;
2453
2456
  };
2454
2457
  };
2455
- readonly 'administration/flowBuilder': {
2458
+ readonly "administration/flowBuilder": {
2456
2459
  listing: {
2457
2460
  addFlow: string;
2458
2461
  delete: string;
@@ -2489,7 +2492,7 @@ declare const BUNDLED_RESOURCES: {
2489
2492
  deleteConfirmation: string;
2490
2493
  };
2491
2494
  };
2492
- readonly 'administration/landingPage': {
2495
+ readonly "administration/landingPage": {
2493
2496
  create: {
2494
2497
  title: string;
2495
2498
  saveSuccess: string;
@@ -2517,7 +2520,7 @@ declare const BUNDLED_RESOURCES: {
2517
2520
  editInDesigner: string;
2518
2521
  };
2519
2522
  };
2520
- readonly 'administration/layout': {
2523
+ readonly "administration/layout": {
2521
2524
  listing: {
2522
2525
  createNewLayout: string;
2523
2526
  };
@@ -2542,13 +2545,13 @@ declare const BUNDLED_RESOURCES: {
2542
2545
  layoutAssignment: string;
2543
2546
  };
2544
2547
  };
2545
- readonly 'administration/login': {
2548
+ readonly "administration/login": {
2546
2549
  username: string;
2547
2550
  emailAddress: string;
2548
2551
  password: string;
2549
2552
  loginButton: string;
2550
2553
  };
2551
- readonly 'administration/manufacturer': {
2554
+ readonly "administration/manufacturer": {
2552
2555
  listing: {
2553
2556
  addManufacturer: string;
2554
2557
  };
@@ -2570,7 +2573,7 @@ declare const BUNDLED_RESOURCES: {
2570
2573
  warning: string;
2571
2574
  };
2572
2575
  };
2573
- readonly 'administration/media': {
2576
+ readonly "administration/media": {
2574
2577
  buttons: {
2575
2578
  uploadFile: string;
2576
2579
  addNewFolder: string;
@@ -2583,7 +2586,7 @@ declare const BUNDLED_RESOURCES: {
2583
2586
  delete: string;
2584
2587
  };
2585
2588
  };
2586
- readonly 'administration/order': {
2589
+ readonly "administration/order": {
2587
2590
  detail: {
2588
2591
  items: string;
2589
2592
  sendDocument: string;
@@ -2609,7 +2612,7 @@ declare const BUNDLED_RESOURCES: {
2609
2612
  warning: string;
2610
2613
  };
2611
2614
  };
2612
- readonly 'administration/payment': {
2615
+ readonly "administration/payment": {
2613
2616
  common: {
2614
2617
  name: string;
2615
2618
  availabilityRule: string;
@@ -2622,7 +2625,7 @@ declare const BUNDLED_RESOURCES: {
2622
2625
  customPaymentMethod: string;
2623
2626
  };
2624
2627
  };
2625
- readonly 'administration/product': {
2628
+ readonly "administration/product": {
2626
2629
  listing: {
2627
2630
  addProduct: string;
2628
2631
  bulkEdit: string;
@@ -2692,7 +2695,7 @@ declare const BUNDLED_RESOURCES: {
2692
2695
  large: string;
2693
2696
  };
2694
2697
  };
2695
- readonly 'administration/promotion': {
2698
+ readonly "administration/promotion": {
2696
2699
  listing: {
2697
2700
  addPromotion: string;
2698
2701
  };
@@ -2736,7 +2739,7 @@ declare const BUNDLED_RESOURCES: {
2736
2739
  refresh: string;
2737
2740
  };
2738
2741
  };
2739
- readonly 'administration/rule': {
2742
+ readonly "administration/rule": {
2740
2743
  fields: {
2741
2744
  priority: string;
2742
2745
  name: string;
@@ -2760,12 +2763,12 @@ declare const BUNDLED_RESOURCES: {
2760
2763
  filter: string;
2761
2764
  };
2762
2765
  };
2763
- readonly 'administration/settings': {
2766
+ readonly "administration/settings": {
2764
2767
  header: {
2765
2768
  settings: string;
2766
2769
  };
2767
2770
  };
2768
- readonly 'administration/shipping': {
2771
+ readonly "administration/shipping": {
2769
2772
  common: {
2770
2773
  name: string;
2771
2774
  availabilityRule: string;
@@ -2785,7 +2788,7 @@ declare const BUNDLED_RESOURCES: {
2785
2788
  delete: string;
2786
2789
  };
2787
2790
  };
2788
- readonly 'administration/shopwareServices': {
2791
+ readonly "administration/shopwareServices": {
2789
2792
  headings: {
2790
2793
  futureProofStore: string;
2791
2794
  };
@@ -2808,7 +2811,7 @@ declare const BUNDLED_RESOURCES: {
2808
2811
  shopwareServicesIntroduction: string;
2809
2812
  };
2810
2813
  };
2811
- readonly 'administration/yourProfile': {
2814
+ readonly "administration/yourProfile": {
2812
2815
  general: {
2813
2816
  title: string;
2814
2817
  firstName: string;
@@ -2836,7 +2839,7 @@ declare const BUNDLED_RESOURCES: {
2836
2839
  deselectAll: string;
2837
2840
  };
2838
2841
  };
2839
- readonly 'administration/salesChannel': {
2842
+ readonly "administration/salesChannel": {
2840
2843
  tabs: {
2841
2844
  general: string;
2842
2845
  products: string;
@@ -2847,7 +2850,7 @@ declare const BUNDLED_RESOURCES: {
2847
2850
  addDomain: string;
2848
2851
  };
2849
2852
  };
2850
- readonly 'storefront/account': {
2853
+ readonly "storefront/account": {
2851
2854
  common: {
2852
2855
  salutation: string;
2853
2856
  firstName: string;
@@ -2958,7 +2961,7 @@ declare const BUNDLED_RESOURCES: {
2958
2961
  };
2959
2962
  };
2960
2963
  };
2961
- readonly 'storefront/address': {
2964
+ readonly "storefront/address": {
2962
2965
  common: {
2963
2966
  salutation: string;
2964
2967
  firstName: string;
@@ -2978,7 +2981,7 @@ declare const BUNDLED_RESOURCES: {
2978
2981
  deliveryNotPossible: string;
2979
2982
  };
2980
2983
  };
2981
- readonly 'storefront/checkout': {
2984
+ readonly "storefront/checkout": {
2982
2985
  common: {
2983
2986
  back: string;
2984
2987
  paymentMethod: string;
@@ -3021,7 +3024,7 @@ declare const BUNDLED_RESOURCES: {
3021
3024
  cancelOrder: string;
3022
3025
  };
3023
3026
  };
3024
- readonly 'storefront/consent': {
3027
+ readonly "storefront/consent": {
3025
3028
  cookie: {
3026
3029
  title: string;
3027
3030
  description: string;
@@ -3042,7 +3045,7 @@ declare const BUNDLED_RESOURCES: {
3042
3045
  readMore: string;
3043
3046
  };
3044
3047
  };
3045
- readonly 'storefront/contact': {
3048
+ readonly "storefront/contact": {
3046
3049
  title: string;
3047
3050
  link: {
3048
3051
  contactForm: string;
@@ -3065,7 +3068,7 @@ declare const BUNDLED_RESOURCES: {
3065
3068
  subject: string;
3066
3069
  };
3067
3070
  };
3068
- readonly 'storefront/header': {
3071
+ readonly "storefront/header": {
3069
3072
  topBarNav: string;
3070
3073
  currencyDropdown: string;
3071
3074
  languageDropdown: string;
@@ -3073,7 +3076,7 @@ declare const BUNDLED_RESOURCES: {
3073
3076
  searchInputAriaLabel: string;
3074
3077
  wishlistIcon: string;
3075
3078
  };
3076
- readonly 'storefront/home': {
3079
+ readonly "storefront/home": {
3077
3080
  account: {
3078
3081
  yourAccount: string;
3079
3082
  };
@@ -3102,7 +3105,7 @@ declare const BUNDLED_RESOURCES: {
3102
3105
  addToShoppingCart: string;
3103
3106
  };
3104
3107
  };
3105
- readonly 'storefront/login': {
3108
+ readonly "storefront/login": {
3106
3109
  emailAddress: string;
3107
3110
  password: string;
3108
3111
  loginButton: string;
@@ -3128,7 +3131,7 @@ declare const BUNDLED_RESOURCES: {
3128
3131
  continue: string;
3129
3132
  };
3130
3133
  };
3131
- readonly 'storefront/navigation': {
3134
+ readonly "storefront/navigation": {
3132
3135
  pageNotFound: {
3133
3136
  title: string;
3134
3137
  backToShop: string;
@@ -3149,7 +3152,7 @@ declare const BUNDLED_RESOURCES: {
3149
3152
  noProductsFound: string;
3150
3153
  };
3151
3154
  };
3152
- readonly 'storefront/offCanvasCart': {
3155
+ readonly "storefront/offCanvasCart": {
3153
3156
  title: string;
3154
3157
  emptyCart: string;
3155
3158
  quantity: string;
@@ -3167,7 +3170,7 @@ declare const BUNDLED_RESOURCES: {
3167
3170
  continueShopping: string;
3168
3171
  };
3169
3172
  };
3170
- readonly 'storefront/order': {
3173
+ readonly "storefront/order": {
3171
3174
  actions: {
3172
3175
  cancelOrder: string;
3173
3176
  back: string;
@@ -3177,7 +3180,7 @@ declare const BUNDLED_RESOURCES: {
3177
3180
  express: string;
3178
3181
  };
3179
3182
  };
3180
- readonly 'storefront/pageNotFound': {
3183
+ readonly "storefront/pageNotFound": {
3181
3184
  title: string;
3182
3185
  message: string;
3183
3186
  backToHome: string;
@@ -3185,7 +3188,7 @@ declare const BUNDLED_RESOURCES: {
3185
3188
  suggestions: string;
3186
3189
  backToShop: string;
3187
3190
  };
3188
- readonly 'storefront/payment': {
3191
+ readonly "storefront/payment": {
3189
3192
  methods: {
3190
3193
  cashOnDelivery: string;
3191
3194
  paidInAdvance: string;
@@ -3196,7 +3199,7 @@ declare const BUNDLED_RESOURCES: {
3196
3199
  completePayment: string;
3197
3200
  };
3198
3201
  };
3199
- readonly 'storefront/product': {
3202
+ readonly "storefront/product": {
3200
3203
  detail: {
3201
3204
  addToCart: string;
3202
3205
  addToWishlist: string;
@@ -3236,7 +3239,7 @@ declare const BUNDLED_RESOURCES: {
3236
3239
  submitMessage: string;
3237
3240
  };
3238
3241
  };
3239
- readonly 'storefront/recover': {
3242
+ readonly "storefront/recover": {
3240
3243
  passwordRecovery: string;
3241
3244
  subtitle: string;
3242
3245
  requestEmail: string;
@@ -3247,7 +3250,7 @@ declare const BUNDLED_RESOURCES: {
3247
3250
  changePassword: string;
3248
3251
  invalidLink: string;
3249
3252
  };
3250
- readonly 'storefront/wishlist': {
3253
+ readonly "storefront/wishlist": {
3251
3254
  removeProduct: string;
3252
3255
  };
3253
3256
  };
@@ -3394,6 +3397,7 @@ declare const baseNamespaces: {
3394
3397
  };
3395
3398
  detail: {
3396
3399
  displayDocumentInMyAccount: string;
3400
+ displayDocumentInMyAccountSwitch: string;
3397
3401
  save: string;
3398
3402
  };
3399
3403
  };
@@ -4188,6 +4192,40 @@ declare function setCurrentContext(context: Record<string, unknown> | null): voi
4188
4192
  declare function getCurrentContext(): Record<string, unknown> | null;
4189
4193
  declare function translate(key: TranslationKey, options?: Record<string, unknown>): string;
4190
4194
 
4195
+ /**
4196
+ * Service to interact with feature flags
4197
+ */
4198
+ declare class FeatureService {
4199
+ private readonly apiContext;
4200
+ private features;
4201
+ private resetFeatures;
4202
+ constructor(apiContext: AdminApiContext);
4203
+ enable(name: string | string[]): Promise<void>;
4204
+ disable(name: string | string[]): Promise<void>;
4205
+ isEnabled(name: string): Promise<boolean>;
4206
+ private loadFeatures;
4207
+ cleanup(): Promise<void>;
4208
+ }
4209
+
4210
+ declare const clearDelayedCache: (adminApiContext: AdminApiContext) => Promise<void>;
4211
+
4212
+ declare function mockApiCalls(page: Page): Promise<void>;
4213
+
4214
+ declare class Actor {
4215
+ page: Page;
4216
+ readonly name: string;
4217
+ baseURL: string | undefined;
4218
+ constructor(name: string, page: Page, baseURL?: string);
4219
+ expects: playwright_test.Expect<{}>;
4220
+ a11y_checks(locator: Locator): Promise<void>;
4221
+ fillsIn(locator: Locator, input: string): Promise<void>;
4222
+ presses(locator: Locator, key?: string): Promise<void>;
4223
+ selectsRadioButton(radioGroup: Locator, inputLabel: string): Promise<void>;
4224
+ attemptsTo(task: () => Promise<void>): Promise<void>;
4225
+ goesTo(url: string, forceReload?: boolean): Promise<void>;
4226
+ private camelCaseToLowerCase;
4227
+ }
4228
+
4191
4229
  interface Email {
4192
4230
  fromName: string;
4193
4231
  fromAddress: string;
@@ -4257,21 +4295,6 @@ interface PageContextTypes {
4257
4295
  context: BrowserContext;
4258
4296
  }
4259
4297
 
4260
- declare class Actor {
4261
- page: Page;
4262
- readonly name: string;
4263
- baseURL: string | undefined;
4264
- constructor(name: string, page: Page, baseURL?: string);
4265
- expects: playwright_test.Expect<{}>;
4266
- a11y_checks(locator: Locator): Promise<void>;
4267
- fillsIn(locator: Locator, input: string): Promise<void>;
4268
- presses(locator: Locator, key?: string): Promise<void>;
4269
- selectsRadioButton(radioGroup: Locator, inputLabel: string): Promise<void>;
4270
- attemptsTo(task: () => Promise<void>): Promise<void>;
4271
- goesTo(url: string, forceReload?: boolean): Promise<void>;
4272
- private camelCaseToLowerCase;
4273
- }
4274
-
4275
4298
  interface ActorFixtureTypes {
4276
4299
  ShopCustomer: Actor;
4277
4300
  ShopAdmin: Actor;
@@ -4294,36 +4317,6 @@ interface HelperFixtureTypes {
4294
4317
  Translate: TranslateFn;
4295
4318
  }
4296
4319
 
4297
- interface StoreBaseConfig {
4298
- storefrontTypeId: string;
4299
- currentLocaleId: string;
4300
- currentLanguageId: string;
4301
- currentCurrencyId: string;
4302
- defaultCurrencyId: string;
4303
- defaultLanguageId: string;
4304
- invoicePaymentMethodId: string;
4305
- defaultShippingMethod: string;
4306
- taxId: string;
4307
- currentCountryId: string;
4308
- currentSnippetSetId: string;
4309
- defaultThemeId: string;
4310
- appUrl: string | undefined;
4311
- adminUrl: string;
4312
- }
4313
- interface DefaultSalesChannelTypes {
4314
- SalesChannelBaseConfig: StoreBaseConfig;
4315
- DefaultSalesChannel: {
4316
- salesChannel: SalesChannel;
4317
- customer: Customer;
4318
- url: string;
4319
- };
4320
- DefaultStorefront: {
4321
- salesChannel: SalesChannel;
4322
- customer: Customer;
4323
- url: string;
4324
- };
4325
- }
4326
-
4327
4320
  interface Country {
4328
4321
  id: string;
4329
4322
  }
@@ -4367,632 +4360,718 @@ interface PageObject {
4367
4360
  url(...args: unknown[]): string;
4368
4361
  }
4369
4362
 
4370
- declare class ProductDetail$1 implements PageObject {
4371
- readonly contentView: Locator;
4372
- readonly productHeadline: Locator;
4373
- /**
4374
- * Save interactions
4375
- */
4376
- readonly savePhysicalProductButton: Locator;
4377
- readonly saveButtonLoadingSpinner: Locator;
4378
- readonly saveButtonCheckMark: Locator;
4379
- /**
4380
- * General Info
4381
- */
4382
- readonly manufacturerDropdownText: Locator;
4363
+ declare class Home implements PageObject {
4364
+ readonly categoryTitle: Locator;
4365
+ readonly accountMenuButton: Locator;
4366
+ readonly closeGuestSessionButton: Locator;
4367
+ readonly productImages: Locator;
4368
+ readonly productListItems: Locator;
4369
+ readonly loader: Locator;
4370
+ readonly productVariantCharacteristicsOptions: Locator;
4383
4371
  /**
4384
- * Prices
4372
+ * @deprecated Use 'Header/languagesDropdown' instead
4385
4373
  */
4386
- readonly priceGrossInput: Locator;
4374
+ readonly languagesDropdown: Locator;
4387
4375
  /**
4388
- * Deliverability
4376
+ * @deprecated Use 'Header/languagesMenuOptions' instead
4389
4377
  */
4390
- readonly stockInput: Locator;
4391
- readonly restockTimeInput: Locator;
4378
+ readonly languagesMenuOptions: Locator;
4392
4379
  /**
4393
- * Visibility
4380
+ * @deprecated Use 'Header/currenciesDropdown' instead
4394
4381
  */
4395
- readonly activeForAllSalesChannelsToggle: Locator;
4396
- readonly tagsInput: Locator;
4397
- readonly saleChannelsInput: Locator;
4382
+ readonly currenciesDropdown: Locator;
4398
4383
  /**
4399
- * Labelling
4384
+ * @deprecated Use 'Header/currenciesMenuOptions' instead
4400
4385
  */
4401
- readonly releaseDateInput: Locator;
4386
+ readonly currenciesMenuOptions: Locator;
4387
+ readonly consentOnlyTechnicallyRequiredButton: Locator;
4388
+ readonly consentConfigureButton: Locator;
4389
+ readonly consentAcceptAllCookiesButton: Locator;
4390
+ readonly consentCookiePreferences: Locator;
4391
+ readonly consentCookiePermissionContent: Locator;
4392
+ readonly consentDialog: Locator;
4393
+ readonly consentDialogCloseButton: Locator;
4394
+ readonly consentDialogTechnicallyRequiredCheckbox: Locator;
4395
+ readonly consentDialogStatisticsCheckbox: Locator;
4402
4396
  /**
4403
- * Media Upload interactions
4397
+ * @deprecated Use 'consentDialogMarketingCheckbox' instead
4404
4398
  */
4405
- readonly uploadMediaButton: Locator;
4406
- readonly coverImage: Locator;
4407
- readonly productImage: Locator;
4399
+ readonly consentDialogMarketingdCheckbox: Locator;
4400
+ readonly consentDialogMarketingCheckbox: Locator;
4401
+ readonly consentDialogAcceptAllCookiesButton: Locator;
4402
+ readonly consentDialogSaveButton: Locator;
4403
+ readonly consentCookieBannerContainer: Locator;
4404
+ readonly offcanvasBackdrop: Locator;
4408
4405
  /**
4409
- * Tabs
4406
+ * @deprecated Use 'Header/mainNavigationLink' instead
4410
4407
  */
4411
- readonly variantsTabLink: Locator;
4412
- readonly specificationsTabLink: Locator;
4413
- readonly advancedPricingTabLink: Locator;
4414
- readonly layoutTabLink: Locator;
4415
- readonly crossSellingTabLink: Locator;
4416
- readonly SEOTabLink: Locator;
4417
- readonly reviewsTabLink: Locator;
4408
+ readonly mainNavigationLink: Locator;
4418
4409
  /**
4419
- * Variants Generation
4410
+ * @deprecated Use 'Footer/contactFormLink' instead
4420
4411
  */
4421
- readonly generateVariantsButton: Locator;
4422
- readonly variantsModal: Locator;
4423
- readonly variantsModalHeadline: Locator;
4424
- readonly variantsNextButton: Locator;
4425
- readonly variantsSaveButton: Locator;
4412
+ readonly contactFormLink: Locator;
4426
4413
  /**
4427
- * Property Selection
4414
+ * @deprecated Use 'Header/wishlistIcon' instead
4428
4415
  */
4429
- readonly propertyName: (propertyName: string) => Locator;
4430
- readonly propertyValueCheckbox: (propertyValueName: string) => Locator;
4431
- /** @deprecated - Use 'propertyName' instead. */
4432
- readonly propertyGroupColor: Locator;
4433
- /** @deprecated - Use 'propertyName' instead. */
4434
- readonly propertyGroupSize: Locator;
4435
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
4436
- readonly propertyOptionGrid: Locator;
4437
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
4438
- readonly propertyOptionColorBlue: Locator;
4439
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
4440
- readonly propertyOptionColorRed: Locator;
4441
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
4442
- readonly propertyOptionColorGreen: Locator;
4443
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
4444
- readonly propertyOptionSizeSmall: Locator;
4445
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
4446
- readonly propertyOptionSizeMedium: Locator;
4447
- /** @deprecated - Use 'propertyValueCheckbox' instead. */
4448
- readonly propertyOptionSizeLarge: Locator;
4416
+ readonly wishlistIcon: Locator;
4449
4417
  /**
4450
- * Cards
4418
+ * @deprecated Use 'Header/wishlistBasket' instead
4451
4419
  */
4452
- readonly customFieldCard: Locator;
4420
+ readonly wishlistBasket: Locator;
4421
+ readonly filterMultiSelect: Locator;
4422
+ readonly manufacturerFilter: Locator;
4423
+ readonly propertyFilters: Locator;
4424
+ readonly priceFilterButton: Locator;
4425
+ readonly resetAllButton: Locator;
4426
+ readonly freeShippingFilter: Locator;
4427
+ readonly productList: Locator;
4428
+ readonly productItemNames: Locator;
4429
+ readonly productRatingButton: Locator;
4430
+ readonly productRatingList: Locator;
4453
4431
  readonly page: Page;
4454
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
4455
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4456
- getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
4457
- url(productId: string): string;
4458
- getCustomFieldCardLocators(customFieldSetName: string, customFieldTextName: string): Promise<{
4459
- customFieldCard: Locator;
4460
- customFieldSetTab: Locator;
4461
- customFieldLabel: Locator;
4462
- customFieldSelect: Locator;
4463
- }>;
4464
- }
4465
-
4466
- declare class OrderDetail implements PageObject {
4467
- readonly saveButton: Locator;
4468
- readonly dataGridContextButton: Locator;
4469
- readonly orderTag: Locator;
4470
- readonly lineItem: Locator;
4471
- readonly lineItemsTable: Locator;
4472
- readonly documentType: Locator;
4473
- readonly contextMenuButton: Locator;
4474
- readonly contextMenu: Locator;
4475
- readonly contextMenuSendDocument: Locator;
4476
- readonly sendDocumentModal: Locator;
4477
- readonly sendDocumentButton: Locator;
4478
- readonly itemsCardHeader: Locator;
4479
- readonly sentCheckmark: Locator;
4480
- readonly orderPaymentStatus: Locator;
4481
- readonly orderDeliveryStatus: Locator;
4482
- readonly orderStatus: Locator;
4432
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
4433
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
4434
+ getRatingItemLocatorByRating(rating: number): Promise<Locator>;
4435
+ getFilterItemByFilterName(filterName: string): Promise<Locator>;
4436
+ getFilterButtonByFilterName(filterName: string): Promise<Locator>;
4437
+ getMenuItemByCategoryName(categoryName: string): Promise<Record<string, Locator>>;
4483
4438
  /**
4484
- * Tabs
4439
+ * @deprecated - use getListingItemByProductName instead
4485
4440
  */
4486
- readonly generalTabLink: Locator;
4487
- readonly detailsTabLink: Locator;
4488
- readonly documentsTabLink: Locator;
4489
- readonly page: Page;
4490
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
4491
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4492
- url(orderId: string, tabName?: string): string;
4493
- getCustomFieldCardLocators(customFieldSetName: string, customFieldTextName: string): Promise<{
4494
- customFieldCard: Locator;
4495
- customFieldSetTab: Locator;
4496
- customFieldLabel: Locator;
4497
- customFieldSelect: Locator;
4498
- }>;
4499
- }
4500
-
4501
- declare class CustomerListing implements PageObject {
4502
- readonly headline: Locator;
4503
- readonly addCustomerButton: Locator;
4504
- readonly bulkEditButton: Locator;
4505
- readonly deleteButton: Locator;
4506
- readonly bulkEditModal: Locator;
4507
- readonly startBulkEditButton: Locator;
4508
- readonly cancelButton: Locator;
4509
- readonly modalHeaderCheckbox: Locator;
4510
- readonly page: Page;
4511
- constructor(page: Page);
4512
- getCustomerByEmail(customerEmail: string): Promise<Record<string, Locator>>;
4513
- getCustomerBulkEditModalTitle(customerCount: number): Promise<Locator>;
4514
- getBulkEditModalLineItemByCustomerEmail(customerEmail: string): Promise<Record<string, Locator>>;
4441
+ getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
4442
+ getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
4515
4443
  url(): string;
4516
4444
  }
4517
4445
 
4518
- declare class CustomerDetail implements PageObject {
4519
- readonly editButton: Locator;
4520
- readonly generalTab: Locator;
4521
- readonly addressesTab: Locator;
4522
- readonly ordersTab: Locator;
4523
- readonly accountCard: Locator;
4524
- readonly customFieldCard: Locator;
4525
- readonly customFieldSetTabs: Locator;
4526
- readonly customFieldSetTabCustomContent: Locator;
4527
- readonly customerGroupRequestMessage: Locator;
4528
- readonly customerGroupAcceptButton: Locator;
4529
- readonly customerGroupDeclineButton: Locator;
4530
- readonly tagList: Locator;
4531
- readonly tagItems: Locator;
4446
+ declare class ProductDetail$1 implements PageObject {
4447
+ readonly addToCartButton: Locator;
4448
+ readonly quantitySelect: Locator;
4449
+ readonly productSingleImage: Locator;
4450
+ readonly productSinglePrice: Locator;
4451
+ readonly productPriceRangesRow: Locator;
4452
+ readonly productListingPriceBadge: Locator;
4453
+ readonly productListingPrice: Locator;
4454
+ readonly productListingPricePercentage: Locator;
4455
+ readonly offCanvasCartTitle: Locator;
4456
+ readonly offCanvasCart: Locator;
4457
+ readonly offCanvasCartGoToCheckoutButton: Locator;
4458
+ readonly offCanvasLineItemImages: Locator;
4459
+ readonly offCanvasSummaryTotalPrice: Locator;
4460
+ readonly offCanvas: Locator;
4461
+ readonly offCanvasLineItemLabel: (productName: string) => Locator;
4462
+ readonly offCanvasLineItemProductNumber: (productNumber: string) => Locator;
4463
+ readonly offCanvasLineItemDeliveryDate: Locator;
4464
+ readonly wishlistAddedButton: Locator;
4465
+ readonly wishlistNotAddedButton: Locator;
4466
+ readonly propertyRadioGroup: (propertyName: string) => Locator;
4467
+ readonly productDetailConfigurator: Locator;
4468
+ readonly productDetailConfiguratorGroupTitle: Locator;
4469
+ readonly productDetailConfiguratorOptionInputs: Locator;
4470
+ readonly productName: Locator;
4471
+ readonly productDescriptionTitle: Locator;
4472
+ readonly reviewsTab: Locator;
4473
+ readonly reviewTeaserButton: Locator;
4474
+ readonly reviewTeaserText: Locator;
4475
+ readonly reviewListingItems: Locator;
4476
+ readonly reviewEmptyListingText: Locator;
4477
+ readonly reviewLoginForm: Locator;
4478
+ readonly forgottenPasswordLink: Locator;
4479
+ readonly reviewForm: Locator;
4480
+ readonly reviewRatingPoints: Locator;
4481
+ readonly reviewRatingText: Locator;
4482
+ readonly reviewSubmitMessage: Locator;
4483
+ readonly reviewCounter: Locator;
4484
+ readonly reviewItemRatingPoints: Locator;
4485
+ readonly reviewItemTitle: Locator;
4486
+ readonly reviewReviewTextInput: Locator;
4487
+ readonly reviewItemContent: Locator;
4488
+ readonly reviewLoginButton: Locator;
4489
+ readonly reviewEmailInput: Locator;
4490
+ readonly reviewPasswordInput: Locator;
4491
+ readonly reviewTitleInput: Locator;
4492
+ readonly reviewSubmitButton: Locator;
4493
+ readonly productReviewsLink: Locator;
4494
+ readonly productReviewRating: Locator;
4532
4495
  readonly page: Page;
4533
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
4534
- readonly customerEmail: Locator;
4535
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4536
- getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
4537
- getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
4538
- getCustomerGroup(): Promise<Locator>;
4539
- getAccountStatus(): Promise<Locator>;
4540
- getLanguage(): Promise<Locator>;
4541
- url(customerId: string): string;
4496
+ constructor(page: Page);
4497
+ getReviewFilterRowOptionsByName(filterOptionName: string): Promise<{
4498
+ reviewFilterOptionCheckbox: Locator;
4499
+ reviewFilterOptionText: Locator;
4500
+ reviewFilterOptionPercentage: Locator;
4501
+ }>;
4502
+ url(productData: Product): string;
4542
4503
  }
4543
4504
 
4544
- declare class CustomerGroupListing implements PageObject {
4545
- readonly headline: Locator;
4546
- readonly addCustomerGroupButton: Locator;
4505
+ declare class Category implements PageObject {
4506
+ readonly sortingSelect: Locator;
4507
+ readonly firstProductBuyButton: Locator;
4508
+ readonly noProductsFoundAlert: Locator;
4547
4509
  readonly page: Page;
4548
4510
  constructor(page: Page);
4549
- getCustomerGroupByName(customerGroup: string): Promise<Record<string, Locator>>;
4550
- url(): string;
4511
+ url(categoryName: string): string;
4551
4512
  }
4552
4513
 
4553
- declare class CustomerGroupCreate implements PageObject {
4514
+ declare class CheckoutCart implements PageObject {
4554
4515
  readonly headline: Locator;
4555
- readonly saveButton: Locator;
4556
- readonly cancelButton: Locator;
4557
- readonly cardTitle: Locator;
4558
- readonly customerGroupNameField: Locator;
4559
- readonly customerGroupGrossTaxDisplay: Locator;
4560
- readonly customerGroupNetTaxDisplay: Locator;
4561
- readonly customSignupFormToggle: Locator;
4562
- readonly signupFormTitle: Locator;
4563
- readonly signupFormIntroduction: Locator;
4564
- readonly signupFormSeoDescription: Locator;
4565
- readonly signupFormCompanySignupToggle: Locator;
4566
- readonly customerGroupSaleschannelSelection: Locator;
4567
- readonly customerGroupSaleschannelResultList: Locator;
4516
+ readonly goToCheckoutButton: Locator;
4517
+ readonly enterPromoInput: Locator;
4518
+ readonly grandTotalPrice: Locator;
4519
+ readonly emptyCartAlert: Locator;
4520
+ readonly stockReachedAlert: Locator;
4521
+ readonly cartLineItemImages: Locator;
4522
+ readonly unitPriceInfo: Locator;
4523
+ readonly cartQuantityNumber: Locator;
4524
+ readonly productNameLabel: (productName: string) => Locator;
4525
+ readonly productNumberLabel: (productNumber: string) => Locator;
4526
+ readonly productDeliveryDateLabel: Locator;
4568
4527
  readonly page: Page;
4569
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
4570
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4528
+ constructor(page: Page);
4571
4529
  url(): string;
4530
+ getLineItemByProductNumber(productNumber: string): Promise<Record<string, Locator>>;
4572
4531
  }
4573
4532
 
4574
- declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
4533
+ declare class OffCanvasCart implements PageObject {
4575
4534
  readonly headline: Locator;
4576
- readonly selectedSalesChannel: Locator;
4577
- readonly technicalUrl: Locator;
4578
- readonly saleschannelUrl: Locator;
4579
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4580
- url(customerGroupId?: string): string;
4535
+ readonly itemCount: Locator;
4536
+ readonly goToCheckoutButton: Locator;
4537
+ readonly goToCartButton: Locator;
4538
+ readonly continueShoppingButton: Locator;
4539
+ readonly enterPromoInput: Locator;
4540
+ readonly submitDiscountButton: Locator;
4541
+ readonly subTotalPrice: Locator;
4542
+ readonly shippingCosts: Locator;
4543
+ readonly cartQuantityNumber: Locator;
4544
+ readonly page: Page;
4545
+ constructor(page: Page);
4546
+ url(): string;
4547
+ getLineItemByProductNumber(productNumber: string): Promise<Record<string, Locator>>;
4581
4548
  }
4582
4549
 
4583
- declare class FirstRunWizard implements PageObject {
4584
- readonly nextButton: Locator;
4585
- readonly configureLaterButton: Locator;
4586
- readonly skipButton: Locator;
4587
- readonly finishButton: Locator;
4588
- readonly backButton: Locator;
4589
- readonly smtpServerButton: Locator;
4590
- readonly dataImportHeader: Locator;
4591
- readonly installLanguagePackButton: Locator;
4592
- readonly installDemoDataButton: Locator;
4593
- readonly installMigrationAssistantButton: Locator;
4594
- readonly defaultValuesHeader: Locator;
4595
- readonly mailerConfigurationHeader: Locator;
4596
- readonly payPalSetupHeader: Locator;
4597
- readonly extensionsHeader: Locator;
4598
- readonly shopwareAccountHeader: Locator;
4599
- readonly shopwareStoreHeader: Locator;
4600
- readonly doneHeader: Locator;
4601
- readonly frwSuccessText: Locator;
4602
- readonly welcomeText: Locator;
4603
- readonly pluginCardInfo: Locator;
4604
- readonly dataImportCard: Locator;
4605
- readonly salesChannelSelectionList: Locator;
4606
- readonly salesChannelSelectionMultiSelect: Locator;
4607
- readonly smtpServerTitle: Locator;
4550
+ declare class CheckoutConfirm implements PageObject {
4551
+ readonly headline: Locator;
4552
+ readonly termsAndConditionsCheckbox: Locator;
4553
+ readonly immediateAccessToDigitalProductCheckbox: Locator;
4554
+ readonly grandTotalPrice: Locator;
4555
+ readonly taxPrice: Locator;
4556
+ readonly submitOrderButton: Locator;
4608
4557
  /**
4609
- * @deprecated - Use `smtpServerFieldInputs` instead.
4558
+ * Payment and Shipping options
4610
4559
  */
4611
- readonly smtpServerFields: Locator;
4612
- readonly smtpServerFieldInputs: Locator;
4613
- readonly smtpServerHostInput: Locator;
4614
- readonly smtpServerPortInput: Locator;
4615
- readonly smtpServerUsernameInput: Locator;
4616
- readonly smtpServerPasswordInput: Locator;
4617
- readonly smtpServerEncryptionInput: Locator;
4618
- readonly smtpServerSenderAddressInput: Locator;
4619
- readonly smtpServerDeliveryAddressInput: Locator;
4620
- readonly smtpServerDisableEmailDeliveryCheckbox: Locator;
4621
- readonly payPalPaymethods: Locator;
4622
- readonly payPalInfoCard: Locator;
4623
- readonly emailAddressInputField: Locator;
4624
- readonly passwordInputField: Locator;
4625
- readonly forgotPasswordLink: Locator;
4626
- readonly extensionStoreHeading: Locator;
4627
- readonly documentationLink: Locator;
4628
- readonly forumLink: Locator;
4629
- readonly roadmapLink: Locator;
4630
- readonly germanRegionSelector: Locator;
4631
- readonly toolsSelector: Locator;
4632
- readonly recommendationHeader: Locator;
4633
- readonly toolsRecommendedPlugin: Locator;
4560
+ readonly paymentMethodRadioGroup: Locator;
4561
+ readonly shippingMethodRadioGroup: Locator;
4562
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
4563
+ readonly paymentCashOnDelivery: Locator;
4564
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
4565
+ readonly paymentPaidInAdvance: Locator;
4566
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
4567
+ readonly paymentInvoice: Locator;
4568
+ /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
4569
+ readonly shippingStandard: Locator;
4570
+ /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
4571
+ readonly shippingExpress: Locator;
4572
+ /**
4573
+ * Product details
4574
+ */
4575
+ readonly cartLineItemImages: Locator;
4634
4576
  readonly page: Page;
4635
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
4636
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4577
+ constructor(page: Page);
4637
4578
  url(): string;
4638
4579
  }
4639
4580
 
4640
- declare class FlowBuilderCreate implements PageObject {
4641
- readonly contentView: Locator;
4642
- readonly saveButton: Locator;
4643
- readonly header: Locator;
4644
- readonly smartBarHeader: Locator;
4645
- readonly generalTab: Locator;
4646
- readonly flowTab: Locator;
4647
- readonly nameField: Locator;
4648
- readonly descriptionField: Locator;
4649
- readonly priorityField: Locator;
4650
- readonly activeSwitch: Locator;
4651
- readonly triggerSelectField: Locator;
4652
- readonly modalAddButton: Locator;
4653
- readonly sequenceSelectorConditionButton: Locator;
4654
- readonly conditionSelectField: Locator;
4655
- readonly sequenceSelectorActionButton: Locator;
4656
- readonly actionSelectField: Locator;
4657
- readonly selectFieldResultList: Locator;
4658
- readonly trueBlock: Locator;
4659
- readonly trueBlockAddConditionButton: Locator;
4660
- readonly trueBlockAddActionButton: Locator;
4661
- readonly trueBlockActionSelectField: Locator;
4662
- readonly trueBlockActionDescription: Locator;
4663
- readonly mailSendModal: Locator;
4664
- readonly mailSendModalTemplateSelectField: Locator;
4665
- readonly falseBlock: Locator;
4666
- readonly falseBlockAddConditionButton: Locator;
4667
- readonly falseBlockAddActionButton: Locator;
4668
- readonly falseBlockActionSelectField: Locator;
4669
- readonly falseBlockActionDescription: Locator;
4670
- readonly tagModal: Locator;
4671
- readonly tagModalTagsSelectField: Locator;
4672
- readonly delayCard: Locator;
4673
- readonly conditionRule: Locator;
4674
- readonly sequenceSeparator: Locator;
4675
- readonly addActionField: Locator;
4676
- readonly newFlowHeader: Locator;
4677
- readonly resultListItem: Locator;
4678
- readonly resultList: Locator;
4581
+ declare class CheckoutFinish implements PageObject {
4582
+ readonly headline: Locator;
4583
+ readonly orderNumberText: Locator;
4584
+ readonly grandTotalPrice: Locator;
4585
+ readonly taxPrice: Locator;
4586
+ readonly cartLineItemImages: Locator;
4679
4587
  readonly page: Page;
4680
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
4681
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4682
- url(flowId?: string, tabName?: string): string;
4683
- getSelectFieldListitem(selectField: Locator, listItem: string): Promise<Locator>;
4684
- }
4685
-
4686
- declare class FlowBuilderListing implements PageObject {
4687
- readonly page: Page;
4688
- readonly contentView: Locator;
4689
- readonly createFlowButton: Locator;
4690
- readonly firstFlowName: Locator;
4691
- readonly firstFlowContextButton: Locator;
4692
- readonly flowContextMenu: Locator;
4693
- readonly contextMenuDownload: Locator;
4694
- readonly contextMenuDuplicate: Locator;
4695
- readonly contextMenuEdit: Locator;
4696
- readonly contextMenuDelete: Locator;
4697
- readonly flowDownloadModal: Locator;
4698
- readonly downloadFlowButton: Locator;
4699
- readonly flowDeleteButton: Locator;
4700
- readonly successAlert: Locator;
4701
- readonly successAlertMessage: Locator;
4702
- readonly searchBar: Locator;
4703
- readonly pagination: Locator;
4704
- readonly testFlowNameCells: Locator;
4705
- readonly flowTemplatesTab: Locator;
4588
+ private readonly orderNumberRegex;
4706
4589
  constructor(page: Page);
4707
- url(tabName?: string): string;
4708
- getLineItemByFlowName(flowName: string): Promise<Record<string, Locator>>;
4590
+ url(): string;
4591
+ getOrderNumber(): Promise<string | null>;
4592
+ getOrderId(): string;
4709
4593
  }
4710
4594
 
4711
- declare class FlowBuilderTemplates extends FlowBuilderListing implements PageObject {
4595
+ declare class CheckoutRegister implements PageObject {
4596
+ readonly cartLineItemImages: Locator;
4597
+ readonly page: Page;
4712
4598
  constructor(page: Page);
4713
4599
  url(): string;
4714
- getLineItemByFlowName(flowName: string): Promise<{
4715
- createFlowLink: playwright_core.Locator;
4716
- lineItem: playwright_core.Locator;
4717
- templateDetailLink: playwright_core.Locator;
4718
- }>;
4719
4600
  }
4720
4601
 
4721
- declare class FlowBuilderDetail extends FlowBuilderCreate implements PageObject {
4722
- readonly saveButtonLoader: Locator;
4723
- readonly saveButton: Locator;
4724
- readonly generalTab: Locator;
4725
- readonly flowTab: Locator;
4726
- readonly alertWarning: Locator;
4727
- readonly templateName: Locator;
4728
- readonly alertMessage: Locator;
4729
- readonly successMessage: Locator;
4730
- readonly actionContentTag: Locator;
4731
- readonly skeletonLoader: Locator;
4732
- readonly messageClose: Locator;
4733
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4734
- url(flowId: string, tabName?: string): string;
4735
- getTooltipText(toolTipArea: Locator): Promise<string>;
4602
+ declare class AccountNavigation {
4603
+ private readonly page;
4604
+ readonly overviewLink: Locator;
4605
+ readonly yourProfileLink: Locator;
4606
+ readonly addressesLink: Locator;
4607
+ readonly ordersLink: Locator;
4608
+ readonly logoutLink: Locator;
4609
+ constructor(page: Page);
4736
4610
  }
4737
4611
 
4738
- declare class DataSharing implements PageObject {
4739
- readonly dataConsentHeadline: Locator;
4740
- readonly dataSharingSuccessMessageLabel: Locator;
4741
- readonly dataSharingAgreeButton: Locator;
4742
- readonly dataSharingDisableButton: Locator;
4743
- readonly dataSharingTermsAgreementLabel: Locator;
4612
+ declare abstract class BaseAccount implements PageObject {
4744
4613
  readonly page: Page;
4745
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
4746
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4747
- url(): "#/sw/settings/usage/data/index" | "#/sw/settings/usage/data/index/general";
4614
+ readonly navigation: AccountNavigation;
4615
+ protected constructor(page: Page);
4616
+ abstract url(): string;
4748
4617
  }
4749
4618
 
4750
- declare class Dashboard implements PageObject {
4751
- readonly contentView: Locator;
4752
- readonly adminMenuView: Locator;
4753
- readonly adminMenuCatalog: Locator;
4754
- readonly adminMenuOrder: Locator;
4755
- readonly adminMenuOrderOverview: Locator;
4756
- readonly adminMenuCustomer: Locator;
4757
- readonly adminMenuContent: Locator;
4758
- readonly adminMenuMarketing: Locator;
4759
- readonly adminMenuExtension: Locator;
4760
- readonly adminMenuUserChevron: Locator;
4761
- readonly adminMenuUserIcon: Locator;
4762
- readonly adminMenuUserName: Locator;
4763
- readonly welcomeHeadline: Locator;
4764
- readonly welcomeMessage: Locator;
4765
- readonly dataSharingConsentBanner: Locator;
4766
- readonly dataSharingAgreeButton: Locator;
4767
- readonly dataSharingNotAtTheMomentButton: Locator;
4768
- readonly dataSharingTermsAgreementLabel: Locator;
4769
- readonly dataSharingSettingsLink: Locator;
4770
- readonly dataSharingAcceptMessageText: Locator;
4771
- readonly dataSharingNotAtTheMomentMessageText: Locator;
4772
- readonly statisticsDateRange: Locator;
4773
- readonly statisticsChart: Locator;
4774
- readonly page: Page;
4775
- readonly shopwareServicesAdvertisementBanner: Locator;
4776
- readonly shopwareServicesAdvertisementBannerCloseButton: Locator;
4777
- readonly shopwareServicesExploreNowButton: Locator;
4778
- readonly adminMenuUserActions: Locator;
4779
- readonly adminMenuLogoutButton: Locator;
4780
- constructor(page: Page);
4619
+ declare class Account extends BaseAccount {
4620
+ readonly headline: Locator;
4621
+ readonly personalDataCardTitle: Locator;
4622
+ readonly paymentMethodCardTitle: Locator;
4623
+ readonly billingAddressCardTitle: Locator;
4624
+ readonly shippingAddressCardTitle: Locator;
4625
+ readonly newsletterCheckbox: Locator;
4626
+ readonly newsletterRegistrationSuccessMessage: Locator;
4627
+ readonly customerGroupRequestMessage: Locator;
4628
+ readonly cannotDeliverToCountryAlert: Locator;
4629
+ readonly shippingToAddressNotPossibleAlert: Locator;
4630
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
4631
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
4632
+ getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
4781
4633
  url(): string;
4782
4634
  }
4783
4635
 
4784
- declare class ShippingListing implements PageObject {
4785
- readonly header: Locator;
4786
- readonly addShippingMethod: Locator;
4787
- readonly contextMenu: Locator;
4788
- readonly editButton: Locator;
4789
- readonly deleteButton: Locator;
4790
- readonly modal: Locator;
4791
- readonly modalHeader: Locator;
4792
- readonly modalCancelButton: Locator;
4793
- readonly modalDeleteButton: Locator;
4636
+ declare class AccountLogin implements PageObject {
4637
+ readonly emailInput: Locator;
4638
+ readonly passwordInput: Locator;
4639
+ readonly forgotPasswordLink: Locator;
4640
+ readonly loginButton: Locator;
4641
+ readonly logoutLink: Locator;
4642
+ readonly successAlert: Locator;
4643
+ readonly invalidCredentialsAlert: Locator;
4644
+ readonly passwordUpdatedAlert: Locator;
4645
+ readonly personalFormArea: Locator;
4646
+ readonly billingAddressFormArea: Locator;
4647
+ readonly accountTypeSelect: Locator;
4648
+ readonly salutationSelect: Locator;
4649
+ readonly firstNameInput: Locator;
4650
+ readonly lastNameInput: Locator;
4651
+ readonly companyInput: Locator;
4652
+ readonly departmentInput: Locator;
4653
+ readonly vatRegNoInput: Locator;
4654
+ readonly registerEmailInput: Locator;
4655
+ readonly registerPasswordInput: Locator;
4656
+ readonly streetAddressInput: Locator;
4657
+ readonly cityInput: Locator;
4658
+ readonly countryInput: Locator;
4659
+ readonly postalCodeInput: Locator;
4660
+ readonly registerButton: Locator;
4661
+ readonly greCaptchaV2Container: Locator;
4662
+ readonly greCaptchaV2Input: Locator;
4663
+ readonly greCaptchaV3Input: Locator;
4664
+ readonly greCaptchaProtectionInformation: Locator;
4665
+ readonly greCaptchaBadge: Locator;
4666
+ readonly differentShippingAddressCheckbox: Locator;
4667
+ readonly registerShippingAddressFormArea: Locator;
4668
+ readonly shippingAddressSalutationSelect: Locator;
4669
+ readonly shippingAddressFirstNameInput: Locator;
4670
+ readonly shippingAddressLastNameInput: Locator;
4671
+ readonly shippingAddressStreetAddressInput: Locator;
4672
+ readonly shippingAddressCityInput: Locator;
4673
+ readonly shippingAddressCountryInput: Locator;
4674
+ readonly shippingAddressPostalCodeInput: Locator;
4675
+ readonly shippingAddressStateInput: Locator;
4794
4676
  readonly page: Page;
4795
4677
  constructor(page: Page);
4678
+ getShippingCountryLocatorByName(countryName: string): Promise<Locator>;
4796
4679
  url(): string;
4797
4680
  }
4798
4681
 
4799
- declare class ShippingDetail implements PageObject {
4800
- readonly header: Locator;
4801
- readonly nameField: Locator;
4802
- readonly availabilityRuleField: Locator;
4803
- readonly availabilityRuleListItem: Locator;
4682
+ declare class AccountRecover implements PageObject {
4683
+ readonly passwordRecoveryForm: Locator;
4684
+ readonly title: Locator;
4685
+ readonly subtitle: Locator;
4686
+ readonly emailInput: Locator;
4687
+ readonly requestEmailButton: Locator;
4688
+ readonly backButton: Locator;
4689
+ readonly passwordResetEmailSentMessage: Locator;
4690
+ readonly newPasswordInput: Locator;
4691
+ readonly newPasswordConfirmInput: Locator;
4692
+ readonly changePasswordButton: Locator;
4693
+ readonly invalidLinkMessage: Locator;
4804
4694
  readonly page: Page;
4805
4695
  constructor(page: Page);
4806
- url(shippingId: string): string;
4807
- getRuleSelectionCheckmark(ruleName: string): Locator;
4696
+ url(recoverLink?: string): string;
4808
4697
  }
4809
4698
 
4810
- declare class PaymentDetail implements PageObject {
4811
- readonly header: Locator;
4812
- readonly nameField: Locator;
4813
- readonly availabilityRuleField: Locator;
4814
- readonly availabilityRuleListItem: Locator;
4699
+ declare class AccountProfile extends BaseAccount {
4815
4700
  readonly page: Page;
4816
- constructor(page: Page);
4817
- url(paymentId: string): string;
4818
- getRuleSelectionCheckmark(ruleName: string): Locator;
4701
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
4702
+ readonly salutationSelect: Locator;
4703
+ readonly firstNameInput: Locator;
4704
+ readonly lastNameInput: Locator;
4705
+ readonly saveProfileButton: Locator;
4706
+ readonly changeEmailButton: Locator;
4707
+ readonly emailAddressInput: Locator;
4708
+ readonly emailAddressConfirmInput: Locator;
4709
+ readonly emailConfirmPasswordInput: Locator;
4710
+ readonly saveEmailAddressButton: Locator;
4711
+ readonly changePasswordButton: Locator;
4712
+ readonly newPasswordInput: Locator;
4713
+ readonly newPasswordConfirmInput: Locator;
4714
+ readonly currentPasswordInput: Locator;
4715
+ readonly saveNewPasswordButton: Locator;
4716
+ readonly loginDataEmailAddress: Locator;
4717
+ readonly emailUpdateMessage: Locator;
4718
+ readonly passwordUpdateMessage: Locator;
4719
+ readonly emailValidationAlert: Locator;
4720
+ readonly emailUpdateFailureAlert: Locator;
4721
+ readonly passwordUpdateFailureAlert: Locator;
4722
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
4723
+ url(): string;
4819
4724
  }
4820
4725
 
4821
- declare class LandingPageCreate implements PageObject {
4822
- /**
4823
- * General
4824
- */
4825
- readonly nameInput: Locator;
4826
- readonly landingPageStatus: Locator;
4827
- readonly salesChannelSelectionList: Locator;
4828
- readonly filtersResultPopoverItemList: Locator;
4829
- readonly saveLandingPageButton: Locator;
4830
- readonly loadingSpinner: Locator;
4831
- readonly seoUrlInput: Locator;
4832
- /**
4833
- * Layout
4834
- */
4835
- readonly layoutTab: Locator;
4836
- readonly assignLayoutButton: Locator;
4837
- readonly searchLayoutInput: Locator;
4838
- readonly layoutItems: Locator;
4839
- readonly layoutSaveButton: Locator;
4840
- readonly layoutEmptyState: Locator;
4841
- readonly createNewLayoutButton: Locator;
4842
- readonly layoutCheckboxes: Locator;
4843
- readonly page: Page;
4726
+ declare class AccountOrder extends BaseAccount {
4727
+ readonly cartLineItemImages: Locator;
4728
+ readonly orderExpandButton: Locator;
4729
+ readonly digitalProductDownloadButton: Locator;
4730
+ readonly dialogOrderCancel: Locator;
4731
+ readonly dialogOrderCancelButton: Locator;
4732
+ readonly dialogBackButton: Locator;
4733
+ readonly orderDetails: Locator;
4734
+ readonly invoiceHTML: Locator;
4735
+ readonly creditItem: Locator;
4736
+ readonly noOrdersAlert: Locator;
4844
4737
  constructor(page: Page);
4738
+ getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
4845
4739
  url(): string;
4846
4740
  }
4847
4741
 
4848
- declare class LandingPageDetail implements PageObject {
4849
- /**
4850
- * General
4851
- */
4852
- readonly nameInput: Locator;
4853
- readonly landingPageStatus: Locator;
4854
- readonly salesChannelSelectionList: Locator;
4855
- readonly filtersResultPopoverItemList: Locator;
4856
- readonly saveLandingPageButton: Locator;
4857
- readonly loadingSpinner: Locator;
4858
- readonly seoUrlInput: Locator;
4859
- /**
4860
- * Layout
4861
- */
4862
- readonly layoutTab: Locator;
4863
- readonly layoutAssignmentCardTitle: Locator;
4864
- readonly layoutAssignmentCardHeadline: Locator;
4865
- readonly changeLayoutButton: Locator;
4866
- readonly editInDesignerButton: Locator;
4867
- readonly layoutResetButton: Locator;
4868
- readonly layoutAssignmentStatus: Locator;
4869
- readonly layoutAssignmentContentSection: Locator;
4742
+ declare class AccountAddresses extends BaseAccount {
4743
+ readonly addNewAddressButton: Locator;
4744
+ readonly editBillingAddressButton: Locator;
4745
+ readonly editShippingAddressButton: Locator;
4746
+ readonly useDefaultBillingAddressButton: Locator;
4747
+ readonly useDefaultShippingAddressButton: Locator;
4748
+ readonly deliveryNotPossibleAlert: Locator | undefined;
4749
+ readonly availableAddresses: Locator | undefined;
4750
+ readonly addressDropdownButton: Locator | undefined;
4751
+ readonly addressDropdownButtons: Locator | undefined;
4752
+ readonly availableAddressesUseAsBillingAddress: Locator | undefined;
4753
+ readonly availableAddressesUseAsShippingAddress: Locator | undefined;
4754
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
4755
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
4756
+ url(): string;
4757
+ }
4758
+
4759
+ declare class AccountPayment implements PageObject {
4760
+ readonly cashOnDeliveryOption: Locator;
4761
+ readonly paidInAdvanceOption: Locator;
4762
+ readonly invoiceOption: Locator;
4763
+ readonly changeDefaultPaymentButton: Locator;
4870
4764
  readonly page: Page;
4871
4765
  constructor(page: Page);
4872
- url(landingPageUuid: string): string;
4766
+ url(): string;
4873
4767
  }
4874
4768
 
4875
- declare class Categories implements PageObject {
4876
- /**
4877
- * Visual tests
4878
- */
4879
- readonly contentView: Locator;
4769
+ declare class Search implements PageObject {
4770
+ readonly headline: Locator;
4771
+ readonly productImages: Locator;
4772
+ readonly page: Page;
4773
+ constructor(page: Page);
4774
+ url(searchTerm: string): string;
4775
+ }
4776
+
4777
+ declare class SearchSuggest extends Home implements PageObject {
4778
+ readonly searchSuggestLineItemImages: Locator;
4779
+ readonly searchInput: Locator;
4780
+ readonly searchIcon: Locator;
4781
+ readonly searchSuggestNoResult: Locator;
4782
+ readonly searchSuggestLineItemName: Locator;
4783
+ readonly searchSuggestLineItemPrice: Locator;
4784
+ readonly searchSuggestTotalLink: Locator;
4785
+ readonly searchResultTotal: Locator;
4786
+ readonly searchHeadline: Locator;
4787
+ readonly page: Page;
4788
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
4789
+ getTotalSearchResultCount(): Promise<number>;
4790
+ url(searchTerm?: string): string;
4791
+ }
4792
+
4793
+ declare class CustomRegister extends AccountLogin implements PageObject {
4794
+ readonly page: Page;
4795
+ constructor(page: Page);
4796
+ url(customCustomerGroupName?: string): string;
4797
+ }
4798
+
4799
+ declare class CheckoutOrderEdit implements PageObject {
4800
+ readonly completePaymentButton: Locator;
4801
+ readonly orderCancelButton: Locator;
4802
+ readonly dialogOrderCancel: Locator;
4803
+ readonly dialogOrderCancelButton: Locator;
4804
+ readonly dialogBackButton: Locator;
4880
4805
  /**
4881
- * Landing pages
4806
+ * Payment and Shipping options
4882
4807
  */
4883
- readonly landingPageArea: Locator;
4884
- readonly landingPageHeadline: Locator;
4885
- readonly addLandingPageButton: Locator;
4886
- readonly landingPageItems: Locator;
4808
+ readonly paymentMethodRadioGroup: Locator;
4809
+ readonly shippingMethodRadioGroup: Locator;
4810
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
4811
+ readonly paymentCashOnDelivery: Locator;
4812
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
4813
+ readonly paymentPaidInAdvance: Locator;
4814
+ /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
4815
+ readonly paymentInvoice: Locator;
4816
+ /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
4817
+ readonly shippingStandard: Locator;
4818
+ /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
4819
+ readonly shippingExpress: Locator;
4820
+ readonly page: Page;
4821
+ constructor(page: Page);
4822
+ url(orderUuid: string): string;
4887
4823
  /**
4888
- * Category tree
4824
+ * Returns the radio button element for a specified payment method.
4825
+ *
4826
+ * @param paymentMethodName - Name of the payment method on the page.
4889
4827
  */
4890
- readonly categoryTree: Locator;
4891
- readonly categoryMenuItemList: Locator;
4892
- readonly createCategoryInput: Locator;
4893
- readonly confirmCategoryCreationButton: Locator;
4894
- readonly confirmCategoryCancelButton: Locator;
4895
- readonly categoryItems: Locator;
4828
+ getPaymentMethodButton(paymentMethodName: string): Locator;
4829
+ }
4830
+
4831
+ declare class AccountAddressCreate extends BaseAccount {
4832
+ readonly salutationDropdown: Locator;
4833
+ readonly firstNameInput: Locator;
4834
+ readonly lastNameInput: Locator;
4835
+ readonly companyInput: Locator;
4836
+ readonly departmentInput: Locator;
4837
+ readonly streetInput: Locator;
4838
+ readonly zipcodeInput: Locator;
4839
+ readonly cityInput: Locator;
4840
+ readonly countryDropdown: Locator;
4841
+ readonly saveAddressButton: Locator;
4842
+ readonly stateDropdown: Locator;
4843
+ constructor(page: Page);
4844
+ url(): string;
4845
+ }
4846
+
4847
+ declare class PageNotFound implements PageObject {
4848
+ readonly pageNotFoundImage: Locator;
4849
+ readonly headline: Locator;
4850
+ readonly pageNotFoundMessage: Locator;
4851
+ readonly backToShopButton: Locator;
4852
+ readonly page: Page;
4853
+ constructor(page: Page);
4854
+ url(): string;
4855
+ }
4856
+
4857
+ declare class ContactForm extends Home implements PageObject {
4896
4858
  /**
4897
- * Tabs
4859
+ * @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
4898
4860
  */
4899
- readonly generalTab: Locator;
4900
- readonly productsTab: Locator;
4901
- readonly layoutTab: Locator;
4902
- readonly seoTab: Locator;
4861
+ readonly contactModal: Locator | undefined;
4903
4862
  /**
4904
- * General
4863
+ * @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
4905
4864
  */
4906
- readonly nameInput: Locator;
4907
- readonly activeCheckbox: Locator;
4908
- readonly categoryTypeSelectionList: Locator;
4909
- readonly filtersResultPopoverItemList: Locator;
4910
- readonly saveButton: Locator;
4911
- readonly loadingSpinner: Locator;
4912
- readonly fadingBar: Locator;
4913
- readonly configureHomePageButton: Locator;
4914
- readonly configureModalCancelButton: Locator;
4865
+ readonly contactSuccessModal: Locator | undefined;
4866
+ readonly contactWrapper: Locator;
4867
+ readonly salutationSelect: Locator;
4868
+ readonly firstNameInput: Locator;
4869
+ readonly lastNameInput: Locator;
4870
+ readonly emailInput: Locator;
4871
+ readonly phoneInput: Locator;
4872
+ readonly subjectInput: Locator;
4873
+ readonly commentInput: Locator;
4874
+ readonly privacyPolicyCheckbox: Locator;
4875
+ readonly submitButton: Locator;
4876
+ readonly contactSuccessMessage: Locator;
4877
+ readonly cardTitle: Locator;
4878
+ readonly formFieldFeedback: Locator | undefined;
4879
+ readonly formAlert: Locator | undefined;
4915
4880
  /**
4916
- * Customisable link
4881
+ * Captcha locators
4917
4882
  */
4918
- readonly entitySelectionList: Locator;
4919
- readonly linkTypeSelectionList: Locator;
4920
- readonly categorySelectionList: Locator;
4921
- readonly productSelectionList: Locator;
4922
- readonly landingPageSelectionList: Locator;
4923
- readonly filterResultPopoverTreeCheckboxItemList: Locator;
4924
- readonly openInNewTabCheckbox: Locator;
4925
- readonly popoverCategoryTree: Locator;
4926
- readonly categorySelectionListWrapper: Locator;
4927
- readonly productSelectionInput: Locator;
4928
- readonly page: Page;
4929
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
4930
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4931
- getLandingPageByName(landingPageName: string): Promise<Locator>;
4932
- getPopOverCategoryByName(categoryName: string): Promise<Locator>;
4933
- getTreeItemContextButton(name: string): Locator;
4883
+ readonly basicCaptcha: Locator;
4884
+ readonly basicCaptchaImage: Locator;
4885
+ readonly basicCaptchaRefreshButton: Locator;
4886
+ readonly basicCaptchaInput: Locator;
4887
+ readonly greCaptchaV2Container: Locator;
4888
+ readonly greCaptchaV2Input: Locator;
4889
+ readonly greCaptchaProtectionInformation: Locator;
4890
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
4891
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
4934
4892
  url(): string;
4935
4893
  }
4936
4894
 
4937
- declare class CustomFieldListing implements PageObject {
4938
- readonly addNewSetButton: Locator;
4939
- readonly customFieldRows: Locator;
4895
+ declare class Wishlist extends Home implements PageObject {
4896
+ readonly wishListHeader: Locator;
4897
+ readonly removeAlert: Locator;
4898
+ readonly emptyListing: Locator;
4940
4899
  readonly page: Page;
4941
- constructor(page: Page);
4942
- getLineItemByCustomFieldSetName(customFieldSetName: string): Promise<Record<string, Locator>>;
4900
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
4901
+ getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
4943
4902
  url(): string;
4944
4903
  }
4945
4904
 
4946
- declare class CustomFieldCreate implements PageObject {
4947
- readonly saveButton: Locator;
4948
- readonly cancelButton: Locator;
4949
- readonly technicalNameInput: Locator;
4950
- readonly positionInput: Locator;
4951
- readonly labelEnglishGBInput: Locator;
4952
- readonly assignToSelectionList: Locator;
4953
- readonly resultAssignToPopoverItemList: Locator;
4905
+ declare class Footer implements PageObject {
4906
+ readonly footerHeadline: Locator;
4907
+ readonly footerContent: Locator;
4908
+ readonly footerHotline: Locator;
4909
+ readonly footerContactForm: Locator;
4910
+ readonly footerContactFormLink: Locator;
4954
4911
  readonly page: Page;
4955
4912
  constructor(page: Page);
4956
4913
  url(): string;
4957
4914
  }
4958
4915
 
4959
- declare class CustomFieldDetail extends CustomFieldCreate {
4960
- readonly newCustomFieldButton: Locator;
4961
- readonly customFieldEditDialog: Locator;
4962
- readonly newCustomFieldDialog: Locator;
4963
- readonly customFieldTechnicalNameInput: Locator;
4964
- readonly customFieldPositionInput: Locator;
4965
- readonly customFieldTypeSelectionList: Locator;
4966
- readonly customFieldModifyByStoreApiCheckbox: Locator;
4967
- readonly customFieldCancelButton: Locator;
4968
- readonly customFieldAddButton: Locator;
4969
- readonly customFieldEditApplyButton: Locator;
4970
- readonly customFieldLabelEnglishGBInput: Locator;
4971
- readonly customFieldPlaceholderEnglishGBInput: Locator;
4972
- readonly customFieldHelpTextEnglishGBInput: Locator;
4973
- readonly customFieldDeleteListButton: Locator;
4974
- readonly customFieldDeleteDialog: Locator;
4975
- readonly customFieldDeleteCancelButton: Locator;
4976
- readonly customFieldDeleteButton: Locator;
4977
- readonly customFieldEditAvailableInShoppingCartCheckbox: Locator;
4978
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
4979
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
4980
- getLineItemByCustomFieldName(customFieldName: string): Promise<Record<string, Locator>>;
4981
- url(customFieldUuid?: string): string;
4982
- getSelectFieldListitem(selectField: Locator, listItem: string): Promise<Locator>;
4916
+ declare class Header implements PageObject {
4917
+ readonly mainNavigationLink: Locator;
4918
+ readonly topBarNav: Locator;
4919
+ readonly languagesDropdown: Locator;
4920
+ readonly languagesMenuOptions: Locator;
4921
+ readonly currenciesDropdown: Locator;
4922
+ readonly currenciesMenuOptions: Locator;
4923
+ readonly searchInput: Locator;
4924
+ readonly skipToMainContentLink: Locator;
4925
+ readonly wishlistIcon: Locator;
4926
+ readonly wishlistBasket: Locator;
4927
+ readonly page: Page;
4928
+ constructor(page: Page);
4929
+ url(): string;
4983
4930
  }
4984
4931
 
4985
- declare class CategoryDetail implements PageObject {
4986
- readonly saveButton: Locator;
4987
- readonly cancelButton: Locator;
4988
- readonly customFieldCard: Locator;
4989
- readonly customFieldSetTabs: Locator;
4990
- readonly customFieldSetTabCustomContent: Locator;
4932
+ interface StorefrontPageTypes {
4933
+ StorefrontHome: Home;
4934
+ StorefrontProductDetail: ProductDetail$1;
4935
+ StorefrontCategory: Category;
4936
+ StorefrontCheckoutCart: CheckoutCart;
4937
+ StorefrontOffCanvasCart: OffCanvasCart;
4938
+ StorefrontCheckoutConfirm: CheckoutConfirm;
4939
+ StorefrontCheckoutFinish: CheckoutFinish;
4940
+ StorefrontCheckoutRegister: CheckoutRegister;
4941
+ StorefrontAccount: Account;
4942
+ StorefrontAccountLogin: AccountLogin;
4943
+ StorefrontAccountRecover: AccountRecover;
4944
+ StorefrontAccountProfile: AccountProfile;
4945
+ StorefrontAccountOrder: AccountOrder;
4946
+ StorefrontAccountAddresses: AccountAddresses;
4947
+ StorefrontAccountAddressCreate: AccountAddressCreate;
4948
+ StorefrontAccountPayment: AccountPayment;
4949
+ StorefrontSearch: Search;
4950
+ StorefrontSearchSuggest: SearchSuggest;
4951
+ StorefrontCustomRegister: CustomRegister;
4952
+ StorefrontCheckoutOrderEdit: CheckoutOrderEdit;
4953
+ StorefrontPageNotFound: PageNotFound;
4954
+ StorefrontContactForm: ContactForm;
4955
+ StorefrontWishlist: Wishlist;
4956
+ StorefrontFooter: Footer;
4957
+ StorefrontHeader: Header;
4958
+ }
4959
+ declare const StorefrontPageObjects: {
4960
+ Home: typeof Home;
4961
+ ProductDetail: typeof ProductDetail$1;
4962
+ Category: typeof Category;
4963
+ CheckoutCart: typeof CheckoutCart;
4964
+ OffCanvasCart: typeof OffCanvasCart;
4965
+ CheckoutConfirm: typeof CheckoutConfirm;
4966
+ CheckoutFinish: typeof CheckoutFinish;
4967
+ CheckoutRegister: typeof CheckoutRegister;
4968
+ Account: typeof Account;
4969
+ AccountLogin: typeof AccountLogin;
4970
+ AccountRecover: typeof AccountRecover;
4971
+ AccountProfile: typeof AccountProfile;
4972
+ AccountOrder: typeof AccountOrder;
4973
+ AccountAddresses: typeof AccountAddresses;
4974
+ AccountAddressCreate: typeof AccountAddressCreate;
4975
+ AccountPayment: typeof AccountPayment;
4976
+ Search: typeof Search;
4977
+ SearchSuggest: typeof SearchSuggest;
4978
+ CustomRegister: typeof CustomRegister;
4979
+ CheckoutOrderEdit: typeof CheckoutOrderEdit;
4980
+ PageNotFound: typeof PageNotFound;
4981
+ ContactForm: typeof ContactForm;
4982
+ Wishlist: typeof Wishlist;
4983
+ Footer: typeof Footer;
4984
+ Header: typeof Header;
4985
+ };
4986
+
4987
+ declare class ProductDetail implements PageObject {
4988
+ readonly contentView: Locator;
4989
+ readonly productHeadline: Locator;
4990
+ /**
4991
+ * Save interactions
4992
+ */
4993
+ readonly savePhysicalProductButton: Locator;
4994
+ readonly saveButtonLoadingSpinner: Locator;
4995
+ readonly saveButtonCheckMark: Locator;
4996
+ /**
4997
+ * General Info
4998
+ */
4999
+ readonly manufacturerDropdownText: Locator;
5000
+ /**
5001
+ * Prices
5002
+ */
5003
+ readonly priceGrossInput: Locator;
5004
+ /**
5005
+ * Deliverability
5006
+ */
5007
+ readonly stockInput: Locator;
5008
+ readonly restockTimeInput: Locator;
5009
+ /**
5010
+ * Visibility
5011
+ */
5012
+ readonly activeForAllSalesChannelsToggle: Locator;
5013
+ readonly tagsInput: Locator;
5014
+ readonly saleChannelsInput: Locator;
5015
+ /**
5016
+ * Labelling
5017
+ */
5018
+ readonly releaseDateInput: Locator;
5019
+ /**
5020
+ * Media Upload interactions
5021
+ */
5022
+ readonly uploadMediaButton: Locator;
5023
+ readonly coverImage: Locator;
5024
+ readonly productImage: Locator;
5025
+ /**
5026
+ * Tabs
5027
+ */
5028
+ readonly variantsTabLink: Locator;
5029
+ readonly specificationsTabLink: Locator;
5030
+ readonly advancedPricingTabLink: Locator;
5031
+ readonly layoutTabLink: Locator;
5032
+ readonly crossSellingTabLink: Locator;
5033
+ readonly SEOTabLink: Locator;
5034
+ readonly reviewsTabLink: Locator;
5035
+ /**
5036
+ * Variants Generation
5037
+ */
5038
+ readonly generateVariantsButton: Locator;
5039
+ readonly variantsModal: Locator;
5040
+ readonly variantsModalHeadline: Locator;
5041
+ readonly variantsNextButton: Locator;
5042
+ readonly variantsSaveButton: Locator;
5043
+ /**
5044
+ * Property Selection
5045
+ */
5046
+ readonly propertyName: (propertyName: string) => Locator;
5047
+ readonly propertyValueCheckbox: (propertyValueName: string) => Locator;
5048
+ /** @deprecated - Use 'propertyName' instead. */
5049
+ readonly propertyGroupColor: Locator;
5050
+ /** @deprecated - Use 'propertyName' instead. */
5051
+ readonly propertyGroupSize: Locator;
5052
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
5053
+ readonly propertyOptionGrid: Locator;
5054
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
5055
+ readonly propertyOptionColorBlue: Locator;
5056
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
5057
+ readonly propertyOptionColorRed: Locator;
5058
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
5059
+ readonly propertyOptionColorGreen: Locator;
5060
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
5061
+ readonly propertyOptionSizeSmall: Locator;
5062
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
5063
+ readonly propertyOptionSizeMedium: Locator;
5064
+ /** @deprecated - Use 'propertyValueCheckbox' instead. */
5065
+ readonly propertyOptionSizeLarge: Locator;
5066
+ /**
5067
+ * Cards
5068
+ */
5069
+ readonly customFieldCard: Locator;
4991
5070
  readonly page: Page;
4992
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
4993
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5071
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5072
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
4994
5073
  getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
4995
- url(categoryUuid: string): string;
5074
+ url(productId: string): string;
4996
5075
  getCustomFieldCardLocators(customFieldSetName: string, customFieldTextName: string): Promise<{
4997
5076
  customFieldCard: Locator;
4998
5077
  customFieldSetTab: Locator;
@@ -5001,1267 +5080,1217 @@ declare class CategoryDetail implements PageObject {
5001
5080
  }>;
5002
5081
  }
5003
5082
 
5004
- declare class RuleCreate implements PageObject {
5005
- readonly header: Locator;
5006
- readonly nameInput: Locator;
5007
- readonly priorityInput: Locator;
5008
- readonly descriptionInput: Locator;
5009
- readonly typeItem: Locator;
5010
- readonly tagItem: Locator;
5011
- readonly conditionTypeSelectionInput: Locator;
5012
- readonly conditionValueSelectionInput: Locator;
5013
- readonly filtersResultPopoverSelectionList: Locator;
5083
+ declare class OrderDetail implements PageObject {
5014
5084
  readonly saveButton: Locator;
5015
- readonly cancelButton: Locator;
5016
- readonly valueNotAvailableTooltip: Locator;
5085
+ readonly dataGridContextButton: Locator;
5086
+ readonly orderTag: Locator;
5087
+ readonly lineItem: Locator;
5088
+ readonly lineItemsTable: Locator;
5089
+ readonly documentType: Locator;
5090
+ readonly contextMenuButton: Locator;
5091
+ readonly contextMenu: Locator;
5092
+ readonly contextMenuSendDocument: Locator;
5093
+ readonly sendDocumentModal: Locator;
5094
+ readonly sendDocumentButton: Locator;
5095
+ readonly itemsCardHeader: Locator;
5096
+ readonly sentCheckmark: Locator;
5097
+ readonly orderPaymentStatus: Locator;
5098
+ readonly orderDeliveryStatus: Locator;
5099
+ readonly orderStatus: Locator;
5100
+ /**
5101
+ * Tabs
5102
+ */
5103
+ readonly generalTabLink: Locator;
5104
+ readonly detailsTabLink: Locator;
5105
+ readonly documentsTabLink: Locator;
5017
5106
  readonly page: Page;
5018
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
5019
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5020
- url(): string;
5021
- getSelectFieldListitem(selectField: Locator, listItem: string): Promise<Locator>;
5022
- }
5023
-
5024
- declare class RuleDetail extends RuleCreate implements PageObject {
5025
- readonly contentView: Locator;
5026
- readonly shippingMethodAvailabilityRulesCard: Locator;
5027
- readonly shippingMethodAvailabilityRulesCardLink: Locator;
5028
- readonly shippingMethodAvailabilityRulesCardTable: Locator;
5029
- readonly shippingMethodAvailabilityRulesCardEmptyState: Locator;
5030
- readonly shippingMethodAvailabilityRulesCardSearchField: Locator;
5031
- readonly taxProviderRulesCard: Locator;
5032
- readonly taxProviderRulesCardEmptyState: Locator;
5033
- readonly paymentMethodsAvailabilityRulesCard: Locator;
5034
- readonly paymentMethodsAvailabilityRulesCardEmptyState: Locator;
5035
- readonly paymentMethodsAvailabilityRulesCardLink: Locator;
5036
- readonly promotionOrderRulesCard: Locator;
5037
- readonly promotionOrderRulesCardEmptyState: Locator;
5038
- readonly promotionCustomerRulesCard: Locator;
5039
- readonly promotionCustomerRulesCardEmptyState: Locator;
5040
- readonly promotionCartRulesCard: Locator;
5041
- readonly promotionCartRulesCardEmptyState: Locator;
5042
- readonly assignmentModal: Locator;
5043
- readonly assignmentModalAddButton: Locator;
5044
- readonly assignmentModalSearchField: Locator;
5045
- readonly conditionSelectField: Locator;
5046
- readonly conditionLineItemGoodsTotalOperator: Locator;
5047
- readonly conditionLineItemGoodsTotalValue: Locator;
5048
- readonly conditionDateRangeOperator: Locator;
5049
- readonly conditionDateRangeDateFieldFirst: Locator;
5050
- readonly conditionDateRangeDateFieldSecond: Locator;
5051
- readonly conditionCustomerSurnameOperator: Locator;
5052
- readonly conditionCustomerSurnameValue: Locator;
5053
- readonly conditionCartLineItemTaxationMatchOperator: Locator;
5054
- readonly conditionCartLineItemTaxationOperator: Locator;
5055
- readonly conditionCartLineItemTaxationValue: Locator;
5056
- readonly conditionTimeRangeValueFirst: Locator;
5057
- readonly conditionTimeRangeValueSecond: Locator;
5058
- readonly conditionOrderCreatedByAdminValue: Locator;
5059
- readonly conditionLineItemGoodsTotalFilter: Locator;
5060
- readonly conditionFilterModal: Locator;
5061
- readonly conditionCartLineItemInStockOperator: Locator;
5062
- readonly conditionCartLineItemInStockValue: Locator;
5063
- readonly conditionFilterModalCloseButtonX: Locator;
5064
- readonly conditionORContainer: Locator;
5065
- readonly adminMenuAvatar: Locator;
5066
- readonly conditionDateRangeUseTimeOperator: Locator | undefined;
5067
- readonly conditionDateRangeTimezoneOperator: Locator | undefined;
5068
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5069
- getEntityCard(cardLocator: Locator): Promise<Record<string, Locator>>;
5070
- url(ruleId?: string, tabName?: string): string;
5107
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5108
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5109
+ url(orderId: string, tabName?: string): string;
5110
+ getCustomFieldCardLocators(customFieldSetName: string, customFieldTextName: string): Promise<{
5111
+ customFieldCard: Locator;
5112
+ customFieldSetTab: Locator;
5113
+ customFieldLabel: Locator;
5114
+ customFieldSelect: Locator;
5115
+ }>;
5071
5116
  }
5072
5117
 
5073
- declare class RuleListing implements PageObject {
5074
- readonly createRuleButton: Locator;
5075
- readonly header: Locator;
5076
- readonly grid: Locator;
5118
+ declare class CustomerListing implements PageObject {
5119
+ readonly headline: Locator;
5120
+ readonly addCustomerButton: Locator;
5121
+ readonly bulkEditButton: Locator;
5122
+ readonly deleteButton: Locator;
5123
+ readonly bulkEditModal: Locator;
5124
+ readonly startBulkEditButton: Locator;
5125
+ readonly cancelButton: Locator;
5126
+ readonly modalHeaderCheckbox: Locator;
5077
5127
  readonly page: Page;
5078
- readonly gridCell: Locator;
5079
5128
  constructor(page: Page);
5080
- url(searchTerm: string): string;
5129
+ getCustomerByEmail(customerEmail: string): Promise<Record<string, Locator>>;
5130
+ getCustomerBulkEditModalTitle(customerCount: number): Promise<Locator>;
5131
+ getBulkEditModalLineItemByCustomerEmail(customerEmail: string): Promise<Record<string, Locator>>;
5132
+ url(): string;
5081
5133
  }
5082
5134
 
5083
- declare class ManufacturerCreate implements PageObject {
5084
- readonly saveButton: Locator;
5085
- readonly cancelButton: Locator;
5086
- readonly nameInput: Locator;
5087
- readonly websiteInput: Locator;
5088
- readonly descriptionInput: Locator;
5089
- readonly page: Page;
5090
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
5091
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5092
- url(): string;
5093
- }
5094
-
5095
- declare class ManufacturerListing implements PageObject {
5096
- readonly addManufacturerButton: Locator;
5097
- readonly manufacturerRows: Locator;
5098
- readonly page: Page;
5099
- constructor(page: Page);
5100
- getLineItemByManufacturerName(manufacturerName: string): Promise<Record<string, Locator>>;
5101
- url(): string;
5102
- }
5103
-
5104
- declare class ManufacturerDetail extends ManufacturerCreate {
5135
+ declare class CustomerDetail implements PageObject {
5136
+ readonly editButton: Locator;
5137
+ readonly generalTab: Locator;
5138
+ readonly addressesTab: Locator;
5139
+ readonly ordersTab: Locator;
5140
+ readonly accountCard: Locator;
5105
5141
  readonly customFieldCard: Locator;
5106
5142
  readonly customFieldSetTabs: Locator;
5107
5143
  readonly customFieldSetTabCustomContent: Locator;
5108
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5144
+ readonly customerGroupRequestMessage: Locator;
5145
+ readonly customerGroupAcceptButton: Locator;
5146
+ readonly customerGroupDeclineButton: Locator;
5147
+ readonly tagList: Locator;
5148
+ readonly tagItems: Locator;
5149
+ readonly page: Page;
5150
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5151
+ readonly customerEmail: Locator;
5152
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5109
5153
  getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
5110
- url(manufacturerUuid?: string): string;
5154
+ getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
5155
+ getCustomerGroup(): Promise<Locator>;
5156
+ getAccountStatus(): Promise<Locator>;
5157
+ getLanguage(): Promise<Locator>;
5158
+ url(customerId: string): string;
5111
5159
  }
5112
5160
 
5113
- declare class ProductListing implements PageObject {
5114
- /**
5115
- * Multi selection
5116
- */
5117
- readonly productsTable: Locator;
5118
- readonly bulkEditButton: Locator;
5161
+ declare class CustomerGroupListing implements PageObject {
5162
+ readonly headline: Locator;
5163
+ readonly addCustomerGroupButton: Locator;
5119
5164
  readonly page: Page;
5120
- /**
5121
- * Bulk edit modal
5122
- */
5123
- readonly bulkEditModal: Locator;
5124
- readonly startBulkEditButton: Locator;
5125
5165
  constructor(page: Page);
5126
- /**
5127
- * Returns the url to the listing page.
5128
- *
5129
- * @param searchTerms - Includes search terms for filtering of the product list.
5130
- */
5131
- url(searchTerms?: string[]): string;
5132
- /**
5133
- * Returns the table row containing the product with the given product number.
5134
- *
5135
- * @param productNumber - Product number you are looking for.
5136
- */
5137
- getProductRow(productNumber: string): Promise<Record<string, Locator>>;
5166
+ getCustomerGroupByName(customerGroup: string): Promise<Record<string, Locator>>;
5167
+ url(): string;
5138
5168
  }
5139
5169
 
5140
- declare class ProductBulkEdit implements PageObject {
5141
- /**
5142
- * Bulk edit values
5143
- */
5144
- readonly changeManufacturerRow: Locator;
5145
- readonly changeManufacturerCheckbox: Locator;
5146
- readonly manufacturerDropdown: Locator;
5147
- readonly manufacturerDropdownInput: Locator;
5148
- readonly manufacturerListResult: Locator;
5149
- readonly changeActiveRow: Locator;
5150
- readonly changeActiveCheckbox: Locator;
5151
- readonly activeToggle: Locator;
5152
- readonly changePriceRow: Locator;
5153
- readonly changePriceCheckbox: Locator;
5154
- readonly grossPriceInput: Locator;
5155
- readonly changeReleaseDateRow: Locator;
5156
- readonly changeReleaseDateCheckbox: Locator;
5157
- readonly releaseDateInput: Locator;
5158
- readonly changeStockRow: Locator;
5159
- readonly changeStockCheckbox: Locator;
5160
- readonly stockChangeMethodDropdown: Locator;
5161
- readonly stockChangeMethodInput: Locator;
5162
- readonly stockInput: Locator;
5163
- readonly changeRestockTimeRow: Locator;
5164
- readonly changeRestockTimeCheckbox: Locator;
5165
- readonly restockTimeChangeMethodDropdown: Locator;
5166
- readonly restockTimeChangeMethodInput: Locator;
5167
- readonly restockTimeInput: Locator;
5168
- readonly changeTagsRow: Locator;
5169
- readonly changeTagsCheckbox: Locator;
5170
- readonly tagsChangeMethodDropdown: Locator;
5171
- readonly tagsChangeMethodInput: Locator;
5172
- readonly tagsInput: Locator;
5173
- readonly changeSalesChannelRow: Locator;
5174
- readonly changeSalesChannelCheckbox: Locator;
5175
- readonly salesChannelChangeMethodDropdown: Locator;
5176
- readonly salesChannelChangeMethodInput: Locator;
5177
- readonly salesChannelInput: Locator;
5178
- readonly applyChangesButton: Locator;
5179
- /**
5180
- * Confirmation modal
5181
- */
5182
- readonly confirmModal: Locator;
5183
- readonly confirmModalApplyChangesButton: Locator;
5184
- readonly confirmModalLoadingSpinner: Locator;
5185
- readonly confirmModalSuccessHeader: Locator;
5186
- readonly confirmModalSuccessCloseButton: Locator;
5170
+ declare class CustomerGroupCreate implements PageObject {
5171
+ readonly headline: Locator;
5172
+ readonly saveButton: Locator;
5173
+ readonly cancelButton: Locator;
5174
+ readonly cardTitle: Locator;
5175
+ readonly customerGroupNameField: Locator;
5176
+ readonly customerGroupGrossTaxDisplay: Locator;
5177
+ readonly customerGroupNetTaxDisplay: Locator;
5178
+ readonly customSignupFormToggle: Locator;
5179
+ readonly signupFormTitle: Locator;
5180
+ readonly signupFormIntroduction: Locator;
5181
+ readonly signupFormSeoDescription: Locator;
5182
+ readonly signupFormCompanySignupToggle: Locator;
5183
+ readonly customerGroupSaleschannelSelection: Locator;
5184
+ readonly customerGroupSaleschannelResultList: Locator;
5187
5185
  readonly page: Page;
5188
- constructor(page: Page);
5186
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5187
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5189
5188
  url(): string;
5190
- getDropdownEntry(entry: string): Promise<Locator>;
5191
5189
  }
5192
5190
 
5193
- declare class CustomerBulkEdit implements PageObject {
5194
- readonly applyChangesButton: Locator;
5195
- readonly filtersResultPopoverItemList: Locator;
5196
- readonly changeCustomerGroupCheckbox: Locator;
5197
- readonly customerGroupInput: Locator;
5198
- readonly changeAccountStatusCheckbox: Locator;
5199
- readonly accountStatusInput: Locator;
5200
- readonly changeLanguageCheckbox: Locator;
5201
- readonly changeLanguageInput: Locator;
5202
- readonly replyToCustomerGroupRequest: Locator;
5203
- readonly replyToCustomerGroupRequestInput: Locator;
5204
- readonly changeTagsCheckbox: Locator;
5205
- readonly changeTypeSelect: Locator;
5206
- readonly enterTagsSelect: Locator;
5207
- readonly customFieldCheckbox: Locator;
5208
- readonly customFieldInput: Locator;
5209
- readonly customFieldArrowRightButton: Locator;
5191
+ declare class CustomerGroupDetail extends CustomerGroupCreate implements PageObject {
5192
+ readonly headline: Locator;
5193
+ readonly selectedSalesChannel: Locator;
5194
+ readonly technicalUrl: Locator;
5195
+ readonly saleschannelUrl: Locator;
5196
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5197
+ url(customerGroupId?: string): string;
5198
+ }
5199
+
5200
+ declare class FirstRunWizard implements PageObject {
5201
+ readonly nextButton: Locator;
5202
+ readonly configureLaterButton: Locator;
5203
+ readonly skipButton: Locator;
5204
+ readonly finishButton: Locator;
5205
+ readonly backButton: Locator;
5206
+ readonly smtpServerButton: Locator;
5207
+ readonly dataImportHeader: Locator;
5208
+ readonly installLanguagePackButton: Locator;
5209
+ readonly installDemoDataButton: Locator;
5210
+ readonly installMigrationAssistantButton: Locator;
5211
+ readonly defaultValuesHeader: Locator;
5212
+ readonly mailerConfigurationHeader: Locator;
5213
+ readonly payPalSetupHeader: Locator;
5214
+ readonly extensionsHeader: Locator;
5215
+ readonly shopwareAccountHeader: Locator;
5216
+ readonly shopwareStoreHeader: Locator;
5217
+ readonly doneHeader: Locator;
5218
+ readonly frwSuccessText: Locator;
5219
+ readonly welcomeText: Locator;
5220
+ readonly pluginCardInfo: Locator;
5221
+ readonly dataImportCard: Locator;
5222
+ readonly salesChannelSelectionList: Locator;
5223
+ readonly salesChannelSelectionMultiSelect: Locator;
5224
+ readonly smtpServerTitle: Locator;
5210
5225
  /**
5211
- * Confirmation modal
5226
+ * @deprecated - Use `smtpServerFieldInputs` instead.
5212
5227
  */
5213
- readonly confirmModal: Locator;
5214
- readonly confirmModalApplyChangesButton: Locator;
5215
- readonly confirmModalSuccessHeader: Locator;
5216
- readonly confirmModalSuccessCloseButton: Locator;
5228
+ readonly smtpServerFields: Locator;
5229
+ readonly smtpServerFieldInputs: Locator;
5230
+ readonly smtpServerHostInput: Locator;
5231
+ readonly smtpServerPortInput: Locator;
5232
+ readonly smtpServerUsernameInput: Locator;
5233
+ readonly smtpServerPasswordInput: Locator;
5234
+ readonly smtpServerEncryptionInput: Locator;
5235
+ readonly smtpServerSenderAddressInput: Locator;
5236
+ readonly smtpServerDeliveryAddressInput: Locator;
5237
+ readonly smtpServerDisableEmailDeliveryCheckbox: Locator;
5238
+ readonly payPalPaymethods: Locator;
5239
+ readonly payPalInfoCard: Locator;
5240
+ readonly emailAddressInputField: Locator;
5241
+ readonly passwordInputField: Locator;
5242
+ readonly forgotPasswordLink: Locator;
5243
+ readonly extensionStoreHeading: Locator;
5244
+ readonly documentationLink: Locator;
5245
+ readonly forumLink: Locator;
5246
+ readonly roadmapLink: Locator;
5247
+ readonly germanRegionSelector: Locator;
5248
+ readonly toolsSelector: Locator;
5249
+ readonly recommendationHeader: Locator;
5250
+ readonly toolsRecommendedPlugin: Locator;
5217
5251
  readonly page: Page;
5218
- constructor(page: Page);
5219
- getPageHeadline(customerCount: number): Promise<Locator>;
5220
- getCustomFieldInputByName(customFieldName: string): Promise<Locator>;
5221
- getCustomFieldLinkByName(customFieldSetName: string): Promise<Locator>;
5252
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5253
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5222
5254
  url(): string;
5223
5255
  }
5224
5256
 
5225
- declare class SettingsListing implements PageObject {
5257
+ declare class FlowBuilderCreate implements PageObject {
5226
5258
  readonly contentView: Locator;
5259
+ readonly saveButton: Locator;
5227
5260
  readonly header: Locator;
5228
- readonly shopwareServicesLink: Locator;
5261
+ readonly smartBarHeader: Locator;
5262
+ readonly generalTab: Locator;
5263
+ readonly flowTab: Locator;
5264
+ readonly nameField: Locator;
5265
+ readonly descriptionField: Locator;
5266
+ readonly priorityField: Locator;
5267
+ readonly activeSwitch: Locator;
5268
+ readonly triggerSelectField: Locator;
5269
+ readonly modalAddButton: Locator;
5270
+ readonly sequenceSelectorConditionButton: Locator;
5271
+ readonly conditionSelectField: Locator;
5272
+ readonly sequenceSelectorActionButton: Locator;
5273
+ readonly actionSelectField: Locator;
5274
+ readonly selectFieldResultList: Locator;
5275
+ readonly trueBlock: Locator;
5276
+ readonly trueBlockAddConditionButton: Locator;
5277
+ readonly trueBlockAddActionButton: Locator;
5278
+ readonly trueBlockActionSelectField: Locator;
5279
+ readonly trueBlockActionDescription: Locator;
5280
+ readonly mailSendModal: Locator;
5281
+ readonly mailSendModalTemplateSelectField: Locator;
5282
+ readonly falseBlock: Locator;
5283
+ readonly falseBlockAddConditionButton: Locator;
5284
+ readonly falseBlockAddActionButton: Locator;
5285
+ readonly falseBlockActionSelectField: Locator;
5286
+ readonly falseBlockActionDescription: Locator;
5287
+ readonly tagModal: Locator;
5288
+ readonly tagModalTagsSelectField: Locator;
5289
+ readonly delayCard: Locator;
5290
+ readonly conditionRule: Locator;
5291
+ readonly sequenceSeparator: Locator;
5292
+ readonly addActionField: Locator;
5293
+ readonly newFlowHeader: Locator;
5294
+ readonly resultListItem: Locator;
5295
+ readonly resultList: Locator;
5229
5296
  readonly page: Page;
5230
- constructor(page: Page);
5231
- url(): string;
5297
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5298
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5299
+ url(flowId?: string, tabName?: string): string;
5300
+ getSelectFieldListitem(selectField: Locator, listItem: string): Promise<Locator>;
5232
5301
  }
5233
5302
 
5234
- declare class DocumentListing implements PageObject {
5235
- readonly addDocumentButton: Locator;
5236
- readonly invoiceLink: Locator;
5303
+ declare class FlowBuilderListing implements PageObject {
5237
5304
  readonly page: Page;
5305
+ readonly contentView: Locator;
5306
+ readonly createFlowButton: Locator;
5307
+ readonly firstFlowName: Locator;
5308
+ readonly firstFlowContextButton: Locator;
5309
+ readonly flowContextMenu: Locator;
5310
+ readonly contextMenuDownload: Locator;
5311
+ readonly contextMenuDuplicate: Locator;
5312
+ readonly contextMenuEdit: Locator;
5313
+ readonly contextMenuDelete: Locator;
5314
+ readonly flowDownloadModal: Locator;
5315
+ readonly downloadFlowButton: Locator;
5316
+ readonly flowDeleteButton: Locator;
5317
+ readonly successAlert: Locator;
5318
+ readonly successAlertMessage: Locator;
5319
+ readonly searchBar: Locator;
5320
+ readonly pagination: Locator;
5321
+ readonly testFlowNameCells: Locator;
5322
+ readonly flowTemplatesTab: Locator;
5323
+ constructor(page: Page);
5324
+ url(tabName?: string): string;
5325
+ getLineItemByFlowName(flowName: string): Promise<Record<string, Locator>>;
5326
+ }
5327
+
5328
+ declare class FlowBuilderTemplates extends FlowBuilderListing implements PageObject {
5238
5329
  constructor(page: Page);
5239
5330
  url(): string;
5331
+ getLineItemByFlowName(flowName: string): Promise<{
5332
+ createFlowLink: playwright_core.Locator;
5333
+ lineItem: playwright_core.Locator;
5334
+ templateDetailLink: playwright_core.Locator;
5335
+ }>;
5240
5336
  }
5241
5337
 
5242
- declare class DocumentDetail implements PageObject {
5243
- readonly showInAccountSwitch: Locator;
5338
+ declare class FlowBuilderDetail extends FlowBuilderCreate implements PageObject {
5339
+ readonly saveButtonLoader: Locator;
5244
5340
  readonly saveButton: Locator;
5245
- readonly documentTypeSelect: Locator;
5341
+ readonly generalTab: Locator;
5342
+ readonly flowTab: Locator;
5343
+ readonly alertWarning: Locator;
5344
+ readonly templateName: Locator;
5345
+ readonly alertMessage: Locator;
5346
+ readonly successMessage: Locator;
5347
+ readonly actionContentTag: Locator;
5348
+ readonly skeletonLoader: Locator;
5349
+ readonly messageClose: Locator;
5350
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5351
+ url(flowId: string, tabName?: string): string;
5352
+ getTooltipText(toolTipArea: Locator): Promise<string>;
5353
+ }
5354
+
5355
+ declare class DataSharing implements PageObject {
5356
+ readonly dataConsentHeadline: Locator;
5357
+ readonly dataSharingSuccessMessageLabel: Locator;
5358
+ readonly dataSharingAgreeButton: Locator;
5359
+ readonly dataSharingDisableButton: Locator;
5360
+ readonly dataSharingTermsAgreementLabel: Locator;
5361
+ readonly page: Page;
5362
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5363
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5364
+ url(): "#/sw/settings/usage/data/index" | "#/sw/settings/usage/data/index/general";
5365
+ }
5366
+
5367
+ declare class Dashboard implements PageObject {
5368
+ readonly contentView: Locator;
5369
+ readonly adminMenuView: Locator;
5370
+ readonly adminMenuCatalog: Locator;
5371
+ readonly adminMenuOrder: Locator;
5372
+ readonly adminMenuOrderOverview: Locator;
5373
+ readonly adminMenuCustomer: Locator;
5374
+ readonly adminMenuContent: Locator;
5375
+ readonly adminMenuMarketing: Locator;
5376
+ readonly adminMenuExtension: Locator;
5377
+ readonly adminMenuUserChevron: Locator;
5378
+ readonly adminMenuUserIcon: Locator;
5379
+ readonly adminMenuUserName: Locator;
5380
+ readonly welcomeHeadline: Locator;
5381
+ readonly welcomeMessage: Locator;
5382
+ readonly dataSharingConsentBanner: Locator;
5383
+ readonly dataSharingAgreeButton: Locator;
5384
+ readonly dataSharingNotAtTheMomentButton: Locator;
5385
+ readonly dataSharingTermsAgreementLabel: Locator;
5386
+ readonly dataSharingSettingsLink: Locator;
5387
+ readonly dataSharingAcceptMessageText: Locator;
5388
+ readonly dataSharingNotAtTheMomentMessageText: Locator;
5389
+ readonly statisticsDateRange: Locator;
5390
+ readonly statisticsChart: Locator;
5246
5391
  readonly page: Page;
5392
+ readonly shopwareServicesAdvertisementBanner: Locator;
5393
+ readonly shopwareServicesAdvertisementBannerCloseButton: Locator;
5394
+ readonly shopwareServicesExploreNowButton: Locator;
5395
+ readonly adminMenuUserActions: Locator;
5396
+ readonly adminMenuLogoutButton: Locator;
5247
5397
  constructor(page: Page);
5248
- url(documentId: string): string;
5398
+ url(): string;
5249
5399
  }
5250
5400
 
5251
- declare class ShopwareServices implements PageObject {
5401
+ declare class ShippingListing implements PageObject {
5252
5402
  readonly header: Locator;
5253
- readonly deactivatedBanner: Locator;
5254
- readonly activateServicesButton: Locator;
5255
- readonly permissionBanner: Locator;
5256
- readonly permissionGrantButton: Locator;
5257
- readonly serviceCards: Locator;
5258
- readonly deactivateServicesConfirmButton: Locator;
5259
- readonly deactivateServicesButton: Locator;
5260
- readonly deactivateServicesModal: Locator;
5403
+ readonly addShippingMethod: Locator;
5404
+ readonly contextMenu: Locator;
5405
+ readonly editButton: Locator;
5406
+ readonly deleteButton: Locator;
5407
+ readonly modal: Locator;
5408
+ readonly modalHeader: Locator;
5409
+ readonly modalCancelButton: Locator;
5410
+ readonly modalDeleteButton: Locator;
5261
5411
  readonly page: Page;
5262
5412
  constructor(page: Page);
5263
5413
  url(): string;
5264
5414
  }
5265
5415
 
5266
- declare class PromotionsListing implements PageObject {
5267
- private readonly instanceMeta;
5416
+ declare class ShippingDetail implements PageObject {
5417
+ readonly header: Locator;
5418
+ readonly nameField: Locator;
5419
+ readonly availabilityRuleField: Locator;
5420
+ readonly availabilityRuleListItem: Locator;
5268
5421
  readonly page: Page;
5269
- readonly smartBar: Locator;
5270
- readonly smartBarHeader: Locator;
5271
- readonly languageSelect: Locator;
5272
- readonly smartBarAddPromotionButton: Locator;
5273
- readonly emptyState: Locator;
5274
- readonly emptyStateAddPromotionButton: Locator;
5275
- readonly promotionsTable: Locator;
5276
- readonly sidebarRefreshButton: Locator;
5277
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5422
+ constructor(page: Page);
5423
+ url(shippingId: string): string;
5424
+ getRuleSelectionCheckmark(ruleName: string): Locator;
5425
+ }
5426
+
5427
+ declare class PaymentDetail implements PageObject {
5428
+ readonly header: Locator;
5429
+ readonly nameField: Locator;
5430
+ readonly availabilityRuleField: Locator;
5431
+ readonly availabilityRuleListItem: Locator;
5432
+ readonly page: Page;
5433
+ constructor(page: Page);
5434
+ url(paymentId: string): string;
5435
+ getRuleSelectionCheckmark(ruleName: string): Locator;
5436
+ }
5437
+
5438
+ declare class LandingPageCreate implements PageObject {
5278
5439
  /**
5279
- * Returns the url to the listing page.
5280
- *
5281
- * @param searchTerms - Includes search terms for filtering of the promotions list.
5440
+ * General
5282
5441
  */
5283
- url(searchTerms?: string[]): string;
5442
+ readonly nameInput: Locator;
5443
+ readonly landingPageStatus: Locator;
5444
+ readonly salesChannelSelectionList: Locator;
5445
+ readonly filtersResultPopoverItemList: Locator;
5446
+ readonly saveLandingPageButton: Locator;
5447
+ readonly loadingSpinner: Locator;
5448
+ readonly seoUrlInput: Locator;
5284
5449
  /**
5285
- * Returns the table row containing the promotion with the given promotion name.
5286
- *
5287
- * @param promotionName - Promotion name you are looking for.
5450
+ * Layout
5288
5451
  */
5289
- getPromotionRow(promotionName: string): Promise<Record<string, Locator>>;
5452
+ readonly layoutTab: Locator;
5453
+ readonly assignLayoutButton: Locator;
5454
+ readonly searchLayoutInput: Locator;
5455
+ readonly layoutItems: Locator;
5456
+ readonly layoutSaveButton: Locator;
5457
+ readonly layoutEmptyState: Locator;
5458
+ readonly createNewLayoutButton: Locator;
5459
+ readonly layoutCheckboxes: Locator;
5460
+ readonly page: Page;
5461
+ constructor(page: Page);
5462
+ url(): string;
5290
5463
  }
5291
5464
 
5292
- declare class PromotionCreate implements PageObject {
5293
- readonly page: Page$1;
5294
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
5295
- readonly smartBar: Locator$1;
5296
- readonly smartBarHeader: Locator$1;
5297
- readonly languageSelect: Locator$1;
5298
- readonly saveButton: Locator$1;
5299
- readonly cancelButton: Locator$1;
5300
- readonly generalCard: Locator$1;
5301
- readonly nameInput: Locator$1;
5302
- readonly priorityInput: Locator$1;
5303
- constructor(page: Page$1, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5465
+ declare class LandingPageDetail implements PageObject {
5304
5466
  /**
5305
- * Returns the url to the creation page.
5467
+ * General
5306
5468
  */
5307
- url(): string;
5308
- }
5309
-
5310
- declare class PromotionDetail extends PromotionCreate {
5311
- readonly page: Page$1;
5312
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
5313
- readonly tabGeneralLink: Locator$1;
5314
- readonly tabConditionsLink: Locator$1;
5315
- readonly tabDiscountsLink: Locator$1;
5316
- readonly promotionCodesCard: Locator$1;
5317
- readonly promotionCodesHeading: Locator$1;
5318
- readonly promotionCodesSelection: Locator$1;
5319
- readonly preConditionsCard: Locator$1;
5320
- readonly addDiscountButton: Locator$1;
5321
- readonly discountCards: Locator$1;
5322
- constructor(page: Page$1, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5469
+ readonly nameInput: Locator;
5470
+ readonly landingPageStatus: Locator;
5471
+ readonly salesChannelSelectionList: Locator;
5472
+ readonly filtersResultPopoverItemList: Locator;
5473
+ readonly saveLandingPageButton: Locator;
5474
+ readonly loadingSpinner: Locator;
5475
+ readonly seoUrlInput: Locator;
5323
5476
  /**
5324
- * Returns the url to the detail page.
5325
- *
5326
- * @param promotionId - Id of the promotion to show the details of.
5327
- * @param tab - The tab to open. Defaults to 'general'. Other options are 'conditions' and 'discounts'.
5477
+ * Layout
5328
5478
  */
5329
- url(promotionId?: string, tab?: 'general' | 'conditions' | 'discounts'): string;
5330
- }
5331
-
5332
- declare class Media implements PageObject {
5479
+ readonly layoutTab: Locator;
5480
+ readonly layoutAssignmentCardTitle: Locator;
5481
+ readonly layoutAssignmentCardHeadline: Locator;
5482
+ readonly changeLayoutButton: Locator;
5483
+ readonly editInDesignerButton: Locator;
5484
+ readonly layoutResetButton: Locator;
5485
+ readonly layoutAssignmentStatus: Locator;
5486
+ readonly layoutAssignmentContentSection: Locator;
5333
5487
  readonly page: Page;
5334
- readonly uploadFileButton: Locator;
5335
- readonly addNewFolderButton: Locator;
5336
- readonly mediaGridItems: Locator;
5337
- readonly mediaItemCheckbox: Locator;
5338
- readonly mediaItemPreview: Locator;
5339
- readonly mediaItemName: Locator;
5340
- readonly mediaItemContextMenu: Locator;
5341
- readonly searchInput: Locator;
5342
5488
  constructor(page: Page);
5343
- url(): string;
5489
+ url(landingPageUuid: string): string;
5490
+ }
5491
+
5492
+ declare class Categories implements PageObject {
5344
5493
  /**
5345
- * Gets the title/name of a media item by its image alt text
5346
- * @param alt The alt text of the image
5347
- * @returns Promise that resolves to the title text
5494
+ * Visual tests
5348
5495
  */
5349
- getMediaNameByAlt(alt: string): Promise<string>;
5496
+ readonly contentView: Locator;
5350
5497
  /**
5351
- * Gets a specific media item container by its name/title
5352
- * @param mediaName The name/title of the media item
5353
- * @returns Locator for the specific media item container
5498
+ * Landing pages
5354
5499
  */
5355
- getMediaItemByName(mediaName: string): Locator;
5500
+ readonly landingPageArea: Locator;
5501
+ readonly landingPageHeadline: Locator;
5502
+ readonly addLandingPageButton: Locator;
5503
+ readonly landingPageItems: Locator;
5356
5504
  /**
5357
- * Gets the context menu button for a specific media item by media name
5358
- * @param mediaName The name/title of the media item
5359
- * @returns Locator for the context menu button
5505
+ * Category tree
5360
5506
  */
5361
- getContextMenuButtonByName(mediaName: string): Locator;
5507
+ readonly categoryTree: Locator;
5508
+ readonly categoryMenuItemList: Locator;
5509
+ readonly createCategoryInput: Locator;
5510
+ readonly confirmCategoryCreationButton: Locator;
5511
+ readonly confirmCategoryCancelButton: Locator;
5512
+ readonly categoryItems: Locator;
5362
5513
  /**
5363
- * Gets a specific context menu item by its text
5364
- * @param itemText The text of the context menu item (e.g., 'Rename', 'Delete', etc.)
5365
- * @returns Locator for the specific context menu item
5514
+ * Tabs
5366
5515
  */
5367
- getContextMenuItem(itemText: string): Locator;
5516
+ readonly generalTab: Locator;
5517
+ readonly productsTab: Locator;
5518
+ readonly layoutTab: Locator;
5519
+ readonly seoTab: Locator;
5520
+ /**
5521
+ * General
5522
+ */
5523
+ readonly nameInput: Locator;
5524
+ readonly activeCheckbox: Locator;
5525
+ readonly categoryTypeSelectionList: Locator;
5526
+ readonly filtersResultPopoverItemList: Locator;
5527
+ readonly saveButton: Locator;
5528
+ readonly loadingSpinner: Locator;
5529
+ readonly fadingBar: Locator;
5530
+ readonly configureHomePageButton: Locator;
5531
+ readonly configureModalCancelButton: Locator;
5532
+ /**
5533
+ * Customisable link
5534
+ */
5535
+ readonly entitySelectionList: Locator;
5536
+ readonly linkTypeSelectionList: Locator;
5537
+ readonly categorySelectionList: Locator;
5538
+ readonly productSelectionList: Locator;
5539
+ readonly landingPageSelectionList: Locator;
5540
+ readonly filterResultPopoverTreeCheckboxItemList: Locator;
5541
+ readonly openInNewTabCheckbox: Locator;
5542
+ readonly popoverCategoryTree: Locator;
5543
+ readonly categorySelectionListWrapper: Locator;
5544
+ readonly productSelectionInput: Locator;
5545
+ readonly page: Page;
5546
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5547
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5548
+ getLandingPageByName(landingPageName: string): Promise<Locator>;
5549
+ getPopOverCategoryByName(categoryName: string): Promise<Locator>;
5550
+ getTreeItemContextButton(name: string): Locator;
5551
+ url(): string;
5368
5552
  }
5369
5553
 
5370
- declare class YourProfile implements PageObject {
5371
- readonly contentView: Locator;
5554
+ declare class CustomFieldListing implements PageObject {
5555
+ readonly addNewSetButton: Locator;
5556
+ readonly customFieldRows: Locator;
5372
5557
  readonly page: Page;
5373
- readonly searchPreferencesTab: Locator;
5374
- readonly firstNameField: Locator;
5375
- readonly lastNameField: Locator;
5376
- readonly userNameField: Locator;
5377
- readonly emailField: Locator;
5378
- readonly deselectAllButton: Locator;
5379
5558
  constructor(page: Page);
5559
+ getLineItemByCustomFieldSetName(customFieldSetName: string): Promise<Record<string, Locator>>;
5380
5560
  url(): string;
5381
5561
  }
5382
5562
 
5383
- declare class ThemesListing implements PageObject {
5384
- readonly contentView: Locator;
5563
+ declare class CustomFieldCreate implements PageObject {
5564
+ readonly saveButton: Locator;
5565
+ readonly cancelButton: Locator;
5566
+ readonly technicalNameInput: Locator;
5567
+ readonly positionInput: Locator;
5568
+ readonly labelEnglishGBInput: Locator;
5569
+ readonly assignToSelectionList: Locator;
5570
+ readonly resultAssignToPopoverItemList: Locator;
5385
5571
  readonly page: Page;
5386
- readonly installedTheme: (title: string) => Locator;
5387
5572
  constructor(page: Page);
5388
5573
  url(): string;
5389
5574
  }
5390
5575
 
5391
- declare class ThemesDetail implements PageObject {
5392
- readonly contentView: Locator;
5576
+ declare class CustomFieldDetail extends CustomFieldCreate {
5577
+ readonly newCustomFieldButton: Locator;
5578
+ readonly customFieldEditDialog: Locator;
5579
+ readonly newCustomFieldDialog: Locator;
5580
+ readonly customFieldTechnicalNameInput: Locator;
5581
+ readonly customFieldPositionInput: Locator;
5582
+ readonly customFieldTypeSelectionList: Locator;
5583
+ readonly customFieldModifyByStoreApiCheckbox: Locator;
5584
+ readonly customFieldCancelButton: Locator;
5585
+ readonly customFieldAddButton: Locator;
5586
+ readonly customFieldEditApplyButton: Locator;
5587
+ readonly customFieldLabelEnglishGBInput: Locator;
5588
+ readonly customFieldPlaceholderEnglishGBInput: Locator;
5589
+ readonly customFieldHelpTextEnglishGBInput: Locator;
5590
+ readonly customFieldDeleteListButton: Locator;
5591
+ readonly customFieldDeleteDialog: Locator;
5592
+ readonly customFieldDeleteCancelButton: Locator;
5593
+ readonly customFieldDeleteButton: Locator;
5594
+ readonly customFieldEditAvailableInShoppingCartCheckbox: Locator;
5595
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5596
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5597
+ getLineItemByCustomFieldName(customFieldName: string): Promise<Record<string, Locator>>;
5598
+ url(customFieldUuid?: string): string;
5599
+ getSelectFieldListitem(selectField: Locator, listItem: string): Promise<Locator>;
5600
+ }
5601
+
5602
+ declare class CategoryDetail implements PageObject {
5603
+ readonly saveButton: Locator;
5604
+ readonly cancelButton: Locator;
5605
+ readonly customFieldCard: Locator;
5606
+ readonly customFieldSetTabs: Locator;
5607
+ readonly customFieldSetTabCustomContent: Locator;
5393
5608
  readonly page: Page;
5394
- readonly scrollableElement: Locator;
5395
- readonly themeCard: (headline: string) => Locator;
5396
- readonly sidebarButton: Locator;
5397
- constructor(page: Page);
5398
- url(): string;
5609
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5610
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5611
+ getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
5612
+ url(categoryUuid: string): string;
5613
+ getCustomFieldCardLocators(customFieldSetName: string, customFieldTextName: string): Promise<{
5614
+ customFieldCard: Locator;
5615
+ customFieldSetTab: Locator;
5616
+ customFieldLabel: Locator;
5617
+ customFieldSelect: Locator;
5618
+ }>;
5399
5619
  }
5400
5620
 
5401
- declare class MediaListing implements PageObject {
5621
+ declare class RuleCreate implements PageObject {
5622
+ readonly header: Locator;
5623
+ readonly nameInput: Locator;
5624
+ readonly priorityInput: Locator;
5625
+ readonly descriptionInput: Locator;
5626
+ readonly typeItem: Locator;
5627
+ readonly tagItem: Locator;
5628
+ readonly conditionTypeSelectionInput: Locator;
5629
+ readonly conditionValueSelectionInput: Locator;
5630
+ readonly filtersResultPopoverSelectionList: Locator;
5631
+ readonly saveButton: Locator;
5632
+ readonly cancelButton: Locator;
5633
+ readonly valueNotAvailableTooltip: Locator;
5402
5634
  readonly page: Page;
5403
- readonly scrollableElementVertical: Locator;
5404
- readonly mediaFolder: (title: string) => Locator;
5405
- readonly emptyState: Locator;
5406
- readonly updatedAtDate: Locator;
5407
- constructor(page: Page);
5635
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5636
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5408
5637
  url(): string;
5638
+ getSelectFieldListitem(selectField: Locator, listItem: string): Promise<Locator>;
5409
5639
  }
5410
5640
 
5411
- declare class LayoutListing implements PageObject {
5412
- readonly createNewLayoutButton: Locator;
5413
- readonly viewChangeButton: Locator;
5414
- readonly listingGrid: Locator;
5641
+ declare class RuleDetail extends RuleCreate implements PageObject {
5642
+ readonly contentView: Locator;
5643
+ readonly shippingMethodAvailabilityRulesCard: Locator;
5644
+ readonly shippingMethodAvailabilityRulesCardLink: Locator;
5645
+ readonly shippingMethodAvailabilityRulesCardTable: Locator;
5646
+ readonly shippingMethodAvailabilityRulesCardEmptyState: Locator;
5647
+ readonly shippingMethodAvailabilityRulesCardSearchField: Locator;
5648
+ readonly taxProviderRulesCard: Locator;
5649
+ readonly taxProviderRulesCardEmptyState: Locator;
5650
+ readonly paymentMethodsAvailabilityRulesCard: Locator;
5651
+ readonly paymentMethodsAvailabilityRulesCardEmptyState: Locator;
5652
+ readonly paymentMethodsAvailabilityRulesCardLink: Locator;
5653
+ readonly promotionOrderRulesCard: Locator;
5654
+ readonly promotionOrderRulesCardEmptyState: Locator;
5655
+ readonly promotionCustomerRulesCard: Locator;
5656
+ readonly promotionCustomerRulesCardEmptyState: Locator;
5657
+ readonly promotionCartRulesCard: Locator;
5658
+ readonly promotionCartRulesCardEmptyState: Locator;
5659
+ readonly assignmentModal: Locator;
5660
+ readonly assignmentModalAddButton: Locator;
5661
+ readonly assignmentModalSearchField: Locator;
5662
+ readonly conditionSelectField: Locator;
5663
+ readonly conditionLineItemGoodsTotalOperator: Locator;
5664
+ readonly conditionLineItemGoodsTotalValue: Locator;
5665
+ readonly conditionDateRangeOperator: Locator;
5666
+ readonly conditionDateRangeDateFieldFirst: Locator;
5667
+ readonly conditionDateRangeDateFieldSecond: Locator;
5668
+ readonly conditionCustomerSurnameOperator: Locator;
5669
+ readonly conditionCustomerSurnameValue: Locator;
5670
+ readonly conditionCartLineItemTaxationMatchOperator: Locator;
5671
+ readonly conditionCartLineItemTaxationOperator: Locator;
5672
+ readonly conditionCartLineItemTaxationValue: Locator;
5673
+ readonly conditionTimeRangeValueFirst: Locator;
5674
+ readonly conditionTimeRangeValueSecond: Locator;
5675
+ readonly conditionOrderCreatedByAdminValue: Locator;
5676
+ readonly conditionLineItemGoodsTotalFilter: Locator;
5677
+ readonly conditionFilterModal: Locator;
5678
+ readonly conditionCartLineItemInStockOperator: Locator;
5679
+ readonly conditionCartLineItemInStockValue: Locator;
5680
+ readonly conditionFilterModalCloseButtonX: Locator;
5681
+ readonly conditionORContainer: Locator;
5682
+ readonly adminMenuAvatar: Locator;
5683
+ readonly conditionDateRangeUseTimeOperator: Locator | undefined;
5684
+ readonly conditionDateRangeTimezoneOperator: Locator | undefined;
5685
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5686
+ getEntityCard(cardLocator: Locator): Promise<Record<string, Locator>>;
5687
+ url(ruleId?: string, tabName?: string): string;
5688
+ }
5689
+
5690
+ declare class RuleListing implements PageObject {
5691
+ readonly createRuleButton: Locator;
5692
+ readonly header: Locator;
5693
+ readonly grid: Locator;
5415
5694
  readonly page: Page;
5416
- readonly pagination: Locator;
5695
+ readonly gridCell: Locator;
5417
5696
  constructor(page: Page);
5418
- url(): string;
5697
+ url(searchTerm: string): string;
5419
5698
  }
5420
5699
 
5421
- declare class LayoutCreate implements PageObject {
5422
- readonly shopPageButton: Locator;
5423
- readonly landingPageButton: Locator;
5424
- readonly listingPageButton: Locator;
5425
- readonly productPageButton: Locator;
5426
- readonly cancelButton: Locator;
5700
+ declare class ManufacturerCreate implements PageObject {
5427
5701
  readonly saveButton: Locator;
5428
- readonly fullWidthButton: Locator;
5429
- readonly sidebarButton: Locator;
5430
- readonly backButton: Locator;
5431
- readonly layoutNameInput: Locator;
5432
- readonly createLayoutButton: Locator;
5702
+ readonly cancelButton: Locator;
5703
+ readonly nameInput: Locator;
5704
+ readonly websiteInput: Locator;
5705
+ readonly descriptionInput: Locator;
5433
5706
  readonly page: Page;
5434
- constructor(page: Page);
5707
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5708
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5435
5709
  url(): string;
5436
5710
  }
5437
5711
 
5438
- declare class ListingPageLayoutDetail implements PageObject {
5439
- readonly addSectionButton: Locator;
5440
- readonly sectionSelectionField: Locator;
5441
- readonly fullWidthSection: Locator;
5442
- readonly sidebarSection: Locator;
5443
- readonly sectionEmptyState: Locator;
5444
- readonly saveButton: Locator;
5445
- readonly loadingSpinner: Locator;
5446
- readonly loaderButton: Locator;
5447
- readonly productListingBlock: Locator;
5448
- readonly sidebarTitle: Locator;
5449
- readonly settingsButton: Locator;
5450
- readonly blocksButton: Locator;
5451
- readonly navigatorButton: Locator;
5452
- readonly layoutAssignmentButton: Locator;
5712
+ declare class ManufacturerListing implements PageObject {
5713
+ readonly addManufacturerButton: Locator;
5714
+ readonly manufacturerRows: Locator;
5453
5715
  readonly page: Page;
5454
5716
  constructor(page: Page);
5455
- url(layoutId: string): string;
5717
+ getLineItemByManufacturerName(manufacturerName: string): Promise<Record<string, Locator>>;
5718
+ url(): string;
5456
5719
  }
5457
5720
 
5458
- declare class SalesChannelDetail implements PageObject {
5459
- readonly page: Page$1;
5460
- readonly generalTabLink: Locator$1;
5461
- readonly productsTabLink: Locator$1;
5462
- readonly themeTabLink: Locator$1;
5463
- readonly analyticsTabLink: Locator$1;
5464
- readonly addDomainButton: Locator$1;
5465
- constructor(page: Page$1);
5466
- url(salesChannelId: string): string;
5721
+ declare class ManufacturerDetail extends ManufacturerCreate {
5722
+ readonly customFieldCard: Locator;
5723
+ readonly customFieldSetTabs: Locator;
5724
+ readonly customFieldSetTabCustomContent: Locator;
5725
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5726
+ getCustomFieldSetCardContentByName(customFieldSetName: string): Promise<Record<string, Locator>>;
5727
+ url(manufacturerUuid?: string): string;
5467
5728
  }
5468
5729
 
5469
- declare class OrderListing implements PageObject {
5470
- readonly addOrderButton: Locator;
5471
- readonly orderRows: Locator;
5730
+ declare class ProductListing implements PageObject {
5731
+ /**
5732
+ * Multi selection
5733
+ */
5734
+ readonly productsTable: Locator;
5735
+ readonly bulkEditButton: Locator;
5472
5736
  readonly page: Page;
5473
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
5474
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5475
- getLineItemByOrderNumber(orderNumber: string): Promise<{
5476
- orderNumberText: Locator;
5477
- orderCustomerNameText: Locator;
5478
- orderDeliveryAddressText: Locator;
5479
- orderTotalAmountText: Locator;
5480
- orderStateText: Locator;
5481
- orderPaymentStateText: Locator;
5482
- orderDeliveryStateText: Locator;
5483
- orderDateText: Locator;
5484
- orderCheckbox: Locator;
5485
- orderContextButton: Locator;
5486
- orderViewButton: Locator;
5487
- orderDeleteButton: Locator;
5488
- warningDialog: Locator;
5489
- warningDialogCancelButton: Locator;
5490
- warningDialogDeleteButton: Locator;
5491
- }>;
5492
- url(): string;
5493
- }
5494
-
5495
- interface AdministrationPageTypes {
5496
- AdminProductDetail: ProductDetail$1;
5497
- AdminOrderDetail: OrderDetail;
5498
- AdminCustomerListing: CustomerListing;
5499
- AdminCustomerDetail: CustomerDetail;
5500
- AdminCustomerGroupListing: CustomerGroupListing;
5501
- AdminCustomerGroupCreate: CustomerGroupCreate;
5502
- AdminCustomerGroupDetail: CustomerGroupDetail;
5503
- AdminFirstRunWizard: FirstRunWizard;
5504
- AdminFlowBuilderCreate: FlowBuilderCreate;
5505
- AdminFlowBuilderListing: FlowBuilderListing;
5506
- AdminFlowBuilderTemplates: FlowBuilderTemplates;
5507
- AdminFlowBuilderDetail: FlowBuilderDetail;
5508
- AdminDataSharing: DataSharing;
5509
- AdminDashboard: Dashboard;
5510
- AdminShippingListing: ShippingListing;
5511
- AdminShippingDetail: ShippingDetail;
5512
- AdminPaymentDetail: PaymentDetail;
5513
- AdminCategories: Categories;
5514
- AdminCategoryDetail: CategoryDetail;
5515
- AdminLandingPageCreate: LandingPageCreate;
5516
- AdminLandingPageDetail: LandingPageDetail;
5517
- AdminCustomFieldListing: CustomFieldListing;
5518
- AdminCustomFieldCreate: CustomFieldCreate;
5519
- AdminCustomFieldDetail: CustomFieldDetail;
5520
- AdminRuleDetail: RuleDetail;
5521
- AdminRuleCreate: RuleCreate;
5522
- AdminRuleListing: RuleListing;
5523
- AdminManufacturerCreate: ManufacturerCreate;
5524
- AdminManufacturerListing: ManufacturerListing;
5525
- AdminManufacturerDetail: ManufacturerDetail;
5526
- AdminProductListing: ProductListing;
5527
- AdminProductBulkEdit: ProductBulkEdit;
5528
- AdminCustomerBulkEdit: CustomerBulkEdit;
5529
- AdminSettingsListing: SettingsListing;
5530
- AdminDocumentListing: DocumentListing;
5531
- AdminDocumentDetail: DocumentDetail;
5532
- AdminPromotionsListing: PromotionsListing;
5533
- AdminPromotionCreate: PromotionCreate;
5534
- AdminPromotionDetail: PromotionDetail;
5535
- AdminSalesChannelDetail: SalesChannelDetail;
5536
- AdminShopwareServices: ShopwareServices;
5537
- AdminMedia: Media;
5538
- AdminYourProfile: YourProfile;
5539
- AdminThemesListing: ThemesListing;
5540
- AdminThemesDetail: ThemesDetail;
5541
- AdminMediaListing: MediaListing;
5542
- AdminLayoutListing: LayoutListing;
5543
- AdminListingPageLayoutDetail: ListingPageLayoutDetail;
5544
- AdminLayoutCreate: LayoutCreate;
5545
- AdminOrderListing: OrderListing;
5546
- }
5547
- declare const AdminPageObjects: {
5548
- ProductDetail: typeof ProductDetail$1;
5549
- OrderDetail: typeof OrderDetail;
5550
- CustomerListing: typeof CustomerListing;
5551
- CustomerDetail: typeof CustomerDetail;
5552
- CustomerGroupListing: typeof CustomerGroupListing;
5553
- CustomerGroupCreate: typeof CustomerGroupCreate;
5554
- CustomerGroupDetail: typeof CustomerGroupDetail;
5555
- FirstRunWizard: typeof FirstRunWizard;
5556
- FlowBuilderCreate: typeof FlowBuilderCreate;
5557
- FlowBuilderListing: typeof FlowBuilderListing;
5558
- FlowBuilderTemplates: typeof FlowBuilderTemplates;
5559
- FlowBuilderDetail: typeof FlowBuilderDetail;
5560
- Dashboard: typeof Dashboard;
5561
- DataSharing: typeof DataSharing;
5562
- ShippingListing: typeof ShippingListing;
5563
- ShippingDetail: typeof ShippingDetail;
5564
- PaymentDetail: typeof PaymentDetail;
5565
- Categories: typeof Categories;
5566
- CategoryDetail: typeof CategoryDetail;
5567
- LandingPageCreate: typeof LandingPageCreate;
5568
- LandingPageDetail: typeof LandingPageDetail;
5569
- CustomFieldListing: typeof CustomFieldListing;
5570
- CustomFieldCreate: typeof CustomFieldCreate;
5571
- CustomFieldDetail: typeof CustomFieldDetail;
5572
- RuleCreate: typeof RuleCreate;
5573
- RuleDetail: typeof RuleDetail;
5574
- RuleListing: typeof RuleListing;
5575
- ManufacturerCreate: typeof ManufacturerCreate;
5576
- ManufacturerDetail: typeof ManufacturerDetail;
5577
- ManufacturerListing: typeof ManufacturerListing;
5578
- ProductListing: typeof ProductListing;
5579
- ProductBulkEdit: typeof ProductBulkEdit;
5580
- CustomerBulkEdit: typeof CustomerBulkEdit;
5581
- SettingsListing: typeof SettingsListing;
5582
- DocumentListing: typeof DocumentListing;
5583
- DocumentDetail: typeof DocumentDetail;
5584
- SalesChannelDetail: typeof SalesChannelDetail;
5585
- ShopwareServices: typeof ShopwareServices;
5586
- PromotionsListing: typeof PromotionsListing;
5587
- PromotionCreate: typeof PromotionCreate;
5588
- PromotionDetail: typeof PromotionDetail;
5589
- Media: typeof Media;
5590
- YourProfile: typeof YourProfile;
5591
- ThemesListing: typeof ThemesListing;
5592
- ThemesDetail: typeof ThemesDetail;
5593
- MediaListing: typeof MediaListing;
5594
- LayoutListing: typeof LayoutListing;
5595
- ListingPageLayoutDetail: typeof ListingPageLayoutDetail;
5596
- LayoutCreate: typeof LayoutCreate;
5597
- OrderListing: typeof OrderListing;
5598
- };
5599
-
5600
- interface DataFixtureTypes {
5601
- ProductData: Product;
5602
- CategoryData: Category$1;
5603
- DigitalProductData: {
5604
- product: Product;
5605
- fileContent: string;
5606
- };
5607
- PromotionWithCodeData: components['schemas']['Promotion'];
5608
- CartWithProductData: Record<string, unknown>;
5609
- PropertiesData: {
5610
- propertyGroupColor: components['schemas']['PropertyGroup'];
5611
- propertyGroupSize: components['schemas']['PropertyGroup'];
5612
- };
5613
- MediaData: components['schemas']['Media'];
5614
- OrderData: Order;
5615
- TagData: components['schemas']['Tag'];
5616
- }
5617
-
5618
- /**
5619
- * Service to interact with feature flags
5620
- */
5621
- declare class FeatureService {
5622
- private readonly apiContext;
5623
- private features;
5624
- private resetFeatures;
5625
- constructor(apiContext: AdminApiContext);
5626
- enable(name: string | string[]): Promise<void>;
5627
- disable(name: string | string[]): Promise<void>;
5628
- isEnabled(name: string): Promise<boolean>;
5629
- private loadFeatures;
5630
- cleanup(): Promise<void>;
5631
- }
5632
-
5633
- interface FeatureFixtureTypes {
5634
- FeatureService: FeatureService;
5635
- }
5636
-
5637
- interface FixtureTypes extends ApiContextTypes, PageContextTypes, ActorFixtureTypes, TestDataFixtureTypes, HelperFixtureTypes, FeatureFixtureTypes, DefaultSalesChannelTypes, ShopwareDataFixtureTypes, StorefrontPageTypes, AdministrationPageTypes, DataFixtureTypes {
5638
- }
5639
-
5640
- declare class Home implements PageObject {
5641
- readonly categoryTitle: Locator;
5642
- readonly accountMenuButton: Locator;
5643
- readonly closeGuestSessionButton: Locator;
5644
- readonly productImages: Locator;
5645
- readonly productListItems: Locator;
5646
- readonly loader: Locator;
5647
- readonly productVariantCharacteristicsOptions: Locator;
5648
- /**
5649
- * @deprecated Use 'Header/languagesDropdown' instead
5650
- */
5651
- readonly languagesDropdown: Locator;
5652
- /**
5653
- * @deprecated Use 'Header/languagesMenuOptions' instead
5654
- */
5655
- readonly languagesMenuOptions: Locator;
5656
- /**
5657
- * @deprecated Use 'Header/currenciesDropdown' instead
5658
- */
5659
- readonly currenciesDropdown: Locator;
5660
- /**
5661
- * @deprecated Use 'Header/currenciesMenuOptions' instead
5662
- */
5663
- readonly currenciesMenuOptions: Locator;
5664
- readonly consentOnlyTechnicallyRequiredButton: Locator;
5665
- readonly consentConfigureButton: Locator;
5666
- readonly consentAcceptAllCookiesButton: Locator;
5667
- readonly consentCookiePreferences: Locator;
5668
- readonly consentCookiePermissionContent: Locator;
5669
- readonly consentDialog: Locator;
5670
- readonly consentDialogCloseButton: Locator;
5671
- readonly consentDialogTechnicallyRequiredCheckbox: Locator;
5672
- readonly consentDialogStatisticsCheckbox: Locator;
5673
- /**
5674
- * @deprecated Use 'consentDialogMarketingCheckbox' instead
5675
- */
5676
- readonly consentDialogMarketingdCheckbox: Locator;
5677
- readonly consentDialogMarketingCheckbox: Locator;
5678
- readonly consentDialogAcceptAllCookiesButton: Locator;
5679
- readonly consentDialogSaveButton: Locator;
5680
- readonly consentCookieBannerContainer: Locator;
5681
- readonly offcanvasBackdrop: Locator;
5682
- /**
5683
- * @deprecated Use 'Header/mainNavigationLink' instead
5684
- */
5685
- readonly mainNavigationLink: Locator;
5686
- /**
5687
- * @deprecated Use 'Footer/contactFormLink' instead
5688
- */
5689
- readonly contactFormLink: Locator;
5690
- /**
5691
- * @deprecated Use 'Header/wishlistIcon' instead
5692
- */
5693
- readonly wishlistIcon: Locator;
5694
5737
  /**
5695
- * @deprecated Use 'Header/wishlistBasket' instead
5696
- */
5697
- readonly wishlistBasket: Locator;
5698
- readonly filterMultiSelect: Locator;
5699
- readonly manufacturerFilter: Locator;
5700
- readonly propertyFilters: Locator;
5701
- readonly priceFilterButton: Locator;
5702
- readonly resetAllButton: Locator;
5703
- readonly freeShippingFilter: Locator;
5704
- readonly productList: Locator;
5705
- readonly productItemNames: Locator;
5706
- readonly productRatingButton: Locator;
5707
- readonly productRatingList: Locator;
5708
- readonly page: Page;
5709
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
5710
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5711
- getRatingItemLocatorByRating(rating: number): Promise<Locator>;
5712
- getFilterItemByFilterName(filterName: string): Promise<Locator>;
5713
- getFilterButtonByFilterName(filterName: string): Promise<Locator>;
5714
- getMenuItemByCategoryName(categoryName: string): Promise<Record<string, Locator>>;
5715
- /**
5716
- * @deprecated - use getListingItemByProductName instead
5738
+ * Bulk edit modal
5717
5739
  */
5718
- getListingItemByProductId(productId: string): Promise<Record<string, Locator>>;
5719
- getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
5720
- url(): string;
5721
- }
5722
-
5723
- declare class ProductDetail implements PageObject {
5724
- readonly addToCartButton: Locator;
5725
- readonly quantitySelect: Locator;
5726
- readonly productSingleImage: Locator;
5727
- readonly productSinglePrice: Locator;
5728
- readonly productPriceRangesRow: Locator;
5729
- readonly productListingPriceBadge: Locator;
5730
- readonly productListingPrice: Locator;
5731
- readonly productListingPricePercentage: Locator;
5732
- readonly offCanvasCartTitle: Locator;
5733
- readonly offCanvasCart: Locator;
5734
- readonly offCanvasCartGoToCheckoutButton: Locator;
5735
- readonly offCanvasLineItemImages: Locator;
5736
- readonly offCanvasSummaryTotalPrice: Locator;
5737
- readonly offCanvas: Locator;
5738
- readonly offCanvasLineItemLabel: (productName: string) => Locator;
5739
- readonly offCanvasLineItemProductNumber: (productNumber: string) => Locator;
5740
- readonly offCanvasLineItemDeliveryDate: Locator;
5741
- readonly wishlistAddedButton: Locator;
5742
- readonly wishlistNotAddedButton: Locator;
5743
- readonly propertyRadioGroup: (propertyName: string) => Locator;
5744
- readonly productDetailConfigurator: Locator;
5745
- readonly productDetailConfiguratorGroupTitle: Locator;
5746
- readonly productDetailConfiguratorOptionInputs: Locator;
5747
- readonly productName: Locator;
5748
- readonly productDescriptionTitle: Locator;
5749
- readonly reviewsTab: Locator;
5750
- readonly reviewTeaserButton: Locator;
5751
- readonly reviewTeaserText: Locator;
5752
- readonly reviewListingItems: Locator;
5753
- readonly reviewEmptyListingText: Locator;
5754
- readonly reviewLoginForm: Locator;
5755
- readonly forgottenPasswordLink: Locator;
5756
- readonly reviewForm: Locator;
5757
- readonly reviewRatingPoints: Locator;
5758
- readonly reviewRatingText: Locator;
5759
- readonly reviewSubmitMessage: Locator;
5760
- readonly reviewCounter: Locator;
5761
- readonly reviewItemRatingPoints: Locator;
5762
- readonly reviewItemTitle: Locator;
5763
- readonly reviewReviewTextInput: Locator;
5764
- readonly reviewItemContent: Locator;
5765
- readonly reviewLoginButton: Locator;
5766
- readonly reviewEmailInput: Locator;
5767
- readonly reviewPasswordInput: Locator;
5768
- readonly reviewTitleInput: Locator;
5769
- readonly reviewSubmitButton: Locator;
5770
- readonly productReviewsLink: Locator;
5771
- readonly productReviewRating: Locator;
5772
- readonly page: Page;
5773
- constructor(page: Page);
5774
- getReviewFilterRowOptionsByName(filterOptionName: string): Promise<{
5775
- reviewFilterOptionCheckbox: Locator;
5776
- reviewFilterOptionText: Locator;
5777
- reviewFilterOptionPercentage: Locator;
5778
- }>;
5779
- url(productData: Product): string;
5780
- }
5781
-
5782
- declare class Category implements PageObject {
5783
- readonly sortingSelect: Locator;
5784
- readonly firstProductBuyButton: Locator;
5785
- readonly noProductsFoundAlert: Locator;
5786
- readonly page: Page;
5787
- constructor(page: Page);
5788
- url(categoryName: string): string;
5789
- }
5790
-
5791
- declare class CheckoutCart implements PageObject {
5792
- readonly headline: Locator;
5793
- readonly goToCheckoutButton: Locator;
5794
- readonly enterPromoInput: Locator;
5795
- readonly grandTotalPrice: Locator;
5796
- readonly emptyCartAlert: Locator;
5797
- readonly stockReachedAlert: Locator;
5798
- readonly cartLineItemImages: Locator;
5799
- readonly unitPriceInfo: Locator;
5800
- readonly cartQuantityNumber: Locator;
5801
- readonly productNameLabel: (productName: string) => Locator;
5802
- readonly productNumberLabel: (productNumber: string) => Locator;
5803
- readonly productDeliveryDateLabel: Locator;
5804
- readonly page: Page;
5805
- constructor(page: Page);
5806
- url(): string;
5807
- getLineItemByProductNumber(productNumber: string): Promise<Record<string, Locator>>;
5808
- }
5809
-
5810
- declare class OffCanvasCart implements PageObject {
5811
- readonly headline: Locator;
5812
- readonly itemCount: Locator;
5813
- readonly goToCheckoutButton: Locator;
5814
- readonly goToCartButton: Locator;
5815
- readonly continueShoppingButton: Locator;
5816
- readonly enterPromoInput: Locator;
5817
- readonly submitDiscountButton: Locator;
5818
- readonly subTotalPrice: Locator;
5819
- readonly shippingCosts: Locator;
5820
- readonly cartQuantityNumber: Locator;
5821
- readonly page: Page;
5740
+ readonly bulkEditModal: Locator;
5741
+ readonly startBulkEditButton: Locator;
5822
5742
  constructor(page: Page);
5823
- url(): string;
5824
- getLineItemByProductNumber(productNumber: string): Promise<Record<string, Locator>>;
5825
- }
5826
-
5827
- declare class CheckoutConfirm implements PageObject {
5828
- readonly headline: Locator;
5829
- readonly termsAndConditionsCheckbox: Locator;
5830
- readonly immediateAccessToDigitalProductCheckbox: Locator;
5831
- readonly grandTotalPrice: Locator;
5832
- readonly taxPrice: Locator;
5833
- readonly submitOrderButton: Locator;
5834
5743
  /**
5835
- * Payment and Shipping options
5744
+ * Returns the url to the listing page.
5745
+ *
5746
+ * @param searchTerms - Includes search terms for filtering of the product list.
5836
5747
  */
5837
- readonly paymentMethodRadioGroup: Locator;
5838
- readonly shippingMethodRadioGroup: Locator;
5839
- /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
5840
- readonly paymentCashOnDelivery: Locator;
5841
- /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
5842
- readonly paymentPaidInAdvance: Locator;
5843
- /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
5844
- readonly paymentInvoice: Locator;
5845
- /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
5846
- readonly shippingStandard: Locator;
5847
- /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
5848
- readonly shippingExpress: Locator;
5748
+ url(searchTerms?: string[]): string;
5849
5749
  /**
5850
- * Product details
5750
+ * Returns the table row containing the product with the given product number.
5751
+ *
5752
+ * @param productNumber - Product number you are looking for.
5851
5753
  */
5852
- readonly cartLineItemImages: Locator;
5853
- readonly page: Page;
5854
- constructor(page: Page);
5855
- url(): string;
5754
+ getProductRow(productNumber: string): Promise<Record<string, Locator>>;
5856
5755
  }
5857
5756
 
5858
- declare class CheckoutFinish implements PageObject {
5859
- readonly headline: Locator;
5860
- readonly orderNumberText: Locator;
5861
- readonly grandTotalPrice: Locator;
5862
- readonly taxPrice: Locator;
5863
- readonly cartLineItemImages: Locator;
5757
+ declare class ProductBulkEdit implements PageObject {
5758
+ /**
5759
+ * Bulk edit values
5760
+ */
5761
+ readonly changeManufacturerRow: Locator;
5762
+ readonly changeManufacturerCheckbox: Locator;
5763
+ readonly manufacturerDropdown: Locator;
5764
+ readonly manufacturerDropdownInput: Locator;
5765
+ readonly manufacturerListResult: Locator;
5766
+ readonly changeActiveRow: Locator;
5767
+ readonly changeActiveCheckbox: Locator;
5768
+ readonly activeToggle: Locator;
5769
+ readonly changePriceRow: Locator;
5770
+ readonly changePriceCheckbox: Locator;
5771
+ readonly grossPriceInput: Locator;
5772
+ readonly changeReleaseDateRow: Locator;
5773
+ readonly changeReleaseDateCheckbox: Locator;
5774
+ readonly releaseDateInput: Locator;
5775
+ readonly changeStockRow: Locator;
5776
+ readonly changeStockCheckbox: Locator;
5777
+ readonly stockChangeMethodDropdown: Locator;
5778
+ readonly stockChangeMethodInput: Locator;
5779
+ readonly stockInput: Locator;
5780
+ readonly changeRestockTimeRow: Locator;
5781
+ readonly changeRestockTimeCheckbox: Locator;
5782
+ readonly restockTimeChangeMethodDropdown: Locator;
5783
+ readonly restockTimeChangeMethodInput: Locator;
5784
+ readonly restockTimeInput: Locator;
5785
+ readonly changeTagsRow: Locator;
5786
+ readonly changeTagsCheckbox: Locator;
5787
+ readonly tagsChangeMethodDropdown: Locator;
5788
+ readonly tagsChangeMethodInput: Locator;
5789
+ readonly tagsInput: Locator;
5790
+ readonly changeSalesChannelRow: Locator;
5791
+ readonly changeSalesChannelCheckbox: Locator;
5792
+ readonly salesChannelChangeMethodDropdown: Locator;
5793
+ readonly salesChannelChangeMethodInput: Locator;
5794
+ readonly salesChannelInput: Locator;
5795
+ readonly applyChangesButton: Locator;
5796
+ /**
5797
+ * Confirmation modal
5798
+ */
5799
+ readonly confirmModal: Locator;
5800
+ readonly confirmModalApplyChangesButton: Locator;
5801
+ readonly confirmModalLoadingSpinner: Locator;
5802
+ readonly confirmModalSuccessHeader: Locator;
5803
+ readonly confirmModalSuccessCloseButton: Locator;
5864
5804
  readonly page: Page;
5865
- private readonly orderNumberRegex;
5866
5805
  constructor(page: Page);
5867
5806
  url(): string;
5868
- getOrderNumber(): Promise<string | null>;
5869
- getOrderId(): string;
5807
+ getDropdownEntry(entry: string): Promise<Locator>;
5870
5808
  }
5871
5809
 
5872
- declare class CheckoutRegister implements PageObject {
5873
- readonly cartLineItemImages: Locator;
5810
+ declare class CustomerBulkEdit implements PageObject {
5811
+ readonly applyChangesButton: Locator;
5812
+ readonly filtersResultPopoverItemList: Locator;
5813
+ readonly changeCustomerGroupCheckbox: Locator;
5814
+ readonly customerGroupInput: Locator;
5815
+ readonly changeAccountStatusCheckbox: Locator;
5816
+ readonly accountStatusInput: Locator;
5817
+ readonly changeLanguageCheckbox: Locator;
5818
+ readonly changeLanguageInput: Locator;
5819
+ readonly replyToCustomerGroupRequest: Locator;
5820
+ readonly replyToCustomerGroupRequestInput: Locator;
5821
+ readonly changeTagsCheckbox: Locator;
5822
+ readonly changeTypeSelect: Locator;
5823
+ readonly enterTagsSelect: Locator;
5824
+ readonly customFieldCheckbox: Locator;
5825
+ readonly customFieldInput: Locator;
5826
+ readonly customFieldArrowRightButton: Locator;
5827
+ /**
5828
+ * Confirmation modal
5829
+ */
5830
+ readonly confirmModal: Locator;
5831
+ readonly confirmModalApplyChangesButton: Locator;
5832
+ readonly confirmModalSuccessHeader: Locator;
5833
+ readonly confirmModalSuccessCloseButton: Locator;
5874
5834
  readonly page: Page;
5875
5835
  constructor(page: Page);
5836
+ getPageHeadline(customerCount: number): Promise<Locator>;
5837
+ getCustomFieldInputByName(customFieldName: string): Promise<Locator>;
5838
+ getCustomFieldLinkByName(customFieldSetName: string): Promise<Locator>;
5876
5839
  url(): string;
5877
5840
  }
5878
5841
 
5879
- declare class AccountNavigation {
5880
- private readonly page;
5881
- readonly overviewLink: Locator;
5882
- readonly yourProfileLink: Locator;
5883
- readonly addressesLink: Locator;
5884
- readonly ordersLink: Locator;
5885
- readonly logoutLink: Locator;
5886
- constructor(page: Page);
5887
- }
5888
-
5889
- declare abstract class BaseAccount implements PageObject {
5890
- readonly page: Page;
5891
- readonly navigation: AccountNavigation;
5892
- protected constructor(page: Page);
5893
- abstract url(): string;
5894
- }
5895
-
5896
- declare class Account extends BaseAccount {
5897
- readonly headline: Locator;
5898
- readonly personalDataCardTitle: Locator;
5899
- readonly paymentMethodCardTitle: Locator;
5900
- readonly billingAddressCardTitle: Locator;
5901
- readonly shippingAddressCardTitle: Locator;
5902
- readonly newsletterCheckbox: Locator;
5903
- readonly newsletterRegistrationSuccessMessage: Locator;
5904
- readonly customerGroupRequestMessage: Locator;
5905
- readonly cannotDeliverToCountryAlert: Locator;
5906
- readonly shippingToAddressNotPossibleAlert: Locator;
5907
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
5908
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
5909
- getCustomerGroupAlert(customerGroup: string): Promise<Locator>;
5910
- url(): string;
5911
- }
5912
-
5913
- declare class AccountLogin implements PageObject {
5914
- readonly emailInput: Locator;
5915
- readonly passwordInput: Locator;
5916
- readonly forgotPasswordLink: Locator;
5917
- readonly loginButton: Locator;
5918
- readonly logoutLink: Locator;
5919
- readonly successAlert: Locator;
5920
- readonly invalidCredentialsAlert: Locator;
5921
- readonly passwordUpdatedAlert: Locator;
5922
- readonly personalFormArea: Locator;
5923
- readonly billingAddressFormArea: Locator;
5924
- readonly accountTypeSelect: Locator;
5925
- readonly salutationSelect: Locator;
5926
- readonly firstNameInput: Locator;
5927
- readonly lastNameInput: Locator;
5928
- readonly companyInput: Locator;
5929
- readonly departmentInput: Locator;
5930
- readonly vatRegNoInput: Locator;
5931
- readonly registerEmailInput: Locator;
5932
- readonly registerPasswordInput: Locator;
5933
- readonly streetAddressInput: Locator;
5934
- readonly cityInput: Locator;
5935
- readonly countryInput: Locator;
5936
- readonly postalCodeInput: Locator;
5937
- readonly registerButton: Locator;
5938
- readonly greCaptchaV2Container: Locator;
5939
- readonly greCaptchaV2Input: Locator;
5940
- readonly greCaptchaV3Input: Locator;
5941
- readonly greCaptchaProtectionInformation: Locator;
5942
- readonly greCaptchaBadge: Locator;
5943
- readonly differentShippingAddressCheckbox: Locator;
5944
- readonly registerShippingAddressFormArea: Locator;
5945
- readonly shippingAddressSalutationSelect: Locator;
5946
- readonly shippingAddressFirstNameInput: Locator;
5947
- readonly shippingAddressLastNameInput: Locator;
5948
- readonly shippingAddressStreetAddressInput: Locator;
5949
- readonly shippingAddressCityInput: Locator;
5950
- readonly shippingAddressCountryInput: Locator;
5951
- readonly shippingAddressPostalCodeInput: Locator;
5952
- readonly shippingAddressStateInput: Locator;
5842
+ declare class SettingsListing implements PageObject {
5843
+ readonly contentView: Locator;
5844
+ readonly header: Locator;
5845
+ readonly shopwareServicesLink: Locator;
5953
5846
  readonly page: Page;
5954
5847
  constructor(page: Page);
5955
- getShippingCountryLocatorByName(countryName: string): Promise<Locator>;
5956
5848
  url(): string;
5957
5849
  }
5958
5850
 
5959
- declare class AccountRecover implements PageObject {
5960
- readonly passwordRecoveryForm: Locator;
5961
- readonly title: Locator;
5962
- readonly subtitle: Locator;
5963
- readonly emailInput: Locator;
5964
- readonly requestEmailButton: Locator;
5965
- readonly backButton: Locator;
5966
- readonly passwordResetEmailSentMessage: Locator;
5967
- readonly newPasswordInput: Locator;
5968
- readonly newPasswordConfirmInput: Locator;
5969
- readonly changePasswordButton: Locator;
5970
- readonly invalidLinkMessage: Locator;
5851
+ declare class DocumentListing implements PageObject {
5852
+ readonly addDocumentButton: Locator;
5853
+ readonly invoiceLink: Locator;
5971
5854
  readonly page: Page;
5972
5855
  constructor(page: Page);
5973
- url(recoverLink?: string): string;
5974
- }
5975
-
5976
- declare class AccountProfile extends BaseAccount {
5977
- readonly page: Page;
5978
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
5979
- readonly salutationSelect: Locator;
5980
- readonly firstNameInput: Locator;
5981
- readonly lastNameInput: Locator;
5982
- readonly saveProfileButton: Locator;
5983
- readonly changeEmailButton: Locator;
5984
- readonly emailAddressInput: Locator;
5985
- readonly emailAddressConfirmInput: Locator;
5986
- readonly emailConfirmPasswordInput: Locator;
5987
- readonly saveEmailAddressButton: Locator;
5988
- readonly changePasswordButton: Locator;
5989
- readonly newPasswordInput: Locator;
5990
- readonly newPasswordConfirmInput: Locator;
5991
- readonly currentPasswordInput: Locator;
5992
- readonly saveNewPasswordButton: Locator;
5993
- readonly loginDataEmailAddress: Locator;
5994
- readonly emailUpdateMessage: Locator;
5995
- readonly passwordUpdateMessage: Locator;
5996
- readonly emailValidationAlert: Locator;
5997
- readonly emailUpdateFailureAlert: Locator;
5998
- readonly passwordUpdateFailureAlert: Locator;
5999
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
6000
5856
  url(): string;
6001
5857
  }
6002
5858
 
6003
- declare class AccountOrder extends BaseAccount {
6004
- readonly cartLineItemImages: Locator;
6005
- readonly orderExpandButton: Locator;
6006
- readonly digitalProductDownloadButton: Locator;
6007
- readonly dialogOrderCancel: Locator;
6008
- readonly dialogOrderCancelButton: Locator;
6009
- readonly dialogBackButton: Locator;
6010
- readonly orderDetails: Locator;
6011
- readonly invoiceHTML: Locator;
6012
- readonly creditItem: Locator;
6013
- readonly noOrdersAlert: Locator;
5859
+ declare class DocumentDetail implements PageObject {
5860
+ /** @deprecated - Use 'displayDocumentInMyAccountSwitch' instead. */
5861
+ readonly showInAccountSwitch: Locator;
5862
+ readonly displayDocumentInMyAccountSwitch: Locator;
5863
+ readonly saveButton: Locator;
5864
+ readonly documentTypeSelect: Locator;
5865
+ readonly page: Page;
6014
5866
  constructor(page: Page);
6015
- getOrderByOrderNumber(orderNumber: string): Promise<Record<string, Locator>>;
6016
- url(): string;
6017
- }
6018
-
6019
- declare class AccountAddresses extends BaseAccount {
6020
- readonly addNewAddressButton: Locator;
6021
- readonly editBillingAddressButton: Locator;
6022
- readonly editShippingAddressButton: Locator;
6023
- readonly useDefaultBillingAddressButton: Locator;
6024
- readonly useDefaultShippingAddressButton: Locator;
6025
- readonly deliveryNotPossibleAlert: Locator | undefined;
6026
- readonly availableAddresses: Locator | undefined;
6027
- readonly addressDropdownButton: Locator | undefined;
6028
- readonly addressDropdownButtons: Locator | undefined;
6029
- readonly availableAddressesUseAsBillingAddress: Locator | undefined;
6030
- readonly availableAddressesUseAsShippingAddress: Locator | undefined;
6031
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
6032
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
6033
- url(): string;
5867
+ url(documentId: string): string;
6034
5868
  }
6035
5869
 
6036
- declare class AccountPayment implements PageObject {
6037
- readonly cashOnDeliveryOption: Locator;
6038
- readonly paidInAdvanceOption: Locator;
6039
- readonly invoiceOption: Locator;
6040
- readonly changeDefaultPaymentButton: Locator;
5870
+ declare class ShopwareServices implements PageObject {
5871
+ readonly header: Locator;
5872
+ readonly deactivatedBanner: Locator;
5873
+ readonly activateServicesButton: Locator;
5874
+ readonly permissionBanner: Locator;
5875
+ readonly permissionGrantButton: Locator;
5876
+ readonly serviceCards: Locator;
5877
+ readonly deactivateServicesConfirmButton: Locator;
5878
+ readonly deactivateServicesButton: Locator;
5879
+ readonly deactivateServicesModal: Locator;
6041
5880
  readonly page: Page;
6042
5881
  constructor(page: Page);
6043
5882
  url(): string;
6044
5883
  }
6045
5884
 
6046
- declare class Search implements PageObject {
6047
- readonly headline: Locator;
6048
- readonly productImages: Locator;
5885
+ declare class PromotionsListing implements PageObject {
5886
+ private readonly instanceMeta;
6049
5887
  readonly page: Page;
6050
- constructor(page: Page);
6051
- url(searchTerm: string): string;
5888
+ readonly smartBar: Locator;
5889
+ readonly smartBarHeader: Locator;
5890
+ readonly languageSelect: Locator;
5891
+ readonly smartBarAddPromotionButton: Locator;
5892
+ readonly emptyState: Locator;
5893
+ readonly emptyStateAddPromotionButton: Locator;
5894
+ readonly promotionsTable: Locator;
5895
+ readonly sidebarRefreshButton: Locator;
5896
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5897
+ /**
5898
+ * Returns the url to the listing page.
5899
+ *
5900
+ * @param searchTerms - Includes search terms for filtering of the promotions list.
5901
+ */
5902
+ url(searchTerms?: string[]): string;
5903
+ /**
5904
+ * Returns the table row containing the promotion with the given promotion name.
5905
+ *
5906
+ * @param promotionName - Promotion name you are looking for.
5907
+ */
5908
+ getPromotionRow(promotionName: string): Promise<Record<string, Locator>>;
6052
5909
  }
6053
5910
 
6054
- declare class SearchSuggest extends Home implements PageObject {
6055
- readonly searchSuggestLineItemImages: Locator;
6056
- readonly searchInput: Locator;
6057
- readonly searchIcon: Locator;
6058
- readonly searchSuggestNoResult: Locator;
6059
- readonly searchSuggestLineItemName: Locator;
6060
- readonly searchSuggestLineItemPrice: Locator;
6061
- readonly searchSuggestTotalLink: Locator;
6062
- readonly searchResultTotal: Locator;
6063
- readonly searchHeadline: Locator;
5911
+ declare class PromotionCreate implements PageObject {
5912
+ readonly page: Page$1;
5913
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5914
+ readonly smartBar: Locator$1;
5915
+ readonly smartBarHeader: Locator$1;
5916
+ readonly languageSelect: Locator$1;
5917
+ readonly saveButton: Locator$1;
5918
+ readonly cancelButton: Locator$1;
5919
+ readonly generalCard: Locator$1;
5920
+ readonly nameInput: Locator$1;
5921
+ readonly priorityInput: Locator$1;
5922
+ constructor(page: Page$1, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5923
+ /**
5924
+ * Returns the url to the creation page.
5925
+ */
5926
+ url(): string;
5927
+ }
5928
+
5929
+ declare class PromotionDetail extends PromotionCreate {
5930
+ readonly page: Page$1;
5931
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
5932
+ readonly tabGeneralLink: Locator$1;
5933
+ readonly tabConditionsLink: Locator$1;
5934
+ readonly tabDiscountsLink: Locator$1;
5935
+ readonly promotionCodesCard: Locator$1;
5936
+ readonly promotionCodesHeading: Locator$1;
5937
+ readonly promotionCodesSelection: Locator$1;
5938
+ readonly preConditionsCard: Locator$1;
5939
+ readonly addDiscountButton: Locator$1;
5940
+ readonly discountCards: Locator$1;
5941
+ constructor(page: Page$1, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
5942
+ /**
5943
+ * Returns the url to the detail page.
5944
+ *
5945
+ * @param promotionId - Id of the promotion to show the details of.
5946
+ * @param tab - The tab to open. Defaults to 'general'. Other options are 'conditions' and 'discounts'.
5947
+ */
5948
+ url(promotionId?: string, tab?: "general" | "conditions" | "discounts"): string;
5949
+ }
5950
+
5951
+ declare class Media implements PageObject {
6064
5952
  readonly page: Page;
6065
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
6066
- getTotalSearchResultCount(): Promise<number>;
6067
- url(searchTerm?: string): string;
5953
+ readonly uploadFileButton: Locator;
5954
+ readonly addNewFolderButton: Locator;
5955
+ readonly mediaGridItems: Locator;
5956
+ readonly mediaItemCheckbox: Locator;
5957
+ readonly mediaItemPreview: Locator;
5958
+ readonly mediaItemName: Locator;
5959
+ readonly mediaItemContextMenu: Locator;
5960
+ readonly searchInput: Locator;
5961
+ constructor(page: Page);
5962
+ url(): string;
5963
+ /**
5964
+ * Gets the title/name of a media item by its image alt text
5965
+ * @param alt The alt text of the image
5966
+ * @returns Promise that resolves to the title text
5967
+ */
5968
+ getMediaNameByAlt(alt: string): Promise<string>;
5969
+ /**
5970
+ * Gets a specific media item container by its name/title
5971
+ * @param mediaName The name/title of the media item
5972
+ * @returns Locator for the specific media item container
5973
+ */
5974
+ getMediaItemByName(mediaName: string): Locator;
5975
+ /**
5976
+ * Gets the context menu button for a specific media item by media name
5977
+ * @param mediaName The name/title of the media item
5978
+ * @returns Locator for the context menu button
5979
+ */
5980
+ getContextMenuButtonByName(mediaName: string): Locator;
5981
+ /**
5982
+ * Gets a specific context menu item by its text
5983
+ * @param itemText The text of the context menu item (e.g., 'Rename', 'Delete', etc.)
5984
+ * @returns Locator for the specific context menu item
5985
+ */
5986
+ getContextMenuItem(itemText: string): Locator;
6068
5987
  }
6069
5988
 
6070
- declare class CustomRegister extends AccountLogin implements PageObject {
5989
+ declare class YourProfile implements PageObject {
5990
+ readonly contentView: Locator;
6071
5991
  readonly page: Page;
5992
+ readonly searchPreferencesTab: Locator;
5993
+ readonly firstNameField: Locator;
5994
+ readonly lastNameField: Locator;
5995
+ readonly userNameField: Locator;
5996
+ readonly emailField: Locator;
5997
+ readonly deselectAllButton: Locator;
6072
5998
  constructor(page: Page);
6073
- url(customCustomerGroupName?: string): string;
5999
+ url(): string;
6074
6000
  }
6075
6001
 
6076
- declare class CheckoutOrderEdit implements PageObject {
6077
- readonly completePaymentButton: Locator;
6078
- readonly orderCancelButton: Locator;
6079
- readonly dialogOrderCancel: Locator;
6080
- readonly dialogOrderCancelButton: Locator;
6081
- readonly dialogBackButton: Locator;
6082
- /**
6083
- * Payment and Shipping options
6084
- */
6085
- readonly paymentMethodRadioGroup: Locator;
6086
- readonly shippingMethodRadioGroup: Locator;
6087
- /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
6088
- readonly paymentCashOnDelivery: Locator;
6089
- /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
6090
- readonly paymentPaidInAdvance: Locator;
6091
- /** @deprecated - Use 'paymentMethodRadioGroup' with selectsRadioButton() instead. */
6092
- readonly paymentInvoice: Locator;
6093
- /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
6094
- readonly shippingStandard: Locator;
6095
- /** @deprecated - Use 'shippingMethodRadioGroup' with selectsRadioButton() instead. */
6096
- readonly shippingExpress: Locator;
6002
+ declare class ThemesListing implements PageObject {
6003
+ readonly contentView: Locator;
6097
6004
  readonly page: Page;
6005
+ readonly installedTheme: (title: string) => Locator;
6098
6006
  constructor(page: Page);
6099
- url(orderUuid: string): string;
6100
- /**
6101
- * Returns the radio button element for a specified payment method.
6102
- *
6103
- * @param paymentMethodName - Name of the payment method on the page.
6104
- */
6105
- getPaymentMethodButton(paymentMethodName: string): Locator;
6007
+ url(): string;
6106
6008
  }
6107
6009
 
6108
- declare class AccountAddressCreate extends BaseAccount {
6109
- readonly salutationDropdown: Locator;
6110
- readonly firstNameInput: Locator;
6111
- readonly lastNameInput: Locator;
6112
- readonly companyInput: Locator;
6113
- readonly departmentInput: Locator;
6114
- readonly streetInput: Locator;
6115
- readonly zipcodeInput: Locator;
6116
- readonly cityInput: Locator;
6117
- readonly countryDropdown: Locator;
6118
- readonly saveAddressButton: Locator;
6119
- readonly stateDropdown: Locator;
6010
+ declare class ThemesDetail implements PageObject {
6011
+ readonly contentView: Locator;
6012
+ readonly page: Page;
6013
+ readonly scrollableElement: Locator;
6014
+ readonly themeCard: (headline: string) => Locator;
6015
+ readonly sidebarButton: Locator;
6120
6016
  constructor(page: Page);
6121
6017
  url(): string;
6122
6018
  }
6123
6019
 
6124
- declare class PageNotFound implements PageObject {
6125
- readonly pageNotFoundImage: Locator;
6126
- readonly headline: Locator;
6127
- readonly pageNotFoundMessage: Locator;
6128
- readonly backToShopButton: Locator;
6020
+ declare class MediaListing implements PageObject {
6129
6021
  readonly page: Page;
6022
+ readonly scrollableElementVertical: Locator;
6023
+ readonly mediaFolder: (title: string) => Locator;
6024
+ readonly emptyState: Locator;
6025
+ readonly updatedAtDate: Locator;
6130
6026
  constructor(page: Page);
6131
6027
  url(): string;
6132
6028
  }
6133
6029
 
6134
- declare class ContactForm extends Home implements PageObject {
6135
- /**
6136
- * @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactWrapper' instead
6137
- */
6138
- readonly contactModal: Locator | undefined;
6139
- /**
6140
- * @deprecated Compatible until shopware v6.6.x, will be removed in 6.8.0.0, use 'contactSuccessMessage' instead
6141
- */
6142
- readonly contactSuccessModal: Locator | undefined;
6143
- readonly contactWrapper: Locator;
6144
- readonly salutationSelect: Locator;
6145
- readonly firstNameInput: Locator;
6146
- readonly lastNameInput: Locator;
6147
- readonly emailInput: Locator;
6148
- readonly phoneInput: Locator;
6149
- readonly subjectInput: Locator;
6150
- readonly commentInput: Locator;
6151
- readonly privacyPolicyCheckbox: Locator;
6152
- readonly submitButton: Locator;
6153
- readonly contactSuccessMessage: Locator;
6154
- readonly cardTitle: Locator;
6155
- readonly formFieldFeedback: Locator | undefined;
6156
- readonly formAlert: Locator | undefined;
6157
- /**
6158
- * Captcha locators
6159
- */
6160
- readonly basicCaptcha: Locator;
6161
- readonly basicCaptchaImage: Locator;
6162
- readonly basicCaptchaRefreshButton: Locator;
6163
- readonly basicCaptchaInput: Locator;
6164
- readonly greCaptchaV2Container: Locator;
6165
- readonly greCaptchaV2Input: Locator;
6166
- readonly greCaptchaProtectionInformation: Locator;
6167
- readonly instanceMeta: HelperFixtureTypes['InstanceMeta'];
6168
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
6030
+ declare class LayoutListing implements PageObject {
6031
+ readonly createNewLayoutButton: Locator;
6032
+ readonly viewChangeButton: Locator;
6033
+ readonly listingGrid: Locator;
6034
+ readonly page: Page;
6035
+ readonly pagination: Locator;
6036
+ constructor(page: Page);
6169
6037
  url(): string;
6170
6038
  }
6171
6039
 
6172
- declare class Wishlist extends Home implements PageObject {
6173
- readonly wishListHeader: Locator;
6174
- readonly removeAlert: Locator;
6175
- readonly emptyListing: Locator;
6040
+ declare class LayoutCreate implements PageObject {
6041
+ readonly shopPageButton: Locator;
6042
+ readonly landingPageButton: Locator;
6043
+ readonly listingPageButton: Locator;
6044
+ readonly productPageButton: Locator;
6045
+ readonly cancelButton: Locator;
6046
+ readonly saveButton: Locator;
6047
+ readonly fullWidthButton: Locator;
6048
+ readonly sidebarButton: Locator;
6049
+ readonly backButton: Locator;
6050
+ readonly layoutNameInput: Locator;
6051
+ readonly createLayoutButton: Locator;
6176
6052
  readonly page: Page;
6177
- constructor(page: Page, instanceMeta: HelperFixtureTypes['InstanceMeta']);
6178
- getListingItemByProductName(productListingName: string): Promise<Record<string, Locator>>;
6053
+ constructor(page: Page);
6179
6054
  url(): string;
6180
6055
  }
6181
6056
 
6182
- declare class Footer implements PageObject {
6183
- readonly footerHeadline: Locator;
6184
- readonly footerContent: Locator;
6185
- readonly footerHotline: Locator;
6186
- readonly footerContactForm: Locator;
6187
- readonly footerContactFormLink: Locator;
6057
+ declare class ListingPageLayoutDetail implements PageObject {
6058
+ readonly addSectionButton: Locator;
6059
+ readonly sectionSelectionField: Locator;
6060
+ readonly fullWidthSection: Locator;
6061
+ readonly sidebarSection: Locator;
6062
+ readonly sectionEmptyState: Locator;
6063
+ readonly saveButton: Locator;
6064
+ readonly loadingSpinner: Locator;
6065
+ readonly loaderButton: Locator;
6066
+ readonly productListingBlock: Locator;
6067
+ readonly sidebarTitle: Locator;
6068
+ readonly settingsButton: Locator;
6069
+ readonly blocksButton: Locator;
6070
+ readonly navigatorButton: Locator;
6071
+ readonly layoutAssignmentButton: Locator;
6188
6072
  readonly page: Page;
6189
6073
  constructor(page: Page);
6190
- url(): string;
6074
+ url(layoutId: string): string;
6191
6075
  }
6192
6076
 
6193
- declare class Header implements PageObject {
6194
- readonly mainNavigationLink: Locator;
6195
- readonly topBarNav: Locator;
6196
- readonly languagesDropdown: Locator;
6197
- readonly languagesMenuOptions: Locator;
6198
- readonly currenciesDropdown: Locator;
6199
- readonly currenciesMenuOptions: Locator;
6200
- readonly searchInput: Locator;
6201
- readonly skipToMainContentLink: Locator;
6202
- readonly wishlistIcon: Locator;
6203
- readonly wishlistBasket: Locator;
6077
+ declare class SalesChannelDetail implements PageObject {
6078
+ readonly page: Page$1;
6079
+ readonly generalTabLink: Locator$1;
6080
+ readonly productsTabLink: Locator$1;
6081
+ readonly themeTabLink: Locator$1;
6082
+ readonly analyticsTabLink: Locator$1;
6083
+ readonly addDomainButton: Locator$1;
6084
+ constructor(page: Page$1);
6085
+ url(salesChannelId: string): string;
6086
+ }
6087
+
6088
+ declare class OrderListing implements PageObject {
6089
+ readonly addOrderButton: Locator;
6090
+ readonly orderRows: Locator;
6204
6091
  readonly page: Page;
6205
- constructor(page: Page);
6092
+ readonly instanceMeta: HelperFixtureTypes["InstanceMeta"];
6093
+ constructor(page: Page, instanceMeta: HelperFixtureTypes["InstanceMeta"]);
6094
+ getLineItemByOrderNumber(orderNumber: string): Promise<{
6095
+ orderNumberText: Locator;
6096
+ orderCustomerNameText: Locator;
6097
+ orderDeliveryAddressText: Locator;
6098
+ orderTotalAmountText: Locator;
6099
+ orderStateText: Locator;
6100
+ orderPaymentStateText: Locator;
6101
+ orderDeliveryStateText: Locator;
6102
+ orderDateText: Locator;
6103
+ orderCheckbox: Locator;
6104
+ orderContextButton: Locator;
6105
+ orderViewButton: Locator;
6106
+ orderDeleteButton: Locator;
6107
+ warningDialog: Locator;
6108
+ warningDialogCancelButton: Locator;
6109
+ warningDialogDeleteButton: Locator;
6110
+ }>;
6206
6111
  url(): string;
6207
6112
  }
6208
6113
 
6209
- interface StorefrontPageTypes {
6210
- StorefrontHome: Home;
6211
- StorefrontProductDetail: ProductDetail;
6212
- StorefrontCategory: Category;
6213
- StorefrontCheckoutCart: CheckoutCart;
6214
- StorefrontOffCanvasCart: OffCanvasCart;
6215
- StorefrontCheckoutConfirm: CheckoutConfirm;
6216
- StorefrontCheckoutFinish: CheckoutFinish;
6217
- StorefrontCheckoutRegister: CheckoutRegister;
6218
- StorefrontAccount: Account;
6219
- StorefrontAccountLogin: AccountLogin;
6220
- StorefrontAccountRecover: AccountRecover;
6221
- StorefrontAccountProfile: AccountProfile;
6222
- StorefrontAccountOrder: AccountOrder;
6223
- StorefrontAccountAddresses: AccountAddresses;
6224
- StorefrontAccountAddressCreate: AccountAddressCreate;
6225
- StorefrontAccountPayment: AccountPayment;
6226
- StorefrontSearch: Search;
6227
- StorefrontSearchSuggest: SearchSuggest;
6228
- StorefrontCustomRegister: CustomRegister;
6229
- StorefrontCheckoutOrderEdit: CheckoutOrderEdit;
6230
- StorefrontPageNotFound: PageNotFound;
6231
- StorefrontContactForm: ContactForm;
6232
- StorefrontWishlist: Wishlist;
6233
- StorefrontFooter: Footer;
6234
- StorefrontHeader: Header;
6114
+ interface AdministrationPageTypes {
6115
+ AdminProductDetail: ProductDetail;
6116
+ AdminOrderDetail: OrderDetail;
6117
+ AdminCustomerListing: CustomerListing;
6118
+ AdminCustomerDetail: CustomerDetail;
6119
+ AdminCustomerGroupListing: CustomerGroupListing;
6120
+ AdminCustomerGroupCreate: CustomerGroupCreate;
6121
+ AdminCustomerGroupDetail: CustomerGroupDetail;
6122
+ AdminFirstRunWizard: FirstRunWizard;
6123
+ AdminFlowBuilderCreate: FlowBuilderCreate;
6124
+ AdminFlowBuilderListing: FlowBuilderListing;
6125
+ AdminFlowBuilderTemplates: FlowBuilderTemplates;
6126
+ AdminFlowBuilderDetail: FlowBuilderDetail;
6127
+ AdminDataSharing: DataSharing;
6128
+ AdminDashboard: Dashboard;
6129
+ AdminShippingListing: ShippingListing;
6130
+ AdminShippingDetail: ShippingDetail;
6131
+ AdminPaymentDetail: PaymentDetail;
6132
+ AdminCategories: Categories;
6133
+ AdminCategoryDetail: CategoryDetail;
6134
+ AdminLandingPageCreate: LandingPageCreate;
6135
+ AdminLandingPageDetail: LandingPageDetail;
6136
+ AdminCustomFieldListing: CustomFieldListing;
6137
+ AdminCustomFieldCreate: CustomFieldCreate;
6138
+ AdminCustomFieldDetail: CustomFieldDetail;
6139
+ AdminRuleDetail: RuleDetail;
6140
+ AdminRuleCreate: RuleCreate;
6141
+ AdminRuleListing: RuleListing;
6142
+ AdminManufacturerCreate: ManufacturerCreate;
6143
+ AdminManufacturerListing: ManufacturerListing;
6144
+ AdminManufacturerDetail: ManufacturerDetail;
6145
+ AdminProductListing: ProductListing;
6146
+ AdminProductBulkEdit: ProductBulkEdit;
6147
+ AdminCustomerBulkEdit: CustomerBulkEdit;
6148
+ AdminSettingsListing: SettingsListing;
6149
+ AdminDocumentListing: DocumentListing;
6150
+ AdminDocumentDetail: DocumentDetail;
6151
+ AdminPromotionsListing: PromotionsListing;
6152
+ AdminPromotionCreate: PromotionCreate;
6153
+ AdminPromotionDetail: PromotionDetail;
6154
+ AdminSalesChannelDetail: SalesChannelDetail;
6155
+ AdminShopwareServices: ShopwareServices;
6156
+ AdminMedia: Media;
6157
+ AdminYourProfile: YourProfile;
6158
+ AdminThemesListing: ThemesListing;
6159
+ AdminThemesDetail: ThemesDetail;
6160
+ AdminMediaListing: MediaListing;
6161
+ AdminLayoutListing: LayoutListing;
6162
+ AdminListingPageLayoutDetail: ListingPageLayoutDetail;
6163
+ AdminLayoutCreate: LayoutCreate;
6164
+ AdminOrderListing: OrderListing;
6235
6165
  }
6236
- declare const StorefrontPageObjects: {
6237
- Home: typeof Home;
6166
+ declare const AdminPageObjects: {
6238
6167
  ProductDetail: typeof ProductDetail;
6239
- Category: typeof Category;
6240
- CheckoutCart: typeof CheckoutCart;
6241
- OffCanvasCart: typeof OffCanvasCart;
6242
- CheckoutConfirm: typeof CheckoutConfirm;
6243
- CheckoutFinish: typeof CheckoutFinish;
6244
- CheckoutRegister: typeof CheckoutRegister;
6245
- Account: typeof Account;
6246
- AccountLogin: typeof AccountLogin;
6247
- AccountRecover: typeof AccountRecover;
6248
- AccountProfile: typeof AccountProfile;
6249
- AccountOrder: typeof AccountOrder;
6250
- AccountAddresses: typeof AccountAddresses;
6251
- AccountAddressCreate: typeof AccountAddressCreate;
6252
- AccountPayment: typeof AccountPayment;
6253
- Search: typeof Search;
6254
- SearchSuggest: typeof SearchSuggest;
6255
- CustomRegister: typeof CustomRegister;
6256
- CheckoutOrderEdit: typeof CheckoutOrderEdit;
6257
- PageNotFound: typeof PageNotFound;
6258
- ContactForm: typeof ContactForm;
6259
- Wishlist: typeof Wishlist;
6260
- Footer: typeof Footer;
6261
- Header: typeof Header;
6168
+ OrderDetail: typeof OrderDetail;
6169
+ CustomerListing: typeof CustomerListing;
6170
+ CustomerDetail: typeof CustomerDetail;
6171
+ CustomerGroupListing: typeof CustomerGroupListing;
6172
+ CustomerGroupCreate: typeof CustomerGroupCreate;
6173
+ CustomerGroupDetail: typeof CustomerGroupDetail;
6174
+ FirstRunWizard: typeof FirstRunWizard;
6175
+ FlowBuilderCreate: typeof FlowBuilderCreate;
6176
+ FlowBuilderListing: typeof FlowBuilderListing;
6177
+ FlowBuilderTemplates: typeof FlowBuilderTemplates;
6178
+ FlowBuilderDetail: typeof FlowBuilderDetail;
6179
+ Dashboard: typeof Dashboard;
6180
+ DataSharing: typeof DataSharing;
6181
+ ShippingListing: typeof ShippingListing;
6182
+ ShippingDetail: typeof ShippingDetail;
6183
+ PaymentDetail: typeof PaymentDetail;
6184
+ Categories: typeof Categories;
6185
+ CategoryDetail: typeof CategoryDetail;
6186
+ LandingPageCreate: typeof LandingPageCreate;
6187
+ LandingPageDetail: typeof LandingPageDetail;
6188
+ CustomFieldListing: typeof CustomFieldListing;
6189
+ CustomFieldCreate: typeof CustomFieldCreate;
6190
+ CustomFieldDetail: typeof CustomFieldDetail;
6191
+ RuleCreate: typeof RuleCreate;
6192
+ RuleDetail: typeof RuleDetail;
6193
+ RuleListing: typeof RuleListing;
6194
+ ManufacturerCreate: typeof ManufacturerCreate;
6195
+ ManufacturerDetail: typeof ManufacturerDetail;
6196
+ ManufacturerListing: typeof ManufacturerListing;
6197
+ ProductListing: typeof ProductListing;
6198
+ ProductBulkEdit: typeof ProductBulkEdit;
6199
+ CustomerBulkEdit: typeof CustomerBulkEdit;
6200
+ SettingsListing: typeof SettingsListing;
6201
+ DocumentListing: typeof DocumentListing;
6202
+ DocumentDetail: typeof DocumentDetail;
6203
+ SalesChannelDetail: typeof SalesChannelDetail;
6204
+ ShopwareServices: typeof ShopwareServices;
6205
+ PromotionsListing: typeof PromotionsListing;
6206
+ PromotionCreate: typeof PromotionCreate;
6207
+ PromotionDetail: typeof PromotionDetail;
6208
+ Media: typeof Media;
6209
+ YourProfile: typeof YourProfile;
6210
+ ThemesListing: typeof ThemesListing;
6211
+ ThemesDetail: typeof ThemesDetail;
6212
+ MediaListing: typeof MediaListing;
6213
+ LayoutListing: typeof LayoutListing;
6214
+ ListingPageLayoutDetail: typeof ListingPageLayoutDetail;
6215
+ LayoutCreate: typeof LayoutCreate;
6216
+ OrderListing: typeof OrderListing;
6262
6217
  };
6263
6218
 
6264
- type Task = (...args: any[]) => () => Promise<void>;
6219
+ interface DataFixtureTypes {
6220
+ ProductData: Product;
6221
+ CategoryData: Category$1;
6222
+ DigitalProductData: {
6223
+ product: Product;
6224
+ fileContent: string;
6225
+ };
6226
+ PromotionWithCodeData: components["schemas"]["Promotion"];
6227
+ CartWithProductData: Record<string, unknown>;
6228
+ PropertiesData: {
6229
+ propertyGroupColor: components["schemas"]["PropertyGroup"];
6230
+ propertyGroupSize: components["schemas"]["PropertyGroup"];
6231
+ };
6232
+ MediaData: components["schemas"]["Media"];
6233
+ OrderData: Order;
6234
+ TagData: components["schemas"]["Tag"];
6235
+ }
6236
+
6237
+ interface FeatureFixtureTypes {
6238
+ FeatureService: FeatureService;
6239
+ }
6240
+
6241
+ interface FixtureTypes extends ApiContextTypes, PageContextTypes, ActorFixtureTypes, TestDataFixtureTypes, HelperFixtureTypes, FeatureFixtureTypes, DefaultSalesChannelTypes, ShopwareDataFixtureTypes, StorefrontPageTypes, AdministrationPageTypes, DataFixtureTypes {
6242
+ }
6243
+
6244
+ interface StoreBaseConfig {
6245
+ storefrontTypeId: string;
6246
+ currentLocaleId: string;
6247
+ currentLanguageId: string;
6248
+ currentCurrencyId: string;
6249
+ defaultCurrencyId: string;
6250
+ defaultLanguageId: string;
6251
+ invoicePaymentMethodId: string;
6252
+ defaultShippingMethod: string;
6253
+ taxId: string;
6254
+ currentCountryId: string;
6255
+ currentSnippetSetId: string;
6256
+ defaultThemeId: string;
6257
+ appUrl: string | undefined;
6258
+ adminUrl: string;
6259
+ }
6260
+ interface DefaultSalesChannelTypes {
6261
+ SalesChannelBaseConfig: StoreBaseConfig;
6262
+ DefaultSalesChannel: {
6263
+ salesChannel: SalesChannel;
6264
+ customer: Customer;
6265
+ url: string;
6266
+ };
6267
+ DefaultStorefront: {
6268
+ salesChannel: SalesChannel;
6269
+ customer: Customer;
6270
+ url: string;
6271
+ };
6272
+ }
6273
+
6274
+ /**
6275
+ * Creates a new admin page context (login page) without the actual login.
6276
+ * @param browser - The Playwright Browser instance.
6277
+ * @param SalesChannelBaseConfig - The sales channel base configuration fixture.
6278
+ * @returns The Playwright Page instance for the admin login page.
6279
+ */
6280
+ declare function createNewAdminPageContext(browser: Browser, SalesChannelBaseConfig: DefaultSalesChannelTypes["SalesChannelBaseConfig"]): Promise<Page$1>;
6281
+ /**
6282
+ * Performs admin login on the given page with the provided merchant user.
6283
+ * @param adminLoginPage - The Playwright Page instance for the admin login page.
6284
+ * @param merchant - The merchant user.
6285
+ * @param AdminApiContext - The API request context for admin API calls.
6286
+ * @returns The logged-in admin Page instance.
6287
+ */
6288
+ declare function loginToAdministration(adminLoginPage: Page$1, merchant: User, AdminApiContext: FixtureTypes['AdminApiContext']): Promise<Page$1>;
6289
+
6290
+ /**
6291
+ * Generic task type that accepts any parameters
6292
+ */
6293
+ type Task<TArgs extends unknown[] = any[]> = (...args: TArgs) => () => Promise<void>;
6265
6294
 
6266
6295
  declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs & playwright_test.PlaywrightTestOptions & FixtureTypes & {
6267
6296
  SaveProduct: Task;
@@ -6345,5 +6374,5 @@ declare const test: playwright_test.TestType<playwright_test.PlaywrightTestArgs
6345
6374
  CheckVisibilityInHome: Task;
6346
6375
  }, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions & FixtureTypes>;
6347
6376
 
6348
- export { AdminPageObjects, BUNDLED_RESOURCES, COUNTRY_ADDRESS_DATA, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, compareFlowTemplateWithFlow, createRandomImage, encodeImage, extractIdFromUrl, formatPrice, getCountryAddressData, getCountryCodeFromLocale, getCountryId, getCurrency, getCurrencyCodeFromLocale, getCurrencySymbolFromLocale, getCurrentContext, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageCode, getLanguageData, getLocale, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, replaceElements, replaceElementsIndividually, setCurrentContext, setOrderStatus, setViewport, test, translate, updateAdminUser };
6377
+ export { Actor, AdminPageObjects, BUNDLED_RESOURCES, COUNTRY_ADDRESS_DATA, FeatureService, IdProvider, LanguageHelper, RuleType, StorefrontPageObjects, TestDataService, assertScreenshot, baseNamespaces, clearDelayedCache, compareFlowTemplateWithFlow, createNewAdminPageContext, createRandomImage, encodeImage, extractIdFromUrl, formatPrice, getCountryAddressData, getCountryCodeFromLocale, getCountryId, getCurrency, getCurrencyCodeFromLocale, getCurrencySymbolFromLocale, getCurrentContext, getDefaultShippingMethodId, getFlow, getFlowId, getFlowTemplate, getLanguageCode, getLanguageData, getLocale, getMediaId, getOrderTransactionId, getPaymentMethodId, getPromotionWithDiscount, getSalutationId, getShippingMethodId, getSnippetSetId, getStateMachineId, getStateMachineStateId, getTaxId, getThemeId, hideElements, isSaaSInstance, isThemeCompiled, loginToAdministration, mockApiCalls, replaceElements, replaceElementsIndividually, setCurrentContext, setOrderStatus, setViewport, test, translate, updateAdminUser };
6349
6378
  export type { AccountData, AclRole, Address, CalculatedTaxes, Category$1 as Category, CategoryCustomizableLinkData, CategoryData, CmsPage, Country$1 as Country, CreatedRecord, Currency$2 as Currency, CustomField, CustomFieldData, CustomFieldSet, Customer, CustomerAddress, CustomerGroup, DataServiceOptions, DeliveryTime, FixtureTypes, Flow, FlowConfig, FlowTemplate, Language$2 as Language, Manufacturer, Media$1 as Media, Options, Order, OrderDelivery, OrderLineItem, OrderStatus, PageObject, PaymentMethod$1 as PaymentMethod, Price, Product, ProductCrossSelling, ProductPrice, ProductReview, Promotion, PromotionDiscount, PropertyGroup, PropertyGroupOption, RegistrationData, ReplaceTarget, Rule, RuleAssignmentEntity, SalesChannel, SalesChannelAnalytics, SalesChannelDomain, SalesChannelRecord, Salutation, ShippingMethod$1 as ShippingMethod, SimpleLineItem, StateMachine, StateMachineState, SyncApiOperation, SystemConfig, Tag, TagData, Task, Tax$1 as Tax, TaxRules, TranslateFn, TranslationKey, User, VariantListingConfig };