From b34596ce89b00a7e348e2c5ff0b85ff779b0f1c1 Mon Sep 17 00:00:00 2001 From: chrisala Date: Mon, 11 Nov 2024 10:22:15 +1100 Subject: [PATCH] Trying to fix test #3368 --- .../groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 9c922d289..43e846956 100644 --- a/src/integration-test/groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy +++ b/src/integration-test/groovy/au/org/ala/fieldcapture/RlpReportingSpec.groovy @@ -722,7 +722,9 @@ 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'} + interact { + moveToElement(notApplicableCheckbox(it)) + } markAsNotApplicable(it) } catch (ElementClickInterceptedException e) {