Skip to content

Commit

Permalink
get rid of occ comand to delete the debug setting
Browse files Browse the repository at this point in the history
that was only a try before the real fix, should not be needed
  • Loading branch information
individual-it authored Jul 28, 2020
1 parent 2a2f9f7 commit bb4e5e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/acceptance/stepDefinitions/filesContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const { client } = require('nightwatch-api')
const assert = require('assert')
const { Given, When, Then, Before } = require('cucumber')
const webdav = require('../helpers/webdavHelper')
const occHelper = require('../helpers/occHelper')
const _ = require('lodash')
const loginHelper = require('../helpers/loginHelper')
const xpathHelper = require('../helpers/xpath')
Expand Down Expand Up @@ -1024,8 +1023,7 @@ Then('the page should be empty', async function() {
assert.ok(!isVisible, 'The phoenix page should be empty but is not')
})

When('the user downloads file/folder {string} using the webUI', async function(file) {
await occHelper.runOcc(['config:system:delete', 'debug'])
When('the user downloads file/folder {string} using the webUI', function(file) {
return client.page.FilesPageElement.filesList().downloadFile(file)
})

Expand Down

0 comments on commit bb4e5e0

Please sign in to comment.