Last active
August 29, 2015 14:10
-
-
Save aectann/e05be383b8a8c79cebe8 to your computer and use it in GitHub Desktop.
Harvest time entry.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var days = ['Monday','Tuesday','Wednesday','Thursday','Friday']; | |
var i; | |
for (i in days) { | |
var day = days[i]; | |
$('.test-'+day).last().trigger('click'); | |
$('.js-new-time-entry').last().trigger('click'); | |
$('#entry-duration').last().val('7.6'); | |
$('.js-save').trigger('click'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment