Skip to content

Commit

Permalink
working on functional test updates #1720
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Dec 12, 2023
1 parent edd43bd commit 0828d1d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ class FutureDroughtFundMERIPlanSpec extends StubbedCasSpec {

when:
def meriPlan = openMeriPlanEditTab()
meriPlan.aquireEditLock()
waitFor {
hasBeenReloaded()
}
at RlpProjectPage // reset at check time.

meriPlan = openMeriPlanEditTab()

meriPlan.primaryOutcome = "5. By 2023, there is an increase in the awareness and adoption of land management practices that improve and protect the condition of soil, biodiversity and vegetation."
meriPlan.primaryPriorityUnstyled[0].click()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ class MERIPlanForBushfireNRMandStateSpec extends StubbedCasSpec {
when:
def meriPlan = openMeriPlanEditTab()
meriPlan.aquireEditLock()
waitFor {
hasBeenReloaded()
}
at RlpProjectPage // reset at check time.
meriPlan = openMeriPlanEditTab()
waitFor {
meriPlan.asset.find('[value="Euastacus jagara (Freshwater crayfish)"')
Expand Down Expand Up @@ -163,6 +170,13 @@ class MERIPlanForBushfireNRMandStateSpec extends StubbedCasSpec {
when:
def meriPlan = openMeriPlanEditTab()
meriPlan.aquireEditLock()
waitFor {
hasBeenReloaded()
}
at RlpProjectPage // reset at check time.
meriPlan = openMeriPlanEditTab()
meriPlan.primaryOutcome = "2. By 2023, the trajectory of species targeted under the Threatened Species Strategy, and other EPBC Act priority species, is stabilised or improved."
meriPlan.secondaryOutcomes[0].outcome = "2. By 2023, the trajectory of species targeted under the Threatened Species Strategy, and other EPBC Act priority species, is stabilised or improved."
Expand Down

0 comments on commit 0828d1d

Please sign in to comment.