S

Knowledge Pack Files

SideButton Marketing Website Knowledge Pack Files

Browse the source files that power the SideButton Marketing Website MCP server knowledge pack.

Available free v1.0.3 Browser
$ sidebutton install sidebutton.com
Download ZIP
16.7 KB

Prerequisites

  • Authenticated session
  • At least 1 completed, 1 failed, and 1 cancelled job in history (run a workflow first if needed)
  • Cookie consent dismissed

Phase 1: Page Load & Structure

#TestMethodPass Criteria
1.1Jobs page loadsnavigate to /portal/jobsH1 "Jobs" visible
1.2Job countsnapshot"N jobs" text below heading
1.3Filter tabssnapshotAll 6 tabs visible: All, Running, Waiting, Completed, Failed, Cancelled
1.4All tab activesnapshot"All" tab has green pill background by default
1.5Job list renderssnapshotAt least one job row visible with status dot, name, ID, agent, steps, duration, time
1.6Column headerssnapshot"ITEM", "AGENT", "STATUS" column headers visible above job rows
1.7Search textboxsnapshot"Search tickets…" textbox present below filter tabs
1.8Workflow filtersnapshot"Workflow" label with combobox (default "All workflows")
1.9Agent filtersnapshot"Agent" label with combobox (default "All agents")

Phase 2: Job List Elements

#TestMethodPass Criteria
2.1Job row — workflow namesnapshotBold workflow name in title case (e.g. "SD Coverage", "PM Drive")
2.2Job row — IDsnapshotGrey "#NNN" text next to name
2.3Job row — agent avatarsnapshotSmall green circle with img element for agent
2.4Job row — agent linksnapshotAgent name is a link to /portal/agents
2.5Job row — effort badgesnapshotGreen "MAX" / "HIGH" / "MEDIUM" badge (if present)
2.6Job row — step countsnapshot"N step" text
2.7Job row — durationsnapshot"Nm Ns" format (e.g. "11m 2s", "4m 31s")
2.8Job row — status: CompletedsnapshotGreen dot + "Completed" badge
2.9Job row — status: FailedsnapshotRed dot + "Failed" badge
2.10Job row — status: RunningsnapshotBlue dot + "Running" badge
2.11Job row — status: CancelledsnapshotGrey dot + "Cancelled" badge
2.12Job row — relative timesnapshot"Nm ago" / "Nh ago" / "Nd ago" right-aligned
2.13Job row — ticket referencesnapshotOrange/yellow ticket ref text (e.g. "SCRUM-229") for jobs with linked tickets
2.14Job row — Cancel buttonsnapshot on running job"Cancel" button visible on running job rows
2.15Job row — Resend buttonsnapshot on failed/cancelled"Resend" button visible on failed and cancelled job rows
2.16Job row clickableclick any job rowNavigates to /portal/jobs/{id}
2.17Running count badgesnapshot (when running jobs exist)Running tab shows count (e.g. "Running 3")

Phase 3: Filter Tabs

#TestMethodPass Criteria
3.1Filter: Completedclick "Completed" tab -> snapshotOnly completed jobs shown, tab active
3.2Filter: Failedclick "Failed" tab -> snapshotOnly failed jobs shown, tab active
3.3Filter: Runningclick "Running" tab -> snapshotOnly running jobs (or empty state)
3.4Filter: Waitingclick "Waiting" tab -> snapshotOnly waiting jobs (or empty state)
3.5Filter: Cancelledclick "Cancelled" tab -> snapshotOnly cancelled jobs shown, tab active
3.6Filter: Allclick "All" tab -> snapshotAll jobs shown, tab active
3.7URL updates on filtercheck URL after filter clickURL includes ?status={status} query param

Phase 4: Search & Filter Controls

