diff --git a/src/integration-test/groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy b/src/integration-test/groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy index 484ca16b7..fa983f349 100644 --- a/src/integration-test/groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy +++ b/src/integration-test/groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy @@ -722,6 +722,7 @@ class RlpReportingSpec extends StubbedCasSpec { // Mark all sections except the Weed Distribution Survey as not applicable if (isOptional(it) && it != 'koRLP_-_Weed_distribution_survey') { try { + waitFor{notApplicableCheckbox(it).css('display') != 'none'} markAsNotApplicable(it) } catch (ElementClickInterceptedException e) {