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
{{ message }}
This repository was archived by the owner on Jun 26, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: e2e/README.md
+16-19
Original file line number
Diff line number
Diff line change
@@ -11,30 +11,27 @@ These tests attempt to assert truth to the following:
11
11
* Do elements get configured as intended?
12
12
* Do the configured elements do what they're expected to do?
13
13
14
-
Some of this is automated here. However, the visual aspects are difficult for machines to cover. Even some behavioral aspects are as well because they incur an impractical amount of complexity, time, or cost. For those aspects, these tests provide a way to quickly generate dashboards consistently so we can use our human abilities to assert truth.
14
+
Some of this is automated here. However, the visual aspects are difficult for
15
+
machines to cover. Even some behavioral aspects are as well because they incur
16
+
an impractical amount of complexity, time, or cost. For those aspects, these
17
+
tests provide a way to quickly generate dashboards consistently so we can use
18
+
our human abilities to assert truth.
15
19
16
20
## Usage
17
21
18
-
Install dependencies:
22
+
`docker-compose` is used to run Cypress and Grafana. There are two targets in
23
+
[Makefile](../Makefile) to help run it.
19
24
20
-
```
21
-
yarn install
22
-
```
25
+
`make e2e`: runs tests headless and exits.
23
26
24
-
Run a Grafana instance to test with:
25
-
26
-
```
27
-
yarn run grafana-instance
28
-
```
29
-
30
-
Launch the [Cypress Test Runner](https://docs.cypress.io/guides/core-concepts/test-runner.html):
describes how to set this up with [XQuartz](https://www.xquartz.org/).
35
33
36
34
## Notes
37
35
38
-
Tests depend on compiled artifacts in [tests](../tests) for generating dashboards.
39
-
40
-
Tests do not destroy the dashboards they create after they're run. This is to facilitate manual inspection. Restart your Grafana instance to start fresh.
36
+
Tests depend on compiled artifacts in [tests](../tests) for generating
0 commit comments