@@ -48,7 +48,7 @@ describe('<SimpleFormIterator />', () => {
48
48
</ Wrapper >
49
49
) ;
50
50
const inputElements = screen . queryAllByLabelText (
51
- 'resources.undefined.fields.email'
51
+ 'resources.undefined.fields.emails. email'
52
52
) ;
53
53
expect ( inputElements ) . toHaveLength ( 2 ) ;
54
54
expect ( ( inputElements [ 0 ] as HTMLInputElement ) . disabled ) . toBeFalsy ( ) ;
@@ -75,7 +75,7 @@ describe('<SimpleFormIterator />', () => {
75
75
</ Wrapper >
76
76
) ;
77
77
const inputElements = screen . queryAllByLabelText (
78
- 'resources.undefined.fields.email'
78
+ 'resources.undefined.fields.emails. email'
79
79
) ;
80
80
expect ( inputElements ) . toHaveLength ( 2 ) ;
81
81
expect ( ( inputElements [ 0 ] as HTMLInputElement ) . disabled ) . toBeTruthy ( ) ;
@@ -102,7 +102,7 @@ describe('<SimpleFormIterator />', () => {
102
102
</ Wrapper >
103
103
) ;
104
104
const inputElements = screen . queryAllByLabelText (
105
- 'resources.undefined.fields.email'
105
+ 'resources.undefined.fields.emails. email'
106
106
) ;
107
107
expect ( inputElements ) . toHaveLength ( 2 ) ;
108
108
expect ( ( inputElements [ 0 ] as HTMLInputElement ) . disabled ) . toBeTruthy ( ) ;
@@ -221,7 +221,7 @@ describe('<SimpleFormIterator />', () => {
221
221
fireEvent . click ( addItemElement ) ;
222
222
await waitFor ( ( ) => {
223
223
const inputElements = screen . queryAllByLabelText (
224
- 'resources.undefined.fields.email'
224
+ 'resources.undefined.fields.emails. email'
225
225
) ;
226
226
227
227
expect ( inputElements . length ) . toBe ( 1 ) ;
@@ -230,14 +230,14 @@ describe('<SimpleFormIterator />', () => {
230
230
fireEvent . click ( addItemElement ) ;
231
231
await waitFor ( ( ) => {
232
232
const inputElements = screen . queryAllByLabelText (
233
- 'resources.undefined.fields.email'
233
+ 'resources.undefined.fields.emails. email'
234
234
) ;
235
235
236
236
expect ( inputElements . length ) . toBe ( 2 ) ;
237
237
} ) ;
238
238
239
239
const inputElements = screen . queryAllByLabelText (
240
- 'resources.undefined.fields.email'
240
+ 'resources.undefined.fields.emails. email'
241
241
) as HTMLInputElement [ ] ;
242
242
243
243
expect (
@@ -339,7 +339,7 @@ describe('<SimpleFormIterator />', () => {
339
339
) ;
340
340
341
341
const inputElements = screen . queryAllByLabelText (
342
- 'resources.undefined.fields.email'
342
+ 'resources.undefined.fields.emails. email'
343
343
) as HTMLInputElement [ ] ;
344
344
345
345
expect (
@@ -356,7 +356,7 @@ describe('<SimpleFormIterator />', () => {
356
356
fireEvent . click ( removeFirstButton ) ;
357
357
await waitFor ( ( ) => {
358
358
const inputElements = screen . queryAllByLabelText (
359
- 'resources.undefined.fields.email'
359
+ 'resources.undefined.fields.emails. email'
360
360
) as HTMLInputElement [ ] ;
361
361
362
362
expect (
@@ -383,7 +383,7 @@ describe('<SimpleFormIterator />', () => {
383
383
) ;
384
384
385
385
const inputElements = screen . queryAllByLabelText (
386
- 'resources.undefined.fields.email'
386
+ 'resources.undefined.fields.emails. email'
387
387
) as HTMLInputElement [ ] ;
388
388
389
389
expect (
@@ -399,7 +399,7 @@ describe('<SimpleFormIterator />', () => {
399
399
fireEvent . click ( moveDownFirstButton [ 0 ] ) ;
400
400
await waitFor ( ( ) => {
401
401
const inputElements = screen . queryAllByLabelText (
402
- 'resources.undefined.fields.email'
402
+ 'resources.undefined.fields.emails. email'
403
403
) as HTMLInputElement [ ] ;
404
404
405
405
expect (
@@ -414,7 +414,7 @@ describe('<SimpleFormIterator />', () => {
414
414
fireEvent . click ( moveUpButton [ 1 ] ) ;
415
415
await waitFor ( ( ) => {
416
416
const inputElements = screen . queryAllByLabelText (
417
- 'resources.undefined.fields.email'
417
+ 'resources.undefined.fields.emails. email'
418
418
) as HTMLInputElement [ ] ;
419
419
420
420
expect (
0 commit comments