Skip to content

CCD-2008: Add @Ignore'd BEFTA scenarios validating Postcode field - #2909

Open
hemantt wants to merge 1 commit into
masterfrom
ccd-2008-postcode-value-tests
Open

CCD-2008: Add @Ignore'd BEFTA scenarios validating Postcode field#2909
hemantt wants to merge 1 commit into
masterfrom
ccd-2008-postcode-value-tests

CCD-2008: Add @Ignore'd BEFTA scenarios validating Postcode field acc…

46727fe
Select commit
Loading
Failed to load commit list.
hmcts-jenkins-a-to-c / Tests / Functional Test - preview failed Jun 15, 2026 in 0s

failed: 22, skipped: 33, passed: 696

failed: 22, skipped: 33, passed: 696

Details

F-1005: Global Search - Search cases.Successfully search for case with one of the new global search parameters

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains at least one fields from new global search screen].skipped
And the request [contains all the mandatory parameters].....................skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a positive response is received,.......................................skipped
And the response [has 200 return code],.....................................skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Successfully search for case with all of the new global search parameters

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains all of the fields from new global search screen]..skipped
And the request [contains all the mandatory parameters].....................skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a positive response is received,.......................................skipped
And the response [has 200 return code],.....................................skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Unsuccessful search for case with none of the new global search parameters

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains none of the fields from new global search screen].skipped
And the request [contains all the mandatory parameters].....................skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a negative response is received,.......................................skipped
And the response [has 400 return code],.....................................skipped
And the response [contains the error message 'At least one jurisdiction or case type must be provided in the search criteria'],.skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Unsuccessful search for case with invalid schema

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains at least one fields from new global search screen].skipped
And the request [contains all the mandatory parameters].....................skipped
And the request [contains an invalid schema]................................skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a negative response is received,.......................................skipped
And the response [has 400 return code],.....................................skipped
And the response [contains the error message 'Input not valid'],............skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Unsuccessful search for case with invalid global search parameters with an invalid user

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains at least one fields from new global search screen].skipped
And the request [contains all the mandatory parameters].....................skipped
And the request [contains a user that doesn't have access to the cases].....skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a positive response is received,.......................................skipped
And the response [has 200 return code],.....................................skipped
And the response [returns 0 cases],.........................................skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Successfully search for an updated case with the new values

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
And a successful call [to get a caseworker event token to update the case just created] as in [F-1005_GetCaseworkerUpdateToken].skipped
And a successful call [to update a case] as in [F-1005_UpdateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains the field that has been updated]..................skipped
And the request [contains all the mandatory parameters].....................skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a positive response is received,.......................................skipped
And the response [has 200 return code],.....................................skipped
And the response [returns the updated case],................................skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Successfully search for case using wildcards

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains one of the global search fields using a wildcard character].skipped
And the request [contains all the mandatory parameters].....................skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a positive response is received,.......................................skipped
And the response [has 200 return code],.....................................skipped
And the response [contains the case that has the value searched with the wildcards],.skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Successfully verifies the pagination

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
And a successful call [to create a case] as in [F-1005_CreateSecondCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains the sortCriteria].................................skipped
And the request [contains all the mandatory parameters].....................skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a positive response is received,.......................................skipped
And the response [has 200 return code],.....................................skipped
And the response [contains the cases in correct order],.....................skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Successfully searches across different Case Types

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
And a successful call [to create a case] as in [F-1005_CreateCaseMasterCaseType].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains two different Case Types].........................skipped
And the request [contains all the mandatory parameters].....................skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a positive response is received,.......................................skipped
And the response [has 200 return code],.....................................skipped
And the response [contains both cases],.....................................skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Successfully searches for a case that was modified by a callback

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
And a successful call [to create a case] as in [F-1005_CreateCaseWithCallback].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains the fields modified by the callback]..............skipped
And the request [contains all the mandatory parameters].....................skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a positive response is received,.......................................skipped
And the response [has 200 return code],.....................................skipped
And the response [contains the case modified by the callback],..............skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Unsuccessful search for case with neither CaseTypes or Jurisdictions in search criteria

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains at least one fields from new global search screen].skipped
And the request [contains neither CaseTypes nor Jurisdictions in search criteria].skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a negative response is received,.......................................skipped
And the response [has 400 return code],.....................................skipped
And the response [contains the error message 'At least one jurisdiction or case type must be provided in the search criteria'],.skipped
And the response has all other details as expected..........................skipped

