mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
fixed locators
This commit is contained in:
parent
bf892443df
commit
033adcb8b8
@ -225,6 +225,7 @@ function ToolbarDeleteButton({
|
||||
key="add"
|
||||
isDisabled={isDisabled}
|
||||
isLoading={isLoading}
|
||||
ouiaId="kebab-deleteButton"
|
||||
spinnerAriaValueText={isLoading ? 'Loading' : undefined}
|
||||
component="button"
|
||||
onClick={() => {
|
||||
@ -240,6 +241,7 @@ function ToolbarDeleteButton({
|
||||
<Button
|
||||
variant="secondary"
|
||||
isLoading={isLoading}
|
||||
ouiaId="kebab-deleteButton"
|
||||
spinnerAriaValueText={isLoading ? 'Loading' : undefined}
|
||||
aria-label={t`Delete`}
|
||||
onClick={() => toggleModal(true)}
|
||||
|
||||
@ -92,11 +92,11 @@ describe('<InventoryDetail />', () => {
|
||||
expectDetailToMatch(wrapper, 'Type', 'Inventory');
|
||||
const org = wrapper.find('Detail[label="Organization"]');
|
||||
expect(org.prop('value')).toMatchInlineSnapshot(`
|
||||
<Link
|
||||
<ForwardRef
|
||||
to="/organizations/1/details"
|
||||
>
|
||||
The Organization
|
||||
</Link>
|
||||
</ForwardRef>
|
||||
`);
|
||||
const vars = wrapper.find('VariablesDetail');
|
||||
expect(vars).toHaveLength(1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user