← All Reports

Automate User App — ENG-4910 Test Cases

Trigger on HR Event — Event Type Name Dropdown & Search

📅 2026-06-11 🌐 automate.dev.sense.engineering 🤖 Claude Opus 4.8 + playwright-cli 👤 Paul Wagner
PASS
26 / 26 steps passed
ENG-4910
Ticket under test
Code Review
Ticket status
2
Test cases
4
Screenshots

✅ Verdict — PASS

The free-text “Event type name” input on the Trigger on HR event activity has been replaced with a searchable dropdown listing the supported HR events by their user-friendly names. Both test cases passed in full — TC1 (dropdown & selection) and TC2 (search functionality). One Low-severity behavioural observation was recorded (search term not reset when the dropdown is reopened); it does not block the ticket's acceptance criteria.

Tested on dev, where the dropdown change is already present, even though the Jira ticket is still in Code Review.

Scope & Setup

Ticket: ENG-4910[ACTIVITY] Trigger/Wait on HR event. Requirement: replace the free-text event-name input with a dropdown of all supported HR event names, with search.

Both test cases ran in one authenticated session against the QA organisation. For each, a throwaway workflow was created via Installations → Create new (landing in the Workflow Builder at /draft/:id/builder); the Trigger on HR event activity was dragged from the Triggers group onto the canvas, and selecting the node opened its properties panel.

TC1 — Verify Event Type Name Dropdown and Selection

Overall: PASS — 13 pass / 0 fail / 0 blocked

#ActionVerdictEvidence
1Login to the applicationPASSAuthenticated during setup; landed on /discover (QA org)
2Open a workflow in the Workflow BuilderPASSNew workflow; URL /draft/…/builder, Activity library + canvas rendered
3Expand the “Triggers” groupPASSTriggers [expanded]; lists Trigger on HR event among 7 activities
4Drag “Trigger on HR event” onto the canvasPASSNode rendered on canvas; properties panel auto-opened
5Click the “Trigger on HR event” nodePASSPanel shows ID, Comment, Event type name, Condition
6Locate the “Event type name” fieldPASSRenders as a dropdown control (combobox “Select event type”), not a free-text input
7Click the “Event type name” dropdownPASSDropdown [expanded]; 18 HR events with user-friendly names; embedded search box
8Verify “User Added” is listedPASSoption “User Added” present
9Verify “User Marked as Leaver” is listedPASSoption “User Marked as Leaver” present
10Verify “Expense Submitted” is listedPASSoption “Expense Submitted” present
11Select “User Added”PASSField updates to User Added; required-field validation cleared
12Click the dropdown againPASSRe-expands; “User Added” marked [selected]
13Select “Profile Updated (Via Profile)”PASSField updates to Profile Updated (Via Profile)

Full event list observed (18): User Added, Planner Event Added/Updated, Task Updated, User Deleted, User Marked as Leaver, Profile Picture Updates, Personal Document Added, Company Document Added, Profile Updated (Via Profile), Profile Updated (Via Todo), Planner Event Deleted, Sickness Notification Added, Leaver Status Undone, Locked Day Updated, Personal Document Signed, Expense Submitted, Attendance Updated, To Do Updated — matching the ENG-4910 requirements table.

TC2 — Verify Event Type Name Dropdown Search Functionality

Overall: PASS — 13 pass / 0 fail / 0 blocked

#ActionVerdictEvidence
1–5Login → open builder → expand Triggers → drag node → click nodePASSSame setup flow as TC1, on a fresh “ENG-4910 Search Test” workflow
6Click the “Event type name” dropdownPASSDropdown [expanded]; HR events listed with search box
7Type “User” in the search fieldPASSList filtered to User Added, User Deleted, User Marked as Leaver
8Verify “User Added” appears in filtered resultsPASSVisible in the filtered list
9Verify “Task Updated” is NOT in filtered resultsPASSOnly the 3 “User” events present; Task Updated absent
10Select “User Added” from filtered resultsPASSField updates to User Added
11Click the dropdown againPASS*Re-expands showing HR events — see observation (prior search term retained)
12Type “xyz123” (matches no events)PASSNo event options — “No results found” shown
13Clear the search fieldPASSAll 18 supported HR events displayed again

Observation

⚠️ Low — Dropdown search filter not reset on reopen (TC2, step 11)

When the “Event type name” dropdown is reopened, the previous search term (“User”) is retained in the search field, so the reopened list is pre-filtered to the 3 matching events rather than showing the full list. The literal expected result (“dropdown expands displaying the list of HR events”) is still met, and typing a new term or clearing the field works correctly. Flagged as a minor UX inconsistency, not a functional failure. Optional fix: reset the filter when the dropdown is closed.

Regression Findings

Recommendation

The ENG-4910 acceptance criteria (replace the free-text input with a searchable dropdown of supported HR events) are met on dev. The ticket can proceed past Code Review. Optionally, reset the dropdown's search filter on close/reopen so the full event list is presented by default (see Observation).