badhan-web repository consists of the code for the main frontend for the android app and website of Badhan, BUET Zone. This repository is a part of the Badhan, BUET Zone Github Organization.
- Cypress
Welcome to Our E2E UI testing Repository. We present our end to end UI testing code. The code automatically tests all UI features of our main frontend. The E2E testing is implemented using Cypress.
A video demonstration can be found in the following link:
The code is currently not part of any CI/CD platform. We are hoping to get this code to be part of the CI/CD pipeline of the deployment of the main frontend in future.
-
Install Node.js.
-
Clone this repository:
git clone https://github.com/Badhan-BUET-Zone/badhan-web
-
Run
npm i
-
Get the
env.testing
file from our Super Admin and put it inenv
folder -
Change the line
import env from '../../env/env.development'
of/cypress/plugins/env.js
toimport env from '../../env/env.testing'
-
Run
npm run cypress:open