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 2fb2f48bf..2aa17772c 100644 --- a/src/integration-test/groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy +++ b/src/integration-test/groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy @@ -721,15 +721,15 @@ class RlpReportingSpec extends StubbedCasSpec { getFormSections().each { // Mark all sections except the Weed Distribution Survey as not applicable if (isOptional(it) && it != 'koRLP_-_Weed_distribution_survey') { - Thread.sleep(500) try { - interact { - moveToElement(notApplicableCheckbox(it)) - } markAsNotApplicable(it) } catch (ElementClickInterceptedException e) { println "ElementClickInterceptedException: $it" + String section = it + interact { + moveToElement(notApplicableCheckbox(section)) + } e.printStackTrace() println $('ul') $('ul').parent().each { a -> println a.attr('innerHtml') }