You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-25Lines changed: 32 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -30,49 +30,56 @@ Our package bridges Cypress and Playwright test runs with Google Sheets or CSV,
30
30
31
31
### qa-shadow-report Setup Guide
32
32
33
-
Upon installing `qa-shadow-report`, you can run the command`npx qasr-setup`, which initiates a series of Yes or No questions to guide you through setting up the tool for your testing framework and package manager. You may choose to exit the setup at any time by entering `EXIT`. You will then need to manually complete the setup by following the detailed instructions provided in the [Cypress](#cypress) or [Playwright](#playwright) sections of this guide.
33
+
After installing `qa-shadow-report` using the command:
34
34
35
-
This setup process is designed to tailor the installation to your specific needs, ensuring that all dependencies and configurations are correctly established for your environment.
35
+
`npm i qa-shadow-report`
36
+
37
+
you will then need to run the command:
38
+
39
+
`npx qasr-setup`
40
+
41
+
this initiates a series of `Yes` or `No` questions to guide you through setting up the tool for your testing framework and package manager. You may choose to exit the setup at any time by entering `EXIT`, which is not recommended. If you exit setup, you will then need to restart using the command `npx qasr-setup`
36
42
37
43
**Note:** The commands in this guide assume the use of `npm/npx`. If you prefer to use `yarn`, replace `npm/npx` with `yarn` where appropriate.
38
44
39
45
## Quick Start
40
46
41
47
### Generate Reports in CSV Format
42
48
43
-
-Use the base commands with a framework of Cypress or Playwright and the optional flag `--csv` to run a daily report.
49
+
-Ensure test result data is present in your framework's test results output folder, in the form of JSON. This output should be present after you finish `qasr-setup` AND run your test suite. test results will usually be found in `results/output.json`.
44
50
45
-
-**Using NPX:**
51
+
- A detailed CSV will be compiled and generated in the `[framework]/downloads` folder.
46
52
47
-
```
48
-
npx qa-shadow-report [framework] --csv
49
-
```
53
+
- Only daily summmaries are available for CSV, monthly summary reports are not currently supported in CSV format.
Use either command to generate reports using either **NPX** or **NPM scripts** with a framework of **Cypress** or **Playwright** and the optional flag `--csv`. These commands will generate a CSV report, and initiate setup if you havent yet run the qa-shadow-report setup.
- Ensure JSON data is present from your framework's test results output. Check the [Prerequisites](#prerequisites) section to see a framework configuration.
68
+
Add to your `package.json` scripts:
72
69
73
-
- A detailed summary will be downloaded into the `cypress/downloads` folder.
**Note:** Cypress is a registered trademark of Cypress.io, Playwright is a registered trademark of Microsoft Corporation, and Google Sheets is a registered trademark of Google Inc. This application is not officially endorsed or certified by Playwright, Microsoft Corporation, Google Inc., or Cypress.io.
0 commit comments