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

Dfpl 1761 cafcass api #5563

Closed
wants to merge 52 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
fa96639
FixCaseFlagAPICaseCreationAssertion
prabhamuthu15 May 1, 2024
0ccbd15
Merge remote-tracking branch 'origin/master'
prabhamuthu15 May 3, 2024
036732d
Merge remote-tracking branch 'origin/master'
prabhamuthu15 May 7, 2024
cdfdb8a
Merge remote-tracking branch 'origin/master'
prabhamuthu15 May 7, 2024
2ccd0b7
Merge remote-tracking branch 'origin/master'
prabhamuthu15 May 8, 2024
943c22b
Merge remote-tracking branch 'origin/master'
prabhamuthu15 May 15, 2024
5d874b0
Merge remote-tracking branch 'origin/master'
prabhamuthu15 May 16, 2024
a9e9915
Merge remote-tracking branch 'origin/master'
prabhamuthu15 May 23, 2024
84d27e0
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jun 3, 2024
4ef2d8e
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jun 7, 2024
24ed49d
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jun 12, 2024
b9d159f
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jun 14, 2024
2504aae
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jun 18, 2024
b42b7af
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jun 20, 2024
f075192
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jun 26, 2024
4c9129f
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jun 26, 2024
c578e33
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jun 27, 2024
ce9ed34
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jun 29, 2024
9b8154c
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jul 3, 2024
4187e39
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jul 5, 2024
67f2c27
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jul 10, 2024
69075ff
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jul 12, 2024
577a82b
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jul 16, 2024
a90c943
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jul 16, 2024
259eff4
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Jul 19, 2024
d765e18
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Aug 4, 2024
6763a93
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Aug 12, 2024
666bb3e
Merge remote-tracking branch 'origin/master'
prabhamuthu15 Aug 14, 2024
1384884
cafcass Search
prabhamuthu15 Sep 2, 2024
82e3473
Merge branch 'master' into DFPL-1761_CafcassAPI
prabhamuthu15 Sep 2, 2024
f543375
Merge branch 'master' into DFPL-1761_CafcassAPI
AlistairEdwinOsborne Sep 4, 2024
5e8b98f
Merge branch 'master' into DFPL-1761_CafcassAPI
AlistairEdwinOsborne Sep 4, 2024
c8f4544
Merge branch 'master' into DFPL-1761_CafcassAPI
AlistairEdwinOsborne Sep 5, 2024
8001faa
Merge branch 'master' into DFPL-1761_CafcassAPI
AlistairEdwinOsborne Sep 9, 2024
a6836bf
cafcassAPIchange
prabhamuthu15 Sep 10, 2024
7ec3409
cafcassSearch
prabhamuthu15 Sep 12, 2024
9038867
cafcassSearch
prabhamuthu15 Sep 12, 2024
d5dc440
Merge remote-tracking branch 'origin/DFPL-1761_CafcassAPI' into DFPL-…
prabhamuthu15 Sep 12, 2024
e40d69c
Update user-credentials.ts
prabhamuthu15 Sep 12, 2024
ffe2c26
guardianupdate
prabhamuthu15 Sep 12, 2024
c6de304
Merge remote-tracking branch 'origin/DFPL-1761_CafcassAPI' into DFPL-…
prabhamuthu15 Sep 12, 2024
4a1654d
temp
prabhamuthu15 Sep 20, 2024
dc22d5e
temp
prabhamuthu15 Sep 30, 2024
5173b0e
UpdateCafcassAPITest
prabhamuthu15 Oct 7, 2024
fcfebcf
UpdateSolicitorForDemo
prabhamuthu15 Oct 7, 2024
b6646d6
UpdateSolicitorForDemo
prabhamuthu15 Oct 7, 2024
82290c2
Merge branch 'master' into DFPL-1761_CafcassAPI
prabhamuthu15 Oct 7, 2024
e2566b3
UpdateSolicitorForDemo
prabhamuthu15 Oct 7, 2024
ab615fd
add yarnlockfile
prabhamuthu15 Oct 7, 2024
d35f784
update yarnlockfile
prabhamuthu15 Oct 7, 2024
0537e78
RunAPITestSeperate
prabhamuthu15 Oct 7, 2024
2eaa680
RunAPITestSeperate
prabhamuthu15 Oct 7, 2024
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
18 changes: 18 additions & 0 deletions Jenkinsfile_CNP
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,24 @@ withPipeline(type, product, component) {
steps.archiveArtifacts allowEmptyArchive: true, artifacts: 'build/test-results/tests/functionalTest/**/*'
}
}
stage('cafCassAPITest') {
try {
yarnBuilder.yarn('test:functional-API')
} catch (Error) {
unstable(message: "${STAGE_NAME} is unstable: " + Error.toString())
} finally {
publishHTML([
allowMissing : true,
alwaysLinkToLastBuild: true,
keepAll : true,
reportDir : "../test-results/functionalTest",
reportFiles : 'index.html',
reportName : 'cafcass API Test Report'
])
steps.archiveArtifacts allowEmptyArchive: true, artifacts: 'build/test-results/tests/functionalTest/**/*'
}
}

}
before('smoketest:saat') {
env.URL = "https://ccd-case-management-web-saat.service.core-compute-saat.internal"
Expand Down
27 changes: 24 additions & 3 deletions Jenkinsfile_nightly
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ def teardownSecretsForIntegrationTests() {
env.INTEGRATION_TEST_DOCMOSIS_TORNADO_OUTPUT_FOLDER = ''
}

withNightlyPipeline(type, product, component) {
withNightlyPipeline(type, product, component)
{
{
pipelineConf = config;

env.URL = params.FRONTEND_URL
Expand All @@ -78,8 +80,8 @@ withNightlyPipeline(type, product, component) {

loadVaultSecrets(integrationTestSecrets)

enableMutationTest()
enableFortifyScan('fpl-aat')
// enableMutationTest()
//enableFortifyScan('fpl-aat')
enableFullFunctionalTest(240)

before('mutationTest') {
Expand Down Expand Up @@ -152,8 +154,27 @@ withNightlyPipeline(type, product, component) {
steps.archiveArtifacts allowEmptyArchive: true, artifacts: 'build/reports/tests/functionalTest/**/*'
}
}
stage('cafCassAPITest') {
try {
yarnBuilder.yarn('test:functional-API')
} catch (Error) {
unstable(message: "${STAGE_NAME} is unstable: " + Error.toString())
} finally {
publishHTML([
allowMissing: true,
alwaysLinkToLastBuild: true,
keepAll: true,
reportDir: 'playwright-report',
reportFiles: 'index.html',
reportName: 'UITestWebkitReport'
])
steps.archiveArtifacts allowEmptyArchive: true, artifacts: 'build/reports/tests/functionalTest/**/*'
}
}
}

}

afterAlways('fortify-scan') {
steps.archiveArtifacts allowEmptyArchive: true, artifacts: '**/Fortify Scan/**/*'
}
Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
"@babel/core": "^7.11.0",
"@babel/eslint-parser": "^7.17.0",
"@eslint/js": "^9.0.0",
"@playwright/test": "^1.43.1",
"@playwright/test": "^1.46.0",
"@types/node": "^20.10.7",
"@types/qs": "^6.9.11",
"ajv": "^8.17.1",
"axios": "^1.6.7",
"codeceptjs": "3.6.7",
"dateformat": "^4.6.3",
Expand Down Expand Up @@ -45,9 +46,10 @@
"test:functional-chromium": "yarn playwright install chromium && yarn playwright install firefox && yarn playwright install webkit && yarn playwright test --project=chromium",
"test:functional-webkit": "yarn playwright install chromium && yarn playwright install firefox && yarn playwright install webkit && yarn playwright test --project=webkit",
"test:functional-firefox": "yarn playwright install chromium && yarn playwright install firefox && yarn playwright install webkit && yarn playwright test --project=firefox",
"test:functional-nightly-preview": "yarn playwright install chromium && yarn playwright test --project=preview",
"test:functional-API": " yarn playwright test --project=CafcassAPI ",
"test:functional-nightly-preview": "yarn playwright install chromium && yarn playwright test --project=preview --workers=2 ",
"test:smoke": "yarn npm audit --recursive --environment production && MOCHAWESOME_REPORTFILENAME=smoke REPORT_DIR=test-results/smokeTest REPORT_FILE=test-results/smokeTest/results.xml codeceptjs run --grep '@smoke-tests' --reporter mocha-multi --verbose",
"test:local": "yarn playwright test --headed --project=preview --retries=1 --grep @local",
"test:local": "yarn playwright install chromium && yarn playwright test --project=CafcassAPI --retries=1 --repeat-each=3 --workers=3 --trace on",
"prepare": "husky install",
"yarn-update": "yarn set version 3.x",
"install-dependencies": "/usr/bin/yarn install --silent",
Expand All @@ -67,6 +69,7 @@
"dependencies": {
"@axe-core/playwright": "^4.8.5",
"@types/lodash": "^4.14.202",
"dotenv": "^16.4.1"
"dotenv": "^16.4.5",
"ts-node": "^10.9.2"
}
}
Loading
Loading