DFO-Ocean-Navigator / Ocean-Data-Map-Project

The Ocean Navigator is an online tool that is used to help visualise scientific research data. a users guide is available at https://dfo-ocean-navigator.github.io/Ocean-Navigator-Manual/ and the tool is live at
http://navigator.oceansdata.ca
GNU General Public License v3.0
50 stars 20 forks source link

Test scripts #1155

Open Neha-Thakare1995 opened 5 months ago

Neha-Thakare1995 commented 5 months ago

Background

Issue: The front-end components of the Navigator must be manually tested when submitting new changes and prior to each release. This leads to missed bugs and broken functionality that goes unnoticed.

Why did you take this approach?

Automating the manual work and creating the test scripts to test.

Anything in particular that should be highlighted?

Command to run:

ubuntu@u2204-dev:~/onav-cloud/Ocean-Data-Map-Project/oceannavigator/frontend$ xvfb-run -a node name_of_script.js

Screenshot(s)

Checks

Hint To run all python unit tests run the following command from the root repository directory:

bash run_python_tests.sh