#TestMethodPass Criteria
4.1Search by ticket reftype ticket reference in search -> snapshotJob list filters to matching ticket(s)
4.2Search clearclear search textbox -> snapshotFull job list restores
4.3Workflow filterselect specific workflow from dropdown -> snapshotOnly jobs for that workflow shown
4.4Agent filterselect specific agent from dropdown -> snapshotOnly jobs for that agent shown
4.5Combined filtersset status tab + workflow filter -> snapshotFilters combine correctly
4.6Reset workflow filterselect "All workflows" -> snapshotFull list restores
4.7Reset agent filterselect "All agents" -> snapshotFull list restores

Phase 5: Completed Job Detail

#TestMethodPass Criteria
5.1Detail page loadsnavigate to completed job /portal/jobs/{id}H1 = workflow-slug with source/ticket, green "Completed" badge
5.2Back linksnapshot"< Back to jobs" link present
5.3Metadata rowsnapshotJob #N, agent avatar + name, effort badge, duration (Nm Ns), "Created" date, pipeline ID
5.4Pipeline IDsnapshotGreen/teal monospace text below metadata (e.g. "pipeline-job-4227")
5.5Agent avatar linksnapshotAgent avatar and name link to /portal/agents
5.6Temporal Workflow IDsnapshotspan "Temporal Workflow ID" present in accessibility tree
5.7INPUT cardextract main"Input" header with key-value params
5.8INPUT trigger variables (automation job)extract main on automation-triggered jobtrigger_ticket_url, trigger_project, trigger_assignee, trigger_status, trigger_issue_key, trigger_issue_type visible
5.9INPUT without trigger variables (queued job)extract main on queued jobOnly ticket_url and hint shown, no trigger_* fields
5.10Temporal timeline presentextract main on recent job"Job: COMPLETED | N events | size KB | short_id" summary line visible
5.11Timeline phasesextract mainInit, Agent Setup, Execution, Teardown phases with durations and activity counts
5.12Timeline Execution detailextract mainrunAndMonitor sub-entry showing "workflow: {id} agent: {name}"
5.13OUTPUT cardextract main at page bottom"Output" card with monospace completion message (e.g. "Workflow agent_se_work completed on venmate-agent-10")
5.14No Cancel/ResendsnapshotNeither Cancel nor Resend button shown on completed jobs
5.15Back navigationclick "Back to jobs"Returns to job list
5.16Page titleevaluate document.title"Job #{id} - SideButton Fleet"

Phase 6: Failed Job Detail

#TestMethodPass Criteria
6.1Failed detail pagenavigate to failed job → extract mainH1 = workflow-slug — ticket-ref, red "Failed" badge
6.2Resend buttonsnapshotBlue "Resend" button in top-right
6.3ERROR cardextract main"Error" card with "Step N (step-name) failed" + error detail
6.4Status mismatch errorextract main on mismatch jobError shows "Status mismatch: portal says 'failed' but orchestrator says 'COMPLETED'"
6.5Temporal timeline (if available)extract main on recent failed jobTimeline shows phases; Temporal status may show COMPLETED despite portal Failed
6.6Temporal unreachable (if unavailable)extract main on older failed job"Temporal unreachable" replaces timeline
6.7Temporal Workflow IDsnapshotspan "Temporal Workflow ID" present
6.8Ticket URL in INPUTextract mainClickable link to Jira ticket in INPUT card (when ticket_url param present)
6.9No OUTPUT cardextract mainNo Output card shown on failed jobs

Phase 7: Running Job Detail

#TestMethodPass Criteria
7.1Running detail pagenavigate to running job → extract mainH1 = workflow heading, blue "Running" badge
7.2Cancel buttonsnapshotBlue "Cancel" button in top-right
7.3Live durationextract main twiceDuration values change between extracts (ticking live)
7.4Temporal timeline (running)extract mainTimeline shows phases — Execution phase may show RUNNING status
7.5No ERROR/OUTPUT cardextract mainNeither Error nor Output card shown on running jobs

Phase 8: Cancelled Job Detail

#TestMethodPass Criteria
8.1Cancelled detail pagenavigate to cancelled job → extract mainH1 = workflow heading, grey "Cancelled" badge
8.2Resend buttonsnapshotBlue "Resend" button in top-right
8.3Temporal unreachableextract main"Temporal unreachable" shown (cancelled jobs typically lack Temporal history)
8.4No ERROR card at topextract mainNo top-level Error card (unlike failed jobs)
8.5No OUTPUT cardextract mainNo Output card shown on cancelled jobs

Phase 9: Empty State

#TestMethodPass Criteria
9.1Empty: All tabnavigate to /portal/jobs (0 jobs account) → snapshotLightning bolt icon + "No jobs yet" heading + "Run a workflow from the agents page to create a job" hint
9.2Empty: Running tabclick "Running" tab → snapshot"No running jobs" heading + same hint text
9.3Empty: Waiting tabclick "Waiting" tab → snapshot"No waiting jobs" heading + same hint text
9.4Empty: Completed tabclick "Completed" tab → snapshot"No completed jobs" heading + same hint text
9.5Empty: Failed tabclick "Failed" tab → snapshot"No failed jobs" heading + same hint text
9.6Empty: Cancelled tabclick "Cancelled" tab → snapshot"No cancelled jobs" heading + same hint text
9.7Empty: job countsnapshot"0 jobs" count below heading
9.8Empty: Agent filter hiddensnapshotNo Agent dropdown in filter bar; only Workflow filter shown
9.9Empty: Workflow dropdownevaluate JS on select optionsOnly "All workflows" option — no workflow-specific options

Phase 10: Waiting Job Detail

#TestMethodPass Criteria
10.1Waiting detail pagenavigate to waiting job → snapshotH1 = workflow heading, amber "Waiting" badge
10.2Cancel buttonsnapshotBlue "Cancel" button in top-right
10.3No Resend buttonsnapshotNo "Resend" button (only Cancel available)
10.4Step waitingsnapshotStep with "Waiting" status badge (if step not yet started)
10.5No ERROR/OUTPUT cardsnapshotNeither ERROR nor OUTPUT card shown on waiting jobs

Phase 11: Resend & Cancel Actions

#TestMethodPass Criteria
11.1Cancel running jobclick "Cancel" on running job → snapshotJob transitions to "Cancelled" status, Cancel button disappears
11.2Resend failed jobclick "Resend" on failed job → snapshotButton changes to "Resended" (disabled/grey state)
11.3Resended button disabledsnapshot after Resend click"Resended" button is visible but non-clickable
11.4Resend cancelled jobclick "Resend" on cancelled job → snapshotButton changes to "Resended" (disabled)
11.5Cancel from detail pageon running job detail, click "Cancel" → snapshotStatus badge changes to "Cancelled", Resend button appears

Phase 12: Sidebar Navigation

#TestMethodPass Criteria
12.1Jobs link activesnapshot sidebar"Jobs" link highlighted with active background in sidebar
12.2All sidebar links presentevaluate JS nav links7 links: Chat, Agents, Jobs, Queue, Automations, Workflows, Settings
12.3User infosnapshot sidebar bottomUser email displayed + "Log out" link

Phase 13: Edge Cases

