fix(01-04): update matrix dispatcher and reaction tests
- rewrite invite/new-chat assertions for Space-based Matrix flow - replace legacy reaction text checks with !skill on/off expectations - validate confirmation text against !yes and !no prompts
This commit is contained in:
parent
0d85947a0b
commit
6f1bdb4077
2 changed files with 59 additions and 21 deletions
|
|
@ -19,13 +19,14 @@ def test_build_skills_text():
|
|||
text = build_skills_text(settings)
|
||||
assert "web-search" in text
|
||||
assert "fetch-url" in text
|
||||
assert "Реакции 1️⃣-9️⃣" in text
|
||||
assert "!skill on/off" in text
|
||||
|
||||
|
||||
def test_build_confirmation_text():
|
||||
text = build_confirmation_text("Отправить письмо?")
|
||||
assert "Отправить письмо?" in text
|
||||
assert "подтвердить" in text
|
||||
assert "!yes" in text
|
||||
assert "!no" in text
|
||||
|
||||
|
||||
def test_reaction_to_skill_index():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue