@@ -282,16 +282,16 @@ describe('Given Quick Marc Editor Container', () => {
282282 } ) ;
283283 } ) ;
284284
285- recordLengthField = screen . getByRole ( 'textbox' , { name : ' ui-quick-marc.record.fixedField.Record length' } ) ;
286- statusField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.Status' } ) ;
287- typeField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.Type' } ) ;
288- blvlField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.BLvl' } ) ;
289- ctrlField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.Ctrl' } ) ;
290- positions9to16Field = screen . getByRole ( 'textbox' , { name : ' ui-quick-marc.record.fixedField.9-16 positions' } ) ;
291- elvlField = screen . getByRole ( 'textbox' , { name : ' ui-quick-marc.record.fixedField.tip.ELvl' } ) ;
292- descField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.Desc' } ) ;
293- multiLvlField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.MultiLvl' } ) ;
294- positions20to23Field = screen . getByRole ( 'textbox' , { name : ' ui-quick-marc.record.fixedField.20-23 positions' } ) ;
285+ recordLengthField = screen . getByRole ( 'textbox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .R e c o r d l e n g t h / } ) ;
286+ statusField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .S t a t u s / } ) ;
287+ typeField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .T y p e / } ) ;
288+ blvlField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .B L v l / } ) ;
289+ ctrlField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .C t r l / } ) ;
290+ positions9to16Field = screen . getByRole ( 'textbox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .9 - 1 6 p o s i t i o n s / } ) ;
291+ elvlField = screen . getByRole ( 'textbox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .E L v l / } ) ;
292+ descField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .D e s c / } ) ;
293+ multiLvlField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .M u l t i L v l / } ) ;
294+ positions20to23Field = screen . getByRole ( 'textbox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .2 0 - 2 3 p o s i t i o n s / } ) ;
295295 } ) ;
296296
297297 it ( 'should display correct default values' , ( ) => {
@@ -408,13 +408,13 @@ describe('Given Quick Marc Editor Container', () => {
408408 } ) ;
409409 } ) ;
410410
411- recordLengthField = screen . getByRole ( 'textbox' , { name : ' ui-quick-marc.record.fixedField.Record length' } ) ;
412- statusField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.Status' } ) ;
413- typeField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.Type' } ) ;
414- positions7to16Field = screen . getByRole ( 'textbox' , { name : ' ui-quick-marc.record.fixedField.7-16 positions' } ) ;
415- elvlField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.ELvl' } ) ;
416- punctField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.Punct' } ) ;
417- positions19to23Field = screen . getByRole ( 'textbox' , { name : ' ui-quick-marc.record.fixedField.19-23 positions' } ) ;
411+ recordLengthField = screen . getByRole ( 'textbox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .R e c o r d l e n g t h / } ) ;
412+ statusField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .S t a t u s / } ) ;
413+ typeField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .T y p e / } ) ;
414+ positions7to16Field = screen . getByRole ( 'textbox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .7 - 1 6 p o s i t i o n s / } ) ;
415+ elvlField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .E L v l / } ) ;
416+ punctField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .P u n c t / } ) ;
417+ positions19to23Field = screen . getByRole ( 'textbox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .1 9 - 2 3 p o s i t i o n s / } ) ;
418418 } ) ;
419419
420420 it ( 'should display correct default values' , ( ) => {
@@ -492,13 +492,13 @@ describe('Given Quick Marc Editor Container', () => {
492492 } ) ;
493493 } ) ;
494494
495- recordLengthField = screen . getByRole ( 'textbox' , { name : ' ui-quick-marc.record.fixedField.Record length' } ) ;
496- statusField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.Status' } ) ;
497- typeField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.Type' } ) ;
498- positions7to16Field = screen . getByRole ( 'textbox' , { name : ' ui-quick-marc.record.fixedField.7-16 positions' } ) ;
499- elvlField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.ELvl' } ) ;
500- itemField = screen . getByRole ( 'combobox' , { name : ' ui-quick-marc.record.fixedField.tip.Item' } ) ;
501- positions19to23Field = screen . getByRole ( 'textbox' , { name : ' ui-quick-marc.record.fixedField.19-23 positions' } ) ;
495+ recordLengthField = screen . getByRole ( 'textbox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .R e c o r d l e n g t h / } ) ;
496+ statusField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .S t a t u s / } ) ;
497+ typeField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .T y p e / } ) ;
498+ positions7to16Field = screen . getByRole ( 'textbox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .7 - 1 6 p o s i t i o n s / } ) ;
499+ elvlField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .E L v l / } ) ;
500+ itemField = screen . getByRole ( 'combobox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .t i p .I t e m / } ) ;
501+ positions19to23Field = screen . getByRole ( 'textbox' , { name : / u i - q u i c k - m a r c .r e c o r d .f i x e d F i e l d .1 9 - 2 3 p o s i t i o n s / } ) ;
502502 } ) ;
503503
504504 it ( 'should display correct default values' , async ( ) => {
0 commit comments