Skip to content

Instantly share code, notes, and snippets.

@chaim1221
Created February 12, 2017 05:58
Show Gist options
  • Save chaim1221/059dfcb20df56d8ba8162492136f15c6 to your computer and use it in GitHub Desktop.
Save chaim1221/059dfcb20df56d8ba8162492136f15c6 to your computer and use it in GitHub Desktop.
PERSONS TESTS
create person -- works
save person with new info after create -- works
return to home page, persons page and can see person in list -- works
create new person again -- works
can see both persons in list -- works
make one person a worker -- works
can edit worker information after create -- works
return to home page, persons page and can see all people in list -- works
created worker has a worker id -- works
filter by workers can only see worker -- works
filter by not workers can only see person who is not a worker -- works
make second person a worker -- works
can update worker information after creating second worker -- works
return to home page, persons page, and can see people in list -- works
both people now have worker ids -- works
worker ids are automatically sequential -- works
filter by workers shows both workers -- works
filter by not workers shows none -- works
update second worker to sanctioned/expelled -- works
create new event for second worker -- works
add attachment to new event after created -- works
END PERSONS TESTS
ACTIVITIES TESTS
create new activity -- works
update activity after create -- works
return to home page, activities page and can see activity -- works
worker signin to activity -- works
return to home page, activities page, activity and can see worker activitySignin -- works
sign in second worker -- works
return to home page, activities page, activity and can see second worker -- works
create second activity -- works
update second activity after create -- works
worker signin to second activity -- works
return to home page, activities page, and can see two activities -- works
first activity has two signins and second activity has one -- works
END ACTIVITIES TESTS
WORKER SIGNIN TESTS
sign in active worker -- works
sign in sanctioned worker -- works, but warning shown (as expected)
delete a workersignin -- fails (as expected, they are on the daily list)
remove worker from daily list and delete signin -- NOT AVAILABLE (X has disappeared)
END WORKER SIGNIN TESTS
EMPLOYERS/WORKORDERS TESTS
create employer -- works
update employer after created -- works
return to home page, employers page and can see employer record -- works
create second employer -- works
return to home page, employers page and can see both records -- works
create new work order for first employer, copying employer info -- works
create two work assignments for work order -- works
click on list work assignments and can activate order -- works
return to home page, employers page, second employer, no work order exists -- works
return to home page, employers page, first employer, and can see work order -- works
return to home page, workorders page, and can see work order -- works
print order -- fails: {"status":"Machete.Web.Controllers.WorkOrderController Exception: \"c:\\git\\Machete\\Machete.Web\\Views\\WorkOrder\\View.cshtml(80): error CS1061: \u0027Machete.Domain.WorkAssignment\u0027 does not contain a definition for \u0027getMinEarnings\u0027 and no extension method \u0027getMinEarnings\u0027 accepting a first argument of type \u0027Machete.Domain.WorkAssignment\u0027 could be found (are you missing a using directive or an assembly reference?)\"\r\nInnermost exception: \"c:\\git\\Machete\\Machete.Web\\Views\\WorkOrder\\View.cshtml(80): error CS1061: \u0027Machete.Domain.WorkAssignment\u0027 does not contain a definition for \u0027getMinEarnings\u0027 and no extension method \u0027getMinEarnings\u0027 accepting a first argument of type \u0027Machete.Domain.WorkAssignment\u0027 could be found (are you missing a using directive or an assembly reference?)\"","rtnMessage":"Machete.Web.Controllers.WorkOrderController Exception: \"c:\\git\\Machete\\Machete.Web\\Views\\WorkOrder\\View.cshtml(80): error CS1061: \u0027Machete.Domain.WorkAssignment\u0027 does not contain a definition for \u0027getMinEarnings\u0027 and no extension method \u0027getMinEarnings\u0027 accepting a first argument of type \u0027Machete.Domain.WorkAssignment\u0027 could be found (are you missing a using directive or an assembly reference?)\"\r\nInnermost exception: \"c:\\git\\Machete\\Machete.Web\\Views\\WorkOrder\\View.cshtml(80): error CS1061: \u0027Machete.Domain.WorkAssignment\u0027 does not contain a definition for \u0027getMinEarnings\u0027 and no extension method \u0027getMinEarnings\u0027 accepting a first argument of type \u0027Machete.Domain.WorkAssignment\u0027 could be found (are you missing a using directive or an assembly reference?)\"","modelErrors":"","jobSuccess":false}
google map -- works
send email -- fails: {"status":"Machete.Web.Controllers.EmailController Exception: \"Object reference not set to an instance of an object.\"\r\nInnermost exception: \"Object reference not set to an instance of an object.\"","rtnMessage":"Machete.Web.Controllers.EmailController Exception: \"Object reference not set to an instance of an object.\"\r\nInnermost exception: \"Object reference not set to an instance of an object.\"","modelErrors":"","jobSuccess":false}
END EMPLOYERS/WORKORDER TESTS
DISPATCH TESTS
click on home page, dispatch and can see both workers signed in -- works (but one is sanctioned!)
click on daily list -- works
change order of workers in list -- works
assign sanctioned worker to work assignment -- works... (?)
assign not sanctioned worker to work assignment -- works
remove assignment -- works
clear -- does not appear to do anything
requested active -- not tested
skilled active -- not tested
open active -- works
assigned active -- works
all completed -- not tested (cannot force completion of work assignment prior to time indicated)
all -- works
END DISPATCH TESTS
EMAIL TESTS
create new email -- does nothing
END EMAIL TESTS
REPORTS TESTS
daily summary report -- works
weekly summary report -- works
monthly summary report -- works
monthly summary drilldown -- works
weekly employers report -- works
weekly employers report drilldown -- works
monthly employers report -- not tested
yearly employers report -- not tested
weekly new workers report -- does not work, no error shown
monthly new workers report -- does not work, no error shown
yearly new workers report -- not tested
weekly activities report -- does not work, no error shown
monthly activities report -- does not work, no error shown
yearly activities report -- not tested
ALL reports spreadsheets -- not tested
END REPORTS TESTS
@jcii
Copy link

jcii commented Feb 14, 2017

(The TL;DR version)

WORKER SIGNIN TESTS
delete a workersignin -- fails (as expected, they are on the daily list)
remove worker from daily list and delete signin -- NOT AVAILABLE (X has disappeared)
END WORKER SIGNIN TESTS

DISPATCH TESTS
click on home page, dispatch and can see both workers signed in -- works (but one is sanctioned!)
assign sanctioned worker to work assignment -- works... (?)
clear -- does not appear to do anything
requested active -- not tested
skilled active -- not tested
all completed -- not tested (cannot force completion of work assignment prior to time indicated)
END DISPATCH TESTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment