From b82d062353cc3ccc6b7e7944ce2a6dd078286f8c Mon Sep 17 00:00:00 2001 From: chrisala Date: Fri, 8 Nov 2024 16:21:51 +1100 Subject: [PATCH] Trying to fix test #3368 --- .../groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 c39b001ca..6a7434a81 100644 --- a/src/integration-test/groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy +++ b/src/integration-test/groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy @@ -728,9 +728,8 @@ class RlpReportingSpec extends StubbedCasSpec { catch (ElementClickInterceptedException e) { println "ElementClickInterceptedException: $it" e.printStackTrace() - // This can happen if the section is not visible, so we need to scroll it into view - interact { - moveToElement(notApplicableCheckbox(it)) + if (overDeliveryModal.displayed) { + okBootbox() } markAsNotApplicable(it) }