Skip to content

Kradirhamik/automation-interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Automation Interview

Automation interview project.

Getting Started

Prerequisites

  • Node: ^14.16.0
  • Javascript: ^ECMAScript 5 OR Typescript: ^4.0.0
  • Puppeteer: ^6.0.0

Installation

npm install

Objectives

  • To write tests for scenario(s) present on .feature file provided at the beginning of test
  • Tests should:
    1. Be executed using node
    1. Compatible with 2 sites: "https://www.casinoeuro.com/en/" and "https://www.betsson.com/en" (English market suffices)
    1. 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

F.A.Q.

Node not found on Mac

  • 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/

Useful Links

Puppeteer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published