Skip to content

Automated script to fill missing hours in Hilanet

Notifications You must be signed in to change notification settings

dvir-levy/fill-me-baby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fill me baby

Automated script to fill missing hours in Hilanet hours reporting system by Cypress.io tool.

Pre conditions:

  • Node js 14+
  • npm 8+

Instructions:

  1. Clone this repo to your local machine

  2. Use npm i to install project deps

  3. Create local secrets file that called .env in the root location for your personal credentials

  4. Inside .env insert the env vars below:

    USER_ID={{YOUR USER ID}}
    PASSWORD={{YOUR PASSWORD}}
    
  5. In your terminal use npm run fill-me-baby to fill your missing hours.

    You can also use npm run fill-me-baby:open to see the automated script running in the browser by Cypress runner tool.

Note:: The defaults hours are 9:00 - 18:00, to change this value edit the startHour and endHour inside cypress.json configuration file in the root location or by adding config flags to the npm script -> npm run fill-me-baby --env startHour=1030 --env endHour=1915

About

Automated script to fill missing hours in Hilanet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 74.2%
  • JavaScript 25.8%