<commit_before>@register @ie @safari
Feature: Sign into Blinkbox books
  As a registered user of Blinkbox books
  I want to sign in
  So that I can access my account, read my library books and buy books

  Background: Navigate to sign in
    Given I am not signed in

  @smoke @production
  Scenario: Happy path user sign in
    Given I am on the Sign in page
    When I enter valid sign in details
    And I click sign in button
    Then I am successfully signed in
    And I am redirected to Home page

   @pending
  Scenario: Sign in by selecting Keep me signed in
    Given I am on the Sign in page
    When I enter valid sign in details
    And select Keep me signed in
    And I click sign in button
    Then I am successfully signed in
    And I am redirected to Home page


  @negative @production
  Scenario: Sign in with email address that is not registered
    Given I am on the Sign in page
    When I try to sign in with email address that is not registered
    Then sign in is not successful
    And "Your sign in details are incorrect. Please try typing them in again, or if you have forgotten your password, we’ll email you a reset link" message is displayed
    And link to reset password is displayed

  @negative @production
  Scenario: Sign in with incorrect password
    Given I am on the Sign in page
    When I try to sign in with incorrect password
    Then sign in is not successful
    And "Your sign in details are incorrect. Please try typing them in again, or if you have forgotten your password, we’ll email you a reset link" message is displayed
    And link to reset password is displayed

  @negative @production
  Scenario: Sign in with empty password
    Given I am on the Sign in page
    When I try to sign in with empty password field
    Then sign in is not successful
    And "Please enter your password" message is displayed

  @production @test
  Scenario: Click send me a reset link
    Given I am on the Sign in page
    And I have attempted to sign in with incorrect password
    And link to reset password is displayed
    When I click on Send me a reset link
    Then reset password page is displayed

  @production
  Scenario:  Forgotten password link
    Given I am on the Sign in page
    When I click on Forgotton your password? link
    Then reset password page is displayed

  @production<commit_msg>Remove temp. tag<commit_after>@register @ie @safari
Feature: Sign into Blinkbox books
  As a registered user of Blinkbox books
  I want to sign in
  So that I can access my account, read my library books and buy books

  Background: Navigate to sign in
    Given I am not signed in

  @smoke @production
  Scenario: Happy path user sign in
    Given I am on the Sign in page
    When I enter valid sign in details
    And I click sign in button
    Then I am successfully signed in
    And I am redirected to Home page

   @pending
  Scenario: Sign in by selecting Keep me signed in
    Given I am on the Sign in page
    When I enter valid sign in details
    And select Keep me signed in
    And I click sign in button
    Then I am successfully signed in
    And I am redirected to Home page


  @negative @production
  Scenario: Sign in with email address that is not registered
    Given I am on the Sign in page
    When I try to sign in with email address that is not registered
    Then sign in is not successful
    And "Your sign in details are incorrect. Please try typing them in again, or if you have forgotten your password, we’ll email you a reset link" message is displayed
    And link to reset password is displayed

  @negative @production
  Scenario: Sign in with incorrect password
    Given I am on the Sign in page
    When I try to sign in with incorrect password
    Then sign in is not successful
    And "Your sign in details are incorrect. Please try typing them in again, or if you have forgotten your password, we’ll email you a reset link" message is displayed
    And link to reset password is displayed

  @negative @production
  Scenario: Sign in with empty password
    Given I am on the Sign in page
    When I try to sign in with empty password field
    Then sign in is not successful
    And "Please enter your password" message is displayed

  @production
  Scenario: Click send me a reset link
    Given I am on the Sign in page
    And I have attempted to sign in with incorrect password
    And link to reset password is displayed
    When I click on Send me a reset link
    Then reset password page is displayed

  @production
  Scenario:  Forgotten password link
    Given I am on the Sign in page
    When I click on Forgotton your password? link
    Then reset password page is displayed

  @production
{'fraction_non_alphanumeric': 0.018711460769721456, 'fraction_numerical': 0.0, 'mean_word_length': 3.0239520958083834, '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': '4207500', 'n_tokens_mistral': 1172, 'n_tokens_neox': 1151, 'n_words': 792}