Skip to content

Conversation

@fayi-da
Copy link
Contributor

@fayi-da fayi-da commented Dec 1, 2025

Pull Request Checklist

Cluster Testing

  • If a cluster test is required, comment /cluster_test on this PR to request it, and ping someone with access to the DA-internal system to approve it.
  • If a hard-migration test is required (from the latest release), comment /hdm_test on this PR to request it, and ping someone with access to the DA-internal system to approve it.

PR Guidelines

  • Include any change that might be observable by our partners or affect their deployment in the release notes.
  • Specify fixed issues with Fixes #n, and mention issues worked on using #n
  • Include a screenshot for frontend-related PRs - see README or use your favorite screenshot tool

Merge Guidelines

  • Make the git commit message look sensible when squash-merging on GitHub (most likely: just copy your PR description).

@fayi-da fayi-da changed the title SV UI Integration tests SV UI Integration tests - Offboard SV Dec 1, 2025
new FirefoxOptions()
.setLogLevel(FirefoxDriverLogLevel.DEBUG)
.addArguments("-headless")
// .addArguments("-headless")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use this to disable headless mode. I find it easier to understand issues as I can see what the test is doing

// We process all browsers in parallel, for faster test termination.
webDrivers.values.toList.parTraverse { webDriver =>
Future {
com.digitalasset.canton.concurrent.Threading.sleep(30000)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeps the browser open for 30secs after the test. Sometimes i want to inspect elements or see console errors, e.t.c. Remember to not merge these of course :)

}
}

"NEW UI: Offboard" in { implicit env =>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename this test of course :)

"NEW UI: Offboard" in { implicit env =>
val sv3PartyId = sv3Backend.getDsoInfo().svParty.toProtoPrimitive

createProposal("SRARC_OffboardSv") { implicit webDriver =>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once createProposal() works, it should be pretty easy to complete the tests for the other proposals since they all use createProposal.

Signed-off-by: fayi-da <[email protected]>
@fayi-da fayi-da force-pushed the fayi/3219-offboard-integration-test branch from f0d7c66 to 2934430 Compare December 2, 2025 19:37
@pawelperek-da pawelperek-da self-assigned this Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants