@@ -6,7 +6,7 @@ inspect the corresponding results.
66Table of contents:
77
88* [ Preface] ( #preface )
9- * [ Prerequistes ] ( #prerequistes )
9+ * [ Prerequisites ] ( #prerequisites )
1010* [ Getting started] ( #getting-started )
1111* [ The supporting resources] ( #the-supporting-resources )
1212* [ Static, production build] ( #static-production-build )
@@ -25,6 +25,7 @@ Table of contents:
2525* [ For developers] ( #for-developers )
2626 * [ Adding your own configuration] ( #adding-your-own-configuration )
2727 * [ Testing] ( #testing )
28+ * [ Additional prerequisites] ( #additional-prerequisites )
2829 * [ Testing the production version] ( #testing-the-production-version )
2930 * [ Testing the development version] ( #testing-the-development-version )
3031
@@ -41,9 +42,10 @@ In order to be able to maintain several different configurations (or *flavours*)
4142Before launching or building the application, their contents need to be copied from the appropriate subdirectory of ` main/configs ` .
4243The instructions below explain when and how to use the ` select-config.cjs ` script for this purpose.
4344
44- ## Prerequistes
45+ ## Prerequisites
4546
4647* Node >= 18 with npm
48+ * A Linux platform with a bash shell
4749
4850## Getting started
4951
@@ -382,14 +384,28 @@ The easiest way to add your own configuration is:
382384
383385### Testing
384386
385- For testing with the provided configuration file, we use [ Cypress] ( https://www.cypress.io/ ) .
386-
387387> It is important to test the production version at least at the end of a development cycle.
388388
389389The development version might be tested repeatedly during development.
390390
391391Both the production version and the development version are tested from a non-empty path in the base URL.
392392
393+ #### Additional prerequisites
394+
395+ Testing uses [ Cypress] ( https://docs.cypress.io/app/get-started/why-cypress ) .
396+ The app will be installed with ` npm install ` as documented below, but you need to do take care of additional [ Linux prerequisites] ( https://docs.cypress.io/app/get-started/install-cypress#Linux-Prerequisites ) .
397+
398+ We instruct Cypress to use the Chrome browser, so you'll need it on your system. Installation example:
399+
400+ ``` bash
401+ sudo apt update
402+ sudo apt -y upgrade
403+ sudo apt -y autoremove
404+ cd ~
405+ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
406+ sudo apt -y install ./google-chrome-stable_current_amd64.deb
407+ ```
408+
393409#### Testing the production version
394410
3954111 . Build the production version of the Web application and serve it:
0 commit comments