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 2ef8948 commit 85265e0Copy full SHA for 85265e0
test/helper/webapi.js
@@ -890,14 +890,14 @@ module.exports.tests = function () {
890
})
891
892
describe('#saveScreenshotToPath', () => {
893
- if (isHelper('TestCafe')) return
894
-
895
beforeEach(() => {
896
global.output_dir = path.join(global.codecept_dir, 'output')
897
global.custom_dir = path.join(global.codecept_dir, 'custom')
898
899
900
it('should create a screenshot file in custom dir', async () => {
+ if (isHelper('TestCafe')) return
+
901
const sec = new Date().getUTCMilliseconds()
902
await I.amOnPage('/')
903
await I.saveScreenshotToPath(global.custom_dir, `screenshot_${sec}.png`)
0 commit comments