@grafana/k6-test-builder 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +57 -34
- package/dist/module.js +57 -34
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1523,7 +1523,7 @@ const $bac2ea1f1a1f3a68$export$1cac89340e692781 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
1523
1523
|
displayName: "styled__ZeroStateContent",
|
|
1524
1524
|
componentId: "sc-zkyw17-9"
|
|
1525
1525
|
})([
|
|
1526
|
-
"align-items:center;padding
|
|
1526
|
+
"align-items:center;padding:20px 20px 0 20px;"
|
|
1527
1527
|
]);
|
|
1528
1528
|
const $bac2ea1f1a1f3a68$export$943e13557514880d = /*#__PURE__*/ (0, ($parcel$interopDefault($gkIgo$styledcomponents))).div.withConfig({
|
|
1529
1529
|
displayName: "styled__ZeroStateFooter",
|
|
@@ -1924,6 +1924,7 @@ function $1fa7dc7d3bd71b64$var$deserializeThreshold(threshold) {
|
|
|
1924
1924
|
function $1fa7dc7d3bd71b64$export$5a194d86aa4eb4ff(thresholds = {}) {
|
|
1925
1925
|
return Object.entries(thresholds).flatMap($1fa7dc7d3bd71b64$var$deserializeThreshold);
|
|
1926
1926
|
}
|
|
1927
|
+
const $1fa7dc7d3bd71b64$export$2c55442361116220 = (header)=>header.name.trim() !== "";
|
|
1927
1928
|
|
|
1928
1929
|
|
|
1929
1930
|
|
|
@@ -2557,7 +2558,7 @@ class $af284f60960be1f6$export$d07ae49a6ee31bb2 {
|
|
|
2557
2558
|
const { url: url , method: method , headers: headers = [] , queryString: queryString = [] , postData: postData } = node;
|
|
2558
2559
|
this.url = url;
|
|
2559
2560
|
this.method = method;
|
|
2560
|
-
this.headers = (0, $1fa7dc7d3bd71b64$export$78936e15dcfe90b6)(headers);
|
|
2561
|
+
this.headers = (0, $1fa7dc7d3bd71b64$export$78936e15dcfe90b6)(headers).filter((0, $1fa7dc7d3bd71b64$export$2c55442361116220));
|
|
2561
2562
|
this.queryString = (0, $1fa7dc7d3bd71b64$export$78936e15dcfe90b6)(this.filterValidQueryString(queryString));
|
|
2562
2563
|
this.handlePostData(postData);
|
|
2563
2564
|
}
|
|
@@ -5902,10 +5903,16 @@ const $83b1ac2a0323d0b7$export$4a8e5d65a92ae4f5 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
5902
5903
|
})([
|
|
5903
5904
|
"display:flex;align-items:center;font-size:14px;font-weight:500;color:",
|
|
5904
5905
|
";cursor:pointer;padding:7.5px 15px;font-family:",
|
|
5905
|
-
";:hover{color:",
|
|
5906
5906
|
";",
|
|
5907
|
-
"{
|
|
5908
|
-
|
|
5907
|
+
" :hover{color:",
|
|
5908
|
+
";",
|
|
5909
|
+
"{opacity:1;}}",
|
|
5910
|
+
""
|
|
5911
|
+
], ({ theme: theme })=>theme.palette.text.secondary, ({ theme: theme })=>theme.typography.fontFamily, ({ $disabled: $disabled })=>$disabled && (0, $gkIgo$styledcomponents.css)([
|
|
5912
|
+
""
|
|
5913
|
+
]), ({ theme: theme })=>theme.palette.primary.main, $83b1ac2a0323d0b7$export$c49bd0d633ec5e0, ({ $disabled: $disabled })=>$disabled && (0, $gkIgo$styledcomponents.css)([
|
|
5914
|
+
"opacity:0.6;pointer-events:none;"
|
|
5915
|
+
]));
|
|
5909
5916
|
|
|
5910
5917
|
|
|
5911
5918
|
|
|
@@ -5966,9 +5973,10 @@ function $0b1eca2f79b233ed$export$badac9ada3a0bdf9({ children: children , placem
|
|
|
5966
5973
|
|
|
5967
5974
|
|
|
5968
5975
|
|
|
5969
|
-
function $c104d416b3ad9e30$export$3b7112b7fe47a1c({ className: className , children: children , onClick: onClick , icon: icon = null }) {
|
|
5976
|
+
function $c104d416b3ad9e30$export$3b7112b7fe47a1c({ className: className , children: children , onClick: onClick , icon: icon = null , disabled: disabled = false }) {
|
|
5970
5977
|
const hasIcon = !!icon;
|
|
5971
5978
|
return /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsxs)((0, $83b1ac2a0323d0b7$export$4a8e5d65a92ae4f5), {
|
|
5979
|
+
$disabled: disabled,
|
|
5972
5980
|
className: className,
|
|
5973
5981
|
onClick: onClick,
|
|
5974
5982
|
children: [
|
|
@@ -6170,6 +6178,7 @@ function $f1757808e060e0ae$export$35000f8d1b43d92e() {
|
|
|
6170
6178
|
|
|
6171
6179
|
|
|
6172
6180
|
|
|
6181
|
+
|
|
6173
6182
|
const $d332a934c3da57f3$var$StyledScenariosNavGroupTitle = /*#__PURE__*/ (0, ($parcel$interopDefault($gkIgo$styledcomponents))).div.withConfig({
|
|
6174
6183
|
displayName: "ScenariosNavGroupTitle__StyledScenariosNavGroupTitle",
|
|
6175
6184
|
componentId: "sc-13pcazy-0"
|
|
@@ -6198,6 +6207,7 @@ function $d332a934c3da57f3$export$eee494b479c0c538() {
|
|
|
6198
6207
|
const addTestBuilderScenarioCallback = ()=>dispatch((0, $fb13d3d78074f465$export$e63b78a5d78eb26d)());
|
|
6199
6208
|
const addScriptScenarioCallback = ()=>dispatch((0, $fb13d3d78074f465$export$3e6af8cfc9e91c92)());
|
|
6200
6209
|
const scenariosCount = (0, $cdee3562a1fa264f$export$9b8881d67105457d)((0, $c5bb589de61e43ba$export$756dd3bb5099d875));
|
|
6210
|
+
const { readonlyScriptScenarios: readonlyScriptScenarios } = (0, $b0053bc75d27f892$export$8bcb3cb1ba0d67a7)();
|
|
6201
6211
|
return /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsxs)($d332a934c3da57f3$var$StyledScenariosNavGroupTitle, {
|
|
6202
6212
|
children: [
|
|
6203
6213
|
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsxs)($d332a934c3da57f3$var$Title, {
|
|
@@ -6232,11 +6242,8 @@ function $d332a934c3da57f3$export$eee494b479c0c538() {
|
|
|
6232
6242
|
}),
|
|
6233
6243
|
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $c104d416b3ad9e30$export$3b7112b7fe47a1c), {
|
|
6234
6244
|
onClick: addScriptScenarioCallback,
|
|
6245
|
+
disabled: readonlyScriptScenarios,
|
|
6235
6246
|
children: "Script"
|
|
6236
|
-
}),
|
|
6237
|
-
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $c104d416b3ad9e30$export$3b7112b7fe47a1c), {
|
|
6238
|
-
onClick: ()=>console.error("not implemented"),
|
|
6239
|
-
children: "Import HAR file"
|
|
6240
6247
|
})
|
|
6241
6248
|
]
|
|
6242
6249
|
})
|
|
@@ -6266,7 +6273,7 @@ function $b2fd5f170ac8255b$export$ac3bdfe4cb17f64e() {
|
|
|
6266
6273
|
const [addMenuOpen, setAddMenuOpen] = (0, $gkIgo$react.useState)(false);
|
|
6267
6274
|
const addTestBuilderScenarioCallback = ()=>dispatch((0, $fb13d3d78074f465$export$e63b78a5d78eb26d)());
|
|
6268
6275
|
const addScriptScenarioCallback = ()=>dispatch((0, $fb13d3d78074f465$export$3e6af8cfc9e91c92)());
|
|
6269
|
-
const { openImportModal: openImportModal } = (0, $b0053bc75d27f892$export$8bcb3cb1ba0d67a7)();
|
|
6276
|
+
const { openImportModal: openImportModal , readonlyScriptScenarios: readonlyScriptScenarios } = (0, $b0053bc75d27f892$export$8bcb3cb1ba0d67a7)();
|
|
6270
6277
|
const importDisabled = true;
|
|
6271
6278
|
return /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsxs)((0, $e2d64263ec61c60c$export$28a60763829263d0), {
|
|
6272
6279
|
"data-collapsed": collapsed,
|
|
@@ -6315,6 +6322,7 @@ function $b2fd5f170ac8255b$export$ac3bdfe4cb17f64e() {
|
|
|
6315
6322
|
children: "Test Builder"
|
|
6316
6323
|
}),
|
|
6317
6324
|
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $c104d416b3ad9e30$export$3b7112b7fe47a1c), {
|
|
6325
|
+
disabled: readonlyScriptScenarios,
|
|
6318
6326
|
onClick: addScriptScenarioCallback,
|
|
6319
6327
|
children: "Script"
|
|
6320
6328
|
})
|
|
@@ -7943,14 +7951,9 @@ function $3be06e144aa6adab$export$f02eafcb5728a78e({ disableRecorder: disableRec
|
|
|
7943
7951
|
children: [
|
|
7944
7952
|
"Looks empty here.",
|
|
7945
7953
|
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)("br", {}),
|
|
7946
|
-
"
|
|
7954
|
+
"Start building a test by adding requests, groups or sleep."
|
|
7947
7955
|
]
|
|
7948
7956
|
}),
|
|
7949
|
-
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $bac2ea1f1a1f3a68$export$51485461e6c971ae), {
|
|
7950
|
-
component: "button",
|
|
7951
|
-
onClick: openImportModal,
|
|
7952
|
-
children: "Importing a HAR file"
|
|
7953
|
-
}),
|
|
7954
7957
|
canRecord && /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsxs)((0, $gkIgo$reactjsxruntime.Fragment), {
|
|
7955
7958
|
children: [
|
|
7956
7959
|
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)("p", {
|
|
@@ -7964,17 +7967,12 @@ function $3be06e144aa6adab$export$f02eafcb5728a78e({ disableRecorder: disableRec
|
|
|
7964
7967
|
})
|
|
7965
7968
|
]
|
|
7966
7969
|
}),
|
|
7967
|
-
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.
|
|
7968
|
-
children:
|
|
7969
|
-
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)(
|
|
7970
|
-
|
|
7971
|
-
}),
|
|
7972
|
-
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $bac2ea1f1a1f3a68$export$15798202ce4ceaac), {
|
|
7973
|
-
children: /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $47a4f94f8c83d8db$export$f04a61298a47a40f), {
|
|
7974
|
-
name: "caretDown"
|
|
7975
|
-
})
|
|
7970
|
+
/*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $bac2ea1f1a1f3a68$export$943e13557514880d), {
|
|
7971
|
+
children: /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $bac2ea1f1a1f3a68$export$15798202ce4ceaac), {
|
|
7972
|
+
children: /*#__PURE__*/ (0, $gkIgo$reactjsxruntime.jsx)((0, $47a4f94f8c83d8db$export$f04a61298a47a40f), {
|
|
7973
|
+
name: "caretDown"
|
|
7976
7974
|
})
|
|
7977
|
-
|
|
7975
|
+
})
|
|
7978
7976
|
})
|
|
7979
7977
|
]
|
|
7980
7978
|
});
|
|
@@ -13610,20 +13608,21 @@ const $efeb6023758e4c8d$export$4202723ba73439f5 = /*#__PURE__*/ (0, $gkIgo$react
|
|
|
13610
13608
|
|
|
13611
13609
|
|
|
13612
13610
|
|
|
13613
|
-
const $02d0d7ea86297262$var$Container = /*#__PURE__*/ (0, ($parcel$interopDefault($gkIgo$styledcomponents))).div.withConfig({
|
|
13614
|
-
displayName: "TestMetaInformation__Container",
|
|
13615
|
-
componentId: "sc-1iuml17-0"
|
|
13616
|
-
})([
|
|
13617
|
-
"display:flex;align-items:center;"
|
|
13618
|
-
]);
|
|
13619
13611
|
const $02d0d7ea86297262$var$Group = /*#__PURE__*/ (0, ($parcel$interopDefault($gkIgo$styledcomponents))).div.withConfig({
|
|
13620
13612
|
displayName: "TestMetaInformation__Group",
|
|
13621
|
-
componentId: "sc-1iuml17-
|
|
13613
|
+
componentId: "sc-1iuml17-0"
|
|
13622
13614
|
})([
|
|
13623
13615
|
"display:flex;align-items:center;margin-right:10px;font-size:12px;color:",
|
|
13624
13616
|
";> span{font-weight:600;display:inline-flex;align-items:center;}svg{font-size:13px;color:",
|
|
13625
13617
|
";margin-right:5px;}"
|
|
13626
13618
|
], ({ theme: theme })=>theme.palette.text.primary, ({ theme: theme })=>(0, $gkIgo$materialuicore.alpha)(theme.palette.text.secondary, 0.5));
|
|
13619
|
+
const $02d0d7ea86297262$var$Container = /*#__PURE__*/ (0, ($parcel$interopDefault($gkIgo$styledcomponents))).div.withConfig({
|
|
13620
|
+
displayName: "TestMetaInformation__Container",
|
|
13621
|
+
componentId: "sc-1iuml17-1"
|
|
13622
|
+
})([
|
|
13623
|
+
"display:flex;align-items:center;",
|
|
13624
|
+
":last-child{margin-right:0;}"
|
|
13625
|
+
], $02d0d7ea86297262$var$Group);
|
|
13627
13626
|
const $02d0d7ea86297262$export$93f0f0dfc0a5be37 = ({ className: className })=>{
|
|
13628
13627
|
const totalTime = (0, $cdee3562a1fa264f$export$9b8881d67105457d)((0, $c5bb589de61e43ba$export$e73da3986effb0a3));
|
|
13629
13628
|
const maxVUs = (0, $cdee3562a1fa264f$export$9b8881d67105457d)((0, $c5bb589de61e43ba$export$b7fc4be04e2b72c4));
|
|
@@ -14184,6 +14183,9 @@ const $62ab0070dd5eb8e6$export$44518b3b0aec31d = (theme)=>{
|
|
|
14184
14183
|
fontFamily: theme.typography.fontFamily,
|
|
14185
14184
|
body1: {
|
|
14186
14185
|
fontFamily: theme.typography.fontFamily
|
|
14186
|
+
},
|
|
14187
|
+
h6: {
|
|
14188
|
+
fontFamily: theme.typography.fontFamily
|
|
14187
14189
|
}
|
|
14188
14190
|
},
|
|
14189
14191
|
palette: {
|
|
@@ -14368,6 +14370,27 @@ const $62ab0070dd5eb8e6$export$44518b3b0aec31d = (theme)=>{
|
|
|
14368
14370
|
paper: {
|
|
14369
14371
|
background: theme.colors.background.canvas
|
|
14370
14372
|
}
|
|
14373
|
+
},
|
|
14374
|
+
MuiDialogTitle: {
|
|
14375
|
+
root: {
|
|
14376
|
+
color: theme.colors.text.secondary
|
|
14377
|
+
}
|
|
14378
|
+
},
|
|
14379
|
+
MuiDialogContentText: {
|
|
14380
|
+
root: {
|
|
14381
|
+
color: theme.colors.text.primary
|
|
14382
|
+
}
|
|
14383
|
+
},
|
|
14384
|
+
MuiButton: {
|
|
14385
|
+
root: {
|
|
14386
|
+
fontFamily: theme.typography.fontFamily
|
|
14387
|
+
},
|
|
14388
|
+
containedPrimary: {
|
|
14389
|
+
backgroundColor: theme.colors.primary.main,
|
|
14390
|
+
"&:hover": {
|
|
14391
|
+
backgroundColor: theme.colors.primary.shade
|
|
14392
|
+
}
|
|
14393
|
+
}
|
|
14371
14394
|
}
|
|
14372
14395
|
}
|
|
14373
14396
|
};
|
package/dist/module.js
CHANGED
|
@@ -1502,7 +1502,7 @@ const $570fb69e6168c397$export$1cac89340e692781 = /*#__PURE__*/ (0, $b7VBt$style
|
|
|
1502
1502
|
displayName: "styled__ZeroStateContent",
|
|
1503
1503
|
componentId: "sc-zkyw17-9"
|
|
1504
1504
|
})([
|
|
1505
|
-
"align-items:center;padding
|
|
1505
|
+
"align-items:center;padding:20px 20px 0 20px;"
|
|
1506
1506
|
]);
|
|
1507
1507
|
const $570fb69e6168c397$export$943e13557514880d = /*#__PURE__*/ (0, $b7VBt$styledcomponents).div.withConfig({
|
|
1508
1508
|
displayName: "styled__ZeroStateFooter",
|
|
@@ -1903,6 +1903,7 @@ function $f3225c9cfb4c8b15$var$deserializeThreshold(threshold) {
|
|
|
1903
1903
|
function $f3225c9cfb4c8b15$export$5a194d86aa4eb4ff(thresholds = {}) {
|
|
1904
1904
|
return Object.entries(thresholds).flatMap($f3225c9cfb4c8b15$var$deserializeThreshold);
|
|
1905
1905
|
}
|
|
1906
|
+
const $f3225c9cfb4c8b15$export$2c55442361116220 = (header)=>header.name.trim() !== "";
|
|
1906
1907
|
|
|
1907
1908
|
|
|
1908
1909
|
|
|
@@ -2536,7 +2537,7 @@ class $e2d45527b20247ff$export$d07ae49a6ee31bb2 {
|
|
|
2536
2537
|
const { url: url , method: method , headers: headers = [] , queryString: queryString = [] , postData: postData } = node;
|
|
2537
2538
|
this.url = url;
|
|
2538
2539
|
this.method = method;
|
|
2539
|
-
this.headers = (0, $f3225c9cfb4c8b15$export$78936e15dcfe90b6)(headers);
|
|
2540
|
+
this.headers = (0, $f3225c9cfb4c8b15$export$78936e15dcfe90b6)(headers).filter((0, $f3225c9cfb4c8b15$export$2c55442361116220));
|
|
2540
2541
|
this.queryString = (0, $f3225c9cfb4c8b15$export$78936e15dcfe90b6)(this.filterValidQueryString(queryString));
|
|
2541
2542
|
this.handlePostData(postData);
|
|
2542
2543
|
}
|
|
@@ -5881,10 +5882,16 @@ const $4e68d645172ad717$export$4a8e5d65a92ae4f5 = /*#__PURE__*/ (0, $b7VBt$style
|
|
|
5881
5882
|
})([
|
|
5882
5883
|
"display:flex;align-items:center;font-size:14px;font-weight:500;color:",
|
|
5883
5884
|
";cursor:pointer;padding:7.5px 15px;font-family:",
|
|
5884
|
-
";:hover{color:",
|
|
5885
5885
|
";",
|
|
5886
|
-
"{
|
|
5887
|
-
|
|
5886
|
+
" :hover{color:",
|
|
5887
|
+
";",
|
|
5888
|
+
"{opacity:1;}}",
|
|
5889
|
+
""
|
|
5890
|
+
], ({ theme: theme })=>theme.palette.text.secondary, ({ theme: theme })=>theme.typography.fontFamily, ({ $disabled: $disabled })=>$disabled && (0, $b7VBt$css)([
|
|
5891
|
+
""
|
|
5892
|
+
]), ({ theme: theme })=>theme.palette.primary.main, $4e68d645172ad717$export$c49bd0d633ec5e0, ({ $disabled: $disabled })=>$disabled && (0, $b7VBt$css)([
|
|
5893
|
+
"opacity:0.6;pointer-events:none;"
|
|
5894
|
+
]));
|
|
5888
5895
|
|
|
5889
5896
|
|
|
5890
5897
|
|
|
@@ -5945,9 +5952,10 @@ function $be3dc1e79488ea4d$export$badac9ada3a0bdf9({ children: children , placem
|
|
|
5945
5952
|
|
|
5946
5953
|
|
|
5947
5954
|
|
|
5948
|
-
function $94b19ffcc04273bc$export$3b7112b7fe47a1c({ className: className , children: children , onClick: onClick , icon: icon = null }) {
|
|
5955
|
+
function $94b19ffcc04273bc$export$3b7112b7fe47a1c({ className: className , children: children , onClick: onClick , icon: icon = null , disabled: disabled = false }) {
|
|
5949
5956
|
const hasIcon = !!icon;
|
|
5950
5957
|
return /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $4e68d645172ad717$export$4a8e5d65a92ae4f5), {
|
|
5958
|
+
$disabled: disabled,
|
|
5951
5959
|
className: className,
|
|
5952
5960
|
onClick: onClick,
|
|
5953
5961
|
children: [
|
|
@@ -6149,6 +6157,7 @@ function $9ffbe722294dfbc0$export$35000f8d1b43d92e() {
|
|
|
6149
6157
|
|
|
6150
6158
|
|
|
6151
6159
|
|
|
6160
|
+
|
|
6152
6161
|
const $b6d48e14a29e2330$var$StyledScenariosNavGroupTitle = /*#__PURE__*/ (0, $b7VBt$styledcomponents).div.withConfig({
|
|
6153
6162
|
displayName: "ScenariosNavGroupTitle__StyledScenariosNavGroupTitle",
|
|
6154
6163
|
componentId: "sc-13pcazy-0"
|
|
@@ -6177,6 +6186,7 @@ function $b6d48e14a29e2330$export$eee494b479c0c538() {
|
|
|
6177
6186
|
const addTestBuilderScenarioCallback = ()=>dispatch((0, $406997178a55b94e$export$e63b78a5d78eb26d)());
|
|
6178
6187
|
const addScriptScenarioCallback = ()=>dispatch((0, $406997178a55b94e$export$3e6af8cfc9e91c92)());
|
|
6179
6188
|
const scenariosCount = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $d7b1b7c6f96b1d0a$export$756dd3bb5099d875));
|
|
6189
|
+
const { readonlyScriptScenarios: readonlyScriptScenarios } = (0, $4cf6d05a57acd1d1$export$8bcb3cb1ba0d67a7)();
|
|
6180
6190
|
return /*#__PURE__*/ (0, $b7VBt$jsxs)($b6d48e14a29e2330$var$StyledScenariosNavGroupTitle, {
|
|
6181
6191
|
children: [
|
|
6182
6192
|
/*#__PURE__*/ (0, $b7VBt$jsxs)($b6d48e14a29e2330$var$Title, {
|
|
@@ -6211,11 +6221,8 @@ function $b6d48e14a29e2330$export$eee494b479c0c538() {
|
|
|
6211
6221
|
}),
|
|
6212
6222
|
/*#__PURE__*/ (0, $b7VBt$jsx)((0, $94b19ffcc04273bc$export$3b7112b7fe47a1c), {
|
|
6213
6223
|
onClick: addScriptScenarioCallback,
|
|
6224
|
+
disabled: readonlyScriptScenarios,
|
|
6214
6225
|
children: "Script"
|
|
6215
|
-
}),
|
|
6216
|
-
/*#__PURE__*/ (0, $b7VBt$jsx)((0, $94b19ffcc04273bc$export$3b7112b7fe47a1c), {
|
|
6217
|
-
onClick: ()=>console.error("not implemented"),
|
|
6218
|
-
children: "Import HAR file"
|
|
6219
6226
|
})
|
|
6220
6227
|
]
|
|
6221
6228
|
})
|
|
@@ -6245,7 +6252,7 @@ function $d9fe84fff8953a15$export$ac3bdfe4cb17f64e() {
|
|
|
6245
6252
|
const [addMenuOpen, setAddMenuOpen] = (0, $b7VBt$useState)(false);
|
|
6246
6253
|
const addTestBuilderScenarioCallback = ()=>dispatch((0, $406997178a55b94e$export$e63b78a5d78eb26d)());
|
|
6247
6254
|
const addScriptScenarioCallback = ()=>dispatch((0, $406997178a55b94e$export$3e6af8cfc9e91c92)());
|
|
6248
|
-
const { openImportModal: openImportModal } = (0, $4cf6d05a57acd1d1$export$8bcb3cb1ba0d67a7)();
|
|
6255
|
+
const { openImportModal: openImportModal , readonlyScriptScenarios: readonlyScriptScenarios } = (0, $4cf6d05a57acd1d1$export$8bcb3cb1ba0d67a7)();
|
|
6249
6256
|
const importDisabled = true;
|
|
6250
6257
|
return /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $50455a9661ca457e$export$28a60763829263d0), {
|
|
6251
6258
|
"data-collapsed": collapsed,
|
|
@@ -6294,6 +6301,7 @@ function $d9fe84fff8953a15$export$ac3bdfe4cb17f64e() {
|
|
|
6294
6301
|
children: "Test Builder"
|
|
6295
6302
|
}),
|
|
6296
6303
|
/*#__PURE__*/ (0, $b7VBt$jsx)((0, $94b19ffcc04273bc$export$3b7112b7fe47a1c), {
|
|
6304
|
+
disabled: readonlyScriptScenarios,
|
|
6297
6305
|
onClick: addScriptScenarioCallback,
|
|
6298
6306
|
children: "Script"
|
|
6299
6307
|
})
|
|
@@ -7922,14 +7930,9 @@ function $f86af8e77207f259$export$f02eafcb5728a78e({ disableRecorder: disableRec
|
|
|
7922
7930
|
children: [
|
|
7923
7931
|
"Looks empty here.",
|
|
7924
7932
|
/*#__PURE__*/ (0, $b7VBt$jsx)("br", {}),
|
|
7925
|
-
"
|
|
7933
|
+
"Start building a test by adding requests, groups or sleep."
|
|
7926
7934
|
]
|
|
7927
7935
|
}),
|
|
7928
|
-
/*#__PURE__*/ (0, $b7VBt$jsx)((0, $570fb69e6168c397$export$51485461e6c971ae), {
|
|
7929
|
-
component: "button",
|
|
7930
|
-
onClick: openImportModal,
|
|
7931
|
-
children: "Importing a HAR file"
|
|
7932
|
-
}),
|
|
7933
7936
|
canRecord && /*#__PURE__*/ (0, $b7VBt$jsxs)((0, $b7VBt$Fragment), {
|
|
7934
7937
|
children: [
|
|
7935
7938
|
/*#__PURE__*/ (0, $b7VBt$jsx)("p", {
|
|
@@ -7943,17 +7946,12 @@ function $f86af8e77207f259$export$f02eafcb5728a78e({ disableRecorder: disableRec
|
|
|
7943
7946
|
})
|
|
7944
7947
|
]
|
|
7945
7948
|
}),
|
|
7946
|
-
/*#__PURE__*/ (0, $b7VBt$
|
|
7947
|
-
children:
|
|
7948
|
-
/*#__PURE__*/ (0, $b7VBt$jsx)(
|
|
7949
|
-
|
|
7950
|
-
}),
|
|
7951
|
-
/*#__PURE__*/ (0, $b7VBt$jsx)((0, $570fb69e6168c397$export$15798202ce4ceaac), {
|
|
7952
|
-
children: /*#__PURE__*/ (0, $b7VBt$jsx)((0, $9506a1d5967553de$export$f04a61298a47a40f), {
|
|
7953
|
-
name: "caretDown"
|
|
7954
|
-
})
|
|
7949
|
+
/*#__PURE__*/ (0, $b7VBt$jsx)((0, $570fb69e6168c397$export$943e13557514880d), {
|
|
7950
|
+
children: /*#__PURE__*/ (0, $b7VBt$jsx)((0, $570fb69e6168c397$export$15798202ce4ceaac), {
|
|
7951
|
+
children: /*#__PURE__*/ (0, $b7VBt$jsx)((0, $9506a1d5967553de$export$f04a61298a47a40f), {
|
|
7952
|
+
name: "caretDown"
|
|
7955
7953
|
})
|
|
7956
|
-
|
|
7954
|
+
})
|
|
7957
7955
|
})
|
|
7958
7956
|
]
|
|
7959
7957
|
});
|
|
@@ -13589,20 +13587,21 @@ const $ff01a446e890cae0$export$4202723ba73439f5 = /*#__PURE__*/ (0, $b7VBt$forwa
|
|
|
13589
13587
|
|
|
13590
13588
|
|
|
13591
13589
|
|
|
13592
|
-
const $600e66eeb9e75faf$var$Container = /*#__PURE__*/ (0, $b7VBt$styledcomponents).div.withConfig({
|
|
13593
|
-
displayName: "TestMetaInformation__Container",
|
|
13594
|
-
componentId: "sc-1iuml17-0"
|
|
13595
|
-
})([
|
|
13596
|
-
"display:flex;align-items:center;"
|
|
13597
|
-
]);
|
|
13598
13590
|
const $600e66eeb9e75faf$var$Group = /*#__PURE__*/ (0, $b7VBt$styledcomponents).div.withConfig({
|
|
13599
13591
|
displayName: "TestMetaInformation__Group",
|
|
13600
|
-
componentId: "sc-1iuml17-
|
|
13592
|
+
componentId: "sc-1iuml17-0"
|
|
13601
13593
|
})([
|
|
13602
13594
|
"display:flex;align-items:center;margin-right:10px;font-size:12px;color:",
|
|
13603
13595
|
";> span{font-weight:600;display:inline-flex;align-items:center;}svg{font-size:13px;color:",
|
|
13604
13596
|
";margin-right:5px;}"
|
|
13605
13597
|
], ({ theme: theme })=>theme.palette.text.primary, ({ theme: theme })=>(0, $b7VBt$alpha1)(theme.palette.text.secondary, 0.5));
|
|
13598
|
+
const $600e66eeb9e75faf$var$Container = /*#__PURE__*/ (0, $b7VBt$styledcomponents).div.withConfig({
|
|
13599
|
+
displayName: "TestMetaInformation__Container",
|
|
13600
|
+
componentId: "sc-1iuml17-1"
|
|
13601
|
+
})([
|
|
13602
|
+
"display:flex;align-items:center;",
|
|
13603
|
+
":last-child{margin-right:0;}"
|
|
13604
|
+
], $600e66eeb9e75faf$var$Group);
|
|
13606
13605
|
const $600e66eeb9e75faf$export$93f0f0dfc0a5be37 = ({ className: className })=>{
|
|
13607
13606
|
const totalTime = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $d7b1b7c6f96b1d0a$export$e73da3986effb0a3));
|
|
13608
13607
|
const maxVUs = (0, $f33bf9327a1ab3ee$export$9b8881d67105457d)((0, $d7b1b7c6f96b1d0a$export$b7fc4be04e2b72c4));
|
|
@@ -14163,6 +14162,9 @@ const $1eed075243b73743$export$44518b3b0aec31d = (theme)=>{
|
|
|
14163
14162
|
fontFamily: theme.typography.fontFamily,
|
|
14164
14163
|
body1: {
|
|
14165
14164
|
fontFamily: theme.typography.fontFamily
|
|
14165
|
+
},
|
|
14166
|
+
h6: {
|
|
14167
|
+
fontFamily: theme.typography.fontFamily
|
|
14166
14168
|
}
|
|
14167
14169
|
},
|
|
14168
14170
|
palette: {
|
|
@@ -14347,6 +14349,27 @@ const $1eed075243b73743$export$44518b3b0aec31d = (theme)=>{
|
|
|
14347
14349
|
paper: {
|
|
14348
14350
|
background: theme.colors.background.canvas
|
|
14349
14351
|
}
|
|
14352
|
+
},
|
|
14353
|
+
MuiDialogTitle: {
|
|
14354
|
+
root: {
|
|
14355
|
+
color: theme.colors.text.secondary
|
|
14356
|
+
}
|
|
14357
|
+
},
|
|
14358
|
+
MuiDialogContentText: {
|
|
14359
|
+
root: {
|
|
14360
|
+
color: theme.colors.text.primary
|
|
14361
|
+
}
|
|
14362
|
+
},
|
|
14363
|
+
MuiButton: {
|
|
14364
|
+
root: {
|
|
14365
|
+
fontFamily: theme.typography.fontFamily
|
|
14366
|
+
},
|
|
14367
|
+
containedPrimary: {
|
|
14368
|
+
backgroundColor: theme.colors.primary.main,
|
|
14369
|
+
"&:hover": {
|
|
14370
|
+
backgroundColor: theme.colors.primary.shade
|
|
14371
|
+
}
|
|
14372
|
+
}
|
|
14350
14373
|
}
|
|
14351
14374
|
}
|
|
14352
14375
|
};
|