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
- Host: GitHub
- URL: https://github.com/sks/timesheet
- Owner: sks
- Created: 2019-06-07T19:33:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T05:49:55.000Z (over 2 years ago)
- Last Synced: 2025-01-22T16:31:17.675Z (4 months ago)
- Topics: automation, cypress, fieldglass, javascript, timesheet, timesheets
- Language: JavaScript
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Timesheet Autofiller
[](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"
```