purple-ice-75399
01/25/2023, 6:25 PMbeforeTest(testName) {
console.log(
colors.green(
` ${getUTC()}: Start Time for Test (${testName}) ⏱️ `
)
)
return null
},
That is called in the beforeEach hook in our cypress/support/e2e.js file - this is also the same structure for our `afterTest`/`afterEach`.
Using console.log in the test:before:run/test:after:run hooks, however, seems to only log it in the browser console, and you can't use tasks in these hooks.
What can I do to make it print to the node console? Thanks in advance!gray-kilobyte-89541
01/25/2023, 6:59 PMbeforeEachpurple-ice-75399
01/25/2023, 7:53 PMbeforeTest call in the beforeEach hook in e2e.js?gray-kilobyte-89541
01/25/2023, 8:44 PMpurple-ice-75399
01/25/2023, 11:19 PM