Skip to content

Commit

Permalink
Update cypress.config.sample.js
Browse files Browse the repository at this point in the history
  • Loading branch information
can-angun authored Dec 24, 2024
1 parent c4718af commit 7b065c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ui-tests/cypress.config.sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ module.exports = defineConfig({
}
return launchOptions;
});
on('task', {
log(message) {
cy.log('LOOOOOOOOOOOOOOGGGGGG');
fs.appendFileSync('cypress-console.log', `${message}\n`);
return null;
},
});
},
},
});
Expand Down

0 comments on commit 7b065c6

Please sign in to comment.