mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Use ouiaId instead of data-cy id in RevertButton
This commit is contained in:
parent
d57fee7b63
commit
30f5fbb07a
@ -45,7 +45,7 @@ function RevertButton({ i18n, id, defaultValue, isDisabled = false }) {
|
||||
<ButtonWrapper>
|
||||
<Button
|
||||
aria-label={isRevertable ? i18n._(t`Revert`) : i18n._(t`Undo`)}
|
||||
data-cy={`${id}-revert`}
|
||||
ouiaId={`${id}-revert`}
|
||||
isInline
|
||||
isSmall
|
||||
onClick={handleConfirm}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user