@elastic/synthetics 1.0.0-beta.2 → 1.0.0-beta.22

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.
Files changed (122) hide show
  1. package/CHANGELOG.md +235 -0
  2. package/NOTICE.txt +250 -0
  3. package/README.md +2 -1
  4. package/dist/cli.js +87 -56
  5. package/dist/cli.js.map +1 -1
  6. package/dist/common_types.d.ts +116 -14
  7. package/dist/common_types.d.ts.map +1 -1
  8. package/dist/config.d.ts +2 -5
  9. package/dist/config.d.ts.map +1 -1
  10. package/dist/config.js +5 -5
  11. package/dist/config.js.map +1 -1
  12. package/dist/core/browser-service.js +5 -5
  13. package/dist/core/browser-service.js.map +1 -1
  14. package/dist/core/expect.d.ts +177 -0
  15. package/dist/core/expect.d.ts.map +1 -0
  16. package/dist/core/expect.js +33 -0
  17. package/dist/core/expect.js.map +1 -0
  18. package/dist/core/gatherer.d.ts +4 -7
  19. package/dist/core/gatherer.d.ts.map +1 -1
  20. package/dist/core/gatherer.js +39 -12
  21. package/dist/core/gatherer.js.map +1 -1
  22. package/dist/core/index.d.ts +5 -5
  23. package/dist/core/index.d.ts.map +1 -1
  24. package/dist/core/index.js +2 -2
  25. package/dist/core/index.js.map +1 -1
  26. package/dist/core/logger.d.ts +0 -1
  27. package/dist/core/logger.d.ts.map +1 -1
  28. package/dist/core/logger.js +3 -16
  29. package/dist/core/logger.js.map +1 -1
  30. package/dist/core/runner.d.ts +54 -45
  31. package/dist/core/runner.d.ts.map +1 -1
  32. package/dist/core/runner.js +181 -71
  33. package/dist/core/runner.js.map +1 -1
  34. package/dist/dsl/journey.d.ts +13 -4
  35. package/dist/dsl/journey.d.ts.map +1 -1
  36. package/dist/dsl/journey.js +40 -1
  37. package/dist/dsl/journey.js.map +1 -1
  38. package/dist/formatter/javascript.d.ts +73 -0
  39. package/dist/formatter/javascript.d.ts.map +1 -0
  40. package/dist/formatter/javascript.js +274 -0
  41. package/dist/formatter/javascript.js.map +1 -0
  42. package/dist/helpers.d.ts +33 -12
  43. package/dist/helpers.d.ts.map +1 -1
  44. package/dist/helpers.js +108 -54
  45. package/dist/helpers.js.map +1 -1
  46. package/dist/index.d.ts +8 -0
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +6 -7
  49. package/dist/index.js.map +1 -1
  50. package/dist/parse_args.d.ts +5 -2
  51. package/dist/parse_args.d.ts.map +1 -1
  52. package/dist/parse_args.js +59 -16
  53. package/dist/parse_args.js.map +1 -1
  54. package/dist/plugins/browser-console.d.ts +5 -8
  55. package/dist/plugins/browser-console.d.ts.map +1 -1
  56. package/dist/plugins/browser-console.js +27 -8
  57. package/dist/plugins/browser-console.js.map +1 -1
  58. package/dist/plugins/network.d.ts +23 -20
  59. package/dist/plugins/network.d.ts.map +1 -1
  60. package/dist/plugins/network.js +149 -124
  61. package/dist/plugins/network.js.map +1 -1
  62. package/dist/plugins/performance.d.ts +5 -5
  63. package/dist/plugins/performance.d.ts.map +1 -1
  64. package/dist/plugins/performance.js +5 -5
  65. package/dist/plugins/performance.js.map +1 -1
  66. package/dist/plugins/plugin-manager.d.ts +11 -11
  67. package/dist/plugins/plugin-manager.d.ts.map +1 -1
  68. package/dist/plugins/plugin-manager.js +40 -24
  69. package/dist/plugins/plugin-manager.js.map +1 -1
  70. package/dist/plugins/tracing.d.ts +10 -25
  71. package/dist/plugins/tracing.d.ts.map +1 -1
  72. package/dist/plugins/tracing.js +40 -26
  73. package/dist/plugins/tracing.js.map +1 -1
  74. package/dist/reporters/base.d.ts +0 -1
  75. package/dist/reporters/base.d.ts.map +1 -1
  76. package/dist/reporters/base.js +34 -32
  77. package/dist/reporters/base.js.map +1 -1
  78. package/dist/reporters/json.d.ts +46 -59
  79. package/dist/reporters/json.d.ts.map +1 -1
  80. package/dist/reporters/json.js +188 -70
  81. package/dist/reporters/json.js.map +1 -1
  82. package/dist/reporters/junit.d.ts.map +1 -1
  83. package/dist/reporters/junit.js +7 -7
  84. package/dist/reporters/junit.js.map +1 -1
  85. package/dist/sdk/lh-trace-processor.d.ts +304 -0
  86. package/dist/sdk/lh-trace-processor.d.ts.map +1 -0
  87. package/dist/sdk/lh-trace-processor.js +832 -0
  88. package/dist/sdk/lh-trace-processor.js.map +1 -0
  89. package/dist/sdk/trace-metrics.d.ts +61 -0
  90. package/dist/sdk/trace-metrics.d.ts.map +1 -0
  91. package/dist/sdk/trace-metrics.js +252 -0
  92. package/dist/sdk/trace-metrics.js.map +1 -0
  93. package/dist/sdk/trace-processor.d.ts +106 -0
  94. package/dist/sdk/trace-processor.d.ts.map +1 -0
  95. package/dist/sdk/trace-processor.js +74 -0
  96. package/dist/sdk/trace-processor.js.map +1 -0
  97. package/dist/tsconfig.tsbuildinfo +1 -1575
  98. package/package.json +27 -16
  99. package/src/cli.ts +68 -45
  100. package/src/common_types.ts +138 -14
  101. package/src/config.ts +2 -5
  102. package/src/core/expect.ts +187 -0
  103. package/src/core/gatherer.ts +48 -24
  104. package/src/core/index.ts +6 -6
  105. package/src/core/logger.ts +1 -12
  106. package/src/core/runner.ts +259 -112
  107. package/src/dsl/journey.ts +28 -6
  108. package/src/formatter/javascript.ts +330 -0
  109. package/src/helpers.ts +114 -24
  110. package/src/index.ts +7 -6
  111. package/src/parse_args.ts +97 -22
  112. package/src/plugins/browser-console.ts +30 -13
  113. package/src/plugins/network.ts +175 -159
  114. package/src/plugins/performance.ts +7 -7
  115. package/src/plugins/plugin-manager.ts +47 -36
  116. package/src/plugins/tracing.ts +43 -54
  117. package/src/reporters/base.ts +29 -23
  118. package/src/reporters/json.ts +259 -80
  119. package/src/reporters/junit.ts +1 -1
  120. package/src/sdk/lh-trace-processor.ts +1033 -0
  121. package/src/sdk/trace-metrics.ts +287 -0
  122. package/src/sdk/trace-processor.ts +147 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,241 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## v1.0.0-beta.20 (2021-02-16)
