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

Conversation

sanjayparekh-hmcts
Copy link
Contributor

Jira link

enable hearings pr setup for e2e tests on tribs

Testing done

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

Jenkinsfile_CNP Outdated Show resolved Hide resolved
Jenkinsfile_CNP Outdated
@@ -136,7 +136,7 @@ withPipeline(type, product, component) {

if (isHearingsPr) {
env.CASE_TYPE = "Benefit-${CHANGE_ID}"
setAatEnvVars();
setAatEnvVarsForHearings();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than making a whole new method with a lot of duplicate code I would call setAatEnvVars() and then put: env.TEST_E2E_API_URI = "https://sscs-tribunals-api-pr-${CHANGE_ID}.preview.platform.hmcts.net" at the end

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes we can just override :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants