← All stories

BRANCH · ef-073-efx-poll

EFx Poll

EF-073Roots in: efx-station-shellMatrix: Partial

Live polling uses the F80/F88 substrate: organizer opens a question, attendees submit single, multi, or free-text responses, stations tally in real time, and results stay hidden until the configured visibility gate opens.

Happy path

  1. Organizer starts a poll question.

    Question type can be single choice, multi choice, or moderated free text.

  2. Attendees submit answers.

    Votes are keyed by attendee and question, acknowledged quickly, and tallied server-side.

  3. Organizer closes and reveals results.

    The tally is present in the snapshot before reveal but not rendered until the close gate flips.

Failure modes

Live poll rubric

Includes reconnect, out-of-order deltas, 5000 concurrent voters, late join snapshot, organizer pause, results gate, idempotent vote, and cross-station isolation.

Stable test attributes

Visibility teeth. Question, vote, and result regions must be effectively visible in their active states.

data-testWherePurpose
efx-poll-admin-panelOrganizer EFx controlsPoll controls
efx-poll-question-formOrganizer EFx controlsQuestion editor
efx-poll-question-typeQuestion editorQuestion type selector
efx-poll-start-ctaOrganizer EFx controlsStart question
efx-poll-pause-ctaOrganizer EFx controlsPause question
efx-poll-close-ctaOrganizer EFx controlsClose question
efx-poll-attendee-formAttendee poll pageVote form
efx-poll-vote-optionAttendee poll pageVote option
efx-poll-submit-ctaAttendee poll pageSubmit vote
efx-poll-tally-regionStation displayReal-time tally
efx-poll-results-regionStation displayRevealed results
efx-station-socket-statusStation runtimeSocket status

Agent test plan

- poll-admin-visible
- poll-starts-question
- attendee-vote-accepted
- close-reveals-results
- all WebSocket rubric probes in failureModes