Ghaythfd/gherkin-scenarios huggingface dataset:
human: Complete this Gherkin scenario:

Scenario Outline: IDS - Display Trade Diary
		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>

gpt: Scenario Outline: IDS - Display Trade Diary
		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 <status_code>
        And The response content is displayed with the same content as in <ref_json_file>
		Examples:
			| user         | scope_view_code      | criteria_field     | criteria_operator              | criteria_value                     | status_code | ref_json_file        |
			| TAR_api.user | TAR_TRADE_DIARY_VIEW | Share ISIN;From;To | EQUAL;GREATER_EQUAL;LESS_EQUAL | XS1234567891;04/01/2024;01/05/2025 | 200         | trade_diary_ref.json |
human: Write a Gherkin scenario for testing query grid navigation -  rename column's group

gpt: Scenario Outline: Query grid navigation - Rename column's group
    Given I am logged as <user> on <screen_name>
    And I switch to mode Config
    And I select the grid from the detail part
    When I rename the column <column_name> to <new_column_name>
    Then I check that the column <new_column_name> is renamed in the config overlay
    And I save the screen configuration
    And I refresh page
    And I click on the groups menu
    And I check that the columns <updated_list> are added in the group menu
    And I expand the level number <level_number> from group menu
    And The grid is correctly displayed by the grouped values <values>
    Examples:
      | user              | screen_name   | column_name | new_column_name | level_number | values                                                                                        | updated_list            |
      | TAV_standard.user | My Securities | Sec type    | Sec type2       | 1            | EQ - Common Stock; EQ - Preferred Stock; EQ - Depository Receipt; EQ - REIT; MF - Mutual Fund | Sec main type;Sec type2 |
human: Create Gherkin steps to verify add new entry with  manual  source

gpt: Scenario Outline: Add new entry with Manual Source
    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 verify the default row displays values <default_values> in columns <columns_to_edit>
    And I verify the default golden copy row displays values <default_GC_value> in columns <columns_to_edit>
    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>
    And The default row still displays values <default_values> in columns <columns_to_edit>
    Examples:
      | screen_name   | detail_screen                        | object_name           | tab    | histo_value | new_values             | new_values_to_check      | columns_to_edit     | new_GC_values                 | default_values              | default_GC_value              |
      | My Securities | Equity detail: TAV_Atos_Multi_Manual | TAV_Atos_Multi_Manual | Prices | Full        | Manual;01/22/2022;5.55 | Manual;01/22/2022;5,5500 | Provider;Date;Close | Golden copy;01/22/2022;5,5500 | Refinitiv;01/22/2022;4,4500 | Golden copy;01/22/2022;4,4500 |
human: Write test steps in Gherkin format for move an existing field from config panel

gpt: Scenario Outline: Move an existing field from config panel
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I switch to mode Config
    And I select tab <tab> from config panel
    And I select block <block_name> from config panel
    When I move the field <field> to second position
    And I save the screen configuration
    Then the field <field> is displayed in the second position
    And the fields list <fields_list> is correctly reordered
    Examples:
      | screen_name   | detail_screen                    | object_name       | tab      | block_name     | field | fields_list                           |
      | My Securities | Equity detail: TAV_Reorder_CMSCP | TAV_Reorder_CMSCP | Overview | Identification | Name  | ISIN;Name;Ticker;Short name;CUSIP;RIC |
human: Create a BDD test scenario for relaunch a task from job reports

gpt: Scenario Outline: Relaunch a task from job reports
        Given I am logged as TAV_standard.user on <screen_name>
        And I go to detail screen <detail_screen> of <task_name>
        And I select the action run task
        And I select show the task from the job report screen
        When I select the task <task_name> on the grid
        And I perform the action <action>
        And I check that the relaunch popup is displayed
        And I select the <start_job> option from the dropdown
        And I click on the button <button> on the popup
        Then I check that a popup is displayed with the message "Task launched"
        And I close the popup
        Examples:
            | screen_name     | detail_screen                                             | task_name                                 | start_job       | action                    | button |
            | Scheduled Tasks | Scheduled task: BBG - Equity Subscription - Daily Request | BBG - Equity Subscription - Daily Request | Last failed job | Relaunch task immediately | Ok     |
            | Scheduled Tasks | Scheduled task: BBG - Equity Subscription - Daily Request | BBG - Equity Subscription - Daily Request | 10 | Relaunch task immediately | Ok |
