Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create a BDD test scenario for add fields to "else" block

gpt: Scenario Outline: Add fields to "else" block
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I search and open the feed <feed> with the category Import
    And I check that the default displayed step is <step1>
    And I go to the step <step3>
    And I check the <cond_bloc1> bloc is displayed with the condition <condition1> under the table <table> with the fields <fields1>
    And I check the <cond_bloc2> bloc is displayed with the condition <condition2> under the table <table> with the fields <fields2>
    When I add an <cond_bloc3> bloc following the <cond_bloc2> under the <table> table
    And I add the fields <new_fields> under the <cond_bloc3> conditional bloc
    And I assign the external fields <field> to the internal fields <new_fields>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then The <cond_bloc3> bloc is displayed under the table <table> with the internal fields <new_fields> assigned to the following external fields <field>
    Examples:
      | user              | screen_name     | banner               | feed              | step1      | step3   | cond_bloc1 | condition1   | table    | fields1             | cond_bloc2 | condition2   | fields2             | cond_bloc3 | new_fields         | field |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON5 | Definition | Mapping | if         | text1 = TEST | SECURITY | Product description | else if    | text1 = PROD | Product description | else       | Market Expectation | text1 |
human: Create Gherkin steps to verify detail grid navigation -  export  x l s ( transposed -  grid)

gpt: Scenario: Detail grid navigation - Export XLS (Transposed - Grid)
    Given I am logged as <user> on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I select the tab <tab>
    When I download export file using button <excel_button> toolbar from query screen
    Then export xlsx file is successfully downloaded
    And The content of the downloaded <file_type> file should be equal to <file_ref>
    Examples:
      | user              | file_type | screen_name   | detail_screen                | object_name   | tab       | excel_button | file_ref                                                                              |
      | TAV_standard.user | xls       | My Securities | Equity detail: TAV_TOEXPORT1 | TAV_TOEXPORT1 | Ref. data | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-113610_transposed_detail_grid.xlsx |
human: Create an automated test scenario for add new entry  high  priority

gpt: Scenario Outline: Add new entry High Priority
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I select the tab <tab>
    And I edit the field Histo with the value <histo_value>
    And I add a row using the buttons toolbar
    And I select the newly added row
    And I set values <new_values> for the columns <columns_to_edit>
    When I save
    Then The golden copy is recomputed and displays values <new_GC_values> in columns <columns_to_edit>
    And The new row displays values <new_values_to_check> in columns <columns_to_edit>
    Examples:
      | screen_name   | detail_screen                   | object_name      | tab    | histo_value | new_values          | columns_to_edit     | new_GC_values            | new_values_to_check    |
      | My Securities | Equity detail: TAV_Accor_add_HP | TAV_Accor_add_HP | Prices | Full        | Bloomberg;today;6.5 | Provider;Date;Close | Golden copy;today;6,5000 | Bloomberg;today;6,5000 |
human: Add the remaining steps to this scenario:

Scenario Outline: Add mapped fields to a new IF block
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I search and open the feed <feed> with the category Import
    And I check that the following steps are displayed <steps>
    And I check that the default displayed step is <step1>
    And I go to the step <step3>
    When I add an <cond_bloc> bloc under the <table>

gpt: Scenario Outline: Add mapped fields to a new IF block
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I search and open the feed <feed> with the category Import
    And I check that the following steps are displayed <steps>
    And I check that the default displayed step is <step1>
    And I go to the step <step3>
    When I add an <cond_bloc> bloc under the <table>
    And I add the <field> fields to the <cond_bloc> conditional bloc by drag and drop
    And I check the condition <condition> is displayed
    And I add the fields <fields> under the <cond_bloc> conditional bloc
    And I assign the external fields <external_fields> to the internal fields <internal_fields>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then The condition <condition> is displayed in the <cond_bloc> bloc under the table <table> with the internal fields <internal_fields> assigned to the following external fields <external_fields>
    Examples:
      | user              | screen_name     | banner               | feed              | steps                          | step1      | step3   | cond_bloc | table          | field    | fields                                           | external_fields          | internal_fields                                  | condition        |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON1 | Definition;Data;Mapping;Result | Definition | Mapping | if        | SECURITY_QUOTE | Currency | Quote date;Quote currency;Close quote;Open quote | Date;Currency;Close;Open | Quote date;Quote currency;Close quote;Open quote | Currency <> Null |
