From 7b065c67ddf0ad26a7095f0b999ab75c1c09b906 Mon Sep 17 00:00:00 2001 From: Can Angun <39311746+can-angun@users.noreply.github.com> Date: Tue, 24 Dec 2024 12:31:24 +0300 Subject: [PATCH] Update cypress.config.sample.js --- ui-tests/cypress.config.sample.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ui-tests/cypress.config.sample.js b/ui-tests/cypress.config.sample.js index 2154821f775..03a17db89b1 100644 --- a/ui-tests/cypress.config.sample.js +++ b/ui-tests/cypress.config.sample.js @@ -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; + }, + }); }, }, });