File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -160,15 +160,15 @@ describe('test link marks', function() {
160160 cy . getFile ( fileName )
161161 . then ( $el => {
162162 checkLinkFile ( fileName )
163- cy . get ( '.modal-name ' ) . should ( 'include.text' , fileName )
163+ cy . get ( '.modal-header__name ' ) . should ( 'include.text' , fileName )
164164 } )
165165 } )
166166 it ( 'with selected text' , ( ) => {
167167 cy . getFile ( fileName )
168168 . then ( $el => {
169169 cy . getContent ( ) . type ( `${ text } {selectAll}` )
170170 checkLinkFile ( fileName , text )
171- cy . get ( '.modal-name ' ) . should ( 'include.text' , fileName )
171+ cy . get ( '.modal-header__name ' ) . should ( 'include.text' , fileName )
172172 } )
173173 } )
174174 it ( 'link to directory' , ( ) => {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ describe('Open test.md in viewer', function() {
4848 . and ( 'have.class' , 'modal-mask' )
4949 . and ( 'not.have.class' , 'icon-loading' )
5050 getViewer ( )
51- . find ( '.modal-name ' ) . should ( 'contain' , 'test.md' )
51+ . find ( '.modal-header__name ' ) . should ( 'contain' , 'test.md' )
5252 getViewer ( )
5353 . find ( '.modal-header button.action-item__menutoggle' )
5454 . should ( 'be.visible' )
@@ -72,7 +72,7 @@ describe('Open test.md in viewer', function() {
7272 . and ( 'have.class' , 'modal-mask' )
7373 . and ( 'not.have.class' , 'icon-loading' )
7474 getViewer ( )
75- . find ( '.modal-name ' ) . should ( 'contain' , 'empty.md' )
75+ . find ( '.modal-header__name ' ) . should ( 'contain' , 'empty.md' )
7676 getViewer ( )
7777 . find ( '.modal-header button.action-item__menutoggle' )
7878 . should ( 'be.visible' )
You can’t perform that action at this time.
0 commit comments