edithours Tests

Each of the tests below relates to edithours test cases

Table 12. edithours Test Cases

TESTCASEEVENTIDACTIONEXPECTED_RESULTS
edithours1hit "view/edit hours" button, no client selectedwarning dialog box about having to select a client
edithours2hit "view/edit hours" button, client selectedview/edit hours form search page returned
edithours3in search, set supervisor to "any", client to "any", approved to "any", hit "search"all hours ever logged returned
edithours4in search, set supervisor to a specific supervisor, client to "any", approved to "any"all hours for a particular supervisor returned
edithours5in search, set supervisor to a specific supervisor, client to "any", approved to "no"all unapproved hours for a supervisor returned
edithours6in search, set supervisor to a specific supervisor, client to a specific client, approved to "no"all unapproved hours for a supervisor returned for a specifi client
edithours7select "any" for all pull down fields, enter in a start dateany hours logged on or after the date entered are returned
edithours8select "any" for all pull down fields, enter in a stop dateany hours logged up to the stop date are returned
edithours9select "any" for all pull down fields, enter in a stop and start dateany hours logged on and between the dates are returned
edithours10enter a specific job id, all fields blank and pull downs set to "any"hours for a particular job are returned
edithours11enter in a specific username, all fields blank and pull downs set to "any"hours for a particular user are returned
edithours12multiple fields fillewd in and pulls downs changeddata returned in parameters entered
edithours13select "short" form for multiple hours returnedlist of hours matching search returned, can click on descriptions to edit record
edithours14in details, change multiple fields and hit "update"data changed
edithours15in details, change job number and hit "update"job logged under changed
edithours16in details, change description and hit "update"data changed
edithours17in details, change comments and hit "update"data changed
edithours18in details, as supervisor set approved to "yes" and click "update"job is approved, can't be edited anymore
edithours19in details, click "delete"job is deleted, cannot be edited, approved or returned with a view/edit hours search