diff options
author | Joas Schilling <coding@schilljs.com> | 2022-09-20 16:00:38 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-09-20 16:00:38 +0200 |
commit | 5acc1857c28f4e55b29adbb25ba846164c912de3 (patch) | |
tree | e088e26e93e35f6bea2e06ba617f9e904549b3e3 /tests | |
parent | 4577103a0de862885d15daa16afe177393c670fa (diff) |
Restrict polls from one-to-one chats
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/features/chat/poll.feature | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/integration/features/chat/poll.feature b/tests/integration/features/chat/poll.feature index ab77b2194..1e56b1cbb 100644 --- a/tests/integration/features/chat/poll.feature +++ b/tests/integration/features/chat/poll.feature @@ -233,7 +233,7 @@ Feature: chat/poll | votedSelf | not voted | | details | {} | - Scenario: Non-moderators can note create polls without chat permission + Scenario: Non-moderators can not create polls without chat permission Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | @@ -590,6 +590,16 @@ Feature: chat/poll | resultMode | public | | maxVotes | unlimited | + Scenario: Can not poll in one-to-one + Given user "participant1" creates room "room" (v4) + | roomType | 1 | + | invite | participant2 | + When user "participant1" creates a poll in room "room" with 400 + | question | Can I poll in one-to-one? | + | options | ["No","Nope"] | + | resultMode | public | + | maxVotes | unlimited | + Scenario: Deleting a user neutralizes their details Given user "participant1" creates room "room" (v4) | roomType | 2 | |