diff --git a/src/integration-test/groovy/pages/modules/EditableMeriPlan.groovy b/src/integration-test/groovy/pages/modules/EditableMeriPlan.groovy index 6ebbc537c..d63748c39 100644 --- a/src/integration-test/groovy/pages/modules/EditableMeriPlan.groovy +++ b/src/integration-test/groovy/pages/modules/EditableMeriPlan.groovy @@ -466,6 +466,9 @@ class EditableMeriPlan extends Module { /** Users of this method should waitFor hasBeenReloaded as this triggers a page reload */ void aquireEditLock() { + waitFor { + lockMeriPlanButton.displayed + } lockMeriPlanButton.click() }