File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -113,18 +113,23 @@ describe('Global templates', function() {
113113 . should ( 'be.visible' )
114114 . click ( )
115115
116- cy . get ( 'button[role="menuitem"]' )
117- . contains ( 'New presentation' )
116+ cy . get ( '[data-cy-upload-picker-menu-entry="add-odp"]' )
118117 . should ( 'be.visible' )
119118 . click ( )
120- cy . get ( '.input-field__input' )
121- . type ( 'FileFromTemplate' )
122- cy . get ( '.template:contains("myslides")' )
119+
120+ cy . get ( '.template-picker' )
121+ . find ( '.filename-input' )
122+ . find ( 'input' )
123+ . type ( 'FileFromTemplate.odp' )
124+
125+ cy . get ( '.template-picker' )
126+ . find ( 'img[alt="myslides.otp"]' )
123127 . scrollIntoView ( )
124128 . should ( 'be.visible' )
125129 . click ( )
126130
127- cy . get ( 'button:contains("Create")' )
131+ cy . get ( '.template-picker' )
132+ . find ( 'button:contains("Create")' )
128133 . scrollIntoView ( )
129134 . should ( 'be.visible' )
130135 . click ( )
You can’t perform that action at this time.
0 commit comments