Skip to content

Commit

Permalink
Test updates #2880
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Aug 21, 2024
1 parent 7bf81d8 commit bd61b1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/integration-test/groovy/pages/Organisation.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Organisation extends ReloadablePage {
projectContent {$("#projects .projects-wrapper tbody tr td")}
reportingTab(required: false) { $('#projects-tab') }
sitesTab {$("#sites-tab")}
reportsTabPane(required:false) { $("#projects").module(OrganisationReports)}
reportsTabPane(required:false) { module(OrganisationReports)}
reportDeclaration { $('#declaration') }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class OrganisationReports extends Module {

static content = {
projects {
$('.projects-wrapper tbody tr').moduleList(ReportingProjectListRow)
$('#projects .projects-wrapper tbody tr').moduleList(ReportingProjectListRow)
}
reports {
try {
Expand All @@ -18,7 +18,7 @@ class OrganisationReports extends Module {
return []
}
}
programLabels(required: false) { $('.well-title').text() }
programLabels(required: false) { $('#projects .well-title').text() }
reasonModal(required:false) { $('#reason-modal') }
notRequiredReason(required:false) { $('#reason-modal [id="reason"]') }
}
Expand Down

0 comments on commit bd61b1a

Please sign in to comment.