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: tests/System/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,9 @@ A couple of steps are needed before the CMS system tests can be executed on the
12
12
3. Copy the cypress.config.dist.js to cypress.config.js in the root of the joomla folder
13
13
4. Adjust the baseUrl in the cypress.config.js file, it should point to the Joomla base url
14
14
5. Adapt the env variables in the file cypress.config.js, they should point to the site, user data and database environment
15
-
6. Ensure the system has all the required dependencies according to the Cypress [documentation](https://docs.cypress.io/guides/getting-started/installing-cypress)
16
-
7. Run the command `npm run cypress:install`
15
+
6. In order to run the api tests you will need to change the value in your configuration.php for $secret to `tEstValue`
16
+
7. Ensure the system has all the required dependencies according to the Cypress [documentation](https://docs.cypress.io/guides/getting-started/installing-cypress)
17
+
8. Run the command `npm run cypress:install`
17
18
18
19
## Run the existing tests
19
20
Cypress has a nice gui which lists all the existing tests and is able to launch a browser where the tests are executed. To open the cypress gui, run the following command:
0 commit comments