@@ -28,7 +28,7 @@ Quand("j'essaie de remplacer l'annotation du passage {int} par :", (block_number
2828
2929Quand ( "j'essaie de remplacer le contenu de la glose par :" , ( markdown ) => {
3030 cy . click_on_text ( 'content' , '…' ) ;
31- cy . get ( 'textarea' ) . type ( '{selectAll} ' + markdown . replaceAll ( / [ { } ] / g, ( x ) => `{${ x } }` ) ) . blur ( ) ;
31+ cy . get ( 'textarea' ) . type ( '{selectAll} ' + markdown . replaceAll ( / [ { } ] / g, ( x ) => `{${ x } }` ) ) . blur ( ) ;
3232} ) ;
3333
3434Quand ( "j'ajoute le document principal à ma bibliothèque" , ( ) => {
@@ -76,7 +76,7 @@ Quand("je découpe la glose en passages numérotés et que je me focalise sur la
7676
7777Quand ( "je remplace le contenu de la glose par ce qui suit et que je me focalise sur la glose :" , ( markdown ) => {
7878 cy . click_on_text ( 'content' , '…' ) ;
79- cy . get ( 'textarea' ) . type ( '{selectAll} ' + markdown . replaceAll ( / [ { } ] / g, ( x ) => `{${ x } }` ) ) . blur ( ) ;
79+ cy . get ( 'textarea' ) . type ( '{selectAll} ' + markdown . replaceAll ( / [ { } ] / g, ( x ) => `{${ x } }` ) ) . blur ( ) ;
8080 cy . get ( '.focus' ) . click ( ) ;
8181} ) ;
8282
@@ -117,3 +117,8 @@ Quand("je consulte les informations de création du document", function () {
117117 cy . get ( '.info-icon-container' ) . trigger ( 'mouseover' ) ;
118118} ) ;
119119
120+ Quand ( "j'essaie de modifier la numerotation de la glose:" , function ( ) {
121+ cy . get ( 'discreete-dropdown' ) . click ( )
122+ cy . click_on_text ( 'Edit passage numbering' ) ;
123+ cy . get ( 'textarea' ) . type ( '{selectAll}' + '{2} Second' ) . blur ( ) ;
124+ } ) ;
0 commit comments