@skyramp/skyramp 1.2.28 → 1.2.30
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/package.json
CHANGED
|
@@ -123,6 +123,8 @@ interface GenerateRestTestOptions {
|
|
|
123
123
|
playwright?: boolean;
|
|
124
124
|
playwrightOutput?: string;
|
|
125
125
|
playwrightInput?: string;
|
|
126
|
+
playwrightViewportSize?: string;
|
|
127
|
+
playwrightStoragePath?: string;
|
|
126
128
|
loadCount?: string;
|
|
127
129
|
loadDuration?: string;
|
|
128
130
|
loadNumThreads?: string;
|
|
@@ -57,7 +57,7 @@ const deployTargetWrapper = lib.func('deployTargetWrapper', 'string', ['string',
|
|
|
57
57
|
const deleteTargetWrapper = lib.func('deleteTargetWrapper', 'string', ['string', 'string', 'string', 'string', 'string']);
|
|
58
58
|
const runTesterGenerateRestWrapper = lib.func('runTesterGenerateRestWrapper', testerGenerateType, ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'int', 'bool', 'bool', 'bool']);
|
|
59
59
|
|
|
60
|
-
const generateRestTestWrapper = lib.func('generateRestTestWrapper', 'string', ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'bool', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'string', 'bool', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'string', 'string']);
|
|
60
|
+
const generateRestTestWrapper = lib.func('generateRestTestWrapper', 'string', ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'bool', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'string', 'bool', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'bool', 'string', 'string']);
|
|
61
61
|
const traceCollectWrapper = lib.func('traceCollectWrapper', 'string', ['string', 'string', 'bool', 'string', 'string']);
|
|
62
62
|
const analyzeOpenapiWrapper = lib.func('analyzeOpenapiWrapper', 'string', ['string', 'string']);
|
|
63
63
|
|
|
@@ -860,6 +860,8 @@ class SkyrampClient {
|
|
|
860
860
|
options.playwright || false,
|
|
861
861
|
options.playwrightOutput || "",
|
|
862
862
|
options.playwrightInput || "",
|
|
863
|
+
options.playwrightViewportSize || "",
|
|
864
|
+
options.playwrightStoragePath || "",
|
|
863
865
|
options.loadCount || "0",
|
|
864
866
|
options.loadDuration || "0",
|
|
865
867
|
options.loadNumThreads || "0",
|
|
@@ -676,6 +676,10 @@ class SkyrampPlaywrightPage {
|
|
|
676
676
|
});
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
+
unwrap() {
|
|
680
|
+
return this._page;
|
|
681
|
+
}
|
|
682
|
+
|
|
679
683
|
pushLocator(locator) {
|
|
680
684
|
if (this.locators == undefined ) {
|
|
681
685
|
this.locators = [];
|
|
@@ -803,6 +807,9 @@ function expect(obj) {
|
|
|
803
807
|
if (obj instanceof SkyrampPlaywrightLocator) {
|
|
804
808
|
return playwrightExpect(obj.unwrap());
|
|
805
809
|
}
|
|
810
|
+
if (obj instanceof SkyrampPlaywrightPage) {
|
|
811
|
+
return playwrightExpect(obj.unwrap());
|
|
812
|
+
}
|
|
806
813
|
return playwrightExpect(obj);
|
|
807
814
|
}
|
|
808
815
|
|