Skip to content

Commit

Permalink
Update webapi.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Jan 25, 2025
1 parent 9f0954a commit 952cc41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/helper/webapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ module.exports.tests = function () {

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

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

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

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

0 comments on commit 952cc41

Please sign in to comment.