A cypress automation that would fill in the beeline / fieldglass timesheets.
The test suite is driven by the beeline config / fieldglass config file.
# Copy the cypress/fixtures/config.json to my_fixtures/config.json and make necessary edits.
export TIMESHEET="fieldglass" # or beeline
yarn ${TIMESHEET} -- --config fixturesFolder=my_fixtures/
export TIMESHEET="fieldglass" # or beeline
## Create the config files in my_fixtures folder
## Beeline timesheet
docker run --rm \
-v $PWD/my_fixtures:/fixtures \
-v $PWD/videos:/videos \
-v $PWD/screenshots:/screenshots \
sabithksme/timesheet:latest yarn ${TIMESHEET} --config "fixturesFolder=/fixtures,videosFolder=/videos,screenshotsFolder=/screenshots"