Appearance
TEST.log.info()
Logs informational messages to the test report.
Messages logged using TEST.log.info() do not affect the test result.
You can pass one or more arguments, and each argument will be automatically converted to a string and logged to the test report.
Usage
js
TEST.log.info(message: string, ...args: any[])Parameters
| Parameter | Type | Description |
|---|---|---|
message | string | The message to log |
args | any[] | Additional values to log |
Examples
js
// log a simple message
TEST.log.info("Starting login flow")
I.fill("Email", "bruce")
I.fill("Password", "secretpassword")
I.click("Login")