<commit_before>Feature: conversation

  Scenario: create a group conversation
    Given I am logged in
    And I have opened the Talk app
    When I create a group conversation
    Then I see that the "You" conversation is active
    And I see that the chat is shown in the main view
    And I see that the sidebar is open
    And I see that the number of participants shown in the list is "1"
    And I see that "user0" is shown in the list of participants as a moderator

  Scenario: create a one-to-one conversation
    Given I am logged in
    And I have opened the Talk app
    When I create a one-to-one conversation with "admin"
    Then I see that the "admin" conversation is active
    And I see that the chat is shown in the main view
    And I see that the sidebar is open
    And I see that the number of participants shown in the list is "2"
    And I see that "user0" is shown in the list of participants as a moderator
    And I see that "admin" is shown in the list of participants as a moderator

  Scenario: rename a conversation
    Given I am logged in
    And I have opened the Talk app
    And I create a group conversation
    And I see that the "You" conversation is active
    When I rename the conversation to "Test conversation"
    Then I see that the "Test conversation" conversation is active

  Scenario: change between conversations
    Given I am logged in
    And I have opened the Talk app
    And I create a group conversation
    And I see that the "You" conversation is active
    And I see that the number of participants shown in the list is "1"
    And I create a one-to-one conversation with "admin"
    And I see that the "You" conversation is not active
    And I see that the "admin" conversation is active
    And I see that the number of participants shown in the list is "2"
    When I open the "You" conversation
    Then I see that the "You" conversation is active
    And I see that the "admin" conversation is not active
    And I see that the number of participants shown in the list is "1"

  Scenario: leave a conversation
    Given I am logged in
    And I have opened the Talk app
    And I create a group conversation
    And I see that the "You" conversation is active
    When I leave the "You" conversation
    Then I see that the "You" conversation is not shown in the list
    And I see that the "Join a conversation or start a new one" empty content message is shown in the main view
    And I see that the sidebar is closed

  Scenario: delete a one-to-one conversation
    Given I act as John
    And I am logged in
    And I have opened the Talk app
    And I create a one-to-one conversation with "admin"
    And I see that the "admin" conversation is active
    And I see that the chat is shown in the main view
    And I see that the sidebar is open
    And I act as Jane
    And I am logged in as the admin
    And I have opened the Talk app
    And I open the "user0" conversation
    And I see that the "user0" conversation is active
    And I see that the chat is shown in the main view
    And I see that the sidebar is open
    When I act as John
    And I delete the "admin" conversation
    Then I see that the "admin" conversation is not shown in the list
    And I see that the "Join a conversation or start a new one" empty content message is shown in the main view
    And I see that the sidebar is closed
    And I act as Jane
    And I see that the "user0" conversation is not shown in the list
    And I see that the "This conversation has ended" empty content message is shown in the main view
    And I see that the sidebar is closed

  Scenario: create a new conversation after leaving the active one
    Given I am logged in
    And I have opened the Talk app
    And I create a group conversation
    And I see that the "You" conversation is active
    And I leave the "You" conversation
    And I see that the "You" conversation is not shown in the list
    And I see that the "Join a conversation or start a new one" empty content message is shown in the main view
    And I see that the sidebar is closed
    When I create a group conversation
    Then I see that the "You" conversation is active
    And I see that the chat is shown in the main view
    And I see that the sidebar is open
    And I see that the number of participants shown in the list is "1"
    And I see that "user0" is shown in the list of participants as a moderator

  Scenario: change to another conversation after leaving the active one
    Given I am logged in
    And I have opened the Talk app
    And I create a one-to-one conversation with "admin"
    And I see that the "admin" conversation is active
    And I see that the number of participants shown in the list is "2"
    And I create a group conversation
    And I see that the "admin" conversation is not active
    And I see that the "You" conversation is active
    And I see that the number of participants shown in the list is "1"
    And I leave the "You" conversation
    And I see that the "You" conversation is not shown in the list
    And I see that the "Join a conversation or start a new one" empty content message is shown in the main view
    And I see that the sidebar is closed<commit_msg>Fix acceptance tests regression from #1275<commit_after>Feature: conversation

  Scenario: create a group conversation
    Given I am logged in
    And I have opened the Talk app
    When I create a group conversation
    Then I see that the "You" conversation is active
    And I see that the chat is shown in the main view
    And I see that the sidebar is open
    And I see that the number of participants shown in the list is "1"
    And I see that "user0" is shown in the list of participants as a moderator

  Scenario: create a one-to-one conversation
    Given I am logged in
    And I have opened the Talk app
    When I create a one-to-one conversation with "admin"
    Then I see that the "admin" conversation is active
    And I see that the chat is shown in the main view
    And I see that the sidebar is open
    And I see that the number of participants shown in the list is "2"
    And I see that "user0" is shown in the list of participants as a moderator
    And I see that "admin" is shown in the list of participants as a moderator

  Scenario: rename a conversation
    Given I am logged in
    And I have opened the Talk app
    And I create a group conversation
    And I see that the "You" conversation is active
    When I rename the conversation to "Test conversation"
    Then I see that the "Test conversation" conversation is active

  Scenario: change between conversations
    Given I am logged in
    And I have opened the Talk app
    And I create a group conversation
    And I see that the "You" conversation is active
    And I see that the number of participants shown in the list is "1"
    And I create a one-to-one conversation with "admin"
    And I see that the "You" conversation is not active
    And I see that the "admin" conversation is active
    And I see that the number of participants shown in the list is "2"
    When I open the "You" conversation
    Then I see that the "You" conversation is active
    And I see that the "admin" conversation is not active
    And I see that the number of participants shown in the list is "1"

  Scenario: leave a conversation
    Given I am logged in
    And I have opened the Talk app
    And I create a group conversation
    And I see that the "You" conversation is active
    When I leave the "You" conversation
    Then I see that the "You" conversation is not shown in the list
    And I see that the "Join a conversation or start a new one Say hi to your friends and colleagues!" empty content message is shown in the main view
    And I see that the sidebar is closed

  Scenario: delete a one-to-one conversation
    Given I act as John
    And I am logged in
    And I have opened the Talk app
    And I create a one-to-one conversation with "admin"
    And I see that the "admin" conversation is active
    And I see that the chat is shown in the main view
    And I see that the sidebar is open
    And I act as Jane
    And I am logged in as the admin
    And I have opened the Talk app
    And I open the "user0" conversation
    And I see that the "user0" conversation is active
    And I see that the chat is shown in the main view
    And I see that the sidebar is open
    When I act as John
    And I delete the "admin" conversation
    Then I see that the "admin" conversation is not shown in the list
    And I see that the "Join a conversation or start a new one Say hi to your friends and colleagues!" empty content message is shown in the main view
    And I see that the sidebar is closed
    And I act as Jane
    And I see that the "user0" conversation is not shown in the list
    And I see that the "This conversation has ended" empty content message is shown in the main view
    And I see that the sidebar is closed

  Scenario: create a new conversation after leaving the active one
    Given I am logged in
    And I have opened the Talk app
    And I create a group conversation
    And I see that the "You" conversation is active
    And I leave the "You" conversation
    And I see that the "You" conversation is not shown in the list
    And I see that the "Join a conversation or start a new one Say hi to your friends and colleagues!" empty content message is shown in the main view
    And I see that the sidebar is closed
    When I create a group conversation
    Then I see that the "You" conversation is active
    And I see that the chat is shown in the main view
    And I see that the sidebar is open
    And I see that the number of participants shown in the list is "1"
    And I see that "user0" is shown in the list of participants as a moderator

  Scenario: change to another conversation after leaving the active one
    Given I am logged in
    And I have opened the Talk app
    And I create a one-to-one conversation with "admin"
    And I see that the "admin" conversation is active
    And I see that the number of participants shown in the list is "2"
    And I create a group conversation
    And I see that the "admin" conversation is not active
    And I see that the "You" conversation is active
    And I see that the number of participants shown in the list is "1"
    And I leave the "You" conversation
    And I see that the "You" conversation is not shown in the list
    And I see that the "Join a conversation or start a new one Say hi to your friends and colleagues!" empty content message is shown in the main view
    And I see that the sidebar is closed
{'fraction_non_alphanumeric': 0.023740264614807167, 'fraction_numerical': 0.0030027212161020927, 'mean_word_length': 2.9011713030746704, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1879747', 'n_tokens_mistral': 2681, 'n_tokens_neox': 2629, 'n_words': 1908}