Skip to content
Snippets Groups Projects
Commit 80bb37bf authored by Odin K. Henriksen's avatar Odin K. Henriksen
Browse files

Information about how to start the tests

parent 19f76c06
Branches
No related tags found
1 merge request!2Merge react-branch into main.
...@@ -154,7 +154,7 @@ To use testing: ...@@ -154,7 +154,7 @@ To use testing:
1. Create a file named testauth.txt in directory /dcsg2900-threattotal 1. Create a file named testauth.txt in directory /dcsg2900-threattotal
2. Start the backend main.go file using go run main.go 2. Start the backend main.go file using go run main.go
3. Start the frontend webserver using npm start in directory /dcsg2900-threattotal/threat-total 3. Start the frontend webserver using npm start in directory /dcsg2900-threattotal/threat-total
4. Log to the application at localhost:3000 4. Login to the application at localhost:3000
5. Maneuver to the local storage tab of your webbrowserver in google chrome it is located under application -> local storage. 5. Maneuver to the local storage tab of your webbrowserver in google chrome it is located under application -> local storage.
6. Copy the value of the userAuth token stored in local storage. 6. Copy the value of the userAuth token stored in local storage.
7. Paste the value of the userAuth token into the .txt file created named testauth.txt. 7. Paste the value of the userAuth token into the .txt file created named testauth.txt.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment