Skip to content

sks/timesheet

Repository files navigation

Timesheet Autofiller

Build Status

A cypress automation that would fill in the beeline / fieldglass timesheets.

Usage

The test suite is driven by the beeline config / fieldglass config file.

From source code

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

Using Docker

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"