<commit_before>@backend
Feature: Check the snapshot admin module

Scenario: Check snapshot admin pages when not connected
  When I go to "admin/sonata/page/snapshot/list"
  Then the response status code should be 200
  And I should see "Username"

Scenario: Check page admin pages when connected
  When I am connected with "admin" and "admin" on "admin/sonata/page/snapshot/list"
  Then I should see "Filters"<commit_msg>Adding tests for exporting snapshots<commit_after>@backend
Feature: Check the snapshot admin module

Scenario: Check snapshot admin pages when not connected
  When I go to "admin/sonata/page/snapshot/list"
  Then the response status code should be 200
  And I should see "Username"

Scenario: Check page admin pages when connected
  When I am connected with "admin" and "admin" on "admin/sonata/page/snapshot/list"
  Then I should see "Filters"

Scenario: Export JSON data
  When I am connected with "admin" and "admin" on "admin/sonata/page/site/list"
  And I follow "json"
  Then the response status code should be 200

Scenario: Export CSV data
  When I am connected with "admin" and "admin" on "admin/sonata/page/site/list"
  And I follow "csv"
  Then the response status code should be 200

Scenario: Export XML data
  When I am connected with "admin" and "admin" on "admin/sonata/page/site/list"
  And I follow "xml"
  Then the response status code should be 200

Scenario: Export XLS data
  When I am connected with "admin" and "admin" on "admin/sonata/page/site/list"
  And I follow "xls"
  Then the response status code should be 200

{'fraction_non_alphanumeric': 0.06777493606138107, 'fraction_numerical': 0.011508951406649617, 'mean_word_length': 4.182119205298013, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '352282', 'n_tokens_mistral': 472, 'n_tokens_neox': 455, 'n_words': 217}