- Node.js
Install at least v16.20.2 or higher as this is the oldest active LTS version.
Only releases that are or will become an LTS release are officially supported.
- VSCode or Jetbrains Aqua
- Yarn
- Clone this project.
- Open the project in VSCode/Aqua.
- Open the terminal in VSCode/Aqua.
- Execute
yarn
to install the node modules.
- Edit your voilĂ .id account at
./tests/data/login.data.js
:
export const VALID_LOGIN_DATA = {
email: "yourmail@gmail.com",
password: "yourPassword"
}
- Execute
yarn run cy:open
to open Cypress Studio.
- Execute
yarn run cy:run
to run all tests
- Login Test
![Login Test Login Test](https://raw.githubusercontent.com/oimtrust/voilatest/main/images/login-test.png)
- Create Transaction Test
![Create Transaction Test Create Transaction Test](https://raw.githubusercontent.com/oimtrust/voilatest/main/images/create-transaction.png)
- All Specs
![All Specs All Specs](https://raw.githubusercontent.com/oimtrust/voilatest/main/images/all-spec.png)