<commit_before>Feature: View group discussions
  To view all the discussions of a group including
  it's subgroups

Background:



Scenario: A user views a public group they are not a member of
  Given "green-group" is a public group
  Given I am not a member of "green-group"
  When I visit the group page for "green-group"
  Then I should see the discussions for "green-group"

Scenario: A user views a public group they are a member of
  Given "green-group" is a public group
  Given I am a member of "green-group"
  When I visit the group page for "green-group"
  Then I should see the discussions for "green-group"

Scenario: A user views a private group they are not a member of
  Given "red-group" is a private group
  Given I am not a member of "red-group"
  When I visit the group page for "red-group"
  Then I should not see the discussions for "red-group"

Scenario: A user views a private group they are a member of
  Given "red-group" is a private group
  Given I am a member of "red-group"
  When I visit the group page for "red-group"
  Then I should see the discussions for "red-group"


Scenario: A user views a public sub-group they are not a member of
  Given "green-group" is a public sub-group
  Given I am not a member of "green-group"
  When I visit the group page for "green-group"
  Then I should not see the discussions for "green-group"

Scenario: A user views a public sub-group they are a member of
  Given "green-group" is a public sub-group
  Given I am a member of "green-group"
  When I visit the group page for "green-group"
  Then I should see the discussions for "green-group"

Scenario: A user views a private sub-group they are not a member of
  Given "red-group" is a private sub-group
  Given I am not a member of "red-group"
  When I visit the group page for "red-group"
  Then I should not see the discussions for "red-group"

Scenario: A user views a private sub-group they are a member of



Scenario: A user views a group with a public sub-group, they are not a member of

Scenario: A user views a group with a public sub-group, they are a member of

Scenario: A user views a group with a private sub-group, they are not a member of

Scenario: A user views a group with a private sub-group, they are a member of

Scenario: A user views a group with a private sub-group, they are a member of and a private sub-group they are not a member of<commit_msg>more cucumber scanarios<commit_after>Feature: User views group discussions
  As a Loomio user
  So that I can see what groups are discussing
  I want to see all the public discussions belonging to a group


Scenario: User views discussions for a public group they are a member of
  Given "green-group" is a public group
  Given I am a member of "green-group"
  When I visit the group page for "green-group"
  Then I should see the discussions for "green-group"

Scenario: User views discussions for a public group they are not a member of
  Given "green-group" is a public group
  Given I am not a member of "green-group"
  When I visit the group page for "green-group"
  Then I should see the discussions for "green-group"

Scenario: User views discussions for a private group they are a member of
  Given "red-group" is a private group
  Given I am a member of "red-group"
  When I visit the group page for "red-group"
  Then I should see the discussions for "red-group"

Scenario: User tries to view discussions for a private group they are not a member of
  Given "red-group" is a private group
  Given I am not a member of "red-group"
  When I visit the group page for "red-group"
  Then I should not see the discussions for "red-group"



Scenario: User views discussions for a public sub-group they are a member of

Scenario: User views discussions for a public sub-group they are not a member of

Scenario: User views discussions for a private sub-group they are a member of

Scenario: User tries to view discussions for a private sub-group they are not a member of

Scenario: User views discussions for a sub-group viewable by parent-group members and they are a sub-group member

Scenario: User views discussions for a sub-group viewable by parent-group members and they are a parent-group member

Scenario: User tries to view discussions for a sub-group viewable by parent-group members and they are not a sub-group or parent-group member



Scenario: User views a discussions for a group with a public sub-group, they are not a member of

Scenario: A user views a group with a public sub-group, they are a member of

Scenario: A user views a group with a private sub-group, they are not a member of

Scenario: A user views a group with a private sub-group, they are a member of

Scenario: A user views a group with a private sub-group, they are a member of and a private sub-group they are not a member of
{'fraction_non_alphanumeric': 0.0444629129441097, 'fraction_numerical': 0.0, 'mean_word_length': 3.651207729468599, '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': '5310959', 'n_tokens_mistral': 1330, 'n_tokens_neox': 1316, 'n_words': 820}