Skip to content

Commit

Permalink
Temporarily removing tests to work out wat the requirement are
Browse files Browse the repository at this point in the history
  • Loading branch information
pricem14pc committed Sep 16, 2024
1 parent 1db2414 commit 815ee6d
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions tests/behavioural/features/threads_get.feature
Original file line number Diff line number Diff line change
Expand Up @@ -94,29 +94,31 @@ Feature: Get threads list Endpoint
When the threads are read with my_conversations set true
Then a bad request status code 400 is returned

Scenario: There are 10 conversations each from 2 internal users. Internal user gets threads using my conversations, they only see theirs
Given sending from internal specific user to respondent
And '10' messages are sent
And sending from alternate internal specific user to respondent
And '9' messages are sent
When the threads are read with my_conversations set true
Then a success status code 200 is returned
And '9' messages are returned
And all messages are from alternate internal specific user

Scenario: Two internal users in a conversation with a respondent, with my_conversations set true then the last one will see it in conversation list
Given sending from respondent to internal specific user
And the message is sent
And sending from internal specific user to respondent
And the thread id is set to the last returned thread id
And the message is sent
And sending from alternate internal specific user to respondent
And the thread id is set to the last returned thread id
And the message is sent
When the threads are read with my_conversations set true
Then a success status code 200 is returned
And '1' messages are returned
And all messages are from alternate internal specific user
# @skip
# Scenario: There are 10 conversations each from 2 internal users. Internal user gets threads using my conversations, they only see theirs
# Given sending from internal specific user to respondent
# And '10' messages are sent
# And sending from alternate internal specific user to respondent
# And '9' messages are sent
# When the threads are read with my_conversations set true
# Then a success status code 200 is returned
# And '9' messages are returned
# And all messages are from alternate internal specific user
#
# @skip
# Scenario: Two internal users in a conversation with a respondent, with my_conversations set true then the last one will see it in conversation list
# Given sending from respondent to internal specific user
# And the message is sent
# And sending from internal specific user to respondent
# And the thread id is set to the last returned thread id
# And the message is sent
# And sending from alternate internal specific user to respondent
# And the thread id is set to the last returned thread id
# And the message is sent
# When the threads are read with my_conversations set true
# Then a success status code 200 is returned
# And '1' messages are returned
# And all messages are from alternate internal specific user

Scenario: Two internal users in a conversation with a respondent, with my_conversations set true then the first one will NOT see it in conversation list
Given sending from respondent to internal specific user
Expand Down

0 comments on commit 815ee6d

Please sign in to comment.