agent-js-cypress
agent-js-cypress copied to clipboard
Allow passing time to reporter.sendLog()
Enable users to pass time to reporter.sendLog
. By passing log timestamp from the tests, it is for example possible to preserve order of logs. It is also important if there is some sort of caching implemented in the test framework.
cy.task("rp_Log", {
level: "info",
message,
time: logTimestamp,
});