human: Write a behavior-driven test for run a computation via the aggregation service using the "stored=false" and generate a csv file export

gpt: Scenario Outline: Run a computation via the aggregation service using the "stored=false" and generate a csv file export
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    When I launch the action <actions> with config location <arguments>
    And I check that a popup is displayed with the message "Task launched."
    And I close the popup
    And I open query screen <job_report_screen> which title begins with <banner_job_report>
    And I search the task <object_name>
    And I check that the column <column> of the task is equal to <value>
    And I retrieve the generated aggregation identifier id and the number of the generated nodes for job name <job_name>
    And I open query screen <Aggregation_Processes> which title begins with <banner_aggregation>
    And I check that the aggregation results is not stored in the targed field
    And I open query screen <Holding_valuation> which title begins with <banner_holding>
    And I retrieve the total of <cost_total_base> field on the valuation date "<date_field_name>" "=" "<valuation_date>"
    Then The total of <cost_total_base> field on the valuation date <valuation_date> is equal to the value of <sum_field> field for the root node and its child
    And The <file_type> file <file_name> is generated with correct result <node_details>
    Examples:
      | screen_name     | detail_screen                                                      | object_name                                        | actions            | arguments                                                       | sum_field            | root_code | child_code | cost_total_base    | value           | column | valuation_date | job_report_screen | banner_job_report | Aggregation_Processes   | banner_aggregation      | Holding_valuation    | banner_holding       | date_field_name | job_name                | node_details                                                                                                                                                                               | file_type | file_name      |
      | Scheduled Tasks | Scheduled task: Aggregation Computation With Json Config Location6 | Aggregation Computation With Json Config Location6 | Run task with args | /mnt/nfs/automationstorage/AT/users/AGGREGATION/DHRD-60989.json | Tot. Contrib. (Base) | Root 00   | Child 00   | Cost Total (Base). | Successful task | Status | 02/02/2024     | Job Reports       | Job report        | Aggregation Processes_2 | Aggregation Processes_2 | Holding Valuations_2 | Holding Valuations_2 | Date            | Aggregation Computation | ["", "/ROOT_00/Child 00[Security=\"AIR France - KLM\"]", "/ROOT_00/Child 00[Security=\"Accor\"]", "/ROOT_00/Child 00[Security=\"Capgemini Act\"]", "/ROOT_00/Child 00[Security=\"Euro\"]"] | csv       | DHRD-60989.csv |
  @DHRD-100726 @skipped @waiting_For_DHRD-105827
human: Complete this Gherkin scenario:

Scenario Outline: Run an aggregation computation using data filter with operator NOTLIKE
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    When I launch the action <actions> with config location <arguments>
    And I check that a popup is displayed with the message "Task launched."
    And I close the popup
    And I open query screen <job_report_screen> which title begins with <banner_job_report>

gpt: Scenario Outline: Run an aggregation computation using data filter with operator NOTLIKE
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    When I launch the action <actions> with config location <arguments>
    And I check that a popup is displayed with the message "Task launched."
    And I close the popup
    And I open query screen <job_report_screen> which title begins with <banner_job_report>
    And I search the task <object_name>
    And I check that the column <column> of the task is equal to <value>
    And I retrieve the generated aggregation identifier id and the number of the generated nodes for job name <job_name>
    And I open query screen <Aggregation_Processes> which title begins with <banner_aggregation>
    And I open the detail screen of the generated aggregation identifier
    Then The column <column_name> with values <column_values> are displayed
    And The column <column_name> with values <not_displayed_values> are not displayed
    Examples:
      | screen_name     | detail_screen                                                       | object_name                                        |actions           |arguments                                           |value          |column|job_report_screen|banner_job_report|Aggregation_Processes|banner_aggregation   |column_name|column_values|not_displayed_values|job_name|
      | Scheduled Tasks | Scheduled task: Aggregation Computation With Json Config Location2 | Aggregation Computation With Json Config Location2 | Run task with args | /mnt/nfs/automationstorage/AT/users/AGGREGATION/filterNOTLIKE.json | Successful task | Status | Job Reports | Job report | Aggregation Processes_2 | Aggregation Processes_2 | node_name | all,Euro | AIR France - KLM,Accor,Capgemini Act | Aggregation Computation |
