Skip to content

Commit 623f3d5

Browse files
authored
Merge pull request #3407 from AtlasOfLivingAustralia/feature/issue3401
Feature/issue3401
2 parents d378fc8 + 5e0db34 commit 623f3d5

File tree

6 files changed

+45
-6
lines changed

6 files changed

+45
-6
lines changed

.github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ jobs:
8080
- name: Run javascript unit tests
8181
run: node_modules/karma/bin/karma start karma.conf.js --single-run --browsers ChromeHeadless
8282

83-
# - name: Run MERIT functional tests
84-
# run: ./src/main/scripts/runFunctionalTests.sh
85-
# env:
86-
# GPR_USER: ${{env.GITHUB_ACTOR}}
87-
# GPR_TOKEN: ${{secrets.GITHUB_TOKEN}}
83+
- name: Run MERIT functional tests
84+
run: ./src/main/scripts/runFunctionalTests.sh
85+
env:
86+
GPR_USER: ${{env.GITHUB_ACTOR}}
87+
GPR_TOKEN: ${{secrets.GITHUB_TOKEN}}
8888

8989
- name: Clean to remove clover instrumentation
9090
uses: gradle/[email protected]

src/integration-test/groovy/au/org/ala/fieldcapture/CreateOrEditOrganisationSpec.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class CreateOrEditOrganisationSpec extends StubbedCasSpec {
4747
openAboutTab()
4848

4949
then:
50-
orgName.text() == "THE TRUSTEE FOR PSS FUND Test"
50+
orgName.text() == "The Trustee for Pss Fund Test"
5151
waitFor {orgDescription.displayed }
5252
orgDescription.text() == "Test Organisation Description test"
5353
waitFor {orgAbn.displayed }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
3+
"priority": 1,
4+
"request": {
5+
"urlPath": "/userdetails/userDetails/getUserDetails",
6+
"method": "ANY",
7+
"queryParameters": {
8+
"userName": {
9+
"equalTo": "jwtId"
10+
}
11+
}
12+
},
13+
"response": {
14+
"transformers": ["response-template"],
15+
"status": 404
16+
}
17+
}

src/integration-test/resources/wiremock/mappings/lookupUserDetailsByEmailAddress.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"priority": 3,
23
"request": {
34
"urlPath": "/userdetails/userDetails/userDetails/getUserDetails",
45
"method": "ANY"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"priority": 2,
3+
"request": {
4+
"urlPath": "/userdetails/userDetails/userDetails/getUserDetails",
5+
"method": "ANY",
6+
"queryParameters": {
7+
"userName": {
8+
"equalTo": "jwtId"
9+
}
10+
}
11+
},
12+
"response": {
13+
"transformers": ["response-template"],
14+
"status": 404,
15+
"headers": {
16+
"Content-Type": "application/json"
17+
},
18+
"body": null
19+
}
20+
}

src/integration-test/resources/wiremock/mappings/userdetailslookup.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"priority": 4,
23
"request": {
34
"urlPath": "/userdetails/userDetails/getUserDetails",
45
"method": "ANY"

0 commit comments

Comments
 (0)