<commit_before>@one2manyRefApplication 
Feature: [Ref.App One2Many] - todolists specific features 

    A TodoList is an entity with a non-empty name.
    
    These tests assume that the user is authenticated and has the appropriate roles; initially,
    the database is empty (but there is no guarantee of the execution order of the tests).

Background: 
    Given a running OneToManyApplication
    
@JustMe
Scenario: adding a simple todolist entity
    When I add a todolist like this:
      | listname | todolist_<random> |
    And I query all todolists
    Then the todolists page contains such a todolist:
       | listname | todolist_<random> |

Scenario: getting "Created 201" after creating a new account
     When I add a todolist like this:
       | listname | anotheraccount |
     Then I get a 'Created (201)' response
    
Scenario: adding a todolist without listname yields an error
    When I add a todolist like this:
       | listname | |
    Then I get a 'Bad Request' response

Scenario: retrieving a created account again
    When I add a todolist like this:
       | listname | a new one |
    And I open the todolist page
    Then the todolist page contains 'a new one'
    
Scenario: updating a todolist entity
     When I add a todolist like this:
       | listname | another todolist |
     And I change its 'name' to 'another todolist II'
     And I open the todolist page
     Then the page contains 'another todolist II'
    <commit_msg>build test<commit_after>@one2manyRefApplication 
Feature: [Ref.App One2Many] - todolists specific features 

    A TodoList is an entity with a non-empty name.
    
    These tests assume that the user is authenticated and has the appropriate roles; initially,
    the database is empty (but there is no guarantee of the execution order of the tests).

Background: 
    Given a running OneToManyApplication
    
@JustMe
Scenario: adding a simple todolist entity
    When I add a todolist like this:
      | listname | todolist_<random> |
    And I query all todolists
    Then the todolists page contains such a todolist:
       | listname | todolist_<random> |

Scenario: getting "Created 201" after creating a new account
     When I add a todolist like this:
       | listname | anotheraccount |
     Then I get a 'Created (201)' response
    
Scenario: adding a todolist without listname yields an error
    When I add a todolist like this:
       | listname | |
    Then I get a 'Bad Request' response

Scenario: retrieving a created account again
    When I add a todolist like this:
       | listname | a new one |
    And I open the todolist page
    Then the todolist page contains 'a new one'
    
    
{'fraction_non_alphanumeric': 0.04591265397536394, 'fraction_numerical': 0.0059723777528928705, 'mean_word_length': 2.935389133627019, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7492618', 'n_tokens_mistral': 771, 'n_tokens_neox': 750, 'n_words': 362}