<commit_before>Feature: Night Market

  Background:
    Given there are some night market games
      | name     | description | team       | website             | video                                       | thumbnail |
      | 遠古神話 | 範例遊戲    | 玄武工作室 | https://basaltic.tw | https://www.youtube.com/watch?v=QBYZAZlH9cw | TGDF.png  |
      | 九日     | 範例遊戲    | 赤燭       |                     |                                             | TGDF.png  |

  @night_market_enabled
  Scenario: User can see the games listed on page
    When  I visit "/"
    And I click "Night Market" in menu
    Then I can see the game in the page
      | text     |
      | 遠古神話 |
      | 九日     |

  @night_market_enabled
  Scenario: User can find a team button
    When  I visit "/"
    And I click "Night Market" in menu
    Then I can see the game developer in the page
      | name       | link                |
      | 玄武工作室 | https://basaltic.tw |
      | 赤燭       |                     |

  @night_market_enabled
  Scenario: User can find a video button
    When  I visit "/"
    And I click "Night Market" in menu
    Then I can see the game video in the page
      | name     | video                                       |
      | 遠古神話 | https://www.youtube.com/watch?v=QBYZAZlH9cw |

  @night_market_enabled
  Scenario: User can find a slide in page
    Given there are some slide in "night_market"
      | image    | language |
      | TGDF.png | zh-TW    |
    When  I visit "/"
    And I click "Night Market" in menu
    Then I can see the 1 slide in page

  @night_market_enabled
  Scenario: User can find a description in page
    Given there are some block in "night_market"
      | content     | language | component_type |
      | Hello World | zh-TW    | text           |
    When  I visit "/"
    And I click "Night Market" in menu
    Then I can see the text block with "Hello World"<commit_msg>adding locale change feature desc<commit_after>Feature: Night Market

  Background:
    Given there are some night market games
      | name     | description | team       | website             | video                                       | thumbnail |
      | 遠古神話 | 範例遊戲    | 玄武工作室 | https://basaltic.tw | https://www.youtube.com/watch?v=QBYZAZlH9cw | TGDF.png  |
      | 九日     | 範例遊戲    | 赤燭       |                     |                                             | TGDF.png  |

  @night_market_enabled
  Scenario: User can see the games listed on page
    When  I visit "/"
    And I click "Night Market" in menu
    Then I can see the game in the page
      | text     |
      | 遠古神話 |
      | 九日     |

  @night_market_enabled
  Scenario: User can find a team button
    When  I visit "/"
    And I click "Night Market" in menu
    Then I can see the game developer in the page
      | name       | link                |
      | 玄武工作室 | https://basaltic.tw |
      | 赤燭       |                     |

  @night_market_enabled
  Scenario: User can find a video button
    When  I visit "/"
    And I click "Night Market" in menu
    Then I can see the game video in the page
      | name     | video                                       |
      | 遠古神話 | https://www.youtube.com/watch?v=QBYZAZlH9cw |

  @night_market_enabled
  Scenario: User can find a slide in page
    Given there are some slide in "night_market"
      | image    | language |
      | TGDF.png | zh-TW    |
    When  I visit "/"
    And I click "Night Market" in menu
    Then I can see the 1 slide in page

  @night_market_enabled
  Scenario: User can find a description in page
    Given there are some block in "night_market"
      | content     | language | component_type |
      | Hello World | zh-TW    | text           |
    When  I visit "/"
    And I click "Night Market" in menu
    Then I can see the text block with "Hello World"
    
  @night_market_enabled
  Scenario: The button text on navbar for night market fest should display correctly for en and zh-TW
    When users visit "/" root they should see the "Nightmarket Festival"
    button name correctly displayed for both en and zh-TW locale
{'fraction_non_alphanumeric': 0.06627537295182197, 'fraction_numerical': 0.001467351430667645, 'mean_word_length': 1.618437900128041, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3490623', 'n_tokens_mistral': 1283, 'n_tokens_neox': 1267, 'n_words': 453}