Skip to content

Commit 952cc41

Browse files
authored
Update webapi.js
1 parent 9f0954a commit 952cc41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/helper/webapi.js

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

847847
describe('#attachFile', () => {
848848
it('should upload file located by CSS', async () => {
849-
if (isHelper('WebDriver')) this.skip()
849+
if (isHelper('WebDriver')) return
850850

851851
await I.amOnPage('/form/file')
852852
await I.attachFile('#avatar', 'app/avatar.jpg')
@@ -858,7 +858,7 @@ module.exports.tests = function () {
858858
})
859859

860860
it('should upload file located by label', async () => {
861-
if (isHelper('WebDriver')) this.skip()
861+
if (isHelper('WebDriver')) return
862862

863863
await I.amOnPage('/form/file')
864864
await I.attachFile('Avatar', 'app/avatar.jpg')

0 commit comments

Comments
 (0)