diff --git a/test_codecept/ngIntegration/tests/features/hearings/hearingTabHearingActions.feature b/test_codecept/ngIntegration/tests/features/hearings/hearingTabHearingActions.feature index ca409a9ed7..148806b3ac 100644 --- a/test_codecept/ngIntegration/tests/features/hearings/hearingTabHearingActions.feature +++ b/test_codecept/ngIntegration/tests/features/hearings/hearingTabHearingActions.feature @@ -42,67 +42,67 @@ Feature: Hearings: Hearings tab Hearing action based on roles | hearing-viewer | View details | | listed-hearing-viewer | View details | - Scenario: Hearing actions with status AWAITING_HEARING_DETAILS - Given I set MOCK with user details - | roles | caseworker-privatelaw,caseworker-privatelaw-courtadmin,case-allocator,hearing-manager | - | roleCategory | LEGAL_OPERATIONS | - - # Given I set MOCK person with user "IAC_CaseOfficer_R2" and roles ",task-supervisor,case-allocator" - - Given I set MOCK case "hearingCase" details with reference "Hearing_case" - # Given I set MOCK case details "WA_Case" property "jurisdiction.id" as "IA" - # Given I set MOCK case details "WA_Case" property "case_type.id" as "Asylum" - Given I set mock case hearings - | hmcStatus | hearingType | hearingRequestDateTime | lastResponseReceivedDateTime | hearingDaySchedule.hearingStartDateTime | hearingDaySchedule.hearingEndDateTime | - | LISTED | TEST_TYPE | -3 | 0 | -3 | 2 | - | COMPLETED | TEST_TYPE | -5 | -1 | 2 | 4 | - | CANCELLED | TEST_TYPE | -5 | -1 | 2 | 4 | - | AWAITING_ACTUALS | TEST_AWAITING_HEARING | -5 | -1 | 2 | 4 | - - Given I start MockApp - Given I navigate to home page - When I click on primary navigation header tab "Case list", I see selected tab page displayed - - When I open first case in case list page - Then I see case details page - Then I see case details tab label "Hearings" is displayed is "true" - When I click tab with label "Hearings" in case details page, to see element with css selector "exui-case-hearings" - Then I am on hearings tab page - Then I see hearings table for "Current and upcoming" in hearings tab page - When In hearings tab, I click action "Add or edit" for hearing "TEST_AWAITING_HEARING" under table "Current and upcoming" - - Then I see hearing actuals page - Then I see hearing actuals page with details - |field|value| - |Hearing date|| - - Then I see hearing actuals update link - When I click hearing actuals update link - - Then I see Hearing stage and result update page - - When In Hearing stage and result page, I set "Hearing stage" to "Breach 1" - When In Hearing stage and result page, I set "Hearing result" to "Heard" - When In Hearing stage and result update page, click save and continue - - Then I see hearing actuals page - Then I see hearing actuals page with details - | field | value | - | Hearing stage | Breach 1 | - | Hearing result | COMPLETED | - - When In hearing actuals page, I click continue - Then I am hearing actuals check your answers page - Then I validate hearing actuals details in CYA - | field | value | - | Paper hearing | Yes | - | Hearing stage | Breach 1 | - | Hearing result | COMPLETED | - - When I click Submit hearing details button in hearing actuals CYA - Then I see hearing details success confirmation message "You have successfully submitted the hearing details." - # Then In hearings tab, I see hearing "TEST_TYPE" with values under "Current and upcoming" - # | Hearing date | Status | Actions | - # | -3 | LISTED | | + # Scenario: Hearing actions with status AWAITING_HEARING_DETAILS + # Given I set MOCK with user details + # | roles | caseworker-privatelaw,caseworker-privatelaw-courtadmin,case-allocator,hearing-manager | + # | roleCategory | LEGAL_OPERATIONS | + + # # Given I set MOCK person with user "IAC_CaseOfficer_R2" and roles ",task-supervisor,case-allocator" + + # Given I set MOCK case "hearingCase" details with reference "Hearing_case" + # # Given I set MOCK case details "WA_Case" property "jurisdiction.id" as "IA" + # # Given I set MOCK case details "WA_Case" property "case_type.id" as "Asylum" + # Given I set mock case hearings + # | hmcStatus | hearingType | hearingRequestDateTime | lastResponseReceivedDateTime | hearingDaySchedule.hearingStartDateTime | hearingDaySchedule.hearingEndDateTime | + # | LISTED | TEST_TYPE | -3 | 0 | -3 | 2 | + # | COMPLETED | TEST_TYPE | -5 | -1 | 2 | 4 | + # | CANCELLED | TEST_TYPE | -5 | -1 | 2 | 4 | + # | AWAITING_ACTUALS | TEST_AWAITING_HEARING | -5 | -1 | 2 | 4 | + + # Given I start MockApp + # Given I navigate to home page + # When I click on primary navigation header tab "Case list", I see selected tab page displayed + + # When I open first case in case list page + # Then I see case details page + # Then I see case details tab label "Hearings" is displayed is "true" + # When I click tab with label "Hearings" in case details page, to see element with css selector "exui-case-hearings" + # Then I am on hearings tab page + # Then I see hearings table for "Current and upcoming" in hearings tab page + # When In hearings tab, I click action "Add or edit" for hearing "TEST_AWAITING_HEARING" under table "Current and upcoming" + + # Then I see hearing actuals page + # Then I see hearing actuals page with details + # |field|value| + # |Hearing date|| + + # Then I see hearing actuals update link + # When I click hearing actuals update link + + # Then I see Hearing stage and result update page + + # When In Hearing stage and result page, I set "Hearing stage" to "Breach 1" + # When In Hearing stage and result page, I set "Hearing result" to "Heard" + # When In Hearing stage and result update page, click save and continue + + # Then I see hearing actuals page + # Then I see hearing actuals page with details + # | field | value | + # | Hearing stage | Breach 1 | + # | Hearing result | COMPLETED | + + # When In hearing actuals page, I click continue + # Then I am hearing actuals check your answers page + # Then I validate hearing actuals details in CYA + # | field | value | + # | Paper hearing | Yes | + # | Hearing stage | Breach 1 | + # | Hearing result | COMPLETED | + + # When I click Submit hearing details button in hearing actuals CYA + # Then I see hearing details success confirmation message "You have successfully submitted the hearing details." + # # Then In hearings tab, I see hearing "TEST_TYPE" with values under "Current and upcoming" + # # | Hearing date | Status | Actions | + # # | -3 | LISTED | | \ No newline at end of file diff --git a/test_codecept/ngIntegration/tests/features/workallocation2/taskEventCompletion/taskEventCompletion.feature b/test_codecept/ngIntegration/tests/features/workallocation2/taskEventCompletion/taskEventCompletion.feature index 9ba74be277..77f1136cd8 100644 --- a/test_codecept/ngIntegration/tests/features/workallocation2/taskEventCompletion/taskEventCompletion.feature +++ b/test_codecept/ngIntegration/tests/features/workallocation2/taskEventCompletion/taskEventCompletion.feature @@ -176,57 +176,57 @@ Feature: WA Release 2: Case events and Task completion and states when task_requ - Scenario Outline: Task multiple tasks found assigned to this user - Given I set MOCK with user "IAC_CaseOfficer_R2" and roles ",task-supervisor,case-allocator" with reference "userDetails" + # Scenario Outline: Task multiple tasks found assigned to this user + # Given I set MOCK with user "IAC_CaseOfficer_R2" and roles ",task-supervisor,case-allocator" with reference "userDetails" - Given I set MOCK case "defaultCase" details with reference "WA_Case" + # Given I set MOCK case "defaultCase" details with reference "WA_Case" - Given I set MOCK case tasks with userDetails from reference "userDetails" - | id | task_title | assignee | assigneeName | created_date | due_date | permissions | major_priority | minor_priority | warnings | description | - | 08a3d216-task-4e92-a7e3-ca3661e6be87 | Task 1 | thissession | Test user | -10 | -1 | UnAssign,Assign,Own,Cancel | 2000 | | true | Click link to proceed to next step [test link next step](/case/case-details/${[case_id]}) | - | 18a3d216-task-4e92-a7e3-ca3661e6be87 | Task 2 | thissession | Test user | -10 | 0 | UnAssign,Assign,Own,Cancel | 2000 | | true | Click link to proceed [next step 1](/case/case-details/${[case_id]}) or \n Click link to proceed to [next step 2](/case/case-details/${[case_id]}/${[id]}/testaction2) \n Click link to proceed to [next step 3](/case/testroute?caseId=${[case_id]}/${[id]}/testaction2) | + # Given I set MOCK case tasks with userDetails from reference "userDetails" + # | id | task_title | assignee | assigneeName | created_date | due_date | permissions | major_priority | minor_priority | warnings | description | + # | 08a3d216-task-4e92-a7e3-ca3661e6be87 | Task 1 | thissession | Test user | -10 | -1 | UnAssign,Assign,Own,Cancel | 2000 | | true | Click link to proceed to next step [test link next step](/case/case-details/${[case_id]}) | + # | 18a3d216-task-4e92-a7e3-ca3661e6be87 | Task 2 | thissession | Test user | -10 | 0 | UnAssign,Assign,Own,Cancel | 2000 | | true | Click link to proceed [next step 1](/case/case-details/${[case_id]}) or \n Click link to proceed to [next step 2](/case/case-details/${[case_id]}/${[id]}/testaction2) \n Click link to proceed to [next step 3](/case/testroute?caseId=${[case_id]}/${[id]}/testaction2) | - # Given I set MOCK case details with reference "caseDetails" - Given I set MOCK case list values - | case_id | case_fields.[CASE_REFERENCE] | case_fields_formatted.[CASE_REFERENCE] | - | 1234567812345678 | 1234567812345678 | 1234567812345678 | - | 1234567812345679 | 1234567812345679 | 1234567812345679 | - Given I set MOCK case details "WA_Case" property "jurisdiction" as "IA" - Given I set MOCK case details "WA_Case" property "case_type" as "Asylum" - Given I set MOCK case details "WA_Case" trigger id "text" trigger name "Test event" + # # Given I set MOCK case details with reference "caseDetails" + # Given I set MOCK case list values + # | case_id | case_fields.[CASE_REFERENCE] | case_fields_formatted.[CASE_REFERENCE] | + # | 1234567812345678 | 1234567812345678 | 1234567812345678 | + # | 1234567812345679 | 1234567812345679 | 1234567812345679 | + # Given I set MOCK case details "WA_Case" property "jurisdiction" as "IA" + # Given I set MOCK case details "WA_Case" property "case_type" as "Asylum" + # Given I set MOCK case details "WA_Case" trigger id "text" trigger name "Test event" - Given I set MOCK user with reference "userDetails" roleAssignmentInfo - | isCaseAllocator | jurisdiction | baseLocation | - | true | IA | 12345 | + # Given I set MOCK user with reference "userDetails" roleAssignmentInfo + # | isCaseAllocator | jurisdiction | baseLocation | + # | true | IA | 12345 | - Given I set MOCK task required for event as "true" - Given I set MOCK tasks required for event - | assignee | task_state | - | 41a90c39-d756-4eba-8e85-5b5bf56b31f5 | assigned | - | 41a90c39-d756-4eba-8e85-5b5bf56b31f5 | assigned | + # Given I set MOCK task required for event as "true" + # Given I set MOCK tasks required for event + # | assignee | task_state | + # | 41a90c39-d756-4eba-8e85-5b5bf56b31f5 | assigned | + # | 41a90c39-d756-4eba-8e85-5b5bf56b31f5 | assigned | - Given I start MockApp - Given I navigate to home page - When I click on primary navigation header tab "Case list", I see selected tab page displayed + # Given I start MockApp + # Given I navigate to home page + # When I click on primary navigation header tab "Case list", I see selected tab page displayed - When I open first case in case list page - Then I see case details page - Then I see case details tab label "Tasks" is displayed is "true" - When I click tab with label "Tasks" in case details page + # When I open first case in case list page + # Then I see case details page + # Then I see case details tab label "Tasks" is displayed is "true" + # When I click tab with label "Tasks" in case details page - Then I validate case details task tab page is displayed + # Then I validate case details task tab page is displayed - When I start case next step "Test event" - Then I see task event validation error page - | Summary header | There is a problem | - | Summary message | Multiple tasks exist | - | Details header | Multiple tasks exist | - | Details message | You're starting work which could complete more than one of the active tasks for this case. | - Examples: - | roles | - | caseworker-ia,caseworker-ia-caseofficer,caseworker-ia-admofficer,task-supervisor | + # When I start case next step "Test event" + # Then I see task event validation error page + # | Summary header | There is a problem | + # | Summary message | Multiple tasks exist | + # | Details header | Multiple tasks exist | + # | Details message | You're starting work which could complete more than one of the active tasks for this case. | + # Examples: + # | roles | + # | caseworker-ia,caseworker-ia-caseofficer,caseworker-ia-admofficer,task-supervisor |