An open API service indexing awesome lists of open source software.

https://github.com/sks/timesheet

Automate filling in the timesheet
https://github.com/sks/timesheet

automation cypress fieldglass javascript timesheet timesheets

Last synced: 2 months ago
JSON representation

Automate filling in the timesheet

Awesome Lists containing this project

README

        

# Timesheet Autofiller

[![Build Status](https://travis-ci.org/sks/timesheet.svg?branch=master)](https://travis-ci.org/sks/timesheet)

A cypress automation that would fill in the [beeline](https://www.beeline.com/) / [fieldglass](https://www.fieldglass.net) timesheets.

## Usage

The test suite is driven by the [beeline config](cypress/fixtures/config.json) / [fieldglass config](./cypress/fixtures/fieldglass_config.json) file.

### From source code

```sh
# 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

```sh

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"
```