human: Add the remaining steps to this scenario:

Scenario Outline: Configure and run an archive data
    Given I am logged in as <user>
    And I open query screen <screen_name1> which title begins with <banner1>
    And I switch to mode config
    And I click on the banner
    And I check the text <text> is displayed in the config panel
    And I open the drop-down settings <settings_node>
    And I desactivate the options <options1>
    And I save the screen configuration
    And I switch to mode edit
    And I open query screen <screen_name2> which title begins with <banner2>
    And I search and open the task <task>
    And I run the scheduled task using the button <button> from the actions menu
    And I check that a popup is displayed with the message "Task launched."
    And I close the popup

gpt: Scenario Outline: Configure and run an archive data
    Given I am logged in as <user>
    And I open query screen <screen_name1> which title begins with <banner1>
    And I switch to mode config
    And I click on the banner
    And I check the text <text> is displayed in the config panel
    And I open the drop-down settings <settings_node>
    And I desactivate the options <options1>
    And I save the screen configuration
    And I switch to mode edit
    And I open query screen <screen_name2> which title begins with <banner2>
    And I search and open the task <task>
    And I run the scheduled task using the button <button> from the actions menu
    And I check that a popup is displayed with the message "Task launched."
    And I close the popup
    When I open query screen <screen_name3> which title begins with <banner3>
    And I search the task <task>
    And The column <column> of the task is equal to <value>
    And I open query screen <screen_name1> which title begins with <banner1>
    Then The object <object> is not displayed in the grid
    And I switch to mode config
    And I click on the banner
    And I open the drop-down settings <settings_node>
    And I activate the options <options2>
    And I save the screen configuration
    And I switch to mode edit
    And The object <object> is not displayed in the grid
    And I set an advanced list filter <field_name>  <operator>  <field_value>
    And I click on Search button
    And The object <object> is displayed in the grid
    Examples:
      | user              | screen_name1    | banner1   | text                            | settings_node | options1                                 | options2              | screen_name2    | banner2          | task                | button   | screen_name3 | banner3    | column | value           | object         | field_name | operator | field_value                |
      | TAV_standard.user | My Securities 3 | Security: | Data modeling : My Securities 3 | General       | Full Object Loading;Use Provider Service | Load Archived Objects | Scheduled Tasks | Scheduled tasks: | COMPLETE_ARCHIVING2 | Run task | Job Reports  | Job report | Status | Successful task | TAV_ToArchive3 | Search In  | =        | Main and Archived database |
human: Generate a feature file scenario for query grid navigation -  export  c s v with groups closed ( standard -  grid)

gpt: Scenario: Query grid navigation - Export CSV with groups closed (Standard - Grid)
    Given I am logged as <user> on <screen_name>
    When I download export file using button <csv_button> toolbar from query screen
    Then export csv 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                          | csv_button | file_ref                                                                                             |
      | TAV_standard.user | csv       | My Securities without dynamic fields | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-112104_standard_query_grid_with_groups_closed.csv |
  @DHRD-112413 @skipped @waiting_for_DHRD-114393 @pending @waiting_For_DHRD-114616
human: Write a behavior-driven test for detail screen -  copy/ paste from a standard grid with breaks to  excel

gpt: Scenario: Detail screen - Copy/Paste from a standard grid with breaks to Excel
    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>
    And I select manually all the grid of the block <block>
    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   | detail_screen                      | object_name         | tab            | block | shortcut1 | excel_user              | password    | shortcut2 | file_ref                                              |
      | TAV_standard.user | My Securities | Equity detail: TAV_Object_To_Copy2 | TAV_Object_To_Copy2 | ids & classif. | Codes | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92747_ref_file.xlsx |
  @DHRD-92748 @skipped @waiting_for_DHRD-97077
human: Finish writing this test scenario:

Scenario Outline: Query grid navigation - Rename column's group
    Given I am logged as <user> on <screen_name>
    And I switch to mode Config
    And I select the grid from the detail part
    When I rename the column <column_name> to <new_column_name>
    Then I check that the column <new_column_name> is renamed in the config overlay

