diff --git a/grails-app/views/project/meriPlan/_relatedProjects.gsp b/grails-app/views/project/meriPlan/_relatedProjects.gsp index c9f19c161..8baa002be 100644 --- a/grails-app/views/project/meriPlan/_relatedProjects.gsp +++ b/grails-app/views/project/meriPlan/_relatedProjects.gsp @@ -1,4 +1,4 @@ -
${title ?: "Related Projects"} |
diff --git a/test/functional/au/org/ala/fieldcapture/MERIPlanForBushfireNRMandStateSpec.groovy b/test/functional/au/org/ala/fieldcapture/MERIPlanForBushfireNRMandStateSpec.groovy
index b8b7ad294..c81bbdf9c 100644
--- a/test/functional/au/org/ala/fieldcapture/MERIPlanForBushfireNRMandStateSpec.groovy
+++ b/test/functional/au/org/ala/fieldcapture/MERIPlanForBushfireNRMandStateSpec.groovy
@@ -35,6 +35,7 @@ class MERIPlanForBushfireNRMandStateSpec extends StubbedCasSpec {
meriPlan.asset = "Euastacus jagara (Freshwater crayfish)"
meriPlan.shortTermOutcomes[0].value( "Short term outcome 1")
meriPlan.projectDescription = "MERI plan edited description"
+ meriPlan.relatedProjects = "Related projects"
meriPlan.projectPartnerships[0].name = 'partner name'
meriPlan.projectPartnerships[0].partnership = 'partnership'
meriPlan.projectPartnerships[0].orgType = 'Trust'
@@ -65,6 +66,7 @@ class MERIPlanForBushfireNRMandStateSpec extends StubbedCasSpec {
meriPlan.asset == "Euastacus jagara (Freshwater crayfish)"
meriPlan.shortTermOutcomes[0].value() == "Short term outcome 1"
meriPlan.projectDescription == "MERI plan edited description"
+ meriPlan.relatedProjects == "Related projects"
meriPlan.projectPartnerships[0].name == 'partner name'
meriPlan.projectPartnerships[0].partnership == 'partnership'
meriPlan.projectPartnerships[0].orgType == 'Trust'
diff --git a/test/functional/pages/modules/EditableMeriPlan.groovy b/test/functional/pages/modules/EditableMeriPlan.groovy
index d02355a52..50a5d8b0d 100644
--- a/test/functional/pages/modules/EditableMeriPlan.groovy
+++ b/test/functional/pages/modules/EditableMeriPlan.groovy
@@ -126,6 +126,8 @@ class EditableMeriPlan extends Module {
otherActivity(required:false) { $('#activity-list input[type=text]') }
consultation(required:false) { $('.consultation textarea') }
communityEngagement(required:false) { $('.community-engagement textarea') }
+ relatedProjects(required:false) { $('.related-projects textarea') }
+
floatingSaveButton { $('#floating-save [data-bind*="saveProjectDetails"]') }
saveButton { $('.form-actions [data-bind*="saveProjectDetails"]').first() }
pdfButton { $('.btn[data-bind*="meriPlanPDF"').first() }
diff --git a/test/functional/resources/dataset3/loadDataSet.js b/test/functional/resources/dataset3/loadDataSet.js
index ab4a0c226..dbdb455cc 100644
--- a/test/functional/resources/dataset3/loadDataSet.js
+++ b/test/functional/resources/dataset3/loadDataSet.js
@@ -452,6 +452,15 @@ config.meriPlanContents = [
"explanation": " Please provide a short description of this project. The project description should be succinct and state what will be done and why it will be done. This project description will be visible on the project overview page in MERIT"
}
},
+ {
+ "template": "relatedProjects",
+ "model": {
+ "helpTextHeading":"A succinct overview of the project: (i) what will be done and (ii) why it will be done",
+ "maxSize": "1000",
+ "placeholder": "[Free text; limit response to 1000 characters (approx. 150 words)]",
+ "explanation": " Please provide a short description of this project. The project description should be succinct and state what will be done and why it will be done. This project description will be visible on the project overview page in MERIT"
+ }
+ },
{
"template": "projectPartnerships",
"model": {
---|