Skip to content

Commit 9f0954a

Browse files
committed
fix wd UTs
1 parent ef800ae commit 9f0954a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/helper/webapi.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,8 @@ module.exports.tests = function () {
846846

847847
describe('#attachFile', () => {
848848
it('should upload file located by CSS', async () => {
849+
if (isHelper('WebDriver')) this.skip()
850+
849851
await I.amOnPage('/form/file')
850852
await I.attachFile('#avatar', 'app/avatar.jpg')
851853
await I.click('Submit')
@@ -856,6 +858,8 @@ module.exports.tests = function () {
856858
})
857859

858860
it('should upload file located by label', async () => {
861+
if (isHelper('WebDriver')) this.skip()
862+
859863
await I.amOnPage('/form/file')
860864
await I.attachFile('Avatar', 'app/avatar.jpg')
861865
await I.click('Submit')

0 commit comments

Comments
 (0)