@shopware-ag/acceptance-test-suite 2.6.0 → 2.8.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 +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.mjs +511 -374
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -729,6 +729,7 @@ declare class ProductDetail$1 implements PageObject {
|
|
|
729
729
|
readonly addToCartButton: Locator;
|
|
730
730
|
readonly quantitySelect: Locator;
|
|
731
731
|
readonly productSingleImage: Locator;
|
|
732
|
+
readonly productSinglePrice: Locator;
|
|
732
733
|
readonly offCanvasCartTitle: Locator;
|
|
733
734
|
readonly offCanvasCart: Locator;
|
|
734
735
|
readonly offCanvasCartGoToCheckoutButton: Locator;
|
|
@@ -1144,7 +1145,26 @@ interface DataFixtureTypes {
|
|
|
1144
1145
|
TagData: components['schemas']['Tag'];
|
|
1145
1146
|
}
|
|
1146
1147
|
|
|
1147
|
-
|
|
1148
|
+
/**
|
|
1149
|
+
* Service to interact with feature flags
|
|
1150
|
+
*/
|
|
1151
|
+
declare class FeatureService {
|
|
1152
|
+
private readonly apiContext;
|
|
1153
|
+
private features;
|
|
1154
|
+
private resetFeatures;
|
|
1155
|
+
constructor(apiContext: AdminApiContext);
|
|
1156
|
+
enable(name: string | string[]): Promise<void>;
|
|
1157
|
+
disable(name: string | string[]): Promise<void>;
|
|
1158
|
+
isEnabled(name: string): Promise<boolean>;
|
|
1159
|
+
private loadFeatures;
|
|
1160
|
+
cleanup(): Promise<void>;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
interface FeatureFixtureTypes {
|
|
1164
|
+
FeatureService: FeatureService;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
interface FixtureTypes extends ApiContextTypes, PageContextTypes, ActorFixtureTypes, TestDataFixtureTypes, HelperFixtureTypes, FeatureFixtureTypes, DefaultSalesChannelTypes, StorefrontPageTypes, AdministrationPageTypes, DataFixtureTypes {
|
|
1148
1168
|
}
|
|
1149
1169
|
|
|
1150
1170
|
type Language = components['schemas']['Language'] & {
|
|
@@ -1187,6 +1207,8 @@ declare function createRandomImage(width?: number, height?: number): Image;
|
|
|
1187
1207
|
|
|
1188
1208
|
declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArgs & _playwright_test.PlaywrightTestOptions & FixtureTypes & {
|
|
1189
1209
|
SaveProduct: Task;
|
|
1210
|
+
} & {
|
|
1211
|
+
ExpectNotification: Task;
|
|
1190
1212
|
} & {
|
|
1191
1213
|
Login: Task;
|
|
1192
1214
|
} & {
|
package/dist/index.d.ts
CHANGED
|
@@ -729,6 +729,7 @@ declare class ProductDetail$1 implements PageObject {
|
|
|
729
729
|
readonly addToCartButton: Locator;
|
|
730
730
|
readonly quantitySelect: Locator;
|
|
731
731
|
readonly productSingleImage: Locator;
|
|
732
|
+
readonly productSinglePrice: Locator;
|
|
732
733
|
readonly offCanvasCartTitle: Locator;
|
|
733
734
|
readonly offCanvasCart: Locator;
|
|
734
735
|
readonly offCanvasCartGoToCheckoutButton: Locator;
|
|
@@ -1144,7 +1145,26 @@ interface DataFixtureTypes {
|
|
|
1144
1145
|
TagData: components['schemas']['Tag'];
|
|
1145
1146
|
}
|
|
1146
1147
|
|
|
1147
|
-
|
|
1148
|
+
/**
|
|
1149
|
+
* Service to interact with feature flags
|
|
1150
|
+
*/
|
|
1151
|
+
declare class FeatureService {
|
|
1152
|
+
private readonly apiContext;
|
|
1153
|
+
private features;
|
|
1154
|
+
private resetFeatures;
|
|
1155
|
+
constructor(apiContext: AdminApiContext);
|
|
1156
|
+
enable(name: string | string[]): Promise<void>;
|
|
1157
|
+
disable(name: string | string[]): Promise<void>;
|
|
1158
|
+
isEnabled(name: string): Promise<boolean>;
|
|
1159
|
+
private loadFeatures;
|
|
1160
|
+
cleanup(): Promise<void>;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
interface FeatureFixtureTypes {
|
|
1164
|
+
FeatureService: FeatureService;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
interface FixtureTypes extends ApiContextTypes, PageContextTypes, ActorFixtureTypes, TestDataFixtureTypes, HelperFixtureTypes, FeatureFixtureTypes, DefaultSalesChannelTypes, StorefrontPageTypes, AdministrationPageTypes, DataFixtureTypes {
|
|
1148
1168
|
}
|
|
1149
1169
|
|
|
1150
1170
|
type Language = components['schemas']['Language'] & {
|
|
@@ -1187,6 +1207,8 @@ declare function createRandomImage(width?: number, height?: number): Image;
|
|
|
1187
1207
|
|
|
1188
1208
|
declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArgs & _playwright_test.PlaywrightTestOptions & FixtureTypes & {
|
|
1189
1209
|
SaveProduct: Task;
|
|
1210
|
+
} & {
|
|
1211
|
+
ExpectNotification: Task;
|
|
1190
1212
|
} & {
|
|
1191
1213
|
Login: Task;
|
|
1192
1214
|
} & {
|