Design Page Objects and run Tests
Clone the repository
git clone https://github.com/bwstays/bwstaystestInstall dependencies
Install Node modules with command : npm iRun test
Test Execution Sequentially (OR) Parallel
npm run test (OR) npm test #For Parallel execution
npm test tests\E2E\example.test.js #For running individual testFolder Structure
├── ...
│
├── pages # Generic functionality for tests
│ |
│ ├── BasePage.js # Base page testing functionality
│ ├── HomePage.js # Landing page testing functionality
│
├── tests # Test suite
│ ├── E2E\example.test.js # Automated Test Script
│
│── config.js # Confiuguration JavSacript File
│
│
├── utils # Utility files for testing
│ ├──locators.js # HTML and CSS identifier for elements to test
│
│