From a3e0c1180780c9925732d19a457c2a0be5d320d9 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Tue, 25 Jun 2024 12:58:21 +0100 Subject: [PATCH 01/37] fix Fortify gradle task --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index afdda76c6..7a93ee786 100644 --- a/build.gradle +++ b/build.gradle @@ -334,7 +334,7 @@ dependencies { testImplementation group: 'io.rest-assured', name: 'rest-assured', version: versions.restAssured testImplementation group: 'io.rest-assured', name: 'json-path', version: versions.restAssured testImplementation group: 'io.rest-assured', name: 'xml-path', version: versions.restAssured - testCompile 'com.github.hmcts:fortify-client:1.3.0:all' + testImplementation 'com.github.hmcts:fortify-client:1.3.0:all' integrationTestImplementation sourceSets.main.runtimeClasspath integrationTestImplementation sourceSets.test.runtimeClasspath @@ -390,7 +390,7 @@ tasks.withType(Test) { } task fortifyScan(type: JavaExec) { - mainClass = "uk.gov.hmcts.fortifyclient.FortifyClientMainApp" + main = "uk.gov.hmcts.fortifyclient.FortifyClientMainApp" classpath += sourceSets.test.runtimeClasspath jvmArgs = ['--add-opens=java.base/java.lang.reflect=ALL-UNNAMED'] // The line below prevents the build from failing if the Fortify scan detects issues From b5611fd552df9459a98daeab9b010cbe62ad3f36 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Thu, 18 Jul 2024 13:14:26 +0100 Subject: [PATCH 02/37] befta test --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 3091bb520..3101c1791 100644 --- a/build.gradle +++ b/build.gradle @@ -325,7 +325,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: '9.0.2' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.41' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' From a514a6b4095165acd74e83c9895643d4b3987dfc Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Thu, 18 Jul 2024 13:31:08 +0100 Subject: [PATCH 03/37] befta test --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 3101c1791..146ec883f 100644 --- a/build.gradle +++ b/build.gradle @@ -325,7 +325,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.41' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.42' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' From 9076ca5ca1d69e3572bea8e27ae4489cd7f78120 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Thu, 18 Jul 2024 14:00:35 +0100 Subject: [PATCH 04/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index e414176e6..3cbd8a015 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 + @S-001 @Retryable(maxAttempts=2,delay=1000) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From a1976451ff545ec68077731315efc85b0f7dca80 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Thu, 18 Jul 2024 14:10:49 +0100 Subject: [PATCH 05/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 3cbd8a015..53781c107 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(maxAttempts=2,delay=1000) + @S-001 @Retryable(statusCodes={400,409,502},maxAttempts=2,delay=1000) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From 421e3a1a3e1a4b581aeb2ebf8cd4902a1a2f6022 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Thu, 18 Jul 2024 14:38:21 +0100 Subject: [PATCH 06/37] befta test --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 146ec883f..2c235429c 100644 --- a/build.gradle +++ b/build.gradle @@ -325,7 +325,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.42' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.43' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' From 0262591dab4068c51c7fb8de1fe1b86bea7c0506 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Thu, 18 Jul 2024 15:46:32 +0100 Subject: [PATCH 07/37] befta test --- build.gradle | 2 +- src/functionalTest/resources/features/F-001/F-001.feature | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 2c235429c..a12d8e694 100644 --- a/build.gradle +++ b/build.gradle @@ -325,7 +325,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.43' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.44' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 53781c107..4363fc88c 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,9 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},maxAttempts=2,delay=1000) + @S-001 @Retryable(statusCodes={400,409,502},maxAttempts=2,delay=1000,match={ + @value(url="requestURI1",regex="testValue1"), + @value(url="requestURI2",regex="testValue2")}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From c90bf9ba3ec5467359af98b0d8d5dbf9ceef08d7 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Thu, 18 Jul 2024 16:01:20 +0100 Subject: [PATCH 08/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 4363fc88c..53315b4ab 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,9 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},maxAttempts=2,delay=1000,match={ - @value(url="requestURI1",regex="testValue1"), - @value(url="requestURI2",regex="testValue2")}) + @S-001 @Retryable(statusCodes={400,409,502},maxAttempts=2,delay=1000,match={@value(url="requestURI1",regex="testValue1"),@value(url="requestURI2",regex="testValue2")}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From 7aefd8622f33c6b11833be5893b29a430dc39b86 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Thu, 18 Jul 2024 16:19:34 +0100 Subject: [PATCH 09/37] befta test --- build.gradle | 1 + src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a12d8e694..c054bd2ae 100644 --- a/build.gradle +++ b/build.gradle @@ -125,6 +125,7 @@ task functional(type: Test, description: 'Runs the functional tests.', group: 'V } finalizedBy { + generateCucumberReports.enabled = true generateCucumberReports { doLast{ delete "${rootDir}/BEFTA Report for Functional Tests/" diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 53315b4ab..c0d47a6d3 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},maxAttempts=2,delay=1000,match={@value(url="requestURI1",regex="testValue1"),@value(url="requestURI2",regex="testValue2")}) + @S-001 @Retryable(statusCodes={400,409,502},match={@value(url="requestURI1",regex="testValue1")}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From 257e70688a5dbd4fe44e0a36b2363ed29b83a61e Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Thu, 18 Jul 2024 16:46:16 +0100 Subject: [PATCH 10/37] befta test --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c054bd2ae..7ba9af2cc 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.44' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.45' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' From 6cc38873e598802d67fb159291ac65dfa85dd554 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Thu, 18 Jul 2024 17:03:03 +0100 Subject: [PATCH 11/37] befta test --- build.gradle | 2 +- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 7ba9af2cc..5ec6d8f2a 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.45' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.46' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index c0d47a6d3..d8b6a7429 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={@value(url="requestURI1",regex="testValue1")}) + @S-001 @Retryable(statusCodes={400,409,502},match={value(url="requestURI1",regex="testValue1")}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From 45dc2e8012a487c28da9b603b84a5f45436ce300 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 19 Jul 2024 16:22:28 +0100 Subject: [PATCH 12/37] befta test --- build.gradle | 2 +- src/functionalTest/resources/features/F-001/F-001.feature | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 5ec6d8f2a..cc7881c10 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.46' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.47' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index d8b6a7429..b1f1e766f 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -11,7 +11,7 @@ Feature: F-001: Get Document Metadata by Document ID And another successful call [to create a token for case creation] as in [Befta_Jurisdiction2_Default_Token_Creation_Data_For_Case_Creation] And another successful call [to create a case of this case type] as in [S-001_Case_Create] When a request is prepared with appropriate values, - And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API], + And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] [after] delaying [5] seconds , Then a positive response is received, And the response [contains the metadata for the document uploaded above], And the response has all other details as expected. @@ -30,7 +30,7 @@ Feature: F-001: Get Document Metadata by Document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], When a request is prepared with appropriate values, And the request [for a malformed document ID], - And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API], + And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] [after] delaying [5] seconds , Then a negative response is received, And the response has all the details as expected. From 87a7ee0be57ed591fe54af89e09462aef877926a Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 19 Jul 2024 16:35:49 +0100 Subject: [PATCH 13/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index b1f1e766f..233f6f807 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={value(url="requestURI1",regex="testValue1")}) + @S-001 @Retryable(statusCodes={400,409,502}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From a5f6aa25259bca61a7b48971d4fa8004b98c36f4 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 19 Jul 2024 17:10:40 +0100 Subject: [PATCH 14/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 233f6f807..3ec9f2430 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -11,7 +11,7 @@ Feature: F-001: Get Document Metadata by Document ID And another successful call [to create a token for case creation] as in [Befta_Jurisdiction2_Default_Token_Creation_Data_For_Case_Creation] And another successful call [to create a case of this case type] as in [S-001_Case_Create] When a request is prepared with appropriate values, - And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] [after] delaying [5] seconds , + And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] [after] delaying [30] seconds, Then a positive response is received, And the response [contains the metadata for the document uploaded above], And the response has all other details as expected. @@ -30,7 +30,7 @@ Feature: F-001: Get Document Metadata by Document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], When a request is prepared with appropriate values, And the request [for a malformed document ID], - And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] [after] delaying [5] seconds , + And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] [after] delaying [5] seconds, Then a negative response is received, And the response has all the details as expected. From d9f928a428b264fef19f97ee38b1a0c6e0e0099b Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 19 Jul 2024 17:11:31 +0100 Subject: [PATCH 15/37] befta test --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index cc7881c10..c5a6c8dbc 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.47' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.48' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' From ecf84f514fc71497e510b59c09a276cf33d5a701 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 19 Jul 2024 17:26:06 +0100 Subject: [PATCH 16/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 3ec9f2430..2fa587e89 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -30,7 +30,7 @@ Feature: F-001: Get Document Metadata by Document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], When a request is prepared with appropriate values, And the request [for a malformed document ID], - And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] [after] delaying [5] seconds, + And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] [before] delaying [20] seconds, Then a negative response is received, And the response has all the details as expected. From 83f8c88e726d99c16ca299b17d8b2d5da6a6b5a3 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 19 Jul 2024 17:47:59 +0100 Subject: [PATCH 17/37] befta test --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c5a6c8dbc..7503d4b64 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.48' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.49' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' From 286fa03f9179cc95edf755fb68a7d999c1d41dec Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Mon, 22 Jul 2024 14:47:07 +0100 Subject: [PATCH 18/37] befta test --- build.gradle | 2 +- src/functionalTest/resources/features/F-001/F-001.feature | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 7503d4b64..c4d6b4c58 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.49' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.50' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 2fa587e89..0aef7e877 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -11,7 +11,7 @@ Feature: F-001: Get Document Metadata by Document ID And another successful call [to create a token for case creation] as in [Befta_Jurisdiction2_Default_Token_Creation_Data_For_Case_Creation] And another successful call [to create a case of this case type] as in [S-001_Case_Create] When a request is prepared with appropriate values, - And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] [after] delaying [30] seconds, + And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] with a delay of [30] seconds [before] the call, Then a positive response is received, And the response [contains the metadata for the document uploaded above], And the response has all other details as expected. @@ -30,7 +30,7 @@ Feature: F-001: Get Document Metadata by Document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], When a request is prepared with appropriate values, And the request [for a malformed document ID], - And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] [before] delaying [20] seconds, + And it is submitted to call the [Get Document Metadata by Document ID] operation of [CCD Case Document AM API] with a delay of [25] seconds [after] the call, Then a negative response is received, And the response has all the details as expected. From 9afaf5085dd339821d5eb573cbf3f16695cd37c0 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Tue, 23 Jul 2024 16:04:30 +0100 Subject: [PATCH 19/37] befta test --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c4d6b4c58..0a1ac27c8 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.50' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.52' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' From bfb602530dd68568184c3efb0dad42ade7e7b000 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Tue, 23 Jul 2024 16:22:32 +0100 Subject: [PATCH 20/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 0aef7e877..446deb13e 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502}) + @S-001 @Retryable(statusCodes={400,409,502},match={"\"case_type\"\\s*:\\s*\"BEFTA_CASETYPE_2_1\""}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From 66c0af695c9e9697191e9ec1e81040ff69a294d1 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Tue, 23 Jul 2024 16:45:02 +0100 Subject: [PATCH 21/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 446deb13e..eba347ab2 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={"\"case_type\"\\s*:\\s*\"BEFTA_CASETYPE_2_1\""}) + @S-001 @Retryable(statusCodes={400,409,502},match={"\"case_type\"\s*:\s*\"BEFTA_CASETYPE_2_1\""}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From d3c338c654bc9119975745b1ee1e3a0e6c57cb9a Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Tue, 23 Jul 2024 17:36:31 +0100 Subject: [PATCH 22/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index eba347ab2..751524480 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={"\"case_type\"\s*:\s*\"BEFTA_CASETYPE_2_1\""}) + @S-001 @Retryable(statusCodes={400,409,502},match={"\\"case_type\\"\\s*:\\s*\\"BEFTA_CASETYPE_2_1\\""}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From e6d6c2ec9f55b8f34e45a174591a9c122ad25620 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 15:45:00 +0100 Subject: [PATCH 23/37] befta test --- build.gradle | 2 +- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 0a1ac27c8..08105abac 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.52' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.53' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 751524480..ce494fcd9 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={"\\"case_type\\"\\s*:\\s*\\"BEFTA_CASETYPE_2_1\\""}) + @S-001 @Retryable(statusCodes={400,409,502},match={"\"BEFTA_CASETYPE_2_1\""}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From 8b95fc844c8ff23298a67ffbc72af79b3fca22bc Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 16:04:57 +0100 Subject: [PATCH 24/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index ce494fcd9..1a37d4f9c 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={"\"BEFTA_CASETYPE_2_1\""}) + @S-001 @Retryable(statusCodes={400,409,502},match={"\\"BEFTA_CASETYPE_2_1\\""}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From e597b0535f2d541443927cc0396585d19fdd5f6d Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 16:18:47 +0100 Subject: [PATCH 25/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 1a37d4f9c..f4edbc385 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={"\\"BEFTA_CASETYPE_2_1\\""}) + @S-001 @Retryable(statusCodes={400,409,502},match={"BEFTA_CASETYPE_2_1"}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From 72360737da4c50430353d130e050f8f7711c05a3 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 16:30:20 +0100 Subject: [PATCH 26/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index f4edbc385..cbd8e23f9 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={"BEFTA_CASETYPE_2_1"}) + @S-001 @Retryable(statusCodes={400,409,502},match={"\"BEFTA_CASETYPE_2_1"}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From 1c50aa8c157af2cefe6d1c8946935ac7a5306f2b Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 16:39:38 +0100 Subject: [PATCH 27/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index cbd8e23f9..6a2c52a36 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={"\"BEFTA_CASETYPE_2_1"}) + @S-001 @Retryable(statusCodes={400,409,502},match={""BEFTA_CASETYPE_2_1"}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From d0c9494783bc73a6b27cff37e8d4f6a09f5854b4 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 17:07:54 +0100 Subject: [PATCH 28/37] befta test --- build.gradle | 2 +- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 08105abac..46add970a 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.53' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.54' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 6a2c52a36..db39d3b96 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={""BEFTA_CASETYPE_2_1"}) + @S-001 @Retryable(statusCodes={400,409,502},match={\"BEFTA_CASETYPE_2_1\"}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From eff44b3631862e621cf4aeef9fc5dbb4a8178f11 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 17:08:34 +0100 Subject: [PATCH 29/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index db39d3b96..45a1c20c7 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @S-001 @Retryable(statusCodes={400,409,502},match={\"BEFTA_CASETYPE_2_1\"}) + @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={\"BEFTA_CASETYPE_2_1\"}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From dd5c2dde94d81fec7564dd60f8674a3785a0edd8 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 17:56:48 +0100 Subject: [PATCH 30/37] befta test --- build.gradle | 2 +- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 46add970a..55f1d0459 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.54' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.55' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 45a1c20c7..28bc761e8 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={\"BEFTA_CASETYPE_2_1\"}) + @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={"\"BEFTA_CASETYPE_2_1\""}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From 2176f2401d832309c60baca7f88073d834c5f2eb Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 18:07:15 +0100 Subject: [PATCH 31/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 28bc761e8..f62586ed7 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={"\"BEFTA_CASETYPE_2_1\""}) + @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={"\"case_type_id\"\\s*:\\s*\"BEFTA_CASETYPE_2_1\""}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From 18a14d0130824ae6ff678814f78c34c2b155f287 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 18:19:04 +0100 Subject: [PATCH 32/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index f62586ed7..4e0c7d411 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={"\"case_type_id\"\\s*:\\s*\"BEFTA_CASETYPE_2_1\""}) + @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={"\"case_type_id\"\s*:\s*\"BEFTA_CASETYPE_2_1\""}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From b7e5685d980a56203bd7d5b2f27b32b7cb7a73b8 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Fri, 26 Jul 2024 18:28:13 +0100 Subject: [PATCH 33/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 4e0c7d411..d2a8217dd 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={"\"case_type_id\"\s*:\s*\"BEFTA_CASETYPE_2_1\""}) + @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={"\"BEFTA_CA1SETYPE_246465_1\"","\"case_type_id\"\s*:\s*\"BEFTA_CASETYPE_2_1\""}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From dcedc1584a8fee112083b0a609f3e9924a027a8a Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Mon, 29 Jul 2024 10:08:55 +0100 Subject: [PATCH 34/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index d2a8217dd..42c33f78d 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={"\"BEFTA_CA1SETYPE_246465_1\"","\"case_type_id\"\s*:\s*\"BEFTA_CASETYPE_2_1\""}) + @Smoke @S-001 Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], From f22af89945cd406eba0c3f4f598aad279b00128e Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Mon, 29 Jul 2024 10:09:47 +0100 Subject: [PATCH 35/37] befta test --- src/functionalTest/resources/features/F-001/F-001.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index 42c33f78d..a3a97d56a 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -25,7 +25,7 @@ Feature: F-001: Get Document Metadata by Document ID Then a negative response is received, And the response has all the details as expected. - @S-003 + @Smoke @S-003 Scenario: must get an error response for a malformed document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], When a request is prepared with appropriate values, From e686069dc740f5e2ec5bfa754e491978458c1736 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Mon, 29 Jul 2024 10:39:48 +0100 Subject: [PATCH 36/37] befta test --- build.gradle | 2 +- src/functionalTest/resources/features/F-001/F-001.feature | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 55f1d0459..61ce20b8c 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.55' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.56' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2' diff --git a/src/functionalTest/resources/features/F-001/F-001.feature b/src/functionalTest/resources/features/F-001/F-001.feature index a3a97d56a..8a0e5ffd4 100644 --- a/src/functionalTest/resources/features/F-001/F-001.feature +++ b/src/functionalTest/resources/features/F-001/F-001.feature @@ -4,7 +4,7 @@ Feature: F-001: Get Document Metadata by Document ID Background: Load test data for the scenario Given an appropriate test context as detailed in the test data source - @Smoke @S-001 + @Smoke @S-001 @Retryable(statusCodes={400,409,502},match={"\"BEFTA_CA1SETYPE_246465_1\"","\"case_type_id\"\s*:\s*\"BEFTA_CASETYPE_2_1\""}) Scenario: must successfully get document metadata by document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], And a successful call [by another privileged user to upload a document with mandatory metadata] as in [Default_Document_Upload_Data], @@ -25,7 +25,7 @@ Feature: F-001: Get Document Metadata by Document ID Then a negative response is received, And the response has all the details as expected. - @Smoke @S-003 + @S-003 @Smoke Scenario: must get an error response for a malformed document ID Given a user with [an active caseworker profile in CCD with full permissions on a document field], When a request is prepared with appropriate values, From 6867450cddb9062429ec33b63177133d9677ab17 Mon Sep 17 00:00:00 2001 From: kaanaktas Date: Mon, 29 Jul 2024 12:30:59 +0100 Subject: [PATCH 37/37] befta test --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 61ce20b8c..5a888c6a7 100644 --- a/build.gradle +++ b/build.gradle @@ -326,7 +326,7 @@ dependencies { exclude group: 'junit', module: 'junit' } testImplementation group: 'com.github.hmcts', name: 'ccd-test-definitions', version: '7.22.2' - testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.56' + testImplementation group: 'com.github.hmcts', name: 'befta-fw', version: 'v9.0.3-HMAN-385.57' testImplementation group: 'commons-lang', name: 'commons-lang', version: '2.6' testImplementation group: 'org.assertj', name: 'assertj-vavr', version: '0.4.2'