Webui: Fix Failing Tests #4700
tests.yml
on: pull_request
Build and Cache Packages
1m 28s
test_webui
1m 55s
Matrix: tests
Display metadata for build
3s
publish
0s
Annotations
7 errors
test_webui
The process '/usr/local/bin/yarn' failed with exit code 1
|
src/components/SwarmForm/tests/SwarmForm.test.tsx > SwarmForm > should submit a profile when one is set:
locust/webui/src/components/SwarmForm/tests/SwarmForm.test.tsx#L274
AssertionError: expected [Function getStartSwarmMockCall] to deeply equal { host: 'https://localhost', β¦(4) }
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="MuiContainer-root MuiContainer-maxWidthMd css-ganwlh-MuiContainer-root"
>
<h2
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap css-8u39c-MuiTypography-root"
>
Start new load test
</h2>
<form>
<div
class="MuiBox-root css-1qegzpw"
>
<div
class="MuiFormControl-root MuiTextField-root css-1u3bzj6-MuiFormControl-root-MuiTextField-root"
title=""
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for=":r10:"
id=":r10:-label"
>
Number of users (peak concurrency)
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"
>
β
*
</span>
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
id=":r10:"
name="userCount"
required=""
type="text"
value="1"
/>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-14lo706"
>
<span>
Number of users (peak concurrency)
β
*
</span>
</legend>
</fieldset>
</div>
</div>
<div
class="MuiFormControl-root MuiTextField-root css-1u3bzj6-MuiFormControl-root-MuiTextField-root"
title=""
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for=":r11:"
id=":r11:-label"
>
Ramp up (users started/second)
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"
>
β
*
</span>
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
|
src/components/SwarmForm/tests/SwarmForm.test.tsx > SwarmForm > should submit provided extraOptions with changed values:
locust/webui/src/components/SwarmForm/tests/SwarmForm.test.tsx#L245
AssertionError: expected [Function getStartSwarmMockCall] to deeply equal { host: 'https://localhost', β¦(6) }
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="MuiContainer-root MuiContainer-maxWidthMd css-ganwlh-MuiContainer-root"
>
<h2
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap css-8u39c-MuiTypography-root"
>
Start new load test
</h2>
<form>
<div
class="MuiBox-root css-1qegzpw"
>
<div
class="MuiFormControl-root MuiTextField-root css-1u3bzj6-MuiFormControl-root-MuiTextField-root"
title=""
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for=":rp:"
id=":rp:-label"
>
Number of users (peak concurrency)
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"
>
β
*
</span>
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
id=":rp:"
name="userCount"
required=""
type="text"
value="1"
/>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-14lo706"
>
<span>
Number of users (peak concurrency)
β
*
</span>
</legend>
</fieldset>
</div>
</div>
<div
class="MuiFormControl-root MuiTextField-root css-1u3bzj6-MuiFormControl-root-MuiTextField-root"
title=""
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for=":rq:"
id=":rq:-label"
>
Ramp up (users started/second)
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"
>
β
*
</span>
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
|
src/components/SwarmForm/tests/SwarmForm.test.tsx > SwarmForm > should submit provided extraOptions with default values:
locust/webui/src/components/SwarmForm/tests/SwarmForm.test.tsx#L187
AssertionError: expected [Function getStartSwarmMockCall] to deeply equal { host: 'https://localhost', β¦(6) }
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="MuiContainer-root MuiContainer-maxWidthMd css-ganwlh-MuiContainer-root"
>
<h2
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap css-8u39c-MuiTypography-root"
>
Start new load test
</h2>
<form>
<div
class="MuiBox-root css-1qegzpw"
>
<div
class="MuiFormControl-root MuiTextField-root css-1u3bzj6-MuiFormControl-root-MuiTextField-root"
title=""
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for=":ri:"
id=":ri:-label"
>
Number of users (peak concurrency)
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"
>
β
*
</span>
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
id=":ri:"
name="userCount"
required=""
type="text"
value="1"
/>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-14lo706"
>
<span>
Number of users (peak concurrency)
β
*
</span>
</legend>
</fieldset>
</div>
</div>
<div
class="MuiFormControl-root MuiTextField-root css-1u3bzj6-MuiFormControl-root-MuiTextField-root"
title=""
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for=":rj:"
id=":rj:-label"
>
Ramp up (users started/second)
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"
>
β
*
</span>
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
|
src/components/SwarmForm/tests/SwarmForm.test.tsx > SwarmForm > should allow selected user classes to be modified:
locust/webui/src/components/SwarmForm/tests/SwarmForm.test.tsx#L139
AssertionError: expected [Function getStartSwarmMockCall] to deeply equal { host: '', runTime: '', β¦(5) }
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="MuiContainer-root MuiContainer-maxWidthMd css-ganwlh-MuiContainer-root"
>
<h2
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap css-8u39c-MuiTypography-root"
>
Start new load test
</h2>
<div
class="MuiBox-root css-n53fw2"
>
<div
class="MuiBox-root css-hrlsu"
>
<div
class="MuiBox-root css-1npjq84"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-animated MuiInputLabel-shrink css-1arch8o-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
>
User Classes
</label>
<div
class="MuiFormGroup-root css-dmmspl-MuiFormGroup-root"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiTableContainer-root css-11xur9t-MuiPaper-root-MuiTableContainer-root"
>
<table
class="MuiTable-root css-rqglhn-MuiTable-root"
>
<thead
class="MuiTableHead-root css-15wwp11-MuiTableHead-root"
>
<tr
class="MuiTableRow-root MuiTableRow-head css-1q1u3t4-MuiTableRow-root"
>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-paddingCheckbox MuiTableCell-sizeMedium css-hbtnrh-MuiTableCell-root"
colspan="4"
scope="col"
>
<span
class="MuiButtonBase-root MuiCheckbox-root MuiCheckbox-indeterminate MuiCheckbox-colorPrimary MuiCheckbox-sizeMedium PrivateSwitchBase-root MuiCheckbox-root MuiCheckbox-indeterminate MuiCheckbox-colorPrimary MuiCheckbox-sizeMedium MuiCheckbox-root MuiCheckbox-indeterminate MuiCheckbox-colorPrimary MuiCheckbox-sizeMedium css-12wnr2w-MuiButtonBase-root-MuiCheckbox-root"
>
<input
checked=""
class="PrivateSwitchBase-input css-1m9pwf3"
data-indeterminate="true"
type="checkbox"
/>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="IndeterminateCheckBoxIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</span>
</th>
</tr>
</thead>
<tbody
class="MuiTableBody-root css-apqrd9-MuiTableBody-root"
>
<tr
class="MuiTableRow-root MuiTableRow-hover css-1q1u3t4-MuiTableRow-root"
>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-paddingCheckbox MuiTableCell-sizeMedium css-1nf681w-MuiTableC
|
src/components/SwarmForm/tests/SwarmForm.test.tsx > SwarmForm > should edit all inputs in the form:
locust/webui/src/components/SwarmForm/tests/SwarmForm.test.tsx#L91
AssertionError: expected [Function getStartSwarmMockCall] to deeply equal { Object (host, runTime, ...) }
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="MuiContainer-root MuiContainer-maxWidthMd css-ganwlh-MuiContainer-root"
>
<h2
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap css-8u39c-MuiTypography-root"
>
Start new load test
</h2>
<div
class="MuiBox-root css-n53fw2"
>
<div
class="MuiBox-root css-hrlsu"
>
<div
class="MuiBox-root css-1npjq84"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-animated MuiInputLabel-shrink css-1arch8o-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
>
User Classes
</label>
<div
class="MuiFormGroup-root css-dmmspl-MuiFormGroup-root"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiTableContainer-root css-11xur9t-MuiPaper-root-MuiTableContainer-root"
>
<table
class="MuiTable-root css-rqglhn-MuiTable-root"
>
<thead
class="MuiTableHead-root css-15wwp11-MuiTableHead-root"
>
<tr
class="MuiTableRow-root MuiTableRow-head css-1q1u3t4-MuiTableRow-root"
>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-paddingCheckbox MuiTableCell-sizeMedium css-hbtnrh-MuiTableCell-root"
colspan="4"
scope="col"
>
<span
class="MuiButtonBase-root MuiCheckbox-root MuiCheckbox-colorPrimary MuiCheckbox-sizeMedium PrivateSwitchBase-root MuiCheckbox-root MuiCheckbox-colorPrimary MuiCheckbox-sizeMedium Mui-checked MuiCheckbox-root MuiCheckbox-colorPrimary MuiCheckbox-sizeMedium css-12wnr2w-MuiButtonBase-root-MuiCheckbox-root"
>
<input
checked=""
class="PrivateSwitchBase-input css-1m9pwf3"
data-indeterminate="false"
type="checkbox"
/>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="CheckBoxIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</span>
</th>
</tr>
</thead>
<tbody
class="MuiTableBody-root css-apqrd9-MuiTableBody-root"
/>
</table>
</div>
</div>
</div>
</div>
</div>
<form>
<div
class="MuiBox-root css-1qegzpw"
>
<div
class="MuiFormControl-root css-1nrlq1o-MuiFormControl-root"
>
<label
class=
|
src/components/SwarmForm/tests/SwarmForm.test.tsx > SwarmForm > should submit form data with default values on button click:
locust/webui/src/components/SwarmForm/tests/SwarmForm.test.tsx#L45
AssertionError: expected [Function getStartSwarmMockCall] to deeply equal { host: 'https://localhost', β¦(4) }
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="MuiContainer-root MuiContainer-maxWidthMd css-ganwlh-MuiContainer-root"
>
<h2
class="MuiTypography-root MuiTypography-h6 MuiTypography-noWrap css-8u39c-MuiTypography-root"
>
Start new load test
</h2>
<form>
<div
class="MuiBox-root css-1qegzpw"
>
<div
class="MuiFormControl-root MuiTextField-root css-1u3bzj6-MuiFormControl-root-MuiTextField-root"
title=""
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for=":r0:"
id=":r0:-label"
>
Number of users (peak concurrency)
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"
>
β
*
</span>
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
id=":r0:"
name="userCount"
required=""
type="text"
value="1"
/>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-14lo706"
>
<span>
Number of users (peak concurrency)
β
*
</span>
</legend>
</fieldset>
</div>
</div>
<div
class="MuiFormControl-root MuiTextField-root css-1u3bzj6-MuiFormControl-root-MuiTextField-root"
title=""
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for=":r1:"
id=":r1:-label"
>
Ramp up (users started/second)
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"
>
β
*
</span>
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
locustio~locust~Y8X4NF.dockerbuild
|
37.7 KB |
sha256:bb36b478687583f4f813c46a50be581d3391d638916cb54cec87b4bdde06c8ed
|
|
python-dist
|
4.31 MB |
sha256:2a0577aa05661fb756b685d4905399b235054915e45c5396653669c6fcb82a5a
|
|
webui-dist
|
2.07 MB |
sha256:af54681a3d7362758bf09f2ea951522175852e65dfb0368cbe0efcae960071fe
|
|
webui-lib-dist
|
1.6 MB |
sha256:912f5b15a72e075e342a25856b6b6dfa96a27e7fc6587d695804e6d5cf81156f
|
|