human: Write a Gherkin scenario for testing update query search value on field list with default operator  i n

gpt: Scenario Outline: Update query search value on field list with default operator IN
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I check that filters from Query compact view are filled with "<field_name>" "<operator>" "<old_field_value>"
    And I check the query grid shows all rows in the database having <field_name> equal to <old_field_value>
    And I open advanced search tool
    And I check the search criteria <field_name> is displayed with the operator <operator> and value <old_field_value>
    And I check the advanced filter <field_name> shows all field results <field_possible_values>
    When I set an advanced list filter <field_name>  <operator>  <new_field_value>
    And I click on Search button
    Then The query grid shows all rows in the database having <field_name> equal to <new_field_value>
    And The filters from Query compact view are filled with "<field_name>" "<operator>" "<new_field_value>"
    Examples:
      | user              | screen_name     | banner    | field_name    | operator | old_field_value | new_field_value    | field_possible_values                                                                                                                                                  |
      | TAV_standard.user | My Securities 3 | Security: | Sec main type | in       | Equity          | Fixed Income;Index | Equity;Fixed Income;Mutual Fund;Money Market;Derivative;Market Data;Index;OTC / Contracts;Alternative;Reference Data;Warrants, Certificates, Structured Products;Other |
      | TAV_standard.user | Users 2         | Users :   | Activated ?   | in       | Yes             | Yes;No             | No;Unknown;Yes                                                                                                                                                         |
human: Finish writing this test scenario:

Scenario Outline: Rename Directories
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        And I check that the folder <existing_folder> is displayed under <user_menu>
        And I create a New folder under <main_folder>
        When I rename the created folder <created_folder> to <new_folder_name> under the parent folder <main_folder>

gpt: Scenario Outline: Rename Directories
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        And I check that the folder <existing_folder> is displayed under <user_menu>
        And I create a New folder under <main_folder>
        When I rename the created folder <created_folder> to <new_folder_name> under the parent folder <main_folder>
        And I rename the folder <existing_folder> to <new_existing_folder_name>
        And I check that the folders <renamed_folders> are correctly renamed from the user menu <user_menu>
        And I logged out and logged in with <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        Then The folders <renamed_folders> are correctly renamed from the user menu <user_menu>
        Examples:
            | user               | user_menu         | main_folder | created_folder | new_folder_name | existing_folder    | new_existing_folder_name | renamed_folders              |
            | authorized.user.EN | DataHub warehouse | Dashboards  | New folder     | Folder Test     | Folder_To_Rename   | Folder_Renamed           | Folder Test;Folder_Renamed   |
            | authorized.user.FR | DataHub factory   | Production  | New folder     | Dossier Factory | Dossier_A_Renommer | Dossier_Test             | Dossier Factory;Dossier_Test |
human: Generate a feature file scenario for upload document from detail screen and download from query screen

gpt: Scenario Outline: Upload document from detail screen and download from query screen
        Given I am logged as <user> on <screen_name>
        And I search and select the line of <document_name>
        And I upload the file <file_name> to a <document_name>
        And I go to detail screen <detail_screen> of <document_name>
        And I save
        And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
        And I check the field <field> is displayed with value <file_name>
        And I logg in with <user> on <screen_name> using a new browser
        And From the new browser i search and select the line of <document_name> and download the related file
        Then <file_name> is successfully downloaded in Downloads directory
        And The Downloaded file from Query should be equal to <ref_file>
        Examples:
            | user              | screen_name | field            | file_name                   | detail_screen                          | document_name                | save button | ref_file                                                                  |
            | TAV_standard.user | Documents   | File (on server) | TAV_Upload_Testing_file.csv | Document: TAV_Upload_Testing_Document3 | TAV_Upload_Testing_Document3 | Save        | config&ressources/DataManagement/toBeUploaded/TAV_Upload_Testing_file.csv |
human: Generate a Cucumber scenario to test filter/ search on a view with criteria not overloadable and value not empty

gpt: Scenario Outline: Filter/Search on a view with criteria not overloadable and value not empty
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with criteria <criteria_field> and <criteria_operator> and <criteria_value>
		Then I should get a response with status <error_code>
		And an error message is received "Please fix your request : These criteria are not editable [currency]"
		Examples:
			| user         | scope_view_code | criteria_field | criteria_operator | criteria_value | error_code |
			| TAR_api.user | TAR_SCOPE_VIEW  | currency       | DIFFERENT         | INDIAN RUPEE   | 400        |