gpt: Scenario Outline: Query grid navigation - Rename column's group
    Given I am logged as <user> on <screen_name>
    And I switch to mode Config
    And I select the grid from the detail part
    When I rename the column <column_name> to <new_column_name>
    Then I check that the column <new_column_name> is renamed in the config overlay
    And I save the screen configuration
    And I refresh page
    And I click on the groups menu
    And I check that the columns <updated_list> are added in the group menu
    And I expand the level number <level_number> from group menu
    And The grid is correctly displayed by the grouped values <values>
    Examples:
      | user              | screen_name   | column_name | new_column_name | level_number | values                                                                                        | updated_list            |
      | TAV_standard.user | My Securities | Sec type    | Sec type2       | 1            | EQ - Common Stock; EQ - Preferred Stock; EQ - Depository Receipt; EQ - REIT; MF - Mutual Fund | Sec main type;Sec type2 |
human: Write test steps in Gherkin format for export archived objects and check response

gpt: Scenario Outline: Export archived objects and check response
        Given I am logged in as <user>
        And I execute an export via web service of the object <object>
        And I should get a response with status <status_code1>
        And The response content is displayed with the same content as in <ref_json_file>
        And I open query screen <screen_name> which title begins with <banner>
        And I search and open the task <task>
        And I run the scheduled task using the button <button> from the actions menu
        And I check that a popup is displayed with the message "Task launched."
        And I close the popup
        When I open query screen <screen_name2> which title begins with <banner2>
        And I search the task <task>
        And The column <column> of the task is equal to <value>
        Then I execute an export via web service of the object <object>
        And I should get a response with status <status_code2>
        And I check that the response body contain the message <message>
        Examples:
            | user              | object       | status_code1 | ref_json_file            | screen_name     | banner           | screen_name2 | banner2    | task                | button   | message            | column | value           | status_code2 |
            | TAV_standard.user | TAVToArchive | 200          | refFile_DHRD-102423.json | Scheduled Tasks | Scheduled tasks: | Job Reports  | Job report | COMPLETE_ARCHIVING3 | Run task | Resource not found | Status | Successful task | 404          |
human: Finish writing this test scenario:

Scenario Outline: Edit 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>

gpt: Scenario Outline: Edit 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 filter by Rating date with <date_Rtg>
    When I replace the values <values> in columns <columns> with <new_values>
    And I save
    Then The golden copy is recomputed and displays values <new_GC_values> in columns <columns>
    And The updated row displays values <new_values> in columns <columns>
    Examples:
      | screen_name   | detail_screen                             | object_name                  | tab    | histo_value | date_Rtg   | values                           | columns                          | new_values                           | new_GC_values                          |
      | My Securities | Bond detail: TAV_edit_high_Treasury Bonds | TAV_edit_high_Treasury Bonds | Rating | Full        | 05/18/2020 | 05/18/2020;Fitch SEC;Bloomberg;A | Rating date;Type;Provider;Rating | 05/18/2020;Moody's SEC;Bloomberg;Aa1 | 05/18/2020;Moody's SEC;Golden copy;Aa1 |
human: Complete this Gherkin scenario:

Scenario Outline: Run a computation where output is empty and check aggregation results
    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

gpt: Scenario Outline: Run a computation where output is empty and check aggregation results
    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 open detail screen <detail_screen1> of column name <column_name1> of object <object_name1>
    Then A message <error_message> is displayed in <comment_title>
    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 | error_message                                                                                                                                                                                    | comment_title | object_name1            | detail_screen1 | column_name1 |
      | Scheduled Tasks | Scheduled task: Aggregation Computation With Json Config Location4 | Aggregation Computation With Json Config Location4 | Run task with args | /mnt/nfs/automationstorage/AT/users/AGGREGATION/DHRD-60986.json | Tot._Contrib._(Base) | Root 00   | Child 00   | Cost Total (Base). | Failed task | Status | 02/02/2024     | Job Reports       | Job report        | java.lang.IllegalStateException: Output configuration should be one of : store only, export only store and export, current config : OutputConfiguration [stored=false, exportConfiguration=null] | Comment       | Aggregation Computation | Job report     | Job          |
