xuang7 opened a new pull request, #7600:
URL: https://github.com/apache/texera/pull/7600

   ### What changes were proposed in this PR?
   
   This PR adds the first two UI controllers of the demo video generator (module
   introduced in #7594): signing in and getting a workflow onto the canvas.
   
   Changes:
   
   - `LoginControllerBuilder`: navigates to `/login` and signs in with the local
     account; skips the form when the session is already authenticated, and 
fails
     with a screenshot when the login page never appears.
   - `NavigationControllerBuilder`: `createNewWorkflow` (used by source-operator
     demos, which start from an empty canvas) and `importWorkflow`, which 
uploads
     a workflow JSON from the workflow listing and opens the resulting entry —
     covering both the list and card views of the listing.
   - The timing constants (`Delays`/`Timeouts`) the two controllers wait on;
     later controllers extend these.
   - Six `data-testid` hooks the controllers locate elements by (login form ×3,
     create/upload buttons, workflow canvas), each covered by a guard test in 
the
     component's existing spec so renaming or removing one fails CI instead of
     silently breaking recording.
   
   ### Any related issues, documentation, discussions?
   
   Closes #7520
   Depends on #7594.
   
   ### How was this PR tested?
   
   `sbt DemoVideoGenerator/compile`, `scalafmtCheck`, and `scalafix --check` all
   pass; the three touched component specs (157 tests, including the new guard
   tests) pass. The upload-import flow was verified end-to-end against a local
   deployment by recording an operator demo video with it.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Fable 5)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to