Automation lab Aú E2E Workflows (E2E_WORKFLOWS)
Lab 104: E2E Case Management: Submit -> Approve -> Publish Result
Practice a full multi-role E2E flow: login, create draft, submit, approve/reject, publish result, and track status.
intermediate
intermediate
Objectives
Use for test scripts- Write long-running end-to-end flows across multiple pages and roles.
- Use stable selectors (data-test-id) for robust automation.
- Validate business rules and negative scenarios.
- Assert workflow states, timeline events, and access control.
Sandbox
E2E Workflows | Case Management | intermediate | active
E2E Case Management: Submit -> Approve -> Publish Result
Practice a full multi-role flow: login, create draft, submit, approve or reject, publish, and track.
E2E workflow
Multi-role approval
Status + timeline assertions
Learning objectives
- Automate long-running workflows across roles.
- Use stable selectors with data-test-id.
- Validate business rules and negative paths.
- Assert timeline events and access control.
Steps
- Login as Applicant and create a draft.
- Submit the application and capture the code.
- Login as Approver and approve or reject.
- Publish the result for approved cases.
- Track status on the public tracker.
Expected results
- Status transitions follow the workflow rules.
- Timeline events record each transition.
- Validation blocks invalid submissions.
- Publish exposes a result link for tracking.
- Role access is enforced per page.
Practice sandbox
Case management workflow with Applicant and Approver roles.
Active user:
Not signed in
Select a user to start.
Ready.
Applicant: applicant01 / P@ssw0rd!
Approver: approver01 / P@ssw0rd!
Applicant dashboard
Manage draft and submitted applications.
| Code | Procedure | Status | Actions |
|---|
Create application
New draft
Application detail
Review status, timeline, and actions.
Application code
-
-
Procedure: -
Full name: -
Citizen ID: -
DOB: -
Phone: -
Address: -
Attachments
Timeline
Approver inbox
Review submitted applications.
| Code | Applicant | Procedure | Status | Actions |
|---|
Status
-