human: Complete this Gherkin scenario:

Scenario Outline: Query grid navigation - Add Groups
    Given I am logged as <user> on <screen_name>
    And I add the group name by <group_name> without verifications
    And I check that the message <error_message> is displayed in the grid
    And I click on button <button>
    And I check that the group number is empty
    And I check that the active groups are not diplayed in the grid

gpt: Scenario Outline: Query grid navigation - Add Groups
    Given I am logged as <user> on <screen_name>
    And I add the group name by <group_name> without verifications
    And I check that the message <error_message> is displayed in the grid
    And I click on button <button>
    And I check that the group number is empty
    And I check that the active groups are not diplayed in the grid
    When I add group by <list_of_groups>
    And I expand all groups
    And I switch to mode <mode>
    Then The groups number must be equal to <number>
    And The number of level is passed to <number>
    And The grid is correctly grouped by the configured columns <list_of_groups>
    Examples:
      | user              | screen_name     | group_name | error_message                                                                                                                  | button              | list_of_groups                                         | mode   | number |
      | TAV_standard.user | My Securities 5 | Name       | Too many groups. The current group configuration may cause browser problems. Do you want to lift the restrictions to proceed ? | Clear configuration | Country;Sec main type;Preferred?;Sec type;Status value | Edit   | 5      |
      | TAV_standard.user | My Securities 5 | Name       | Too many groups. The current group configuration may cause browser problems. Do you want to lift the restrictions to proceed ? | Clear configuration | Country;Sec main type;Preferred?;Sec type;Status value | Config | 5      |
      | TAV_standard.user | My Securities 5 | Name       | Too many groups. The current group configuration may cause browser problems. Do you want to lift the restrictions to proceed ? | Clear configuration | Country;Sec main type;Preferred?;Sec type;Status value | Audit  | 5      |
      | TAV_standard.user | My Securities 5 | Name       | Too many groups. The current group configuration may cause browser problems. Do you want to lift the restrictions to proceed ? | Clear configuration | Country;Sec main type;Preferred?;Sec type;Status value | View   | 5      |
human: Generate a Cucumber scenario to test take into account the inactivation of a criterion

gpt: Scenario Outline: Take into account the inactivation of a criterion
		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 received fields <field> should at least include other value than <deactivated_criteria_value>
		Examples:
			| user         | scope_view_code                             | criteria_fields                  | criteria_operators | criteria_values        | status_code | fields     | deactivated_criteria_value |
			| TAR_api.user | TAR_SCOPE_VIEW_FIELD_CRITERIA_DESACTIVATION | security_main_type;security_code | EQUAL;EQUAL        | Mutual Fund;TAR1199999 | 200         | Identifier | TAR1199999                 |
human: Create Gherkin steps to verify run feedproc using value map and default value

gpt: Scenario Outline: Run feedproc using value map and default value
        Given I am logged in as <user>
        And I open query screen <screen_name1> which title begins with <banner1>
        And I search and select the object <object>
        And I check that the fields <fields1> should be equal <values1>
        And I open query screen <screen_name2> which title begins with <banner2>
        And I search and open the task <task>
        When I run the scheduled task using the button <button> from the actions menu
        And I check that a popup is displayed with the message "Task launched."
        And I close the popup
        And I open query screen <screen_name3> which title begins with <banner3>
        And I search the task <task>
        And I check that the column <column> of the task is equal to <value>
        Then The content of the exported csv file <file_exported> should be equal to <file_ref>
        Examples:
            | user              | screen_name1  | banner1   | object             | fields1                          | values1             | screen_name2    | banner2          | task                | button   | screen_name3 | banner3    | column | value           | file_exported                                    | file_ref                                                      |
            | TAV_standard.user | My Securities | Security: | TAV_accor_consult3 | Sec main type;Preferred?;Country | Equity;true;Belgium | Scheduled Tasks | Scheduled tasks: | task_test_value_map | Run task | Job Reports  | Job report | Status | Successful task | /data/testauto/nxdh/data/Export_csv_valueMap.csv | config&ressources/DataManagement/csv_ref_file_DHRD-100748.csv |