File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/components/confirmationMessage Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,15 @@ const ConfirmationMessageStandAloneComponent = (
61
61
styles = { props . stylesState }
62
62
>
63
63
{ props . title && (
64
- < TitleTextStyled align = { alignValue [ align . toLocaleLowerCase ( ) ] } styles = { props . stylesState } >
64
+ < TitleTextStyled
65
+ align = { alignValue [ align . toLocaleLowerCase ( ) ] }
66
+ data-testid = { `${ props . dataTestId } TitleContainer` }
67
+ styles = { props . stylesState }
68
+ >
65
69
{ props . decorativeElement ?. element && (
66
70
< DecorativeElement
67
71
{ ...props . decorativeElement }
72
+ dataTestId = { `${ props . dataTestId } DecorativeElement` }
68
73
element = { buildPropsDecorativeElement <
69
74
ConfirmationMessagePropsStylesType | undefined
70
75
> ( props . decorativeElement ?. element , props . stylesState ) }
@@ -83,6 +88,7 @@ const ConfirmationMessageStandAloneComponent = (
83
88
) }
84
89
< DescriptionTextStyled
85
90
align = { alignValue [ align . toLocaleLowerCase ( ) ] }
91
+ data-testid = { `${ props . dataTestId } DescriptionContainer` }
86
92
styles = { props . stylesState }
87
93
>
88
94
{ buildDescription ( ) }
@@ -99,6 +105,7 @@ const ConfirmationMessageStandAloneComponent = (
99
105
{ props . content && (
100
106
< ContentContainerStyled
101
107
align = { alignValue [ align . toLocaleLowerCase ( ) ] }
108
+ data-testid = { `${ props . dataTestId } Content` }
102
109
styles = { props . stylesState }
103
110
>
104
111
{ props . content }
You can’t perform that action at this time.
0 commit comments