BED-4612: : Citrix RDP Configuration UI #3269
Triggered via pull request
September 19, 2024 18:54
Status
Failure
Total duration
2m 48s
Artifacts
–
Annotations
5 errors and 2 warnings
src/components/CreateSAMLProviderForm/CreateSAMLProviderForm.test.tsx > CreateSAMLProviderForm > should not call onSubmit when input is invalid and Submit button is clicked:
packages/javascript/bh-shared-ui/src/components/CreateSAMLProviderForm/CreateSAMLProviderForm.test.tsx#L55
TestingLibraryElementError: Unable to find an element with the text: SAML Provider Name is required. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<form>
<div
class="MuiDialogContent-root css-ypiqx9-MuiDialogContent-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 css-mhc70k-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-1idn90j-MuiGrid-root"
>
<div
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-standard MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-standard css-aqpgxn-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="false"
for="name"
id="name-label"
>
SAML Provider Name
</label>
<div
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-l4u8b9-MuiInputBase-root-MuiInput-root"
>
<input
aria-describedby="name-helper-text"
aria-invalid="false"
class="MuiInputBase-input MuiInput-input css-1x51dt5-MuiInputBase-input-MuiInput-input"
id="name"
name="name"
type="text"
value=""
/>
</div>
<p
class="MuiFormHelperText-root MuiFormHelperText-sizeMedium css-1d1r5q-MuiFormHelperText-root"
id="name-helper-text"
>
Choose a name for your SAML Provider configuration
</p>
</div>
</div>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-1idn90j-MuiGrid-root"
>
<div
class="MuiBox-root css-1x52145"
>
<div
class="MuiBox-root css-u4p24i"
>
<button
class="inline-flex items-center justify-center whitespace-nowrap h-10 px-6 py-2 rounded-3xl text-sm ring-offset-background transition-colors hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 active:no-underline bg-neutral-light-5 text-neutral-dark-0 shadow-outer-1 hover:bg-secondary hover:text-white"
type="button"
>
<label
for="saml-provider-input"
>
Choose File
</label>
<input
accept=".xml"
hidden=""
id="saml-provider-input"
type="file"
value=""
/>
</button>
<div
class="MuiBox-root css-1isemmb"
>
<p
class="MuiTypography-root MuiTypography-body1 css-ahj2mt-MuiTypography-root"
>
No file chosen
</p>
</div>
</div>
</div>
<p
class="MuiFormHelperText-root css-1d1r5q-MuiFormHelperText-root"
>
Upload the Metadata file provided by your SAML Provider
</p>
</div>
</div>
</div>
<div
class="MuiDialogActions-root MuiDialogActions-spacing css-hlj6pa-MuiDialogActions-root"
>
|
src/components/CreateSAMLProviderForm/CreateSAMLProviderForm.test.tsx > CreateSAMLProviderForm > should call onSubmit when input is valid and Submit button is clicked:
packages/javascript/bh-shared-ui/src/components/CreateSAMLProviderForm/CreateSAMLProviderForm.test.tsx#L76
AssertionError: expected "spy" to be called at least once
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<form>
<div
class="MuiDialogContent-root css-ypiqx9-MuiDialogContent-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 css-mhc70k-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-1idn90j-MuiGrid-root"
>
<div
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-standard MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-standard css-1c2i806-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for="name"
id="name-label"
>
SAML Provider Name
</label>
<div
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-l4u8b9-MuiInputBase-root-MuiInput-root"
>
<input
aria-describedby="name-helper-text"
aria-invalid="false"
class="MuiInputBase-input MuiInput-input css-1x51dt5-MuiInputBase-input-MuiInput-input"
id="name"
name="name"
type="text"
value="test-provider-name"
/>
</div>
<p
class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-filled css-1d1r5q-MuiFormHelperText-root"
id="name-helper-text"
>
Choose a name for your SAML Provider configuration
</p>
</div>
</div>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-1idn90j-MuiGrid-root"
>
<div
class="MuiBox-root css-1x52145"
>
<div
class="MuiBox-root css-u4p24i"
>
<button
class="inline-flex items-center justify-center whitespace-nowrap h-10 px-6 py-2 rounded-3xl text-sm ring-offset-background transition-colors hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 active:no-underline bg-neutral-light-5 text-neutral-dark-0 shadow-outer-1 hover:bg-secondary hover:text-white"
type="button"
>
<label
for="saml-provider-input"
>
Choose File
</label>
<input
accept=".xml"
hidden=""
id="saml-provider-input"
type="file"
value="C:\\fakepath\\test-metadata.xml"
/>
</button>
<div
class="MuiBox-root css-1isemmb"
>
<p
class="MuiTypography-root MuiTypography-body1 css-ahj2mt-MuiTypography-root"
>
test-metadata.xml
</p>
</div>
</div>
</div>
<p
class="MuiFormHelperText-root css-1d1r5q-MuiFormHelperText-root"
>
Upload the Metadata file provided by your SAML Provider
</p>
</div>
</div>
|
src/components/CreateSAMLProviderForm/CreateSAMLProviderForm.test.tsx > CreateSAMLProviderForm > should not call onSubmit when input is invalid and Submit button is clicked:
packages/javascript/bh-shared-ui/src/components/CreateSAMLProviderForm/CreateSAMLProviderForm.test.tsx#L55
TestingLibraryElementError: Unable to find an element with the text: SAML Provider Name is required. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<form>
<div
class="MuiDialogContent-root css-ypiqx9-MuiDialogContent-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 css-mhc70k-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-1idn90j-MuiGrid-root"
>
<div
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-standard MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-standard css-aqpgxn-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="false"
for="name"
id="name-label"
>
SAML Provider Name
</label>
<div
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-l4u8b9-MuiInputBase-root-MuiInput-root"
>
<input
aria-describedby="name-helper-text"
aria-invalid="false"
class="MuiInputBase-input MuiInput-input css-1x51dt5-MuiInputBase-input-MuiInput-input"
id="name"
name="name"
type="text"
value=""
/>
</div>
<p
class="MuiFormHelperText-root MuiFormHelperText-sizeMedium css-1d1r5q-MuiFormHelperText-root"
id="name-helper-text"
>
Choose a name for your SAML Provider configuration
</p>
</div>
</div>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-1idn90j-MuiGrid-root"
>
<div
class="MuiBox-root css-1x52145"
>
<div
class="MuiBox-root css-u4p24i"
>
<button
class="inline-flex items-center justify-center whitespace-nowrap h-10 px-6 py-2 rounded-3xl text-sm ring-offset-background transition-colors hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 active:no-underline bg-neutral-light-5 text-neutral-dark-0 shadow-outer-1 hover:bg-secondary hover:text-white"
type="button"
>
<label
for="saml-provider-input"
>
Choose File
</label>
<input
accept=".xml"
hidden=""
id="saml-provider-input"
type="file"
value=""
/>
</button>
<div
class="MuiBox-root css-1isemmb"
>
<p
class="MuiTypography-root MuiTypography-body1 css-ahj2mt-MuiTypography-root"
>
No file chosen
</p>
</div>
</div>
</div>
<p
class="MuiFormHelperText-root css-1d1r5q-MuiFormHelperText-root"
>
Upload the Metadata file provided by your SAML Provider
</p>
</div>
</div>
</div>
<div
class="MuiDialogActions-root MuiDialogActions-spacing css-hlj6pa-MuiDialogActions-root"
>
|
src/components/CreateSAMLProviderForm/CreateSAMLProviderForm.test.tsx > CreateSAMLProviderForm > should call onSubmit when input is valid and Submit button is clicked:
packages/javascript/bh-shared-ui/src/components/CreateSAMLProviderForm/CreateSAMLProviderForm.test.tsx#L76
AssertionError: expected "spy" to be called at least once
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<form>
<div
class="MuiDialogContent-root css-ypiqx9-MuiDialogContent-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 css-mhc70k-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-1idn90j-MuiGrid-root"
>
<div
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-standard MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-standard css-1c2i806-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for="name"
id="name-label"
>
SAML Provider Name
</label>
<div
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-l4u8b9-MuiInputBase-root-MuiInput-root"
>
<input
aria-describedby="name-helper-text"
aria-invalid="false"
class="MuiInputBase-input MuiInput-input css-1x51dt5-MuiInputBase-input-MuiInput-input"
id="name"
name="name"
type="text"
value="test-provider-name"
/>
</div>
<p
class="MuiFormHelperText-root MuiFormHelperText-sizeMedium MuiFormHelperText-filled css-1d1r5q-MuiFormHelperText-root"
id="name-helper-text"
>
Choose a name for your SAML Provider configuration
</p>
</div>
</div>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-1idn90j-MuiGrid-root"
>
<div
class="MuiBox-root css-1x52145"
>
<div
class="MuiBox-root css-u4p24i"
>
<button
class="inline-flex items-center justify-center whitespace-nowrap h-10 px-6 py-2 rounded-3xl text-sm ring-offset-background transition-colors hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 active:no-underline bg-neutral-light-5 text-neutral-dark-0 shadow-outer-1 hover:bg-secondary hover:text-white"
type="button"
>
<label
for="saml-provider-input"
>
Choose File
</label>
<input
accept=".xml"
hidden=""
id="saml-provider-input"
type="file"
value="C:\\fakepath\\test-metadata.xml"
/>
</button>
<div
class="MuiBox-root css-1isemmb"
>
<p
class="MuiTypography-root MuiTypography-body1 css-ahj2mt-MuiTypography-root"
>
test-metadata.xml
</p>
</div>
</div>
</div>
<p
class="MuiFormHelperText-root css-1d1r5q-MuiFormHelperText-root"
>
Upload the Metadata file provided by your SAML Provider
</p>
</div>
</div>
|
run-tests
Process completed with exit code 1.
|
run-tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
run-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/BloodHound/BloodHound. Supported file pattern: go.sum
|