6
+
7
+ ### Bug fixes
8
+
9
+ - Capture syntax errors inside inline journeys without throwing
10
+ promise rejection errors #450
11
+
12
+ ## v1.0.0-beta.19 (2021-01-31)
13
+
14
+ ### Bug fixes
15
+
16
+ - Ensure `journey/end` is written to file descriptor by flushing out the
17
+ last bytes in underlying stream #446
18
+ - Debug logs should be logged to stdout instead of using the reporter
19
+ file descriptor #423
20
+
21
+ ## v1.0.0-beta.18 (2021-01-13)
22
+
23
+ ### Bug fixes
24
+
25
+ - Do not read configuration files for inline journeys unless a --config parameter is passed #426
26
+ - Stop runner from hanging indefinitely within ubuntu docker images [elastic/beats#29681] #441
27
+
28
+ ## v1.0.0-beta.17 (2021-11-11)
29
+
30
+ ### Breaking Changes
31
+
32
+ - Remove 'suiteparams' CLI option which was depreacted in the previous releases.
33
+ Use `--params` instead [#406](https://github.com/elastic/synthetics/pull/406)
34
+
35
+ ### Features
36
+
37
+ - Add support for `--playwright-options` CLI flag that lets user specify all
38
+ browser and context options that Playwright supports in addition to passing it
39
+ via `synthetics.config.js` file [#405](https://github.com/elastic/synthetics/pull/405)
40
+
41
+ ### Bug fixes
42
+
43
+ - Timestamp of `journey/end` event reflects the time when the event happens instead
44
+ of the time event was written to the output stream. This fixes issue when
45
+ duration is calculated based on `journey/start` and `journey/end` [#409](https://github.com/elastic/synthetics/pull/409)
46
+ - Rewrite screenshot timestamp based on when screenshot was taken instead of
47
+ when the screenshot was processed and reconstructed [#411](https://github.com/elastic/synthetics/pull/411)
48
+
49
+ ## v1.0.0-beta.16 (2021-10-19)
50
+
51
+ ### Bug fixes
52
+
53
+ - Revert to Playwright `1.14.0` as the newer versions of chromium
54
+ [breaks](https://bugs.chromium.org/p/chromium/issues/detail?id=1253967&q=glibc&can=2)
55
+ CentOS7. As a result of this revert, network events from other contexts like
56
+ popups, iframes, tabs would not get captured [#402](https://github.com/elastic/synthetics/pull/402)
57
+
58
+ ## v1.0.0-beta.15 (2021-10-14)
59
+
60
+ ### Breaking Changes
61
+
62
+ - Drop support for Node 12 [#397](https://github.com/elastic/synthetics/pull/397)
63
+
64
+ ### Features
65
+
66
+ - Enable trace events when invoked via Heartbeat, enables step level metrics
67
+ like FCP, LCP and other performance metrics for all journeys [#387](https://github.com/elastic/synthetics/pull/387)
68
+ - Use network events from playwright context which captures network requests
69
+ from iframes, new tabs, etc. [#372](https://github.com/elastic/synthetics/pull/372)
70
+ - Add default network emulation for journeys to be able to capture performance
71
+ measurements more effectively. Default is 5Mbps download, 3Mbps Upload and 20ms latency.
72
+ Users can control network throttling with `--throttling '10d/2u/30l'` flag or
73
+ can disable the throttling via `--no-throttling` flag [#284](https://github.com/elastic/synthetics/pull/284)
74
+ - Add `Elastic/Synthetics` user-agent identifier to all network
75
+ requests. This enables users to analyze traffic from Elastic Synthetic
76
+ monitoring platform [#232](https://github.com/elastic/synthetics/pull/232)
77
+ - Introduce more assetion commands to formatter [#385](https://github.com/elastic/synthetics/pull/385)
78
+
79
+ ### Bug fixes
80
+
81
+ - Account for page closing while capturing network events [#398](https://github.com/elastic/synthetics/pull/398)
82
+
83
+ ## v1.0.0-beta.14 (2021-09-16)
84
+
85
+ ### Bug fixes
86
+
87
+ - Bring back `--suite-params` flag support to support Heartbeat 7.15 [#379](https://github.com/elastic/synthetics/pull/379)
88
+
89
+ ## v1.0.0-beta.13 (2021-09-16)
90
+
91
+ ### Features
92
+
93
+ - Add step level tracing API which enables capturing performance metrics (core
94
+ web vitals) for each navigation as part of the journey [#369](https://github.com/elastic/synthetics/pull/369)
95
+ - Capture all page errors and unhandled exceptions as part of the journeys [#374](https://github.com/elastic/synthetics/pull/374)
96
+ - Introduce synthetics script generator which can transform the recorder actions
97
+ into code [#375](https://github.com/elastic/synthetics/pull/375)
98
+
99
+ ## v1.0.0-beta.12 (2021-08-19)
100
+
101
+ ### Features
102
+
103
+ - Add support for expect assertions for inline suites
104
+ [#365](https://github.com/elastic/synthetics/pull/365)
105
+ - Add `ignore-https-errors` to the CLI to ignore any HTTPS errors during
106
+ navigation [#361](https://github.com/elastic/synthetics/pull/361)
107
+
108
+ ### Notable changes
109
+
110
+ - Bump playwright to 1.14.0
111
+ [#366](https://github.com/elastic/synthetics/pull/366)
112
+ - Bump Node.js version to 14 [#364](https://github.com/elastic/synthetics/pull/364)
113
+
114
+ ## v1.0.0-beta.11 (2021-08-09)
115
+
116
+ ### Breaking Changes
117
+
118
+ - Drop support for Heartbeat 7.13
119
+ [#354](https://github.com/elastic/synthetics/pull/354)
120
+
121
+ ### Features
122
+
123
+ - Add quiet mode for Heartbeat via `--quiet-exit-code` and make
124
+ it default for > 7.14 Heartbeat versions [#357](https://github.com/elastic/synthetics/pull/357)
125
+
126
+ ## v1.0.0-beta.10 (2021-07-27)
127
+
128
+ ### Bug fixes
129
+
130
+ - Record correct screenshots for popups in new tabs
131
+ and windows [#353](https://github.com/elastic/synthetics/pull/353)
132
+ - Capture URL correctly for steps that involve navigations inside
133
+ popups and windows [#352](https://github.com/elastic/synthetics/pull/352)
134
+
135
+ ## v1.0.0-beta.9 (2021-07-13)
136
+
137
+ ### Bug fixes
138
+
139
+ - Populate journey id when its not explicitly specified
140
+ [#346](https://github.com/elastic/synthetics/pull/346)
141
+ - Remove Node.js 12 version restriction [#343](https://github.com/elastic/synthetics/pull/343)
142
+
143
+ ## v1.0.0-beta.8 (2021-07-07)
144
+
145
+ ### Bug fixes
146
+
147
+ - Capture screenshots correctly when using device emulation [#340](https://github.com/elastic/synthetics/pull/340)
148
+
149
+ ## v1.0.0-beta.7 (2021-07-01)
150
+
151
+ ### Features
152
+
153
+ - Deprecate 'suiteparams' infavor of 'params' [#331](https://github.com/elastic/synthetics/pull/331)
154
+
155
+ ### Bug fixes
156
+
157
+ - Bring `--network` flag back till 7.14 is released [#336](https://github.com/elastic/synthetics/pull/336)
158
+
159
+ ## v1.0.0-beta.6 (2021-06-30)
160
+
161
+ ### Bug fixes
162
+
163
+ - Bring `--json` flag back till 7.14 is released [#333](https://github.com/elastic/synthetics/pull/333)
164
+
165
+ ## v1.0.0-beta.5 (2021-06-30)
166
+
167
+ ### Features
168
+
169
+ - Add support for passing playwright context and browser options via
170
+ synthetics config [#317](https://github.com/elastic/synthetics/pull/317)
171
+
172
+ ### Bug fixes
173
+
174
+ - Compability bug with FS apis on Node 12 [#328](https://github.com/elastic/synthetics/pull/328)
175
+ - Add fallback symbols for non utf8 support in windows [#324](https://github.com/elastic/synthetics/pull/324)
176
+
177
+ ## v1.0.0-beta.4 (2021-06-28)
178
+
179
+ ### Breaking Changes
180
+
181
+ - Remove -e from CLI args and use `NODE_ENV` for controlling the
182
+ environment [#318](https://github.com/elastic/synthetics/pull/318)
183
+
184
+ ### Features
185
+
186
+ - Add new screenshots options - `on|off|only-on-failure` to manage capturing
187
+ the step screenshots [#311](https://github.com/elastic/synthetics/pull/311)
188
+ - Enable screenshot deduplication feature by default when the agent is invoked
189
+ via Heartbeat [#322](https://github.com/elastic/synthetics/pull/322)
190
+
191
+ ### Bug fixes
192
+
193
+ - Avoid creating duplicate screenshot JSON docs for each journey
194
+ [#320](https://github.com/elastic/synthetics/pull/320)
195
+ - Associate `beforeAll` hook errors across all journeys
196
+ [#316](https://github.com/elastic/synthetics/pull/316)
197
+ - Provide journey isolation via context [#314](https://github.com/elastic/synthetics/pull/314)
198
+
199
+ ## v1.0.0-beta.3 (2021-06-15)
200
+
201
+ ### Features
202
+
203
+ - Capture all core-vitals and user experience metrics like FPC, LCP, CLS, User
204
+ timing metrics, etc via chrome tracing [#194](https://github.com/elastic/synthetics/pull/194)
205
+ - Split the captured screenshot from each step in to 64 blocks to optimzie
206
+ the storage when indexed the same block in Elaticsearch [#290](https://github.com/elastic/synthetics/pull/290)
207
+ - Add support for filtering journeys by name and tags [#300](https://github.com/elastic/synthetics/issues/300)
208
+ - Expose `expect` assetion method in the API [#201](https://github.com/elastic/synthetics/issues/201)
209
+ - Update Cumulative Layout Shift(CLS) metric based on
210
+ `maximum session window with 1 second gap, capped at 5 seconds`
211
+ [#301](https://github.com/elastic/synthetics/issues/301)
212
+ - Expose time taken to complete single step under
213
+ `step.duration.us` [#302](https://github.com/elastic/synthetics/issues/301)
214
+ - Expose new capabilities via `--capability` through CLI
215
+ options [#295](https://github.com/elastic/synthetics/issues/295)
216
+ - Add new flag `--rich-events` which mimicks heartbeat
217
+ behaviour [#289](https://github.com/elastic/synthetics/pull/289).
218
+ - Expose suite parameters from CLI and config file to
219
+ all hooks and journeys callbacks[#272](https://github.com/elastic/synthetics/pull/272)
220
+
221
+ ### Bug fixes
222
+
223
+ - Move all of the trace events like FCP, LCP, User timings under
224
+ `browser.relative_trace`[#303](https://github.com/elastic/synthetics/pulls/303)
225
+ - Prioritize suite params from CLI over config file [#298](https://github.com/elastic/synthetics/pull/298)
226
+ - Report errors from `before` and `after` hooks [#273](https://github.com/elastic/synthetics/pull/273)
227
+
228
+ ## v1.0.0-beta.2 (2021-05-17)
229
+
230
+ ### Features
231
+
232
+ - Allow dynamic suite parameters configuration via `synthetics.config.{js|ts}`
233
+ [#270](https://github.com/elastic/synthetics/issues/270)
234
+
235
+ ### Performance Improvements
236
+
237
+ - Improve execution time of test suites by spawning journeys in isolated context
238
+ instead of launcing browser for each run [#274](https://github.com/elastic/synthetics/issues/274)
239
+
5
240
  ## v1.0.0-beta.1 (2021-05-04)
6
241
 
7
242
  ### Bug fixes
package/NOTICE.txt ADDED
@@ -0,0 +1,250 @@
1
+ @elastic/synthetics
2
+ Copyright (c) 2020-present, Elasticsearch BV
3
+
4
+
5
+ ---------------------------------------------------------------------------
6
+ This product relies on `googlechrome/lighthouse`
7
+
8
+ Copyright 2017 The Lighthouse Authors. All Rights Reserved.
9
+
10
+ Apache License
11
+ Version 2.0, January 2004
12
+ http://www.apache.org/licenses/
13
+
14
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
15
+
16
+ 1. Definitions.
17
+
18
+ "License" shall mean the terms and conditions for use, reproduction,
19
+ and distribution as defined by Sections 1 through 9 of this document.
20
+
21
+ "Licensor" shall mean the copyright owner or entity authorized by
22
+ the copyright owner that is granting the License.
23
+
24
+ "Legal Entity" shall mean the union of the acting entity and all
25
+ other entities that control, are controlled by, or are under common
26
+ control with that entity. For the purposes of this definition,
27
+ "control" means (i) the power, direct or indirect, to cause the
28
+ direction or management of such entity, whether by contract or
29
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
30
+ outstanding shares, or (iii) beneficial ownership of such entity.
31
+
32
+ "You" (or "Your") shall mean an individual or Legal Entity
33
+ exercising permissions granted by this License.
34
+
35
+ "Source" form shall mean the preferred form for making modifications,
36
+ including but not limited to software source code, documentation
37
+ source, and configuration files.
38
+
39
+ "Object" form shall mean any form resulting from mechanical
40
+ transformation or translation of a Source form, including but
41
+ not limited to compiled object code, generated documentation,
42
+ and conversions to other media types.
43
+
44
+ "Work" shall mean the work of authorship, whether in Source or
45
+ Object form, made available under the License, as indicated by a
46
+ copyright notice that is included in or attached to the work
47
+ (an example is provided in the Appendix below).
48
+
49
+ "Derivative Works" shall mean any work, whether in Source or Object
50
+ form, that is based on (or derived from) the Work and for which the
51
+ editorial revisions, annotations, elaborations, or other modifications
52
+ represent, as a whole, an original work of authorship. For the purposes
53
+ of this License, Derivative Works shall not include works that remain
54
+ separable from, or merely link (or bind by name) to the interfaces of,
55
+ the Work and Derivative Works thereof.
56
+
57
+ "Contribution" shall mean any work of authorship, including
58
+ the original version of the Work and any modifications or additions
59
+ to that Work or Derivative Works thereof, that is intentionally
60
+ submitted to Licensor for inclusion in the Work by the copyright owner
61
+ or by an individual or Legal Entity authorized to submit on behalf of
62
+ the copyright owner. For the purposes of this definition, "submitted"
63
+ means any form of electronic, verbal, or written communication sent
64
+ to the Licensor or its representatives, including but not limited to
65
+ communication on electronic mailing lists, source code control systems,
66
+ and issue tracking systems that are managed by, or on behalf of, the
67
+ Licensor for the purpose of discussing and improving the Work, but
68
+ excluding communication that is conspicuously marked or otherwise
69
+ designated in writing by the copyright owner as "Not a Contribution."
70
+
71
+ "Contributor" shall mean Licensor and any individual or Legal Entity
72
+ on behalf of whom a Contribution has been received by Licensor and
73
+ subsequently incorporated within the Work.
74
+
75
+ 2. Grant of Copyright License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ copyright license to reproduce, prepare Derivative Works of,
79
+ publicly display, publicly perform, sublicense, and distribute the
80
+ Work and such Derivative Works in Source or Object form.
81
+
82
+ 3. Grant of Patent License. Subject to the terms and conditions of
83
+ this License, each Contributor hereby grants to You a perpetual,
84
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
85
+ (except as stated in this section) patent license to make, have made,
86
+ use, offer to sell, sell, import, and otherwise transfer the Work,
87
+ where such license applies only to those patent claims licensable
88
+ by such Contributor that are necessarily infringed by their
89
+ Contribution(s) alone or by combination of their Contribution(s)
90
+ with the Work to which such Contribution(s) was submitted. If You
91
+ institute patent litigation against any entity (including a
92
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
93
+ or a Contribution incorporated within the Work constitutes direct
94
+ or contributory patent infringement, then any patent licenses
95
+ granted to You under this License for that Work shall terminate
96
+ as of the date such litigation is filed.
97
+
98
+ 4. Redistribution. You may reproduce and distribute copies of the
99
+ Work or Derivative Works thereof in any medium, with or without
100
+ modifications, and in Source or Object form, provided that You
101
+ meet the following conditions:
102
+
103
+ (a) You must give any other recipients of the Work or
104
+ Derivative Works a copy of this License; and
105
+
106
+ (b) You must cause any modified files to carry prominent notices
107
+ stating that You changed the files; and
108
+
109
+ (c) You must retain, in the Source form of any Derivative Works
110
+ that You distribute, all copyright, patent, trademark, and
111
+ attribution notices from the Source form of the Work,
112
+ excluding those notices that do not pertain to any part of
113
+ the Derivative Works; and
114
+
115
+ (d) If the Work includes a "NOTICE" text file as part of its
116
+ distribution, then any Derivative Works that You distribute must
117
+ include a readable copy of the attribution notices contained
118
+ within such NOTICE file, excluding those notices that do not
119
+ pertain to any part of the Derivative Works, in at least one
120
+ of the following places: within a NOTICE text file distributed
121
+ as part of the Derivative Works; within the Source form or
122
+ documentation, if provided along with the Derivative Works; or,
123
+ within a display generated by the Derivative Works, if and
124
+ wherever such third-party notices normally appear. The contents
125
+ of the NOTICE file are for informational purposes only and
126
+ do not modify the License. You may add Your own attribution
127
+ notices within Derivative Works that You distribute, alongside
128
+ or as an addendum to the NOTICE text from the Work, provided
129
+ that such additional attribution notices cannot be construed
130
+ as modifying the License.
131
+
132
+ You may add Your own copyright statement to Your modifications and
133
+ may provide additional or different license terms and conditions
134
+ for use, reproduction, or distribution of Your modifications, or
135
+ for any such Derivative Works as a whole, provided Your use,
136
+ reproduction, and distribution of the Work otherwise complies with
137
+ the conditions stated in this License.
138
+
139
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
140
+ any Contribution intentionally submitted for inclusion in the Work
141
+ by You to the Licensor shall be under the terms and conditions of
142
+ this License, without any additional terms or conditions.
143
+ Notwithstanding the above, nothing herein shall supersede or modify
144
+ the terms of any separate license agreement you may have executed
145
+ with Licensor regarding such Contributions.
146
+
147
+ 6. Trademarks. This License does not grant permission to use the trade
148
+ names, trademarks, service marks, or product names of the Licensor,
149
+ except as required for reasonable and customary use in describing the
150
+ origin of the Work and reproducing the content of the NOTICE file.
151
+
152
+ 7. Disclaimer of Warranty. Unless required by applicable law or
153
+ agreed to in writing, Licensor provides the Work (and each
154
+ Contributor provides its Contributions) on an "AS IS" BASIS,
155
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
156
+ implied, including, without limitation, any warranties or conditions
157
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
158
+ PARTICULAR PURPOSE. You are solely responsible for determining the
159
+ appropriateness of using or redistributing the Work and assume any
160
+ risks associated with Your exercise of permissions under this License.
161
+
162
+ 8. Limitation of Liability. In no event and under no legal theory,
163
+ whether in tort (including negligence), contract, or otherwise,
164
+ unless required by applicable law (such as deliberate and grossly
165
+ negligent acts) or agreed to in writing, shall any Contributor be
166
+ liable to You for damages, including any direct, indirect, special,
167
+ incidental, or consequential damages of any character arising as a
168
+ result of this License or out of the use or inability to use the
169
+ Work (including but not limited to damages for loss of goodwill,
170
+ work stoppage, computer failure or malfunction, or any and all
171
+ other commercial damages or losses), even if such Contributor
172
+ has been advised of the possibility of such damages.
173
+
174
+ 9. Accepting Warranty or Additional Liability. While redistributing
175
+ the Work or Derivative Works thereof, You may choose to offer,
176
+ and charge a fee for, acceptance of support, warranty, indemnity,
177
+ or other liability obligations and/or rights consistent with this
178
+ License. However, in accepting such obligations, You may act only
179
+ on Your own behalf and on Your sole responsibility, not on behalf
180
+ of any other Contributor, and only if You agree to indemnify,
181
+ defend, and hold each Contributor harmless for any liability
182
+ incurred by, or claims asserted against, such Contributor by reason
183
+ of your accepting any such warranty or additional liability.
184
+
185
+ END OF TERMS AND CONDITIONS
186
+
187
+ APPENDIX: How to apply the Apache License to your work.
188
+
189
+ To apply the Apache License to your work, attach the following
190
+ boilerplate notice, with the fields enclosed by brackets "[]"
191
+ replaced with your own identifying information. (Don't include
192
+ the brackets!) The text should be enclosed in the appropriate
193
+ comment syntax for the file format. We also recommend that a
194
+ file or class name and description of purpose be included on the
195
+ same "printed page" as the copyright notice for easier
196
+ identification within third-party archives.
197
+
198
+ Copyright [yyyy] [name of copyright owner]
199
+
200
+ Licensed under the Apache License, Version 2.0 (the "License");
201
+ you may not use this file except in compliance with the License.
202
+ You may obtain a copy of the License at
203
+
204
+ http://www.apache.org/licenses/LICENSE-2.0
205
+
206
+ Unless required by applicable law or agreed to in writing, software
207
+ distributed under the License is distributed on an "AS IS" BASIS,
208
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
209
+ See the License for the specific language governing permissions and
210
+ limitations under the License.
211
+ ---------------------------------------------------------------------------
212
+ This product relies on `expect`
213
+
214
+ /**
215
+ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
216
+ *
217
+ * This source code is licensed under the MIT license found in the
218
+ * LICENSE file in the root directory of this source tree.
219
+ *
220
+ */
221
+ ---------------------------------------------------------------------------
222
+ This product relies on `ChromeDevTools/devtools-frontend`
223
+
224
+ // Copyright 2014 The Chromium Authors. All rights reserved.
225
+ //
226
+ // Redistribution and use in source and binary forms, with or without
227
+ // modification, are permitted provided that the following conditions are
228
+ // met:
229
+ //
230
+ // * Redistributions of source code must retain the above copyright
231
+ // notice, this list of conditions and the following disclaimer.
232
+ // * Redistributions in binary form must reproduce the above
233
+ // copyright notice, this list of conditions and the following disclaimer
234
+ // in the documentation and/or other materials provided with the
235
+ // distribution.
236
+ // * Neither the name of Google Inc. nor the names of its
237
+ // contributors may be used to endorse or promote products derived from
238
+ // this software without specific prior written permission.
239
+ //
240
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
241
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
242
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
243
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
244
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
245
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
246
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
247
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
248
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
249
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
250
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
- [![Build Status](https://apm-ci.elastic.co/job/apm-agent-rum/job/elastic-synthetics/job/master/badge/icon)](https://apm-ci.elastic.co/job/apm-agent-rum/job/elastic-synthetics/job/master/)
1
+ [![Build Status](https://apm-ci.elastic.co/job/apm-agent-rum/job/elastic-synthetics/job/main/badge/icon)](https://apm-ci.elastic.co/job/apm-agent-rum/job/elastic-synthetics/job/main/)
2
+
2
3
  # Experimental Synthetics Agent
3
4
 
4
5
  Synthetic Monitoring with Real Browsers.