@elastic/synthetics 1.0.0-beta.3 → 1.0.0-beta.32
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/README.md +4 -3
- package/dist/cli.js +123 -161
- package/dist/cli.js.map +1 -1
- package/dist/common_types.d.ts +159 -34
- package/dist/common_types.d.ts.map +1 -1
- package/dist/config.d.ts +2 -5
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +5 -5
- package/dist/config.js.map +1 -1
- package/dist/core/browser-service.js +5 -5
- package/dist/core/browser-service.js.map +1 -1
- package/dist/core/expect.d.ts +25 -25
- package/dist/core/expect.d.ts.map +1 -1
- package/dist/core/expect.js.map +1 -1
- package/dist/core/gatherer.d.ts +4 -8
- package/dist/core/gatherer.d.ts.map +1 -1
- package/dist/core/gatherer.js +49 -15
- package/dist/core/gatherer.js.map +1 -1
- package/dist/core/index.d.ts +5 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +23 -11
- package/dist/core/index.js.map +1 -1
- package/dist/core/logger.d.ts +0 -1
- package/dist/core/logger.d.ts.map +1 -1
- package/dist/core/logger.js +3 -16
- package/dist/core/logger.js.map +1 -1
- package/dist/core/runner.d.ts +21 -65
- package/dist/core/runner.d.ts.map +1 -1
- package/dist/core/runner.js +212 -93
- package/dist/core/runner.js.map +1 -1
- package/dist/dsl/index.js +5 -1
- package/dist/dsl/index.js.map +1 -1
- package/dist/dsl/journey.d.ts +9 -4
- package/dist/dsl/journey.d.ts.map +1 -1
- package/dist/dsl/journey.js +27 -7
- package/dist/dsl/journey.js.map +1 -1
- package/dist/dsl/monitor.d.ts +66 -0
- package/dist/dsl/monitor.d.ts.map +1 -0
- package/dist/dsl/monitor.js +63 -0
- package/dist/dsl/monitor.js.map +1 -0
- package/dist/dsl/step.d.ts +3 -2
- package/dist/dsl/step.d.ts.map +1 -1
- package/dist/dsl/step.js +2 -1
- package/dist/dsl/step.js.map +1 -1
- package/dist/formatter/javascript.d.ts +98 -0
- package/dist/formatter/javascript.d.ts.map +1 -0
- package/dist/formatter/javascript.js +295 -0
- package/dist/formatter/javascript.js.map +1 -0
- package/dist/generator/index.d.ts +29 -0
- package/dist/generator/index.d.ts.map +1 -0
- package/dist/generator/index.js +240 -0
- package/dist/generator/index.js.map +1 -0
- package/dist/{reporters/reporter.js → generator/utils.d.ts} +5 -3
- package/dist/generator/utils.d.ts.map +1 -0
- package/dist/generator/utils.js +80 -0
- package/dist/generator/utils.js.map +1 -0
- package/dist/helpers.d.ts +24 -1
- package/dist/helpers.d.ts.map +1 -1
- package/dist/helpers.js +126 -19
- package/dist/helpers.js.map +1 -1
- package/dist/index.d.ts +6 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -26
- package/dist/index.js.map +1 -1
- package/dist/{parse_args.d.ts → loader.d.ts} +2 -5
- package/dist/loader.d.ts.map +1 -0
- package/dist/loader.js +152 -0
- package/dist/loader.js.map +1 -0
- package/dist/locations/index.d.ts +45 -0
- package/dist/locations/index.d.ts.map +1 -0
- package/dist/locations/index.js +90 -0
- package/dist/locations/index.js.map +1 -0
- package/dist/{reporters/reporter.d.ts → locations/public-locations.d.ts} +12 -8
- package/dist/locations/public-locations.d.ts.map +1 -0
- package/dist/locations/public-locations.js +41 -0
- package/dist/locations/public-locations.js.map +1 -0
- package/dist/options.d.ts +41 -0
- package/dist/options.d.ts.map +1 -0
- package/dist/options.js +182 -0
- package/dist/options.js.map +1 -0
- package/dist/plugins/browser-console.d.ts +5 -4
- package/dist/plugins/browser-console.d.ts.map +1 -1
- package/dist/plugins/browser-console.js +27 -8
- package/dist/plugins/browser-console.js.map +1 -1
- package/dist/plugins/index.js +5 -1
- package/dist/plugins/index.js.map +1 -1
- package/dist/plugins/network.d.ts +20 -33
- package/dist/plugins/network.d.ts.map +1 -1
- package/dist/plugins/network.js +173 -214
- package/dist/plugins/network.js.map +1 -1
- package/dist/plugins/performance.d.ts +4 -19
- package/dist/plugins/performance.d.ts.map +1 -1
- package/dist/plugins/performance.js +5 -5
- package/dist/plugins/performance.js.map +1 -1
- package/dist/plugins/plugin-manager.d.ts +9 -5
- package/dist/plugins/plugin-manager.d.ts.map +1 -1
- package/dist/plugins/plugin-manager.js +44 -29
- package/dist/plugins/plugin-manager.js.map +1 -1
- package/dist/plugins/tracing.d.ts +6 -6
- package/dist/plugins/tracing.d.ts.map +1 -1
- package/dist/plugins/tracing.js +8 -7
- package/dist/plugins/tracing.js.map +1 -1
- package/dist/push/bundler.d.ts +34 -0
- package/dist/push/bundler.d.ts.map +1 -0
- package/dist/push/bundler.js +123 -0
- package/dist/push/bundler.js.map +1 -0
- package/dist/push/index.d.ts +33 -0
- package/dist/push/index.d.ts.map +1 -0
- package/dist/push/index.js +174 -0
- package/dist/push/index.js.map +1 -0
- package/dist/push/monitor.d.ts +34 -0
- package/dist/push/monitor.d.ts.map +1 -0
- package/dist/push/monitor.js +78 -0
- package/dist/push/monitor.js.map +1 -0
- package/{src/reporters/reporter.ts → dist/push/plugin.d.ts} +8 -10
- package/dist/push/plugin.d.ts.map +1 -0
- package/dist/push/plugin.js +133 -0
- package/dist/push/plugin.js.map +1 -0
- package/dist/push/request.d.ts +43 -0
- package/dist/push/request.d.ts.map +1 -0
- package/dist/push/request.js +83 -0
- package/dist/push/request.js.map +1 -0
- package/dist/reporters/base.d.ts +14 -6
- package/dist/reporters/base.d.ts.map +1 -1
- package/dist/reporters/base.js +54 -48
- package/dist/reporters/base.js.map +1 -1
- package/dist/reporters/index.d.ts +18 -8
- package/dist/reporters/index.d.ts.map +1 -1
- package/dist/reporters/index.js.map +1 -1
- package/dist/reporters/json.d.ts +18 -67
- package/dist/reporters/json.d.ts.map +1 -1
- package/dist/reporters/json.js +153 -175
- package/dist/reporters/json.js.map +1 -1
- package/dist/reporters/junit.d.ts +7 -1
- package/dist/reporters/junit.d.ts.map +1 -1
- package/dist/reporters/junit.js +94 -89
- package/dist/reporters/junit.js.map +1 -1
- package/dist/sdk/lh-trace-processor.d.ts +35 -9
- package/dist/sdk/lh-trace-processor.d.ts.map +1 -1
- package/dist/sdk/lh-trace-processor.js +114 -53
- package/dist/sdk/lh-trace-processor.js.map +1 -1
- package/dist/sdk/trace-metrics.d.ts +4 -4
- package/dist/sdk/trace-metrics.d.ts.map +1 -1
- package/dist/sdk/trace-metrics.js +5 -6
- package/dist/sdk/trace-metrics.js.map +1 -1
- package/dist/sdk/trace-processor.d.ts +11 -3
- package/dist/sdk/trace-processor.d.ts.map +1 -1
- package/dist/sdk/trace-processor.js +17 -9
- package/dist/sdk/trace-processor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1888
- package/package.json +32 -20
- package/src/cli.ts +205 -152
- package/src/common_types.ts +192 -34
- package/src/config.ts +2 -5
- package/src/core/expect.ts +58 -24
- package/src/core/gatherer.ts +59 -24
- package/src/core/index.ts +36 -15
- package/src/core/logger.ts +1 -12
- package/src/core/runner.ts +215 -152
- package/src/dsl/journey.ts +37 -6
- package/src/dsl/monitor.ts +88 -0
- package/src/dsl/step.ts +9 -2
- package/src/formatter/javascript.ts +367 -0
- package/src/generator/index.ts +316 -0
- package/src/generator/utils.ts +80 -0
- package/src/helpers.ts +132 -12
- package/src/index.ts +22 -22
- package/src/loader.ts +171 -0
- package/src/locations/index.ts +108 -0
- package/src/locations/public-locations.ts +38 -0
- package/src/options.ts +211 -0
- package/src/plugins/browser-console.ts +30 -8
- package/src/plugins/network.ts +208 -267
- package/src/plugins/performance.ts +6 -22
- package/src/plugins/plugin-manager.ts +49 -31
- package/src/plugins/tracing.ts +8 -9
- package/src/push/bundler.ts +100 -0
- package/src/push/index.ts +202 -0
- package/src/push/monitor.ts +96 -0
- package/src/push/plugin.ts +119 -0
- package/src/push/request.ts +103 -0
- package/src/reporters/base.ts +63 -52
- package/src/reporters/index.ts +26 -3
- package/src/reporters/json.ts +203 -206
- package/src/reporters/junit.ts +98 -93
- package/src/sdk/lh-trace-processor.ts +132 -68
- package/src/sdk/trace-metrics.ts +10 -6
- package/src/sdk/trace-processor.ts +28 -13
- package/templates/.github/workflows/run-synthetics.yml +26 -0
- package/templates/README.md +21 -0
- package/templates/journeys/advanced-example-helpers.ts +54 -0
- package/templates/journeys/advanced-example.journey.ts +43 -0
- package/templates/journeys/example.journey.ts +18 -0
- package/templates/synthetics.config.ts +27 -0
- package/CHANGELOG.md +0 -102
- package/NOTICE.txt +0 -221
- package/dist/parse_args.d.ts.map +0 -1
- package/dist/parse_args.js +0 -89
- package/dist/parse_args.js.map +0 -1
- package/dist/reporters/reporter.d.ts.map +0 -1
- package/dist/reporters/reporter.js.map +0 -1
- package/src/parse_args.ts +0 -127
package/dist/dsl/journey.d.ts
CHANGED
|
@@ -22,9 +22,10 @@
|
|
|
22
22
|
* THE SOFTWARE.
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
-
import { Browser, Page, BrowserContext, CDPSession } from 'playwright-chromium';
|
|
25
|
+
import { Browser, Page, BrowserContext, CDPSession, APIRequestContext } from 'playwright-chromium';
|
|
26
26
|
import { Step } from './step';
|
|
27
|
-
import { VoidCallback, HooksCallback, Params } from '../common_types';
|
|
27
|
+
import { VoidCallback, HooksCallback, Params, Location } from '../common_types';
|
|
28
|
+
import { Monitor, MonitorConfig } from './monitor';
|
|
28
29
|
export declare type JourneyOptions = {
|
|
29
30
|
name: string;
|
|
30
31
|
id?: string;
|
|
@@ -38,17 +39,21 @@ export declare type JourneyCallback = (options: {
|
|
|
38
39
|
browser: Browser;
|
|
39
40
|
client: CDPSession;
|
|
40
41
|
params: Params;
|
|
42
|
+
request: APIRequestContext;
|
|
41
43
|
}) => void;
|
|
42
44
|
export declare class Journey {
|
|
43
45
|
name: string;
|
|
44
46
|
id?: string;
|
|
45
47
|
tags?: string[];
|
|
46
48
|
callback: JourneyCallback;
|
|
49
|
+
location?: Location;
|
|
47
50
|
steps: Step[];
|
|
48
51
|
hooks: Hooks;
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
monitor: Monitor;
|
|
53
|
+
constructor(options: JourneyOptions, callback: JourneyCallback, location?: Location);
|
|
54
|
+
addStep(name: string, callback: VoidCallback, location?: Location): Step;
|
|
51
55
|
addHook(type: HookType, callback: HooksCallback): void;
|
|
56
|
+
updateMonitor(config: MonitorConfig): void;
|
|
52
57
|
/**
|
|
53
58
|
* Matches journeys based on the provided args. Proitize tags over match
|
|
54
59
|
* - tags pattern that matches only tags
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey.d.ts","sourceRoot":"","sources":["../../src/dsl/journey.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"journey.d.ts","sourceRoot":"","sources":["../../src/dsl/journey.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EACL,OAAO,EACP,IAAI,EACJ,cAAc,EACd,UAAU,EACV,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAEnD,oBAAY,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,aAAK,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AACnC,oBAAY,KAAK,GAAG,MAAM,CAAC,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAC3D,oBAAY,eAAe,GAAG,CAAC,OAAO,EAAE;IACtC,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,iBAAiB,CAAC;CAC5B,KAAK,IAAI,CAAC;AAEX,qBAAa,OAAO;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,KAAK,EAAE,IAAI,EAAE,CAAM;IACnB,KAAK,EAAE,KAAK,CAA6B;IACzC,OAAO,EAAE,OAAO,CAAC;gBAGf,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,eAAe,EACzB,QAAQ,CAAC,EAAE,QAAQ;IAUrB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,QAAQ;IAMjE,OAAO,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa;IAI/C,aAAa,CAAC,MAAM,EAAE,aAAa;IAcnC;;;;OAIG;IACH,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC;IAUxD,SAAS,CAAC,OAAO,KAAA;CAIlB"}
|
package/dist/dsl/journey.js
CHANGED
|
@@ -25,7 +25,11 @@
|
|
|
25
25
|
*/
|
|
26
26
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
27
27
|
if (k2 === undefined) k2 = k;
|
|
28
|
-
Object.
|
|
28
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
29
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
30
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
31
|
+
}
|
|
32
|
+
Object.defineProperty(o, k2, desc);
|
|
29
33
|
}) : (function(o, m, k, k2) {
|
|
30
34
|
if (k2 === undefined) k2 = k;
|
|
31
35
|
o[k2] = m[k];
|
|
@@ -46,23 +50,39 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
46
50
|
exports.Journey = void 0;
|
|
47
51
|
const micromatch_1 = __importStar(require("micromatch"));
|
|
48
52
|
const step_1 = require("./step");
|
|
53
|
+
const monitor_1 = require("./monitor");
|
|
49
54
|
class Journey {
|
|
50
|
-
constructor(options, callback) {
|
|
55
|
+
constructor(options, callback, location) {
|
|
51
56
|
this.steps = [];
|
|
52
57
|
this.hooks = { before: [], after: [] };
|
|
53
58
|
this.name = options.name;
|
|
54
|
-
this.id = options.id;
|
|
59
|
+
this.id = options.id || options.name;
|
|
55
60
|
this.tags = options.tags;
|
|
56
61
|
this.callback = callback;
|
|
62
|
+
this.location = location;
|
|
63
|
+
this.updateMonitor({});
|
|
57
64
|
}
|
|
58
|
-
addStep(name, callback) {
|
|
59
|
-
const step = new step_1.Step(name, this.steps.length + 1, callback);
|
|
65
|
+
addStep(name, callback, location) {
|
|
66
|
+
const step = new step_1.Step(name, this.steps.length + 1, callback, location);
|
|
60
67
|
this.steps.push(step);
|
|
61
68
|
return step;
|
|
62
69
|
}
|
|
63
70
|
addHook(type, callback) {
|
|
64
71
|
this.hooks[type].push(callback);
|
|
65
72
|
}
|
|
73
|
+
updateMonitor(config) {
|
|
74
|
+
/**
|
|
75
|
+
* Use defaults values from journey for monitor object (id, name and tags)
|
|
76
|
+
*/
|
|
77
|
+
this.monitor = new monitor_1.Monitor({
|
|
78
|
+
name: this.name,
|
|
79
|
+
id: this.id,
|
|
80
|
+
tags: this.tags ?? [],
|
|
81
|
+
...config,
|
|
82
|
+
});
|
|
83
|
+
this.monitor.setSource(this.location);
|
|
84
|
+
this.monitor.setFilter({ match: this.name });
|
|
85
|
+
}
|
|
66
86
|
/**
|
|
67
87
|
* Matches journeys based on the provided args. Proitize tags over match
|
|
68
88
|
* - tags pattern that matches only tags
|
|
@@ -73,12 +93,12 @@ class Journey {
|
|
|
73
93
|
return this.tagsMatch(tagsPattern);
|
|
74
94
|
}
|
|
75
95
|
if (matchPattern) {
|
|
76
|
-
return micromatch_1.isMatch(this.name, matchPattern) || this.tagsMatch(matchPattern);
|
|
96
|
+
return (0, micromatch_1.isMatch)(this.name, matchPattern) || this.tagsMatch(matchPattern);
|
|
77
97
|
}
|
|
78
98
|
return true;
|
|
79
99
|
}
|
|
80
100
|
tagsMatch(pattern) {
|
|
81
|
-
const matchess = micromatch_1.default(this.tags || ['*'], pattern);
|
|
101
|
+
const matchess = (0, micromatch_1.default)(this.tags || ['*'], pattern);
|
|
82
102
|
return matchess.length > 0;
|
|
83
103
|
}
|
|
84
104
|
}
|
package/dist/dsl/journey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey.js","sourceRoot":"","sources":["../../src/dsl/journey.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG
|
|
1
|
+
{"version":3,"file":"journey.js","sourceRoot":"","sources":["../../src/dsl/journey.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;;;;;;;;;;;;;;;;;;;;;;;;;;AASH,yDAAiD;AACjD,iCAA8B;AAE9B,uCAAmD;AAmBnD,MAAa,OAAO;IAUlB,YACE,OAAuB,EACvB,QAAyB,EACzB,QAAmB;QAPrB,UAAK,GAAW,EAAE,CAAC;QACnB,UAAK,GAAU,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;QAQvC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;QACrC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;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AM,QAAQ,GAAG,IAAA,oBAAU,EAAC,IAAI,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC;QACzD,OAAO,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;IAC7B,CAAC;CACF;AAlED,0BAkEC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIT License
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2020-present, Elastic NV
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in
|
|
14
|
+
* all copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
* THE SOFTWARE.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
import { ThrottlingOptions, Location, ScreenshotOptions, Params, PlaywrightOptions } from '../common_types';
|
|
26
|
+
import { LocationsMap } from '../locations/public-locations';
|
|
27
|
+
export declare type SyntheticsLocationsType = keyof typeof LocationsMap;
|
|
28
|
+
export declare const SyntheticsLocations: ("japan" | "india" | "singapore" | "australia_east" | "united_kingdom" | "germany" | "canada_east" | "brazil" | "us_east" | "us_west")[];
|
|
29
|
+
export declare type MonitorConfig = {
|
|
30
|
+
id?: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
tags?: string[];
|
|
33
|
+
schedule?: number;
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
locations?: SyntheticsLocationsType[];
|
|
36
|
+
privateLocations?: string[];
|
|
37
|
+
throttling?: ThrottlingOptions;
|
|
38
|
+
screenshot?: ScreenshotOptions;
|
|
39
|
+
params?: Params;
|
|
40
|
+
playwrightOptions?: PlaywrightOptions;
|
|
41
|
+
};
|
|
42
|
+
declare type MonitorFilter = {
|
|
43
|
+
match: string;
|
|
44
|
+
tags?: string[];
|
|
45
|
+
};
|
|
46
|
+
export declare class Monitor {
|
|
47
|
+
config: MonitorConfig;
|
|
48
|
+
source?: Location;
|
|
49
|
+
filter: MonitorFilter;
|
|
50
|
+
constructor(config?: MonitorConfig);
|
|
51
|
+
/**
|
|
52
|
+
* Treat the creation time config with `monitor.use` as source of truth by
|
|
53
|
+
* merging the values coming from CLI and Synthetics config file
|
|
54
|
+
*/
|
|
55
|
+
update(globalOpts?: MonitorConfig): void;
|
|
56
|
+
setSource(source: Location): void;
|
|
57
|
+
/**
|
|
58
|
+
* If journey files are colocated within the same file during
|
|
59
|
+
* push command, when we invoke synthetics from HB we rely on
|
|
60
|
+
* this filter for running that specific journey alone instead of
|
|
61
|
+
* all journeys on the file
|
|
62
|
+
*/
|
|
63
|
+
setFilter(filter: MonitorFilter): void;
|
|
64
|
+
}
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=monitor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/dsl/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|
+
/**
|
|
3
|
+
* MIT License
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2020-present, Elastic NV
|
|
6
|
+
*
|
|
7
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
* in the Software without restriction, including without limitation the rights
|
|
10
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
* furnished to do so, subject to the following conditions:
|
|
13
|
+
*
|
|
14
|
+
* The above copyright notice and this permission notice shall be included in
|
|
15
|
+
* all copies or substantial portions of the Software.
|
|
16
|
+
*
|
|
17
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
* THE SOFTWARE.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
27
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.Monitor = exports.SyntheticsLocations = void 0;
|
|
31
|
+
const deepmerge_1 = __importDefault(require("deepmerge"));
|
|
32
|
+
const public_locations_1 = require("../locations/public-locations");
|
|
33
|
+
exports.SyntheticsLocations = Object.keys(public_locations_1.LocationsMap);
|
|
34
|
+
class Monitor {
|
|
35
|
+
constructor(config = {}) {
|
|
36
|
+
this.config = config;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Treat the creation time config with `monitor.use` as source of truth by
|
|
40
|
+
* merging the values coming from CLI and Synthetics config file
|
|
41
|
+
*/
|
|
42
|
+
update(globalOpts = {}) {
|
|
43
|
+
this.config = (0, deepmerge_1.default)(globalOpts, this.config, {
|
|
44
|
+
arrayMerge(target, source) {
|
|
45
|
+
return [...new Set(source)];
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
setSource(source) {
|
|
50
|
+
this.source = source;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* If journey files are colocated within the same file during
|
|
54
|
+
* push command, when we invoke synthetics from HB we rely on
|
|
55
|
+
* this filter for running that specific journey alone instead of
|
|
56
|
+
* all journeys on the file
|
|
57
|
+
*/
|
|
58
|
+
setFilter(filter) {
|
|
59
|
+
this.filter = filter;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.Monitor = Monitor;
|
|
63
|
+
//# sourceMappingURL=monitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitor.js","sourceRoot":"","sources":["../../src/dsl/monitor.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;;;;;;AAEH,0DAA8B;AAQ9B,oEAA6D;AAGhD,QAAA,mBAAmB,GAAG,MAAM,CAAC,IAAI,CAC5C,+BAAY,CACgB,CAAC;AAqB/B,MAAa,OAAO;IAGlB,YAAmB,SAAwB,EAAE;QAA1B,WAAM,GAAN,MAAM,CAAoB;IAAG,CAAC;IACjD;;;OAGG;IACH,MAAM,CAAC,aAA4B,EAAE;QACnC,IAAI,CAAC,MAAM,GAAG,IAAA,mBAAK,EAAC,UAAU,EAAE,IAAI,CAAC,MAAM,EAAE;YAC3C,UAAU,CAAC,MAAM,EAAE,MAAM;gBACvB,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;YAC9B,CAAC;SACF,CAAC,CAAC;IACL,CAAC;IAED,SAAS,CAAC,MAAgB;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IACD;;;;;OAKG;IACH,SAAS,CAAC,MAAqB;QAC7B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CACF;AA5BD,0BA4BC"}
|
package/dist/dsl/step.d.ts
CHANGED
|
@@ -22,11 +22,12 @@
|
|
|
22
22
|
* THE SOFTWARE.
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
-
import { VoidCallback } from '../common_types';
|
|
25
|
+
import { Location, VoidCallback } from '../common_types';
|
|
26
26
|
export declare class Step {
|
|
27
27
|
name: string;
|
|
28
28
|
index: number;
|
|
29
29
|
callback: VoidCallback;
|
|
30
|
-
|
|
30
|
+
location?: Location;
|
|
31
|
+
constructor(name: string, index: number, callback: VoidCallback, location: Location);
|
|
31
32
|
}
|
|
32
33
|
//# sourceMappingURL=step.d.ts.map
|
package/dist/dsl/step.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../src/dsl/step.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../src/dsl/step.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEzD,qBAAa,IAAI;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;gBAGlB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,QAAQ;CAOrB"}
|
package/dist/dsl/step.js
CHANGED
|
@@ -26,10 +26,11 @@
|
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.Step = void 0;
|
|
28
28
|
class Step {
|
|
29
|
-
constructor(name, index, callback) {
|
|
29
|
+
constructor(name, index, callback, location) {
|
|
30
30
|
this.name = name;
|
|
31
31
|
this.index = index;
|
|
32
32
|
this.callback = callback;
|
|
33
|
+
this.location = location;
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
exports.Step = Step;
|
package/dist/dsl/step.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.js","sourceRoot":"","sources":["../../src/dsl/step.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;;;AAIH,MAAa,IAAI;
|
|
1
|
+
{"version":3,"file":"step.js","sourceRoot":"","sources":["../../src/dsl/step.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;;;AAIH,MAAa,IAAI;IAMf,YACE,IAAY,EACZ,KAAa,EACb,QAAsB,EACtB,QAAkB;QAElB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;CACF;AAjBD,oBAiBC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MIT License
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2020-present, Elastic NV
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in
|
|
14
|
+
* all copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
* THE SOFTWARE.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
import { JavaScriptLanguageGenerator } from 'playwright-core/lib/server/supplements/recorder/javascript';
|
|
26
|
+
export declare type Step = {
|
|
27
|
+
actions: ActionInContext[];
|
|
28
|
+
name?: string;
|
|
29
|
+
};
|
|
30
|
+
export declare type Steps = Step[];
|
|
31
|
+
export declare type ActionInContext = {
|
|
32
|
+
pageAlias: string;
|
|
33
|
+
frameName?: string;
|
|
34
|
+
frameUrl: string;
|
|
35
|
+
isMainFrame: boolean;
|
|
36
|
+
action: Action;
|
|
37
|
+
committed?: boolean;
|
|
38
|
+
modified?: boolean;
|
|
39
|
+
title?: string;
|
|
40
|
+
};
|
|
41
|
+
export declare type Action = {
|
|
42
|
+
name: string;
|
|
43
|
+
selector?: string;
|
|
44
|
+
url?: string;
|
|
45
|
+
key?: string;
|
|
46
|
+
signals: Signal[];
|
|
47
|
+
modifiers?: number;
|
|
48
|
+
button?: 'left' | 'middle' | 'right';
|
|
49
|
+
clickCount?: number;
|
|
50
|
+
text?: string;
|
|
51
|
+
value?: string;
|
|
52
|
+
isAssert?: boolean;
|
|
53
|
+
command?: string;
|
|
54
|
+
files?: string[];
|
|
55
|
+
options?: string[];
|
|
56
|
+
};
|
|
57
|
+
export declare type Signal = {
|
|
58
|
+
name: string;
|
|
59
|
+
url?: string;
|
|
60
|
+
isAsync?: boolean;
|
|
61
|
+
popupAlias?: string;
|
|
62
|
+
downloadAlias?: string;
|
|
63
|
+
dialogAlias?: string;
|
|
64
|
+
};
|
|
65
|
+
export declare class SyntheticsGenerator extends JavaScriptLanguageGenerator {
|
|
66
|
+
private isSuite;
|
|
67
|
+
private previousContext;
|
|
68
|
+
private insideStep;
|
|
69
|
+
constructor(isSuite: boolean);
|
|
70
|
+
/**
|
|
71
|
+
* Generate code for an action.
|
|
72
|
+
* @param actionInContext The action to create code for.
|
|
73
|
+
* @returns the strings generated for the action.
|
|
74
|
+
*/
|
|
75
|
+
generateAction(actionInContext: ActionInContext): any;
|
|
76
|
+
isNewStep(actioninContext: ActionInContext): boolean;
|
|
77
|
+
generateStepStart(name: any): any;
|
|
78
|
+
generateStepEnd(): any;
|
|
79
|
+
generateHeader(): any;
|
|
80
|
+
generateFooter(): string;
|
|
81
|
+
/**
|
|
82
|
+
* Generates JavaScript code from a custom set of steps and nested actions.
|
|
83
|
+
*
|
|
84
|
+
* This function makes no assumptions about where steps should be created,
|
|
85
|
+
* and instead follows the step definitions the caller has defined.
|
|
86
|
+
* @param steps IR to use for code generation
|
|
87
|
+
* @returns a list of the code strings outputted by the generator
|
|
88
|
+
*/
|
|
89
|
+
generateFromSteps(steps: Steps): string;
|
|
90
|
+
}
|
|
91
|
+
export declare function quote(text: string, char?: string): string;
|
|
92
|
+
/**
|
|
93
|
+
* Generates an appropriate title string based on the action type/data.
|
|
94
|
+
* @param action Playwright action IR
|
|
95
|
+
* @returns title string
|
|
96
|
+
*/
|
|
97
|
+
export declare function actionTitle(action: Action): string;
|
|
98
|
+
//# sourceMappingURL=javascript.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"javascript.d.ts","sourceRoot":"","sources":["../../src/formatter/javascript.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EACL,2BAA2B,EAE5B,MAAM,4DAA4D,CAAC;AAEpE,oBAAY,IAAI,GAAG;IACjB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,KAAK,GAAG,IAAI,EAAE,CAAC;AAE3B,oBAAY,eAAe,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,MAAM,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CA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