F-1005: Global Search - Search cases.Successfully search for case with CaseTypes but not Jurisdictions in search criteria

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1005%20-%20GlobalSearch%20-%20Search%20cases/F-1005.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
And a successful call [to load all ref-data locations] as in [Get_RefData_BuildingLocations_Load_All].skipped
And a successful call [to load all ref-data services] as in [Get_RefData_OrgServices_Load_All].skipped
And a case that has just been created as in [F-1005_CreateCasePreRequisiteCaseworker].skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
Given a user with [an active profile in CCD]................................skipped
When a request is prepared with appropriate values..........................skipped
And the request [contains at least one fields from new global search screen].skipped
And the request [contains CaseTypes but not Jurisdictions in search criteria].skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store].skipped
Then a positive response is received,.......................................skipped
And the response [has 200 return code],.....................................skipped
And the response has all other details as expected..........................skipped

F-1006: Global Search - Access Control Tests.Returning all results from Global Search matching the users jurisdictions/case types

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation],(file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1006%20-%20GlobalSearch%20-%20AC%20tests/F-1006.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source,......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation],.failed
And a case that has just been created as in [F-1006_CreateCasePreRequisiteCaseworker],.skipped
And a successful call [to create another four cases] as in [F-1006_CreateCases],.skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created]..skipped
Given a user with [no field level RESTRICTED of security classification],...skipped
When a request is prepared with appropriate values,.........................skipped
And the request [contains relevant jurisdictions and case types],...........skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store],.skipped
Then a positive response is received,.......................................skipped
And the response [contains only PUBLIC cases],..............................skipped
And the response has all other details as expected..........................skipped

F-1006: Global Search - Access Control Tests.Returning all results from Global Search matching the users jurisdictions/case types and excluding restricted cases

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation],(file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1006%20-%20GlobalSearch%20-%20AC%20tests/F-1006.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source,......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation],.failed
And a case that has just been created as in [F-1006_CreateCasePreRequisiteCaseworker],.skipped
And a successful call [to create another four cases] as in [F-1006_CreateCases],.skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created]..skipped
Given a user with [no field level RESTRICTED of security classification],...skipped
And a case that has just been created as in [F-1006_CreateRestrictedCase],..skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created],.skipped
When a request is prepared with appropriate values,.........................skipped
And the request [contains relevant jurisdictions and case types],...........skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store],.skipped
Then a positive response is received,.......................................skipped
And the response [does not contain any restricted classification results],..skipped
And the response has all other details as expected..........................skipped

