@checkly/playwright-core 1.48.24-maxi → 1.48.25-beta.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/lib/generated/bindingsControllerSource.js +7 -0
- package/lib/generated/storageScriptSource.js +7 -0
- package/lib/server/har/harRecorder.js +3 -1
- package/lib/server/trace/recorder/tracing.js +9 -20
- package/lib/utils/fileUtils.js +65 -2
- package/lib/vite/{traceViewer/assets/codeMirrorModule-tzBrK1V4.js → recorder/assets/codeMirrorModule-baozm8ur.js} +10 -10
- package/lib/vite/recorder/assets/{index-BcaUAUCW.js → index-2ElAIWFB.js} +2 -2
- package/lib/vite/recorder/index.html +1 -1
- package/lib/vite/traceViewer/assets/{codeMirrorModule-CB-2okZ8.js → codeMirrorModule-DblsdhjA.js} +2096 -2331
- package/lib/vite/{recorder/assets/codeMirrorModule-CR6kB851.js → traceViewer/assets/codeMirrorModule-lDjkI8Ax.js} +1 -1
- package/lib/vite/traceViewer/assets/{inspectorTab-BHcfR9dD.js → inspectorTab-BPzhNk9r.js} +2 -2
- package/lib/vite/traceViewer/assets/inspectorTab-DOc4D3cX.js +17361 -0
- package/lib/vite/traceViewer/assets/{defaultSettingsView-CBiB4avC.js → testServerConnection-D-tXL3sj.js} +49 -42
- package/lib/vite/traceViewer/assets/{workbench-DZqNXdoV.js → workbench-DLv_q9ji.js} +1 -1
- package/lib/vite/traceViewer/assets/workbench-DNolpp3y.js +1473 -0
- package/lib/vite/traceViewer/assets/xtermModule-DZP0glxx.js +5982 -0
- package/lib/vite/traceViewer/{embedded.DInvAijy.js → embedded.BIubxTi3.js} +1 -1
- package/lib/vite/traceViewer/{embedded.gzudoghF.js → embedded.DeCrOtlO.js} +4 -4
- package/lib/vite/traceViewer/embedded.html +3 -3
- package/lib/vite/traceViewer/{index.DilotR1h.js → index.CM_h9lHr.js} +7 -124
- package/lib/vite/traceViewer/{index.Dha3cgqs.js → index.DPD22sZn.js} +1 -1
- package/lib/vite/traceViewer/index.html +3 -3
- package/lib/vite/traceViewer/{inspectorTab.DnGm18kV.css → inspectorTab.DGJWXOSd.css} +1488 -1521
- package/lib/vite/traceViewer/{recorder.C88JDknq.js → recorder.BaRuS6Pc.js} +1 -1
- package/lib/vite/traceViewer/{recorder.DVrkq3Um.js → recorder.Fwf59ZKh.js} +3 -3
- package/lib/vite/traceViewer/recorder.html +2 -2
- package/lib/vite/traceViewer/{uiMode.2tr9k625.js → uiMode.B11wexdJ.js} +1 -1
- package/lib/vite/traceViewer/{uiMode.C9_OcpPU.js → uiMode.CYBsUhm_.js} +58 -90
- package/lib/vite/traceViewer/{uiMode.c5ORgcrX.css → uiMode.DRmgrHSk.css} +45 -7
- package/lib/vite/traceViewer/uiMode.html +3 -3
- package/lib/vite/traceViewer/{workbench.xUZSA8PY.css → workbench.BQNDbcQ0.css} +83 -320
- package/package.json +1 -1
- package/lib/client/clientStackTrace.js +0 -66
- package/lib/client/fileUtils.js +0 -33
- package/lib/client/platform.js +0 -72
- package/lib/client/timeoutSettings.js +0 -66
- package/lib/client/webSocket.js +0 -107
- package/lib/generated/recorderSource.js +0 -7
- package/lib/server/callLog.js +0 -80
- package/lib/server/harBackend.js +0 -158
- package/lib/server/localUtils.js +0 -204
- package/lib/server/recorder/chat.js +0 -178
- package/lib/server/recorder/codeGenerator.js +0 -154
- package/lib/server/recorder/csharp.js +0 -311
- package/lib/server/recorder/java.js +0 -249
- package/lib/server/recorder/javascript.js +0 -230
- package/lib/server/recorder/jsonl.js +0 -48
- package/lib/server/recorder/language.js +0 -45
- package/lib/server/recorder/python.js +0 -276
- package/lib/server/recorder/recorderActions.js +0 -6
- package/lib/server/recorder/utils.js +0 -46
- package/lib/server/storageScript.js +0 -161
- package/lib/server/timeoutSettings.js +0 -75
- package/lib/server/utils/ascii.js +0 -32
- package/lib/server/utils/comparators.js +0 -160
- package/lib/server/utils/crypto.js +0 -172
- package/lib/server/utils/debug.js +0 -39
- package/lib/server/utils/debugLogger.js +0 -94
- package/lib/server/utils/env.js +0 -54
- package/lib/server/utils/eventsHelper.js +0 -39
- package/lib/server/utils/expectUtils.js +0 -34
- package/lib/server/utils/fileUtils.js +0 -205
- package/lib/server/utils/happyEyeballs.js +0 -210
- package/lib/server/utils/hostPlatform.js +0 -146
- package/lib/server/utils/httpServer.js +0 -234
- package/lib/server/utils/image_tools/colorUtils.js +0 -99
- package/lib/server/utils/image_tools/compare.js +0 -109
- package/lib/server/utils/image_tools/imageChannel.js +0 -71
- package/lib/server/utils/image_tools/stats.js +0 -103
- package/lib/server/utils/linuxUtils.js +0 -59
- package/lib/server/utils/network.js +0 -161
- package/lib/server/utils/nodePlatform.js +0 -141
- package/lib/server/utils/pipeTransport.js +0 -83
- package/lib/server/utils/processLauncher.js +0 -249
- package/lib/server/utils/profiler.js +0 -53
- package/lib/server/utils/socksProxy.js +0 -571
- package/lib/server/utils/spawnAsync.js +0 -46
- package/lib/server/utils/task.js +0 -59
- package/lib/server/utils/userAgent.js +0 -92
- package/lib/server/utils/wsServer.js +0 -129
- package/lib/server/utils/zipFile.js +0 -76
- package/lib/server/utils/zones.js +0 -55
- package/lib/utils/glob.js +0 -84
- package/lib/utils/isomorphic/ariaSnapshot.js +0 -393
- package/lib/utils/isomorphic/assert.js +0 -26
- package/lib/utils/isomorphic/colors.js +0 -66
- package/lib/utils/isomorphic/headers.js +0 -53
- package/lib/utils/isomorphic/manualPromise.js +0 -108
- package/lib/utils/isomorphic/multimap.js +0 -74
- package/lib/utils/isomorphic/rtti.js +0 -42
- package/lib/utils/isomorphic/semaphore.js +0 -52
- package/lib/utils/isomorphic/stackTrace.js +0 -170
- package/lib/utils/isomorphic/time.js +0 -26
- package/lib/utils/isomorphic/timeoutRunner.js +0 -67
- package/lib/utils/isomorphic/types.js +0 -6
- package/lib/utils/mimeType.js +0 -30
- package/lib/utils.js +0 -448
- package/lib/vite/traceViewer/assets/codeMirrorModule-DZoSgqUd.js +0 -24
- package/lib/vite/traceViewer/assets/inspectorTab-BuJ3wAX_.js +0 -64
- package/lib/vite/traceViewer/assets/inspectorTab-CwgfffWb.js +0 -25143
- package/lib/vite/traceViewer/assets/workbench-CWZselvp.js +0 -2470
- package/lib/vite/traceViewer/assets/workbench-DdmJ9AJV.js +0 -9
- package/lib/vite/traceViewer/assets/xtermModule-Es_gt_u7.js +0 -5994
- package/lib/vite/traceViewer/defaultSettingsView.Dp3b_92q.css +0 -41
- package/lib/vite/traceViewer/embedded.Dxe2heQk.js +0 -2
- package/lib/vite/traceViewer/index.CB297BuW.js +0 -2
- package/lib/vite/traceViewer/recorder.DNMfnSiu.js +0 -2
- package/lib/vite/traceViewer/uiMode.Cr1tvTWS.js +0 -5
- /package/lib/vite/traceViewer/{codeMirrorModule.DuST8d_k.css → codeMirrorModule.Cy8X9Wtw.css} +0 -0
- /package/lib/vite/traceViewer/{embedded.BeldSa2G.css → embedded.DjZq4InJ.css} +0 -0
- /package/lib/vite/traceViewer/{index.QewjJ85u.css → index.QanXxRUb.css} +0 -0
- /package/lib/vite/traceViewer/{recorder.DLgqV9db.css → recorder.DBDpiNOK.css} +0 -0
- /package/lib/vite/traceViewer/{xtermModule.EsaqrrTX.css → xtermModule.4oRVGWQ-.css} +0 -0
|
@@ -1305,29 +1305,29 @@ body.dark-mode {
|
|
|
1305
1305
|
limitations under the License.
|
|
1306
1306
|
*/
|
|
1307
1307
|
|
|
1308
|
-
.ui-mode-
|
|
1308
|
+
.ui-mode-list-item {
|
|
1309
1309
|
flex: auto;
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
|
-
.ui-mode-
|
|
1312
|
+
.ui-mode-list-item-title {
|
|
1313
1313
|
flex: auto;
|
|
1314
1314
|
text-overflow: ellipsis;
|
|
1315
1315
|
overflow: hidden;
|
|
1316
1316
|
}
|
|
1317
1317
|
|
|
1318
|
-
.ui-mode-
|
|
1318
|
+
.ui-mode-list-item-time {
|
|
1319
1319
|
flex: none;
|
|
1320
1320
|
color: var(--vscode-editorCodeLens-foreground);
|
|
1321
1321
|
margin: 0 4px;
|
|
1322
1322
|
user-select: none;
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
1325
|
-
.tests-
|
|
1326
|
-
.tests-
|
|
1325
|
+
.tests-list-view .list-view-entry.selected .ui-mode-list-item-time,
|
|
1326
|
+
.tests-list-view .list-view-entry.highlighted .ui-mode-list-item-time {
|
|
1327
1327
|
display: none;
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
|
-
.tests-
|
|
1330
|
+
.tests-list-view .list-view-entry:not(.highlighted):not(.selected) .toolbar-button:not(.toggled) {
|
|
1331
1331
|
display: none;
|
|
1332
1332
|
}
|
|
1333
1333
|
/**
|
|
@@ -1421,4 +1421,42 @@ body.dark-mode {
|
|
|
1421
1421
|
background-color: #471700;
|
|
1422
1422
|
color: #ffa657;
|
|
1423
1423
|
border: 1px solid #e16f24;
|
|
1424
|
-
}
|
|
1424
|
+
}/*
|
|
1425
|
+
Copyright (c) Microsoft Corporation.
|
|
1426
|
+
|
|
1427
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
1428
|
+
you may not use this file except in compliance with the License.
|
|
1429
|
+
You may obtain a copy of the License at
|
|
1430
|
+
|
|
1431
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
1432
|
+
|
|
1433
|
+
Unless required by applicable law or agreed to in writing, software
|
|
1434
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
1435
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1436
|
+
See the License for the specific language governing permissions and
|
|
1437
|
+
limitations under the License.
|
|
1438
|
+
*/
|
|
1439
|
+
|
|
1440
|
+
.settings-view {
|
|
1441
|
+
flex: none;
|
|
1442
|
+
margin-top: 4px;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
.settings-view .setting label {
|
|
1446
|
+
display: flex;
|
|
1447
|
+
flex-direction: row;
|
|
1448
|
+
align-items: center;
|
|
1449
|
+
margin: 4px 2px;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
.settings-view .setting:first-of-type label {
|
|
1453
|
+
margin-top: 2px;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
.settings-view .setting:last-of-type label {
|
|
1457
|
+
margin-bottom: 2px;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
.settings-view .setting input {
|
|
1461
|
+
margin-right: 5px;
|
|
1462
|
+
}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
7
|
<link rel="icon" href="./playwright-logo.svg" type="image/svg+xml">
|
|
8
8
|
<title>Playwright Test</title>
|
|
9
|
-
<script type="module" crossorigin src="./uiMode.
|
|
10
|
-
<link rel="modulepreload" crossorigin href="./assets/inspectorTab-
|
|
9
|
+
<script type="module" crossorigin src="./uiMode.B11wexdJ.js"></script>
|
|
10
|
+
<link rel="modulepreload" crossorigin href="./assets/inspectorTab-BPzhNk9r.js">
|
|
11
11
|
<link rel="modulepreload" crossorigin href="./assets/testServerConnection-DeE2kSzz.js">
|
|
12
|
-
<link rel="modulepreload" crossorigin href="./assets/workbench-
|
|
12
|
+
<link rel="modulepreload" crossorigin href="./assets/workbench-DLv_q9ji.js">
|
|
13
13
|
<link rel="stylesheet" crossorigin href="./inspectorTab.DLjBDrQR.css">
|
|
14
14
|
<link rel="stylesheet" crossorigin href="./workbench.DlsCx8k5.css">
|
|
15
15
|
<link rel="stylesheet" crossorigin href="./uiMode.CAYqod-m.css">
|
|
@@ -14,102 +14,6 @@
|
|
|
14
14
|
limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
.tree-view-content {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
flex: auto;
|
|
21
|
-
position: relative;
|
|
22
|
-
user-select: none;
|
|
23
|
-
overflow: hidden auto;
|
|
24
|
-
outline: 1px solid transparent;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.tree-view-entry {
|
|
28
|
-
display: flex;
|
|
29
|
-
flex: none;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
align-items: center;
|
|
32
|
-
white-space: nowrap;
|
|
33
|
-
line-height: 28px;
|
|
34
|
-
padding-left: 5px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.tree-view-content.not-selectable > .tree-view-entry {
|
|
38
|
-
cursor: inherit;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.tree-view-entry.highlighted:not(.selected) {
|
|
42
|
-
background-color: var(--vscode-list-inactiveSelectionBackground) !important;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.tree-view-entry.selected {
|
|
46
|
-
z-index: 10;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.tree-view-indent {
|
|
50
|
-
min-width: 16px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.tree-view-content:focus .tree-view-entry.selected {
|
|
54
|
-
background-color: var(--vscode-list-activeSelectionBackground);
|
|
55
|
-
color: var(--vscode-list-activeSelectionForeground);
|
|
56
|
-
outline: 1px solid var(--vscode-focusBorder);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.tree-view-content .tree-view-entry.selected {
|
|
60
|
-
background-color: var(--vscode-list-inactiveSelectionBackground);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.tree-view-content:focus .tree-view-entry.selected * {
|
|
64
|
-
color: var(--vscode-list-activeSelectionForeground) !important;
|
|
65
|
-
background-color: transparent !important;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.tree-view-content:focus .tree-view-entry.selected .codicon {
|
|
69
|
-
color: var(--vscode-list-activeSelectionForeground) !important;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.tree-view-content:focus .tree-view-entry.selected button.eye.toggled {
|
|
73
|
-
border-radius: 6px;
|
|
74
|
-
outline: 1px solid var(--vscode-button-foreground);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.tree-view-empty {
|
|
78
|
-
flex: auto;
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
justify-content: center;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.tree-view-entry.error {
|
|
85
|
-
color: var(--vscode-list-errorForeground);
|
|
86
|
-
background-color: var(--vscode-inputValidation-errorBackground);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.tree-view-entry.warning {
|
|
90
|
-
color: var(--vscode-list-warningForeground);
|
|
91
|
-
background-color: var(--vscode-inputValidation-warningBackground);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.tree-view-entry.info {
|
|
95
|
-
background-color: var(--vscode-inputValidation-infoBackground);
|
|
96
|
-
}
|
|
97
|
-
/*
|
|
98
|
-
Copyright (c) Microsoft Corporation.
|
|
99
|
-
|
|
100
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
101
|
-
you may not use this file except in compliance with the License.
|
|
102
|
-
You may obtain a copy of the License at
|
|
103
|
-
|
|
104
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
105
|
-
|
|
106
|
-
Unless required by applicable law or agreed to in writing, software
|
|
107
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
108
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
109
|
-
See the License for the specific language governing permissions and
|
|
110
|
-
limitations under the License.
|
|
111
|
-
*/
|
|
112
|
-
|
|
113
17
|
.call-tab {
|
|
114
18
|
flex: auto;
|
|
115
19
|
line-height: 24px;
|
|
@@ -259,230 +163,6 @@ a.call-value:hover {
|
|
|
259
163
|
word-break: break-word;
|
|
260
164
|
padding: 10px;
|
|
261
165
|
}
|
|
262
|
-
/**
|
|
263
|
-
* Copyright (c) Microsoft Corporation.
|
|
264
|
-
*
|
|
265
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
266
|
-
* you may not use this file except in compliance with the License.
|
|
267
|
-
* You may obtain a copy of the License at
|
|
268
|
-
*
|
|
269
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
270
|
-
*
|
|
271
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
272
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
273
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
274
|
-
* See the License for the specific language governing permissions and
|
|
275
|
-
* limitations under the License.
|
|
276
|
-
*/
|
|
277
|
-
|
|
278
|
-
.chat-container {
|
|
279
|
-
flex: 1;
|
|
280
|
-
display: flex;
|
|
281
|
-
flex-direction: column;
|
|
282
|
-
justify-content: space-between;
|
|
283
|
-
color: #e0e0e0;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.chat-disclaimer {
|
|
287
|
-
text-align: center;
|
|
288
|
-
color: var(--vscode-editorBracketMatch-border);
|
|
289
|
-
margin: 0px;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.chat-container hr {
|
|
293
|
-
width: 100%;
|
|
294
|
-
border: none;
|
|
295
|
-
border-top: 1px solid var(--vscode-titleBar-inactiveBackground);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.messages-container {
|
|
299
|
-
flex: 1;
|
|
300
|
-
overflow-y: auto;
|
|
301
|
-
padding: 16px;
|
|
302
|
-
|
|
303
|
-
display: flex;
|
|
304
|
-
flex-direction: column;
|
|
305
|
-
gap: 16px;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.message {
|
|
309
|
-
gap: 12px;
|
|
310
|
-
max-width: 85%;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.user-message {
|
|
314
|
-
flex-direction: row-reverse;
|
|
315
|
-
margin-left: auto;
|
|
316
|
-
width: fit-content
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.message-icon {
|
|
320
|
-
width: 32px;
|
|
321
|
-
height: 32px;
|
|
322
|
-
display: flex;
|
|
323
|
-
align-items: center;
|
|
324
|
-
justify-content: center;
|
|
325
|
-
background-color: var(--vscode-titleBar-inactiveBackground);
|
|
326
|
-
flex-shrink: 0;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.message-content {
|
|
330
|
-
background-color: var(--vscode-titleBar-inactiveBackground);
|
|
331
|
-
color: var(--vscode-titleBar-activeForeground);
|
|
332
|
-
padding: 2px 8px;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.message-content pre {
|
|
336
|
-
text-wrap: auto;
|
|
337
|
-
overflow-wrap: anywhere;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.user-message .message-content {
|
|
341
|
-
background-color: var(--vscode-titleBar-activeBackground);
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
/* Input form styles */
|
|
345
|
-
.input-form {
|
|
346
|
-
position: sticky;
|
|
347
|
-
bottom: 0;
|
|
348
|
-
display: flex;
|
|
349
|
-
height: 64px;
|
|
350
|
-
gap: 8px;
|
|
351
|
-
padding: 10px;
|
|
352
|
-
background-color: var(--vscode-sideBar-background);
|
|
353
|
-
border-top: 1px solid var(--vscode-sideBarSectionHeader-border);
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.message-input {
|
|
357
|
-
flex: 1;
|
|
358
|
-
padding: 8px 12px;
|
|
359
|
-
border: 1px solid var(--vscode-settings-textInputBorder);
|
|
360
|
-
background-color: var(--vscode-settings-textInputBackground);
|
|
361
|
-
font-size: 14px;
|
|
362
|
-
outline: none;
|
|
363
|
-
transition: border-color 0.2s;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.message-input:focus {
|
|
367
|
-
border-color: #0078d4;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.send-button {
|
|
371
|
-
display: flex;
|
|
372
|
-
align-items: center;
|
|
373
|
-
justify-content: center;
|
|
374
|
-
padding: 8px;
|
|
375
|
-
background-color: var(--vscode-button-background);
|
|
376
|
-
border: none;
|
|
377
|
-
color: white;
|
|
378
|
-
cursor: pointer;
|
|
379
|
-
transition: background-color 0.2s;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.send-button:hover {
|
|
383
|
-
background-color: var(--vscode-button-hoverBackground);
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.send-button:disabled {
|
|
387
|
-
background-color: var(--vscode-disabledForeground);
|
|
388
|
-
cursor: not-allowed;
|
|
389
|
-
}
|
|
390
|
-
/*
|
|
391
|
-
Copyright (c) Microsoft Corporation.
|
|
392
|
-
|
|
393
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
394
|
-
you may not use this file except in compliance with the License.
|
|
395
|
-
You may obtain a copy of the License at
|
|
396
|
-
|
|
397
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
398
|
-
|
|
399
|
-
Unless required by applicable law or agreed to in writing, software
|
|
400
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
401
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
402
|
-
See the License for the specific language governing permissions and
|
|
403
|
-
limitations under the License.
|
|
404
|
-
*/
|
|
405
|
-
|
|
406
|
-
.attachments-tab {
|
|
407
|
-
flex: auto;
|
|
408
|
-
line-height: 24px;
|
|
409
|
-
white-space: pre;
|
|
410
|
-
overflow: auto;
|
|
411
|
-
user-select: text;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
.attachments-section {
|
|
415
|
-
padding-left: 6px;
|
|
416
|
-
font-weight: bold;
|
|
417
|
-
text-transform: uppercase;
|
|
418
|
-
font-size: 12px;
|
|
419
|
-
color: var(--vscode-sideBarTitle-foreground);
|
|
420
|
-
line-height: 24px;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
.attachments-section:not(:first-child) {
|
|
424
|
-
border-top: 1px solid var(--vscode-panel-border);
|
|
425
|
-
margin-top: 10px;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.attachment-item {
|
|
429
|
-
margin: 4px 8px;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
.attachment-title-highlight {
|
|
433
|
-
text-decoration: underline var(--vscode-terminal-findMatchBackground);
|
|
434
|
-
text-decoration-thickness: 1.5px;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
.attachment-item img {
|
|
438
|
-
flex: none;
|
|
439
|
-
min-width: 200px;
|
|
440
|
-
max-width: 80%;
|
|
441
|
-
box-shadow: 0 12px 28px 0 rgba(0,0,0,.2), 0 2px 4px 0 rgba(0,0,0,.1);
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
a.codicon-cloud-download:hover{
|
|
445
|
-
background-color: var(--vscode-list-inactiveSelectionBackground)
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.yellow-flash {
|
|
449
|
-
animation: yellowflash-bg 2s;
|
|
450
|
-
}
|
|
451
|
-
@keyframes yellowflash-bg {
|
|
452
|
-
from { background: var(--vscode-peekViewEditor-matchHighlightBackground); }
|
|
453
|
-
to { background: transparent; }
|
|
454
|
-
}
|
|
455
|
-
/*
|
|
456
|
-
Copyright (c) Microsoft Corporation.
|
|
457
|
-
|
|
458
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
459
|
-
you may not use this file except in compliance with the License.
|
|
460
|
-
You may obtain a copy of the License at
|
|
461
|
-
|
|
462
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
463
|
-
|
|
464
|
-
Unless required by applicable law or agreed to in writing, software
|
|
465
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
466
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
467
|
-
See the License for the specific language governing permissions and
|
|
468
|
-
limitations under the License.
|
|
469
|
-
*/
|
|
470
|
-
|
|
471
|
-
.expandable {
|
|
472
|
-
flex: none;
|
|
473
|
-
flex-direction: column;
|
|
474
|
-
line-height: 28px;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
.expandable-title {
|
|
478
|
-
flex: none;
|
|
479
|
-
display: flex;
|
|
480
|
-
flex-direction: row;
|
|
481
|
-
align-items: center;
|
|
482
|
-
white-space: nowrap;
|
|
483
|
-
user-select: none;
|
|
484
|
-
cursor: pointer;
|
|
485
|
-
}
|
|
486
166
|
/*
|
|
487
167
|
Copyright (c) Microsoft Corporation.
|
|
488
168
|
|
|
@@ -733,6 +413,89 @@ body.dark-mode .timeline-window-curtain {
|
|
|
733
413
|
limitations under the License.
|
|
734
414
|
*/
|
|
735
415
|
|
|
416
|
+
.attachments-tab {
|
|
417
|
+
flex: auto;
|
|
418
|
+
line-height: 24px;
|
|
419
|
+
white-space: pre;
|
|
420
|
+
overflow: auto;
|
|
421
|
+
user-select: text;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.attachments-section {
|
|
425
|
+
padding-left: 6px;
|
|
426
|
+
font-weight: bold;
|
|
427
|
+
text-transform: uppercase;
|
|
428
|
+
font-size: 12px;
|
|
429
|
+
color: var(--vscode-sideBarTitle-foreground);
|
|
430
|
+
line-height: 24px;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.attachments-section:not(:first-child) {
|
|
434
|
+
border-top: 1px solid var(--vscode-panel-border);
|
|
435
|
+
margin-top: 10px;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.attachment-item {
|
|
439
|
+
margin: 4px 8px;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.attachment-item img {
|
|
443
|
+
flex: none;
|
|
444
|
+
min-width: 200px;
|
|
445
|
+
max-width: 80%;
|
|
446
|
+
box-shadow: 0 12px 28px 0 rgba(0,0,0,.2), 0 2px 4px 0 rgba(0,0,0,.1);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
a.codicon-cloud-download:hover{
|
|
450
|
+
background-color: var(--vscode-list-inactiveSelectionBackground)
|
|
451
|
+
}
|
|
452
|
+
/*
|
|
453
|
+
Copyright (c) Microsoft Corporation.
|
|
454
|
+
|
|
455
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
456
|
+
you may not use this file except in compliance with the License.
|
|
457
|
+
You may obtain a copy of the License at
|
|
458
|
+
|
|
459
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
460
|
+
|
|
461
|
+
Unless required by applicable law or agreed to in writing, software
|
|
462
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
463
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
464
|
+
See the License for the specific language governing permissions and
|
|
465
|
+
limitations under the License.
|
|
466
|
+
*/
|
|
467
|
+
|
|
468
|
+
.expandable {
|
|
469
|
+
flex: none;
|
|
470
|
+
flex-direction: column;
|
|
471
|
+
line-height: 28px;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.expandable-title {
|
|
475
|
+
flex: none;
|
|
476
|
+
display: flex;
|
|
477
|
+
flex-direction: row;
|
|
478
|
+
align-items: center;
|
|
479
|
+
white-space: nowrap;
|
|
480
|
+
user-select: none;
|
|
481
|
+
cursor: pointer;
|
|
482
|
+
}
|
|
483
|
+
/*
|
|
484
|
+
Copyright (c) Microsoft Corporation.
|
|
485
|
+
|
|
486
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
487
|
+
you may not use this file except in compliance with the License.
|
|
488
|
+
You may obtain a copy of the License at
|
|
489
|
+
|
|
490
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
491
|
+
|
|
492
|
+
Unless required by applicable law or agreed to in writing, software
|
|
493
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
494
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
495
|
+
See the License for the specific language governing permissions and
|
|
496
|
+
limitations under the License.
|
|
497
|
+
*/
|
|
498
|
+
|
|
736
499
|
.annotations-tab {
|
|
737
500
|
flex: auto;
|
|
738
501
|
line-height: 24px;
|
package/package.json
CHANGED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.captureLibraryStackTrace = captureLibraryStackTrace;
|
|
7
|
-
var _stackTrace = require("../utils/isomorphic/stackTrace");
|
|
8
|
-
/**
|
|
9
|
-
* Copyright (c) Microsoft Corporation.
|
|
10
|
-
*
|
|
11
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
-
* you may not use this file except in compliance with the License.
|
|
13
|
-
* You may obtain a copy of the License at
|
|
14
|
-
*
|
|
15
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
-
*
|
|
17
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
-
* See the License for the specific language governing permissions and
|
|
21
|
-
* limitations under the License.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
function captureLibraryStackTrace(platform) {
|
|
25
|
-
const stack = (0, _stackTrace.captureRawStack)();
|
|
26
|
-
let parsedFrames = stack.map(line => {
|
|
27
|
-
const frame = (0, _stackTrace.parseStackFrame)(line, platform.pathSeparator, platform.showInternalStackFrames());
|
|
28
|
-
if (!frame || !frame.file) return null;
|
|
29
|
-
const isPlaywrightLibrary = !!platform.coreDir && frame.file.startsWith(platform.coreDir);
|
|
30
|
-
const parsed = {
|
|
31
|
-
frame,
|
|
32
|
-
frameText: line,
|
|
33
|
-
isPlaywrightLibrary
|
|
34
|
-
};
|
|
35
|
-
return parsed;
|
|
36
|
-
}).filter(Boolean);
|
|
37
|
-
let apiName = '';
|
|
38
|
-
|
|
39
|
-
// Deepest transition between non-client code calling into client
|
|
40
|
-
// code is the api entry.
|
|
41
|
-
for (let i = 0; i < parsedFrames.length - 1; i++) {
|
|
42
|
-
const parsedFrame = parsedFrames[i];
|
|
43
|
-
if (parsedFrame.isPlaywrightLibrary && !parsedFrames[i + 1].isPlaywrightLibrary) {
|
|
44
|
-
apiName = apiName || normalizeAPIName(parsedFrame.frame.function);
|
|
45
|
-
break;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
function normalizeAPIName(name) {
|
|
49
|
-
if (!name) return '';
|
|
50
|
-
const match = name.match(/(API|JS|CDP|[A-Z])(.*)/);
|
|
51
|
-
if (!match) return name;
|
|
52
|
-
return match[1].toLowerCase() + match[2];
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// This is for the inspector so that it did not include the test runner stack frames.
|
|
56
|
-
const filterPrefixes = platform.boxedStackPrefixes();
|
|
57
|
-
parsedFrames = parsedFrames.filter(f => {
|
|
58
|
-
if (filterPrefixes.some(prefix => f.frame.file.startsWith(prefix))) return false;
|
|
59
|
-
return true;
|
|
60
|
-
});
|
|
61
|
-
return {
|
|
62
|
-
frames: parsedFrames.map(p => p.frame),
|
|
63
|
-
apiName
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=clientStackTrace.js.map
|
package/lib/client/fileUtils.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.fileUploadSizeLimit = void 0;
|
|
7
|
-
exports.mkdirIfNeeded = mkdirIfNeeded;
|
|
8
|
-
/**
|
|
9
|
-
* Copyright (c) Microsoft Corporation.
|
|
10
|
-
*
|
|
11
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
-
* you may not use this file except in compliance with the License.
|
|
13
|
-
* You may obtain a copy of the License at
|
|
14
|
-
*
|
|
15
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
-
*
|
|
17
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
-
* See the License for the specific language governing permissions and
|
|
21
|
-
* limitations under the License.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
// Keep in sync with the server.
|
|
25
|
-
const fileUploadSizeLimit = exports.fileUploadSizeLimit = 50 * 1024 * 1024;
|
|
26
|
-
async function mkdirIfNeeded(platform, filePath) {
|
|
27
|
-
// This will harmlessly throw on windows if the dirname is the root directory.
|
|
28
|
-
console.log('mkdirIfNeeded', filePath);
|
|
29
|
-
await platform.fs().promises.mkdir(platform.path().dirname(filePath), {
|
|
30
|
-
recursive: true
|
|
31
|
-
}).catch(() => {});
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=fileUtils.js.map
|
package/lib/client/platform.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.emptyPlatform = void 0;
|
|
7
|
-
var _colors = require("../utils/isomorphic/colors");
|
|
8
|
-
/**
|
|
9
|
-
* Copyright (c) Microsoft Corporation.
|
|
10
|
-
*
|
|
11
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
-
* you may not use this file except in compliance with the License.
|
|
13
|
-
* You may obtain a copy of the License at
|
|
14
|
-
*
|
|
15
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
-
*
|
|
17
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
-
* See the License for the specific language governing permissions and
|
|
21
|
-
* limitations under the License.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
const noopZone = {
|
|
25
|
-
push: () => noopZone,
|
|
26
|
-
pop: () => noopZone,
|
|
27
|
-
run: func => func(),
|
|
28
|
-
data: () => undefined
|
|
29
|
-
};
|
|
30
|
-
const emptyPlatform = exports.emptyPlatform = {
|
|
31
|
-
name: 'empty',
|
|
32
|
-
boxedStackPrefixes: () => [],
|
|
33
|
-
calculateSha1: async () => {
|
|
34
|
-
throw new Error('Not implemented');
|
|
35
|
-
},
|
|
36
|
-
colors: _colors.webColors,
|
|
37
|
-
createGuid: () => {
|
|
38
|
-
throw new Error('Not implemented');
|
|
39
|
-
},
|
|
40
|
-
defaultMaxListeners: () => 10,
|
|
41
|
-
env: {},
|
|
42
|
-
fs: () => {
|
|
43
|
-
throw new Error('Not implemented');
|
|
44
|
-
},
|
|
45
|
-
inspectCustom: undefined,
|
|
46
|
-
isDebugMode: () => false,
|
|
47
|
-
isJSDebuggerAttached: () => false,
|
|
48
|
-
isLogEnabled(name) {
|
|
49
|
-
return false;
|
|
50
|
-
},
|
|
51
|
-
isUnderTest: () => false,
|
|
52
|
-
log(name, message) {},
|
|
53
|
-
path: () => {
|
|
54
|
-
throw new Error('Function not implemented.');
|
|
55
|
-
},
|
|
56
|
-
pathSeparator: '/',
|
|
57
|
-
showInternalStackFrames: () => false,
|
|
58
|
-
streamFile(path, writable) {
|
|
59
|
-
throw new Error('Streams are not available');
|
|
60
|
-
},
|
|
61
|
-
streamReadable: channel => {
|
|
62
|
-
throw new Error('Streams are not available');
|
|
63
|
-
},
|
|
64
|
-
streamWritable: channel => {
|
|
65
|
-
throw new Error('Streams are not available');
|
|
66
|
-
},
|
|
67
|
-
zones: {
|
|
68
|
-
empty: noopZone,
|
|
69
|
-
current: () => noopZone
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
//# sourceMappingURL=platform.js.map
|