- All the tests should be created in e2e folder.
- All page objects will be create in page-objects folder. It is good to create further sub-folder if there are multiple pages.
- All specs should be created under specs folder. Again, sub-folders can be created based on the related specs.
- All fixtures should be created in fixtures folder. Create sub-folders for related jsons.
- Any custom commands should be written in command.ts
- All file names should be kebab-case. example: google-search.page.ts
- The page-objects files should be ending with .page.ts
- The specs files should be ending with .specs.js
- Run npm install.
npm i
- npm run start