From bcca7b53cf12d262499b47c67628bc7ca42465d0 Mon Sep 17 00:00:00 2001 From: sourabh Date: Thu, 18 Apr 2024 14:16:42 +0530 Subject: [PATCH 1/2] [test-voucher] Regression Fix --- .circleci/config.yml | 20 +++++++++---------- .../resources/voucherManagementTest.feature | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aa89477fd..f4dabf057 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -227,7 +227,7 @@ jobs: export CALLBACK_URL="https://$NGROK_PUBLIC_URL" echo -n "Public url ." echo $CALLBACK_URL - ./gradlew test -Dcucumber.filter.tags="@gov" + ./gradlew test -Dcucumber.filter.tags="@voucher" echo -n "Test execution is completed, kill ngrok" pkill ngrok - store_test_results: @@ -317,17 +317,17 @@ workflows: - AWS - Helm - slack - - test-chart-ams: - requires: - - deploying-bpmns - context: - - AWS - - Helm - - slack - - Ngrok +# - test-chart-ams: +# requires: +# - deploying-bpmns +# context: +# - AWS +# - Helm +# - slack +# - Ngrok - test-chart-gov: requires: - - test-chart-ams + - deploying-bpmns context: - AWS - Helm diff --git a/src/test/java/resources/voucherManagementTest.feature b/src/test/java/resources/voucherManagementTest.feature index 8eda8ef97..4628f1872 100644 --- a/src/test/java/resources/voucherManagementTest.feature +++ b/src/test/java/resources/voucherManagementTest.feature @@ -1,4 +1,4 @@ - +@voucher Feature: Voucher Management Api Test @gov @ext @createAndActivateVoucher @redeemVoucherSuccess From d11ed16efb07eeac48e6637b8e09f4c1870d9090 Mon Sep 17 00:00:00 2001 From: sourabh Date: Thu, 18 Apr 2024 17:21:09 +0530 Subject: [PATCH 2/2] Run all tests --- .circleci/config.yml | 20 +++++++++---------- .../resources/voucherManagementTest.feature | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f4dabf057..aa89477fd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -227,7 +227,7 @@ jobs: export CALLBACK_URL="https://$NGROK_PUBLIC_URL" echo -n "Public url ." echo $CALLBACK_URL - ./gradlew test -Dcucumber.filter.tags="@voucher" + ./gradlew test -Dcucumber.filter.tags="@gov" echo -n "Test execution is completed, kill ngrok" pkill ngrok - store_test_results: @@ -317,15 +317,7 @@ workflows: - AWS - Helm - slack -# - test-chart-ams: -# requires: -# - deploying-bpmns -# context: -# - AWS -# - Helm -# - slack -# - Ngrok - - test-chart-gov: + - test-chart-ams: requires: - deploying-bpmns context: @@ -333,6 +325,14 @@ workflows: - Helm - slack - Ngrok + - test-chart-gov: + requires: + - test-chart-ams + context: + - AWS + - Helm + - slack + - Ngrok - create-tls-secret-paymenthub-namespace: context: - AWS diff --git a/src/test/java/resources/voucherManagementTest.feature b/src/test/java/resources/voucherManagementTest.feature index 4628f1872..8eda8ef97 100644 --- a/src/test/java/resources/voucherManagementTest.feature +++ b/src/test/java/resources/voucherManagementTest.feature @@ -1,4 +1,4 @@ -@voucher + Feature: Voucher Management Api Test @gov @ext @createAndActivateVoucher @redeemVoucherSuccess