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
### Feature or Bugfix
<!-- please choose -->
- Test Enhancement
### Detail
- Add documentation in README on how to set up dashboard tests
- Add check for QS Account and skip if no Account exists in
`session_env1`
### Relates
### Security
Please answer the questions below briefly where applicable, or write
`N/A`. Based on
[OWASP 10](https://owasp.org/Top10/en/).
- Does this PR introduce or modify any input fields or queries - this
includes
fetching data from storage outside the application (e.g. a database, an
S3 bucket)?
- Is the input sanitized?
- What precautions are you taking before deserializing the data you
consume?
- Is injection prevented by parametrizing queries?
- Have you ensured no `eval` or similar functions are used?
- Does this PR introduce any functionality or component that requires
authorization?
- How have you ensured it respects the existing AuthN/AuthZ mechanisms?
- Are you logging failed auth attempts?
- Are you using or adding any cryptographic features?
- Do you use a standard proven implementations?
- Are the used keys controlled by the customer? Where are they stored?
- Are you introducing any new policies/roles/users?
- Have you used the least-privilege principle? How?
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
Copy file name to clipboardExpand all lines: tests_new/integration_tests/README.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,18 @@ Currently **we support only Cognito based deployments** but support for any IdP
83
83
84
84
- The pipeline will create the users/groups
85
85
86
+
### Dashboard Tests Pre-Requisities
87
+
88
+
In order to run the tests on the dashboards module the following steps are required:
89
+
90
+
- Create Enterprise QuickSight Subscription in `session_env1` AWS Account
91
+
- Update QuickSight Account with a Reader Capacity Pricing Plan (required for generating embed URLs - `GenerateEmbedUrlForAnonymousUser`)
92
+
- Create / Publish a QuickSight Dashboard
93
+
- Create a QuickSight Group named `dataall` and give owner access of the published dashboard to the `dataall` group
94
+
- Provide the `dashboardId` in the `config.json` as shown above
95
+
96
+
Rather than failing if the above pre-requisites are not completed, if ther eis no QuickSight Account is detected in `session_env1` the dashboard tests will be **skipped**.
97
+
86
98
## Run tests
87
99
88
100
The tests are executed in CodeBuild as part of the CICD pipeline if the cdk.json parameter `with_approval_tests` is set
0 commit comments