Skip to content

PQE-6 - Migrate E2E Disable Users Tests To BDD #3906

PQE-6 - Migrate E2E Disable Users Tests To BDD

PQE-6 - Migrate E2E Disable Users Tests To BDD #3906

Triggered via pull request December 16, 2024 20:19
Status Failure
Total duration 4m 21s
Artifacts

run-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
src/views/GroupManagement/GroupManagement.test.tsx > GroupManagement > renders an edit form for the selected asset group when a user has graph write permissions: cmd/ui/src/views/GroupManagement/GroupManagement.test.tsx#L105
TestingLibraryElementError: Found multiple elements with the role "combobox" Here are the matching elements: Ignored nodes: comments, script, style <input aria-autocomplete="list" aria-expanded="false" aria-invalid="false" autocapitalize="none" autocomplete="off" class="MuiInputBase-input MuiOutlinedInput-input MuiAutocomplete-input MuiAutocomplete-inputFocused css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input" id=":ri:" placeholder="Add or Remove Members" role="combobox" spellcheck="false" type="text" value="" /> Ignored nodes: comments, script, style <div aria-controls=":rp:" aria-expanded="false" aria-haspopup="listbox" aria-labelledby=":ro: :rn:" class="MuiSelect-select MuiTablePagination-select MuiSelect-standard MuiInputBase-input css-194a1fa-MuiSelect-select-MuiInputBase-input" id=":rn:" role="combobox" tabindex="0" > 25 </div> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div> <div class="MuiBox-root css-13u2pe2" > <div class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 css-1jhdk57-MuiGrid-root" > <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-3 MuiGrid-grid-md-3 css-1equabv-MuiGrid-root" > <div class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiBox-root css-1hhgrz1-MuiPaper-root" > <div class="MuiGrid-root MuiGrid-container css-u5562i-MuiGrid-root" > <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-sm-4 css-1st3pko-MuiGrid-root" > <span class="MuiTypography-root MuiTypography-button css-1f0on15-MuiTypography-root" > Group: </span> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-xl-8 css-1t1cof8-MuiGrid-root" > <div class="MuiBox-root css-hpgf8j" > <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-primary text-white shadow-outer-1 hover:bg-secondary" data-testid="dropdown_context-selector" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; width: 100%; text-transform: uppercase;" type="button" > High Value </button> </div> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-4 css-n8q996-MuiGrid-root" > <span class="MuiTypography-root MuiTypography-button css-1f0on15-MuiTypography-root" > Environment: </span> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-xl-8 css-1t1cof8-MuiGrid-root" > <div class="MuiBox-root css-hpgf8j" data-testid="data-selector" > <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-primary text-white shadow-outer-1 hover:bg-secondary" data-testid="data-quali
src/views/GroupManagement/GroupManagement.test.tsx > GroupManagement > renders an edit form for the selected asset group when a user has graph write permissions: cmd/ui/src/views/GroupManagement/GroupManagement.test.tsx#L105
TestingLibraryElementError: Found multiple elements with the role "combobox" Here are the matching elements: Ignored nodes: comments, script, style <input aria-autocomplete="list" aria-expanded="false" aria-invalid="false" autocapitalize="none" autocomplete="off" class="MuiInputBase-input MuiOutlinedInput-input MuiAutocomplete-input MuiAutocomplete-inputFocused css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input" id=":ri:" placeholder="Add or Remove Members" role="combobox" spellcheck="false" type="text" value="" /> Ignored nodes: comments, script, style <div aria-controls=":rp:" aria-expanded="false" aria-haspopup="listbox" aria-labelledby=":ro: :rn:" class="MuiSelect-select MuiTablePagination-select MuiSelect-standard MuiInputBase-input css-194a1fa-MuiSelect-select-MuiInputBase-input" id=":rn:" role="combobox" tabindex="0" > 25 </div> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div> <div class="MuiBox-root css-13u2pe2" > <div class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-2 css-1jhdk57-MuiGrid-root" > <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-3 MuiGrid-grid-md-3 css-1equabv-MuiGrid-root" > <div class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiBox-root css-1hhgrz1-MuiPaper-root" > <div class="MuiGrid-root MuiGrid-container css-u5562i-MuiGrid-root" > <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-sm-4 css-1st3pko-MuiGrid-root" > <span class="MuiTypography-root MuiTypography-button css-1f0on15-MuiTypography-root" > Group: </span> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-xl-8 css-1t1cof8-MuiGrid-root" > <div class="MuiBox-root css-hpgf8j" > <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-primary text-white shadow-outer-1 hover:bg-secondary" data-testid="dropdown_context-selector" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; width: 100%; text-transform: uppercase;" type="button" > High Value </button> </div> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-4 css-n8q996-MuiGrid-root" > <span class="MuiTypography-root MuiTypography-button css-1f0on15-MuiTypography-root" > Environment: </span> </div> <div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-xl-8 css-1t1cof8-MuiGrid-root" > <div class="MuiBox-root css-hpgf8j" data-testid="data-selector" > <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-primary text-white shadow-outer-1 hover:bg-secondary" data-testid="data-quali
run-tests
Process completed with exit code 1.
run-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/BloodHound/BloodHound. Supported file pattern: go.sum