Skip to content

Commit 797b3fe

Browse files
Avoid stale button reference in SvFrontendIntegrationTest
Fixes DACH-NY/cn-test-failures#6828 [ci] Signed-off-by: Martin Florian <martin.florian@digitalasset.com>
1 parent df5b2b1 commit 797b3fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/app/src/test/scala/org/lfdecentralizedtrust/splice/integration/tests/SvFrontendIntegrationTest.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ class SvFrontendIntegrationTest
10841084
_ => checkNewVoteRequestInProgressTab(previousVoteRequestsInProgress),
10851085
)
10861086

1087-
val (_, reviewButton) = actAndCheck(
1087+
actAndCheck(
10881088
"sv1 operator creates a new vote request with a long expiration time", {
10891089
submitSetDsoConfigRequestViaFrontend(
10901090
numMemberTrafficContractsThreshold = "42"
@@ -1097,6 +1097,8 @@ class SvFrontendIntegrationTest
10971097
},
10981098
)
10991099
val requestId = eventually() {
1100+
// find the review button again because the DOM may have been updated
1101+
val reviewButton = checkNewVoteRequestInProgressTab(previousVoteRequestsInProgress + 1)
11001102
reviewButton.underlying.click()
11011103
val requestId =
11021104
inside(find(id("vote-request-modal-content-contract-id"))) { case Some(tb) =>

0 commit comments

Comments
 (0)