<commit_before>*** Settings ***
Documentation     Tests the user experience of ordering the analysis package Test Analysis Package (testanalysepaket)
Resource          ../../resources/search_resource.robot
Resource          ../../resources/home_page_resource.robot
Resource          ../../resources/order_resource.robot

*** Test Cases ***
Put analysis packages in shopping cart
    Click Element   //a[@ui-sref="search({type: 'analysis_packages'})"]
    Click on first search result
    Wait for Angular    2s
    Put all analysis package versions in shopping cart
    Go to Shopping Cart
    Check for shopping cart items    Dieses Datenpaket    2
    Check for shopping cart items    Dieses Analysepaket    2
    Empty The Shopping Cart
    Get back to german home page

Test delete functionality
    Click Element   //a[@ui-sref="search({type: 'analysis_packages'})"]
    Click on first search result
    Wait for Angular    2s
    Put all analysis package versions in shopping cart
    Go to Shopping Cart
    Check for shopping cart items    Dieses Datenpaket    2
    Check for shopping cart items    Dieses Analysepaket    2
    Delete an Item    1
    Empty The Shopping Cart
    Get back to german home page

Order analysis packages
    Click Element   //a[@ui-sref="search({type: 'analysis_packages'})"]
    Click on first search result
    Wait for Angular    2s
    Put all analysis package versions in shopping cart
    Go to Shopping Cart
    Check for shopping cart items    Dieses Datenpaket    2
    Check for shopping cart items    Dieses Analysepaket    2
    Go to Shopping Cart
    Order
    Sleep   6s
    go back
    Go to Shopping Cart
    Empty The Shopping Cart<commit_msg>#2983 Pass order test for ie, safari and firefox<commit_after>*** Settings ***
Documentation     Tests the user experience of ordering the analysis package Test Analysis Package (testanalysepaket)
Resource          ../../resources/search_resource.robot
Resource          ../../resources/home_page_resource.robot
Resource          ../../resources/order_resource.robot

*** Test Cases ***
Put analysis packages in shopping cart
    Click Element   //a[@ui-sref="search({type: 'analysis_packages'})"]
    Click on first search result
    Wait for Angular    2s
    Put all analysis package versions in shopping cart
    Go to Shopping Cart
    Check for shopping cart items    Dieses Datenpaket    2
    Check for shopping cart items    Dieses Analysepaket    2
    Empty The Shopping Cart
    Get back to german home page

Test delete functionality
    Click Element   //a[@ui-sref="search({type: 'analysis_packages'})"]
    Click on first search result
    Wait for Angular    2s
    Put all analysis package versions in shopping cart
    Go to Shopping Cart
    Check for shopping cart items    Dieses Datenpaket    2
    Check for shopping cart items    Dieses Analysepaket    2
    Delete an Item    1
    Empty The Shopping Cart
    Get back to german home page

Order analysis packages
    Pass Execution If    '${BROWSER}' == 'ie'         Package Creation not possible in IE
    Pass Execution If    '${BROWSER}' == 'firefox'    Package Creation not possible in Firefox
    Pass Execution If    '${BROWSER}' == 'safari'     Package Creation not possible in Safari
    Click Element   //a[@ui-sref="search({type: 'analysis_packages'})"]
    Click on first search result
    Wait for Angular    2s
    Put all analysis package versions in shopping cart
    Go to Shopping Cart
    Order
    Sleep   6s
    go back
    Go to Shopping Cart
    Empty The Shopping Cart
{'fraction_non_alphanumeric': 0.058015695067264575, 'fraction_numerical': 0.006726457399103139, 'mean_word_length': 2.784729586426299, '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': '2658513', 'n_tokens_mistral': 948, 'n_tokens_neox': 927, 'n_words': 420}