@@ -14,17 +14,12 @@ import {
1414import { workflowStatus } from '../../utils/constants' ;
1515
1616function uploadMediaFile ( ) {
17- console . log ( `[${ new Date ( ) . toISOString ( ) } ] 📤 uploadMediaFile() checking for no images` ) ;
1817 assertNoImagesInLibrary ( ) ;
1918
2019 const fixture = 'cypress/fixtures/media/netlify.png' ;
21- console . log ( `[${ new Date ( ) . toISOString ( ) } ] 📤 uploadMediaFile() selecting file: ${ fixture } ` ) ;
2220 cy . get ( 'input[type="file"]' ) . selectFile ( fixture , { force : true } ) ;
23-
24- console . log ( `[${ new Date ( ) . toISOString ( ) } ] 📤 uploadMediaFile() waiting for upload to complete` ) ;
2521 cy . contains ( 'span' , 'Uploading...' ) . should ( 'not.exist' ) ;
2622
27- console . log ( `[${ new Date ( ) . toISOString ( ) } ] 📤 uploadMediaFile() asserting images exist` ) ;
2823 assertImagesInLibrary ( ) ;
2924}
3025
@@ -109,18 +104,14 @@ function assertGridEntryImage(entry) {
109104
110105export default function ( { entries, getUser } ) {
111106 beforeEach ( ( ) => {
112- console . log ( `[${ new Date ( ) . toISOString ( ) } ] 🧪 fixture beforeEach: About to call login()` ) ;
113107 login ( getUser && getUser ( ) ) ;
114- console . log ( `[${ new Date ( ) . toISOString ( ) } ] 🧪 fixture beforeEach: login() complete` ) ;
115108 } ) ;
116109
117110 it ( 'can upload image from global media library' , ( ) => {
118- console . log ( `[${ new Date ( ) . toISOString ( ) } ] 🧪 TEST START: can upload image from global media library` ) ;
119111 goToMediaLibrary ( ) ;
120112 uploadMediaFile ( ) ;
121113 matchImageSnapshot ( ) ;
122114 closeMediaLibrary ( ) ;
123- console . log ( `[${ new Date ( ) . toISOString ( ) } ] 🧪 TEST COMPLETE: can upload image from global media library` ) ;
124115 } ) ;
125116
126117 it ( 'can delete image from global media library' , ( ) => {
0 commit comments