Welcome to the client side of our project. This repository would encompass of a few things, particularly the following:
- Client WebApp
- Testings
Here are the steps to load up the web-application:
- Enter
cd chat_function
- Run
npm install
- Run
npm start
- This will load up the project on your browser.
In the chat_function, you will file -> index.html
This is the file that we're running on the browser, it calls the following js scripts:
- ./src/js/sdkSampleApp-noLoader.js
- ./src/js/components/connection/connectionCmp.js
- ./src/js/components/contacts/contactsCmp.js
- ./src/js/components/contacts/contactCmp.js
- ./src/js/components/conversations/conversationsCmp.js
- ./src/js/components/conversations/conversationCmp.js
- ./src/js/components/conversations/messageCmp.js
- ./src/js/components/contoller/controllerCmp.js
Each of these scripts will contain the code that has been changed and ammended such that it runs the program, the CSS of each page can be found in the respective folders.
Here are the steps to execute the testing.
Selenium test:
- Change working directory to
./escproject_testing
- Change the path of the webdriver to the path that you have downloaded the webdriver for Selenium
- While running
npm start
for the web-application, run Injection_Test.java or SpamChat.java or SubmitButtTest.java