<commit_before>@search @usefixtures(workbook)
Feature: Search

    Scenario: Search
        When I visit "/search"
        And I wait for the content to load
        Then the title should contain the text "Search"

    
    Scenario: Search Antibodies
        When I click the link with text that contains "Data"
        And I click the link to "/search/?type=antibody_lot"
        And I wait for the content to load
        And I should see at least 15 elements with the css selector "ul.nav.result-table > li"
        And I should see at least 5 elements with the css selector "div.box.facets > div.facet"
        
        When I click the link to "?type=antibody_lot&characterizations.target.organism.scientific_name=Homo sapiens"
        And I wait for the content to load
        Then I should see at least 10 elements with the css selector "ul.nav.result-table > li"
        
        When I click the link to "?type=antibody_lot&characterizations.target.organism.scientific_name=Homo%20sapiens&clonality=polyclonal"
        And I wait for the content to load
        Then I should see at least 7 elements with the css selector "ul.nav.result-table > li"
        
        When I click the link to "?type=antibody_lot&characterizations.target.organism.scientific_name=Homo%20sapiens&clonality=polyclonal&clonality=monoclonal"
        And I wait for the content to load
        Then I should see at least 10 elements with the css selector "ul.nav.result-table > li"
        

    Scenario: Search Biosamples
        When I click the link with text that contains "Data"
        And I click the link to "/search/?type=biosample"
        And I wait for the content to load
        And I should see at least 22 elements with the css selector "ul.nav.result-table > li"
        And I should see at least 7 elements with the css selector "div.box.facets > div.facet"
        
        When I click the link to "?type=biosample&sex=unknown"
        And I wait for the content to load
        Then I should see at least 1 elements with the css selector "ul.nav.result-table > li"
        
        When I click the link to "?type=biosample&sex=unknown&organism.scientific_name=Homo sapiens"
        And I wait for the content to load
        Then I should see at least 13 elements with the css selector "ul.nav.result-table > li"
        

    Scenario: Search Experiments
        When I click the link with text that contains "Data"<commit_msg>Updated browser test to reflect antibody.targets change<commit_after>@search @usefixtures(workbook)
Feature: Search

    Scenario: Search
        When I visit "/search"
        And I wait for the content to load
        Then the title should contain the text "Search"

    
    Scenario: Search Antibodies
        When I click the link with text that contains "Data"
        And I click the link to "/search/?type=antibody_lot"
        And I wait for the content to load
        And I should see at least 15 elements with the css selector "ul.nav.result-table > li"
        And I should see at least 5 elements with the css selector "div.box.facets > div.facet"
        
        When I click the link to "?type=antibody_lot&targets.organism.scientific_name=Homo sapiens"
        And I wait for the content to load
        Then I should see at least 10 elements with the css selector "ul.nav.result-table > li"
        
        When I click the link to "?type=antibody_lot&targets.organism.scientific_name=Homo%20sapiens&clonality=polyclonal"
        And I wait for the content to load
        Then I should see at least 7 elements with the css selector "ul.nav.result-table > li"
        
        When I click the link to "?type=antibody_lot&targets.organism.scientific_name=Homo%20sapiens&clonality=polyclonal&clonality=monoclonal"
        And I wait for the content to load
        Then I should see at least 10 elements with the css selector "ul.nav.result-table > li"
        

    Scenario: Search Biosamples
        When I click the link with text that contains "Data"
        And I click the link to "/search/?type=biosample"
        And I wait for the content to load
        And I should see at least 22 elements with the css selector "ul.nav.result-table > li"
        And I should see at least 7 elements with the css selector "div.box.facets > div.facet"
        
        When I click the link to "?type=biosample&sex=unknown"
        And I wait for the content to load
        Then I should see at least 1 elements with the css selector "ul.nav.result-table > li"
        
        When I click the link to "?type=biosample&sex=unknown&organism.scientific_name=Homo sapiens"
        And I wait for the content to load
        Then I should see at least 13 elements with the css selector "ul.nav.result-table > li"
        

    Scenario: Search Experiments
        When I click the link with text that contains "Data"
{'fraction_non_alphanumeric': 0.056708444627080336, 'fraction_numerical': 0.007396753647010479, 'mean_word_length': 2.6301267710663683, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '1071798', 'n_tokens_mistral': 1399, 'n_tokens_neox': 1317, 'n_words': 601}