F-1006: Global Search - Access Control Tests.Returning all results from Global Search matching the users jurisdictions/case types, excluding fields without Read permissions

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation],(file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1006%20-%20GlobalSearch%20-%20AC%20tests/F-1006.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source,......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation],.failed
And a case that has just been created as in [F-1006_CreateCasePreRequisiteCaseworker],.skipped
And a successful call [to create another four cases] as in [F-1006_CreateCases],.skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created]..skipped
Given a user with [no READ access to a field],..............................skipped
When a request is prepared with appropriate values,.........................skipped
And the request [contains relevant jurisdictions and case types],...........skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store],.skipped
Then a positive response is received,.......................................skipped
And the response [does not contain any fields from the case data for which the user doesn't have Read access],.skipped
And the response has all other details as expected..........................skipped

F-1006: Global Search - Access Control Tests.Returning all results from Global Search matching the users jurisdictions/case types, excluding any case where the user doesn't have Read access for a search field that they supplied

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation],(file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1006%20-%20GlobalSearch%20-%20AC%20tests/F-1006.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source,......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation],.failed
And a case that has just been created as in [F-1006_CreateCasePreRequisiteCaseworker],.skipped
And a successful call [to create another four cases] as in [F-1006_CreateCases],.skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created]..skipped
Given a user with [no READ access to a field],..............................skipped
When a request is prepared with appropriate values,.........................skipped
And the request [contains relevant jurisdictions and case types],...........skipped
And the request [contains the search field with no R access],...............skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store],.skipped
Then a positive response is received,.......................................skipped
And the response [doesn't contain any cases],...............................skipped
And the response has all other details as expected..........................skipped

F-1006: Global Search - Access Control Tests.Returning all results from Global Search matching the users jurisdictions/case types and including restricted cases

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation],(file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1006%20-%20GlobalSearch%20-%20AC%20tests/F-1006.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source,......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation],.failed
And a case that has just been created as in [F-1006_CreateCasePreRequisiteCaseworker],.skipped
And a successful call [to create another four cases] as in [F-1006_CreateCases],.skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created]..skipped
Given a user with [field level RESTRICTED of security classification],......skipped
And a case that has just been created as in [F-1006_CreateRestrictedCase],..skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created],.skipped
When a request is prepared with appropriate values,.........................skipped
And the request [contains relevant jurisdictions and case types],...........skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store],.skipped
Then a positive response is received,.......................................skipped
And the response [contains the restricted case],............................skipped
And the response has all other details as expected..........................skipped

F-1007: GlobalSearch - AC Case Access Categories.Successfully search for case with the new global search parameters and case access category value starting with defined CaseAccessCategories pattern in the RolesToAccessProfiles tab, case should be returned

Could not verify the actual response against expected one. Below are the issues. Response code mismatch, expected: 201, actual: 400 ***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings. Map is expected to be null, but is actually not.
Stack trace
java.lang.AssertionError: Could not verify the actual response against expected one. Below are the issues.
Response code mismatch, expected: 201, actual: 400
***[actualResponse.headers.Content-Encoding is unexpected., actualResponse.headers.Transfer-Encoding is unexpected., actualResponse.headers.Vary is unexpected., actualResponse.headers contains a bad value: X-XSS-Protection: expected '1; mode=block' but got '0'] issues in headers are listed just as warnings.
Map is expected to be null, but is actually not.

	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertFalse(Assert.java:65)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.processAnyIssuesInResponse(DefaultBackEndFunctionalTestScenarioPlayer.java:646)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.verifyThatTheResponseHasAllTheDetailsAsExpected(DefaultBackEndFunctionalTestScenarioPlayer.java:614)
	at uk.gov.hmcts.befta.player.DefaultBackEndFunctionalTestScenarioPlayer.performAndVerifyTheExpectedResponseForAnApiCall(DefaultBackEndFunctionalTestScenarioPlayer.java:684)
	at ✽.a successful call [to create the global search index] as in [GlobalSearchIndexCreation](file:///opt/jenkins/workspace/_to_c_ccd-data-store-api_PR-2909/src/aat/resources/features/F-1007%20-%20GlobalSearch%20-%20AC%20Case%20Access%20Categories/F-1007.feature:6)
Standard out
Given an appropriate test context as detailed in the test data source.......passed
And a successful call [to create the global search index] as in [GlobalSearchIndexCreation].failed
Given a user with [an active profile in CCD]................................skipped
And a successful call [to create a case] as in [S-1007.1_CreateCase]........skipped
And a wait time of [5] seconds [to allow for Logstash to index the case just created].skipped
When a request is prepared with appropriate values,.........................skipped
And [the RoleToAccessProfiles tab contains CaseAccessCategory with pattern Civil Standard, Criminal Serious] in the context,.skipped
And [the case C1 contains a CaseAccessCategory field value of Civil/Standard/Legal] in the context,.skipped
And the request [contains all the mandatory parameters],....................skipped
And it is submitted to call the [Global Search] operation of [CCD Data Store],.skipped
Then a positive response is received,.......................................skipped
And the response [has 200 return code],.....................................skipped
And the response [contains case C1],........................................skipped
And the response has all other details as expected..........................skipped

more test results are not shown here, view them on Jenkins