Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/gui_user/scenarios/crewmate-create-first.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ steps:
expectations:
- The "New crewmate" dialog is closed.
- A chat conversation is open and "Radar{attempt_suffix}" is visible in its header or on the selected crewmate card.
- A chat bubble containing "welcome to the team" is visible in the conversation (the greeting the page sends on your behalf).
- Without you typing anything, the conversation shows a reply bubble from the crewmate (on this test build it reads "pong from the fake ACP backend"). The crewmate speaks first; the note that starts it is hidden, so no bubble from you is expected above it.
max_steps: 18
max_seconds: 480
17 changes: 17 additions & 0 deletions test/gui_user/test_scenarios_and_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,23 @@ def test_crewmates_scenarios_name_the_current_preview_and_rail_label(self) -> No
assert '"Crewmates" item appears in the left rail' in step, (path.name, step)
assert checked >= 5

def test_created_crewmate_speaks_first_with_no_user_greeting_bubble(self) -> None:
"""A new crewmate's first turn is a hidden kickoff, so the only bubble is its reply.

The create sends ``first_greeting`` and the server starts the
crewmate's first turn from a kickoff that is never written to the
transcript (``mate_welcome``). No user bubble is drawn, so an
expectation that asks for one fails on every nightly.
"""
sc = scenarios.load_scenario(SCENARIOS_DIR / "crewmate-create-first.yaml")
expectations = " ".join(sc.expectations)
assert "welcome to the team" not in expectations
assert "on your behalf" not in expectations
from kiro_crew.testing.fake_acp_backend import REPLY_TEXT

assert f'"{REPLY_TEXT}"' in expectations
assert "no bubble from you" in expectations

def test_scenarios_name_the_dormant_row_by_its_shipped_sentence(self) -> None:
"""The dormant expander reads "1 dormant session hidden/shown".

Expand Down
Loading