MessageManager - update data-test
This commit is contained in:
parent
3f903b8525
commit
ce19f6aab6
1 changed files with 3 additions and 3 deletions
|
@ -46,7 +46,7 @@ export const MessageManagerTemplate: React.FC<IMessageManagerProps> = props => {
|
||||||
[classes.warning]: status === "warning"
|
[classes.warning]: status === "warning"
|
||||||
})}
|
})}
|
||||||
message={
|
message={
|
||||||
<span id="message-id" data-tc="notification">
|
<span id="message-id" data-test="notification">
|
||||||
{title && (
|
{title && (
|
||||||
<Typography variant="h5" style={{ fontWeight: "bold" }}>
|
<Typography variant="h5" style={{ fontWeight: "bold" }}>
|
||||||
{title}
|
{title}
|
||||||
|
@ -106,7 +106,7 @@ export const MessageManagerTemplate: React.FC<IMessageManagerProps> = props => {
|
||||||
color="default"
|
color="default"
|
||||||
size="small"
|
size="small"
|
||||||
onClick={close}
|
onClick={close}
|
||||||
data-tc="button-undo"
|
data-test="button-undo"
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
defaultMessage="Undo"
|
defaultMessage="Undo"
|
||||||
|
@ -120,7 +120,7 @@ export const MessageManagerTemplate: React.FC<IMessageManagerProps> = props => {
|
||||||
color="default"
|
color="default"
|
||||||
size="small"
|
size="small"
|
||||||
onClick={actionBtn.action}
|
onClick={actionBtn.action}
|
||||||
data-tc="button-action"
|
data-test="button-action"
|
||||||
>
|
>
|
||||||
{actionBtn.label}
|
{actionBtn.label}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Reference in a new issue