human: Write a Gherkin scenario for testing filter/ search on a view with dynamic recspec

gpt: Scenario Outline: Filter/Search on a view with dynamic recspec
    Given I am an authorized user <user>
    When I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>
    Then I should get a response with status <status_code>
    And the response shows a total number of records equals to <total>
    And all received objects should include these <values> as <fields>
    Examples:
      | user         | scope_view_code          | criteria_fields | criteria_operators       | criteria_values       | status_code | total | values                                                             | fields                                                                                                                 |
      | TAR_api.user | TAR_SHARE_VALUATION_VIEW | From;To         | GREATER_EQUAL;LESS_EQUAL | 05/02/2024;05/02/2024 |         200 |     1 | DK0000211178;KLIAGK;2024-02-05;625264658.69;625264658.69;666000000 | Share ISIN;Share Code;NAV Date;Share Net Asset Value (Security);Share Net Asset Value (Portfolio);Fund Net Asset Value |
human: Create Gherkin steps to verify update query search value on field list with default operator  i n

gpt: Scenario Outline: Update query search value on field list with default operator IN
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I check that filters from Query compact view are filled with "<field_name>" "<operator>" "<old_field_value>"
    And I check the query grid shows all rows in the database having <field_name> equal to <old_field_value>
    And I open advanced search tool
    And I check the search criteria <field_name> is displayed with the operator <operator> and value <old_field_value>
    And I check the advanced filter <field_name> shows all field results <field_possible_values>
    When I set an advanced list filter <field_name>  <operator>  <new_field_value>
    And I click on Search button
    Then The query grid shows all rows in the database having <field_name> equal to <new_field_value>
    And The filters from Query compact view are filled with "<field_name>" "<operator>" "<new_field_value>"
    Examples:
      | user              | screen_name     | banner    | field_name    | operator | old_field_value | new_field_value    | field_possible_values                                                                                                                                                  |
      | TAV_standard.user | My Securities 3 | Security: | Sec main type | in       | Equity          | Fixed Income;Index | Equity;Fixed Income;Mutual Fund;Money Market;Derivative;Market Data;Index;OTC / Contracts;Alternative;Reference Data;Warrants, Certificates, Structured Products;Other |
      | TAV_standard.user | Users 2         | Users :   | Activated ?   | in       | Yes             | Yes;No             | No;Unknown;Yes                                                                                                                                                         |
human: Finish writing this test scenario:

Scenario Outline: Delete owned screens with unauthorized user
        Given I am logged in as <user>
        And I switch to mode config

gpt: Scenario Outline: Delete owned screens with unauthorized user
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <menu_name>
        When I hover on the owned screen <screen_name>
        Then The delete icon is not available on the owned screen <screen_name>
        Examples:
            | user                 | menu_name         | screen_name         |
            | unauthorized.user.EN | DataHub warehouse | Screen_Unauthorized |
            | unauthorized.user.FR | DataHub factory | Ecran_Non_Autorise |
human: Add the remaining steps to this scenario:

Scenario: Query screen - Copy/Paste from a standard grid without breaks to Excel
    Given I am logged as <user> on <screen_name>
    And I select manually all the grid
    And I perform the keyboard shortcut <shortcut1>
    And I open Excel using a new browser
    And I log in with the user <excel_user> and the password <password> with the second browser

gpt: Scenario: Query screen - Copy/Paste from a standard grid without breaks to Excel
    Given I am logged as <user> on <screen_name>
    And I select manually all the grid
    And I perform the keyboard shortcut <shortcut1>
    And I open Excel using a new browser
    And I log in with the user <excel_user> and the password <password> with the second browser
    And I Create a new blank workbook with the second browser
    And I Click on the first cell of the sheet with the second browser
    When I apply the keyboard shortcut <shortcut2> from the second browser
    And I download the sheet from the second browser
    Then The content of the downloaded file should be equal to <file_ref>
    Examples:
      | user              | screen_name      | shortcut1 | excel_user              | password    | shortcut2 | file_ref                                              |
      | TAV_standard.user | My Users To Copy | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92744_ref_file.xlsx |
  @DHRD-92745 @skipped @waiting_for_DHRD-97077