#TestMethodPass Criteria
13.1Job without effort badgecheck a job missing effortNo badge shown, layout still correct
13.2Job without ticket refcheck a non-ticket jobNo orange ticket text, heading shows source (e.g. "queued")
13.3Job without INPUTcheck OPS job detail (e.g. Pull Repos)INPUT card shows minimal or no params
13.4Rapid filter switchingclick through all 6 tabs quicklyEach filter loads correctly, no stale data
13.5Infinite scrollscroll to bottom of long list → snapshot"Loading more..." appears, additional jobs load
13.6from_status paramclick job from filtered view → check URLDetail URL includes ?from_status={status}
13.7Multi-step job progressopen job with 2+ steps → snapshotMultiple steps shown, each with own status/duration/agent
13.8Workflow filter dual IDsevaluate JS on #workflow-filter-select optionsBoth legacy agent_* prefixed IDs and new dash-separated IDs present
13.9Detail heading: ticket jobopen ticket-linked job → extract mainH1 format: "workflow-slug — TICKET-KEY" (e.g. "se-work — MVP-1601")
13.10Detail heading: queued jobopen non-ticket job → extract mainH1 format: "workflow-slug — queued" (e.g. "pull-repos — queued")
13.11Hint in INPUT cardopen automation job → extract main"hint:" field visible (e.g. "Jira webhook: jira:issue_updated")
13.12Temporal timeline Init phaseextract main on recent jobInit phase with duration in ms + activity count
13.13Temporal timeline Agent Setupextract main on recent jobAgent Setup phase with duration in ms + activity count
13.14Temporal timeline Teardownextract main on recent jobTeardown phase with duration in ms + activity count
13.15Temporal runAndMonitor detailextract main on recent jobShows "workflow: {id} agent: {name}" in Execution phase

Phase 14: Cross-Module Integration

#TestMethodPass Criteria
14.1Automation-triggered job INPUTnavigate to automation-dispatched job → extract mainINPUT shows trigger_* variables (trigger_ticket_url, trigger_project, etc.)
14.2Queued job INPUTnavigate to queue-dispatched job → extract mainINPUT shows only ticket_url + hint, no trigger_* variables
14.3Agent link navigatesclick agent avatar link on detail → check URLNavigates to /portal/agents
14.4Jira ticket linkclick ticket URL link in INPUT → check URLOpens Jira ticket in browser
14.5Job from filtered list back navnavigate to job from failed filter → click "Back to jobs"Returns to filtered list (?status=failed)

Automation Tips

  • Job list rows are link elements — click by ref to navigate to detail
  • Filter tabs are also link elements — they use URL query params, not client-side filtering
  • The 6th tab "Cancelled" is new — always verify it exists alongside the original 5
  • Workflow and Agent dropdowns are native <select> elements — use select_option() for automation, not click-based dropdown interaction
  • Search textbox is a standard textbox — use type or fill to enter search text
  • The ERROR card on failed jobs shows "Step N (step-name) failed" with optional detail (e.g. status mismatch info)
  • The old "Show details" <details> expandable no longer exists — replaced by Temporal timeline phases
  • Use extract main instead of snapshot for job detail content — snapshot may not capture all rendered text
  • Pipeline ID format: "pipeline-job-{id}" in green monospace
  • Effort badge may be absent on some jobs — don't fail if missing
  • Status dots use colored circles, not emoji — verify by snapshot, not text content
  • Cancel button appears on running AND waiting jobs; Resend only on failed/cancelled — assert presence/absence based on status
  • After clicking Resend, the button changes to "Resended" (disabled) — verify this state transition, don't click twice
  • Agent names are links (link "agent-name") that navigate to /portal/agents — verify href
  • Running job durations tick live — re-snapshot may show different duration values
  • Temporal timeline phases (Init, Agent Setup, Execution, Teardown) replace the old step progress bars and task lists
  • Cancelled jobs typically show "Temporal unreachable" instead of a timeline — no phase detail available
  • Temporal status may differ from portal status (e.g. Temporal says COMPLETED but portal says Failed) — verify both
  • Automation-triggered jobs show trigger_* variables in INPUT; queued jobs do not
  • Empty state text is context-specific per filter tab: "No running jobs", "No failed jobs", etc. — only "All" says "No jobs yet"
  • Workflow filter dropdown (#workflow-filter-select) populates dynamically from job data — shows both legacy agent_* prefixed IDs and new dash-separated IDs from historical jobs; empty accounts show only "All workflows"
  • Agent filter dropdown is completely absent (not just empty) when no agents are registered or no jobs exist
  • Sidebar nav should show Jobs as active (highlighted background) — verify via snapshot or evaluate JS