Parcourir la source

update endtoend test selectors

Artur Paikin il y a 7 ans
Parent
commit
86b3d3c640
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      test/endtoend/specs/uppy.test.js

+ 2 - 2
test/endtoend/specs/uppy.test.js

@@ -33,7 +33,7 @@ describe('File upload with DragDrop + Tus, DragDrop + XHRUpload, i18n translated
       browser.execute(uppySelectFakeFile, 'uppyDragDrop')
     }
     browser.pause(3000)
-    var html = browser.getHTML('#uppyDragDrop-progress .UppyProgressBar-percentage', false)
+    var html = browser.getHTML('#uppyDragDrop-progress .uppy-ProgressBar-percentage', false)
     expect(parseInt(html)).to.be.equal(100)
   })
 
@@ -44,7 +44,7 @@ describe('File upload with DragDrop + Tus, DragDrop + XHRUpload, i18n translated
       browser.execute(uppySelectFakeFile, 'uppyi18n')
     }
     browser.pause(3000)
-    var html = browser.getHTML('#uppyi18n-progress .UppyProgressBar-percentage', false)
+    var html = browser.getHTML('#uppyi18n-progress .uppy-ProgressBar-percentage', false)
     expect(parseInt(html)).to.be.equal(100)
   })