End to End Test for ngalambackend.org Website
Clone repository to your local computer from private repository (only crew can access)
Remember, after clone make sure you have checkout to develop
branch. And also, Don't forget to read documentation on README.md
- Clone this repo with, following this command :
git clone https://github.com/ngalambackend/ngamback.git
- Install depedency with
npm install
- Run the automate test, following this command :
Or default command :
npm run cy:open
Or you can run the single spec like this :npx cypress open
npx cypress run --spec="cypress/integration/$.spec.js"
- Make sure that you use git-flow to be more organized in the application work. You can use GitKraken or Sourcetree if it is more convenient with GUI and if it is convenient with the terminal you can visit the following page.
- Create the product folder which you are working on. Example CRM Product, you can create on
integration/crm
. Which meansCRM
is your folder. You can see the folder structure like this picture : - After that, you can create an automation test folder which you need. Folder structure :
- Finally, you can create an automatic test file for your next work as seen in the following image: