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
+27-13Lines changed: 27 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,19 +53,33 @@ in the root directory to download all of the NPM dependencies specified in `pack
53
53
npm run develop
54
54
```
55
55
56
-
- If you want to execute whole testsuite, navigate to `packages/testsuite` and from within that directory execute `npm test`
57
-
- It is also possible to run on specific browser by supplying `--browser` argument, e.g
58
-
```
59
-
npm test -- --browser=chrome
60
-
```
61
-
- It is also possible to reduce the amount of specs executed by passing `--specs` flag. This flag must be relative to the `packages/testsuite` directory and supports glob patterns, e.g to execute only `ejb` related tests, run
62
-
```
63
-
npm test -- --specs="cypress/e2e/ejb/*.cy.ts"
64
-
```
65
-
- If you wish to run the test suite against custom HAL or WildFly images, you can use `HAL_IMAGE` and `WILDFLY_IMAGE` environment variables to specify custom images, e.g
66
-
```
67
-
HAL_IMAGE=quay.io/myorg/hal WILDFLY_IMAGE=quay.io/myorg/wildfly npm test ...
68
-
```
56
+
- If you want to execute whole testsuite execute `npm test`
57
+
58
+
- It is also possible to run on specific browser by supplying `--browser` argument, e.g
59
+
60
+
```
61
+
npm test -- --browser=chrome
62
+
```
63
+
64
+
- It is possible to reduce the amount of specs executed by passing `--specs` flag. It also supports glob patterns, e.g to execute only `homepage` related tests, run
65
+
66
+
```
67
+
npm test -- --specs="packages/testsuite/cypress/e2e/homepage/test-homepage.cy.ts"
68
+
or
69
+
npm test -- --specs="packages/testsuite/cypress/e2e/homepage/*.cy.ts"
70
+
```
71
+
72
+
- If you want to run tests without cleaning and a resources compilations (useful for CI), use
73
+
74
+
```
75
+
npm run test:compiled -- --specs="packages/testsuite/cypress/e2e/homepage/test-homepage.cy.ts"
76
+
```
77
+
78
+
- If you wish to run the test suite against custom HAL or WildFly images, you can use `HAL_IMAGE` and `WILDFLY_IMAGE` environment variables to specify custom images, e.g
79
+
80
+
```
81
+
HAL_IMAGE=quay.io/myorg/hal WILDFLY_IMAGE=quay.io/myorg/wildfly npm test ...
82
+
```
69
83
70
84
- For debugging purposes videos (and screenshots) of failed tests are stored after the test run (works only with chrome).
0 commit comments