@shopware-ag/acceptance-test-suite 2.7.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 +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.mjs +495 -375
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1145,7 +1145,26 @@ interface DataFixtureTypes {
|
|
|
1145
1145
|
TagData: components['schemas']['Tag'];
|
|
1146
1146
|
}
|
|
1147
1147
|
|
|
1148
|
-
|
|
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 {
|
|
1149
1168
|
}
|
|
1150
1169
|
|
|
1151
1170
|
type Language = components['schemas']['Language'] & {
|
|
@@ -1188,6 +1207,8 @@ declare function createRandomImage(width?: number, height?: number): Image;
|
|
|
1188
1207
|
|
|
1189
1208
|
declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArgs & _playwright_test.PlaywrightTestOptions & FixtureTypes & {
|
|
1190
1209
|
SaveProduct: Task;
|
|
1210
|
+
} & {
|
|
1211
|
+
ExpectNotification: Task;
|
|
1191
1212
|
} & {
|
|
1192
1213
|
Login: Task;
|
|
1193
1214
|
} & {
|
package/dist/index.d.ts
CHANGED
|
@@ -1145,7 +1145,26 @@ interface DataFixtureTypes {
|
|
|
1145
1145
|
TagData: components['schemas']['Tag'];
|
|
1146
1146
|
}
|
|
1147
1147
|
|
|
1148
|
-
|
|
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 {
|
|
1149
1168
|
}
|
|
1150
1169
|
|
|
1151
1170
|
type Language = components['schemas']['Language'] & {
|
|
@@ -1188,6 +1207,8 @@ declare function createRandomImage(width?: number, height?: number): Image;
|
|
|
1188
1207
|
|
|
1189
1208
|
declare const test: _playwright_test.TestType<_playwright_test.PlaywrightTestArgs & _playwright_test.PlaywrightTestOptions & FixtureTypes & {
|
|
1190
1209
|
SaveProduct: Task;
|
|
1210
|
+
} & {
|
|
1211
|
+
ExpectNotification: Task;
|
|
1191
1212
|
} & {
|
|
1192
1213
|
Login: Task;
|
|
1193
1214
|
} & {
|