A result of a single TestCase run.
attachmentsAdded in: v1.10
The list of files or buffers attached during the test execution through testInfo.attachments.
Content type of this attachment to properly present in the report, for example
Optional path on the filesystem to the attached file.
Optional attachment body used instead of a file.
durationAdded in: v1.10
Running time in milliseconds.
errorAdded in: v1.10
First error thrown during test execution, if any. This is equal to the first element in testResult.errors.
errorsAdded in: v1.10
Errors thrown during the test execution.
parallelIndexAdded in: v1.30
The index of the worker between
workers - 1. It is guaranteed that workers running at the same time have a different
retryAdded in: v1.10
When test is retries multiple times, each retry attempt is given a sequential number.
Learn more about test retries.
startTimeAdded in: v1.10
Start time of this particular test run.
statusAdded in: v1.10
The status of this test result. See also testCase.expectedStatus.
stderrAdded in: v1.10
Anything written to the standard error during the test run.
stdoutAdded in: v1.10
Anything written to the standard output during the test run.
stepsAdded in: v1.10
List of steps inside this test run.
workerIndexAdded in: v1.10
Index of the worker where the test was run. If the test was not run a single time, for example when the user interrupted testing, the only result will have a
workerIndex equal to
Learn more about parallelism and sharding with Playwright Test.