-
Notifications
You must be signed in to change notification settings - Fork 53
SV UI Integration tests - Offboard SV #3306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| new FirefoxOptions() | ||
| .setLogLevel(FirefoxDriverLogLevel.DEBUG) | ||
| .addArguments("-headless") | ||
| // .addArguments("-headless") |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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 => |
There was a problem hiding this comment.
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 => |
There was a problem hiding this comment.
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]>
f0d7c66 to
2934430
Compare
Pull Request Checklist
Cluster Testing
/cluster_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./hdm_teston this PR to request it, and ping someone with access to the DA-internal system to approve it.PR Guidelines
Fixes #n, and mention issues worked on using#nMerge Guidelines