@cerner/terra-toolkit-docs
Version:
Contains documentation for packages in the terra-toolkit monorepo
23 lines (13 loc) • 1.19 kB
text/mdx
# Wdio File Output Reporter
Wdio File Output Reporter is a reporter that logs wdio test output to separate files based on locale, theme, and form-factor with the following attributes
- Date and time of when the tests are started and when they are finished
- Locale, Form Factor, Theme, and Cloud Region (if provided by full stack wdio configuration) of the tests
- Name of the tests and whether they've succeeded or failed
**WDIO test output Directory**
Wdio File Output Reporter logs the WDIO test output in tests/wdio/reports/
**Check for Mono Repo**
Wdio File Output Reporter assumes mono-repo will have packages directory in the root folder
## Report Format
- The name of the log file for non-monorepo will be ```result-<locale>-<theme>-<form-factor>-<browser>-<cloud-region>-<cid>-<repo-name>.json```(eg: result-en-huge-chrome-dev-0-1-terra-toolkit-boneyard.json)
- The name of the log file for mono-repo will be ```result-<locale>-<theme>-<form-factor>-<browser>-<cloud-region>-<cid>-<package-name>.json```(eg: fileOutput-en-terra-default-theme-large-chrome-dev-1-0-terra-functional-testing.json)
- Example output [a relative link](fileOutput-reporter-sample-result.json)