vikmaksymenko / banking-project-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Banking Project Test

This is a sample automation project for the XYZ Bank.

Prerequisites

  • Node 16.x of higher
  • npm 7.x or higher
  • Docker 20.x or higher
  • Java 8 or higher (for Allure)

Setup

npm install

Run Tests

npm test

Generate Allure Report

npm run report:generate 

Lint code

npm run lint

Note

The page object pattern was not used in this project on purpose. First of all, Cypress developer recommends not to use it. Secondly, for Cucumber + Cypress I prefer using Step pattern instead. The step definition files represent the app pages. Step definitions may be reusable both in features and in other step definitions. Finally, Chained Page Object pattern is hard to implement in Cypress due to its async nature. Also, we might face the circular dependency problem.

About


Languages

Language:TypeScript 65.3%Language:JavaScript 24.0%Language:Gherkin 10.7%