We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85265e0 commit 9618f3fCopy full SHA for 9618f3f
test/helper/webapi.js
@@ -892,8 +892,8 @@ module.exports.tests = function () {
892
describe('#saveScreenshotToPath', () => {
893
beforeEach(() => {
894
global.output_dir = path.join(global.codecept_dir, 'output')
895
- global.custom_dir = path.join(global.codecept_dir, 'custom')
896
- })
+ // workaround so that we dont need to create an empty custom dir upfront
+ global.custom_dir = global.output_dir
897
898
it('should create a screenshot file in custom dir', async () => {
899
if (isHelper('TestCafe')) return
0 commit comments