File tree 2 files changed +5
-4
lines changed
frontend/src/components/namespace
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,9 @@ export default function CreateNamespaceButton() {
98
98
return (
99
99
< AuthVisible item = { Namespace } authVerb = "create" >
100
100
< ActionButton
101
+ data-testid = "create-namespace-button"
101
102
color = "primary"
102
- description = { t ( 'translation|Create' ) }
103
+ description = { t ( 'translation|Create Namespace ' ) }
103
104
icon = { 'mdi:plus-circle' }
104
105
onClick = { ( ) => {
105
106
setNamespaceDialogOpen ( true ) ;
@@ -143,15 +144,15 @@ export default function CreateNamespaceButton() {
143
144
</ DialogContent >
144
145
< DialogActions >
145
146
< Button
146
- aria-label = "Cancel "
147
+ data-testid = "create-namespace-dialog-cancel-button "
147
148
onClick = { ( ) => {
148
149
setNamespaceDialogOpen ( false ) ;
149
150
} }
150
151
>
151
152
{ t ( 'translation|Cancel' ) }
152
153
</ Button >
153
154
< Button
154
- aria-label = "Create "
155
+ data-testid = "create-namespace-dialog-create-button "
155
156
disabled = { ! isValidNamespaceName }
156
157
onClick = { ( ) => {
157
158
createNewNamespace ( ) ;
Original file line number Diff line number Diff line change 21
21
class="MuiBox-root css-ldp2l3"
22
22
>
23
23
<button
24
- aria-label="Create"
24
+ aria-label="Create Namespace "
25
25
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-whz9ym-MuiButtonBase-root-MuiIconButton-root"
26
26
data-mui-internal-clone-element="true"
27
27
tabindex="0"
You can’t perform that action at this time.
0 commit comments