Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSCSSI-e2e: improve hearings enabled pr setup #4002

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Jenkinsfile_CNP
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ withPipeline(type, product, component) {
if (isHearingsPr) {
env.CASE_TYPE = "Benefit-${CHANGE_ID}"
setAatEnvVars();
env.TEST_E2E_URL_WEB = "https://xui-sscs-tribunals-api-pr-${CHANGE_ID}.preview.platform.hmcts.net"
env.TEST_E2E_API_URI = "https://sscs-tribunals-api-pr-${CHANGE_ID}.preview.platform.hmcts.net"
}

def tests = githubApi.getLabelsbyPattern(env.BRANCH_NAME, "test-suite")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ postgresql:
idam-pr:
enabled: false
xui-webapp:
enabled: false
enabled: true
nodejs:
environment:
SERVICES_CCD_CASE_ASSIGNMENT_API: "http://aac-manage-case-assignment-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal"
SERVICES_HEARINGS_COMPONENT_API_SSCS: "http://sscs-hearings-api-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal"
SERVICES_DOCUMENTS_API_V2: "http://ccd-case-document-am-api-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal"

elastic:
enabled: false
sscs-tya-notif:
Expand Down
4 changes: 2 additions & 2 deletions definitions/test/e2e/create-a-bundle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test.beforeAll("Case has to be Created", async () => {
caseId = await createCaseBasedOnCaseType('PIP');
});

test("As a caseworker create a bundle", {tag: ['@hearings-enabled-test', '@master-pipeline', '@nightly-pipeline']}, async ({createBundleSteps}) => {
test("As a caseworker create a bundle", {tag: ['@todo-enable-on-working', '@master-pipeline', '@nightly-pipeline']}, async ({createBundleSteps}) => {
test.slow();
await createBundleSteps.performUploadBundleResponse(caseId);
});
});
2 changes: 1 addition & 1 deletion definitions/test/e2e/hearing-request.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let caseId : string;

test.describe("Create a new hearing for an List assist case", {tag: '@nightly-pipeline'}, async() => {

test("Trigger a new hearing & cancellation for DLA case", {tag:'@hearings-enabled-test'}, async ({ uploadResponseSteps, hearingSteps }) => {
test("Trigger a new hearing & cancellation for DLA case", {tag:'@todo-enable-on-working'}, async ({ uploadResponseSteps, hearingSteps }) => {
caseId = await createCaseBasedOnCaseType('DLASANDL');
await uploadResponseSteps.performUploadResponse(caseId, 'dla');
await hearingSteps.verifyHearingIsTriggered(caseId, 'dla');
Expand Down