Automation interview project.
- Node:
^14.16.0
- Javascript:
^ECMAScript 5
OR Typescript:^4.0.0
- Puppeteer:
^6.0.0
npm install
- To write tests for scenario(s) present on
.feature
file provided at the beginning of test - Tests should:
-
- Be executed using node
-
- Compatible with 2 sites: "https://www.casinoeuro.com/en/" and "https://www.betsson.com/en" (English market suffices)
-
- Passing without flakiness
- BONUS: Tests work and pass on both Desktop and Mobile platforms (via Puppeteer emulator)
- BONUS: to use Jest for execution and assertions
- Run, one by one, these lines:
sudo rm -f /usr/local/bin/node
sudo rm -f /usr/local/bin/npm
sudo rm -f /usr/local/bin/npx
sudo ln -s $(which node) /usr/local/bin/
sudo ln -s $(which npm) /usr/local/bin/
sudo ln -s $(which npx) /usr/local/bin/
- Repository: https://github.com/Kradirhamik/automation-interview/
- Node: https://nodejs.org/en/
- Javascript: https://www.javascript.com/
- Typescript: https://www.typescriptlang.org/
- Puppeteer: https://github.com/puppeteer/puppeteer
- Puppeteer API: https://github.com/puppeteer/puppeteer/blob/v6.0.0/docs/api.md