<commit_before>@twitter-search-test
Feature: Test to verify that as a citizen user, search for Tweets using Twitter connection has been added.
  https://app.zenhub.com/workspace/o/syndesisio/syndesis-project/issues/3

  //we need to create Twitter Connection first
  Scenario: Create Twitter connection  
    Given clean application state
    
    # create twitter connection
    When "Camilla" logs into the Syndesis
    And "Camilla" navigates to the "Connections" page
    And click on the "Create Connection" button
    And Camilla selects the "Twitter" connection
    Then she is presented with the "Validate" button
    # fill twitter connection details
    When she fills "Twitter Listener" connection details
    And scroll "top" "right"
    And click on the "Next" button
    And type "Twitter Listener" into connection name
    And type "SyndesisQE Twitter listener account" into connection description
    And click on the "Create" button
    Then Camilla is presented with the Syndesis page "Connections"

  Scenario: Create integration with twitter and search settings

    When "Camilla" navigates to the "Home" page
    And clicks on the "Create Integration" button to create a new integration.
    Then she is presented with a visual integration editor
    And she is prompted to select a "Start" connection from a list of available connections

    When Camilla selects the "Twitter Listener" connection
    And she selects "Search" integration action
    #twitter search test itself:
    Then she fills keywords field with random text to configure search action
    And click on the "Next" button

    Then she is prompted to select a "Finish" connection from a list of available connections
    When Camilla selects the "QE Salesforce" connection
    And she selects "Create Opportunity" integration action

    When click on the "Save" button
    And she defines integration name "Twitter search integration"
    And click on the "Save as Draft" button
    Then Camilla is presented with the Syndesis page "Integrations"
    And Integration "Twitter search integration" is present in integrations list

    When Camilla deletes the "Twitter search integration" integration
    Then Camilla can not see "Twitter search integration" integration anymore
<commit_msg>Fix comment<commit_after>@twitter-search-test
Feature: Test to verify that as a citizen user, search for Tweets using Twitter connection has been added.
  https://app.zenhub.com/workspace/o/syndesisio/syndesis-project/issues/3

  # we need to create Twitter Connection first
  Scenario: Create Twitter connection  
    Given clean application state
    
    # create twitter connection
    When "Camilla" logs into the Syndesis
    And "Camilla" navigates to the "Connections" page
    And click on the "Create Connection" button
    And Camilla selects the "Twitter" connection
    Then she is presented with the "Validate" button
    # fill twitter connection details
    When she fills "Twitter Listener" connection details
    And scroll "top" "right"
    And click on the "Next" button
    And type "Twitter Listener" into connection name
    And type "SyndesisQE Twitter listener account" into connection description
    And click on the "Create" button
    Then Camilla is presented with the Syndesis page "Connections"

  Scenario: Create integration with twitter and search settings

    When "Camilla" navigates to the "Home" page
    And clicks on the "Create Integration" button to create a new integration.
    Then she is presented with a visual integration editor
    And she is prompted to select a "Start" connection from a list of available connections

    When Camilla selects the "Twitter Listener" connection
    And she selects "Search" integration action
    #twitter search test itself:
    Then she fills keywords field with random text to configure search action
    And click on the "Next" button

    Then she is prompted to select a "Finish" connection from a list of available connections
    When Camilla selects the "QE Salesforce" connection
    And she selects "Create Opportunity" integration action

    When click on the "Save" button
    And she defines integration name "Twitter search integration"
    And click on the "Save as Draft" button
    Then Camilla is presented with the Syndesis page "Integrations"
    And Integration "Twitter search integration" is present in integrations list

    When Camilla deletes the "Twitter search integration" integration
    Then Camilla can not see "Twitter search integration" integration anymore

{'fraction_non_alphanumeric': 0.04009640666082384, 'fraction_numerical': 0.00043821209465381246, 'mean_word_length': 3.800210304942166, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2874795', 'n_tokens_mistral': 1124, 'n_tokens_neox': 1059, 'n_words': 597}