<commit_before>Feature: Pod visibility
  In order to get the information I have paid for
  As a signed-up user
  I want to be able to see the right things

Background:
  Given there is a pod for the current month
  And there is a pod for next month
  And there is a pod for last month
  And I am signed in
  And I have a subscription set up

Scenario: New users see a getting started page
  When I visit the current pod
  Then I should see the getting started page

Scenario: Users who have received for the current pod can see it
  Given I have paid for the current pod
  And the current pod has been shipped to me
  When I visit the current pod
  Then I should see content for the current pod

Scenario: Users cannot see past pods if they haven't received them
  When I visit the previous pod
  Then I should be redirected to the homepage
  
Scenario: Users can see past pods if they have received them
  Given I have paid for the previous pod
  And the previous pod was shipped to me
  When I visit the previous pod
  Given I have paid for the previous pod
  Then I should see content for the previous pod
  
Scenario: Users cannot see next month's pod
  When I visit the next pod
  Then I should be redirected to the homepage

Scenario: Shipped future pods are visible
  Given I have paid for the next pod
  And the next pod has been shipped to me
  When I visit the next pod
  Then I should see content for the next pod

Scenario: Unshipped pods are not yet visible - view last pod instead
  Given I have paid for the previous pod
  And the previous pod was shipped to me
  And I have paid for the current pod  
  But the current pod has not been shipped to me
  When I visit the current pod
  Then I should see content for the previous pod

Scenario: Unshipped pods are not yet visible - view getting started if no previous
  Given I have paid for the current pod
  But the current pod has not been shipped to me
  When I visit the current pod
  Then I should see the getting started page<commit_msg>Add some tests for "previous/next pod" links<commit_after>Feature: Pod visibility
  In order to get the information I have paid for
  As a signed-up user
  I want to be able to see the right things

Background:
  Given there is a pod for the current month
  And there is a pod for next month
  And there is a pod for last month
  And I am signed in
  And I have a subscription set up

Scenario: New users see a getting started page
  When I visit the current pod
  Then I should see the getting started page

Scenario: Users who have received the current pod can see it
  Given I have paid for the current pod
  And the current pod has been shipped to me
  When I visit the current pod
  Then I should see content for the current pod

Scenario: Users cannot see past pods if they haven't received them
  When I visit the previous pod
  Then I should be redirected to the homepage

Scenario: Users cannot see a link to the previous pod if they didn't receive it
  Given I have paid for the current pod
  And the current pod has been shipped to me
  When I visit the current pod
  Then I should not see "← Previous month"

Scenario: Users can see past pods if they have received them
  Given I have paid for the previous pod
  And the previous pod was shipped to me
  When I visit the previous pod
  Then I should see content for the previous pod

Scenario: Users can see a link to the previous pod if they received it
  Given I have paid for the previous pod
  And the previous pod was shipped to me
  And I have paid for the current pod
  And the current pod has been shipped to me
  When I visit the current pod
  Then I should see "← Previous month"

Scenario: Users cannot see next month's pod
  When I visit the next pod
  Then I should be redirected to the homepage

Scenario: Users cannot see a link to next month's pod
  Given I have paid for the current pod
  And the current pod has been shipped to me
  When I visit the current pod
  Then I should not see "Next month →"

Scenario: Shipped future pods are visible
  Given I have paid for the next pod
  And the next pod has been shipped to me
  When I visit the next pod
  Then I should see content for the next pod

Scenario: Users can see a link to future shipped pods
  Given I have paid for the next pod
  And the next pod has been shipped to me
  And I have paid for the current pod
  And the current pod has been shipped to me
  When I visit the current pod
  Then I should see "Next month →"

Scenario: Unshipped pods are not yet visible - view last pod instead
  Given I have paid for the previous pod
  And the previous pod was shipped to me
  And I have paid for the current pod
  But the current pod has not been shipped to me
  When I visit the current pod
  Then I should see content for the previous pod

Scenario: Unshipped pods are not yet visible - view getting started if no previous
  Given I have paid for the current pod
  But the current pod has not been shipped to me
  When I visit the current pod
  Then I should see the getting started page
{'fraction_non_alphanumeric': 0.011327503974562798, 'fraction_numerical': 0.0, 'mean_word_length': 3.3201716738197424, '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': '3198700', 'n_tokens_mistral': 1298, 'n_tokens_neox': 1276, 'n_words': 946}