|
@@ -59,4 +59,28 @@ You can now enter the application at
|
59
|
59
|
* user: `admin@admin.admin`
|
60
|
60
|
* password: `admin@admin.admin`
|
61
|
61
|
|
|
62
|
+----
|
|
63
|
+
|
|
64
|
+## Running tests with cypress ##
|
|
65
|
+
|
|
66
|
+----
|
|
67
|
+
|
|
68
|
+## Installation of cypress: Automated script for easy setup ##
|
|
69
|
+
|
|
70
|
+This script check if nodejs is installed (npm is necessary to install Cypress), if file package.json and cypress.json exist in 'functionnal_tests' folder. if not the script install necessary file and install Cypress.
|
|
71
|
+
|
|
72
|
+ ./install_cypress.sh
|
|
73
|
+
|
|
74
|
+## Run tests with command line ##
|
|
75
|
+
|
|
76
|
+ cd functionnal_tests/
|
|
77
|
+ ./node_modules/.bin/cypress run
|
|
78
|
+
|
|
79
|
+##Run tests with cypressgui ##
|
|
80
|
+
|
|
81
|
+Open Cypress with graphical interface
|
|
82
|
+
|
|
83
|
+ cd functionnal_tests/
|
|
84
|
+ ./node_modules/.bin/cypress open
|
|
85
|
+
|
62
|
86
|
|