https://cypress.io logo
Test Retries are using the same timestamp for each...
# i-need-help
f
Hi, I face an issue where test retries are using the same timestamp for each test, after the initial failure. Given the following example: const testTime = `Test_1_${timestamp}`; the const 'testTime' is used in the first test and equals "07.03.2023T12:00:00", which fails, now I would expect the timestamp to change after the first failure to be like "07.03.2023T12:01:14" on the 2nd and "07.03.2023T12:02:04" on the 3rd retry, however the timestamp stays exactly the same. Is there a way I can change the timestamp for each failed test?
5 Views