Skip to content

Commit 9002a3b

Browse files
authored
[4.4] Readme (#40407)
add point 6 to the instructions for api tests
1 parent 24b80c3 commit 9002a3b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/System/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ A couple of steps are needed before the CMS system tests can be executed on the
1212
3. Copy the cypress.config.dist.js to cypress.config.js in the root of the joomla folder
1313
4. Adjust the baseUrl in the cypress.config.js file, it should point to the Joomla base url
1414
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`
1718

1819
## Run the existing tests
1920
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

Comments
 (0)