Ghaythfd/gherkin-scenarios huggingface dataset:
human: Add the remaining steps to this scenario:

Scenario Outline: Edit new entry low 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 fields Histo with the values <histo_value>

gpt: Scenario Outline: Edit new entry low 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 fields Histo with the values <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 row remains and displays values <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 | values                                             | columns                          | date_Rtg   | new_values                         | GC_values                             |
      | My Securities | Bond detail: TAV_edit_low_Treasury Bonds | TAV_edit_low_Treasury Bonds | Rating | Full        | 11/11/2019;Bloomberg Composite Rating;Bloomberg;B+ | Rating date;Type;Provider;Rating | 11/11/2019 | 11/11/2019;Fitch SEC;Bloomberg;AA+ | 11/11/2019;Moody's SEC;Golden copy;A3 |
human: Create Gherkin steps to verify query grid navigation -  export  x l s with groups opened ( standard -  grid)

gpt: Scenario: Query grid navigation - Export XLS with groups opened (Standard - Grid)
    Given I am logged as <user> on <screen_name>
    And I click on the groups menu
    And I expand the level number <level_number> from group menu
    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                          | level_number | excel_button | file_ref                                                                          |
      | TAV_standard.user | xls       | My Securities without dynamic fields |            1 | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-94602_standard_query_grid.xlsx |
  @DHRD-112103 @pending @waiting_For_DHRD-114616
human: Finish writing this test scenario:

Scenario Outline: Pagination
  Given I am an authorized user <user>
  When I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>
  Then I should get a response with status <status_code>

gpt: Scenario Outline: Pagination
  Given I am an authorized user <user>
  When I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>
  Then I should get a response with status <status_code>
  And the response shows a total number of records equals to <total_before>
  And I resend the request with Range header search=0-<pagination_range_end>
  And I should get a response with status <status_code>
  And the response shows a total number of records equals to <total_after>
Examples:
  | user         | class_name | field | label  | payload                      | folder_name | status_code | total_before | pagination_range_end | total_after |
  | TAR_api.user | MxSecurity | NAME  | null   | SearchResultsManagement.json | payloads    | 200         | 10           | 25                   | 26          |
human: Add the remaining steps to this scenario:

Scenario Outline: Edit 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 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>
    When I replace the values <values> in columns <columns_to_edit> with <new_values>
    And 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 | values                      | new_values               | columns_to_edit     | new_values_to_check         | new_GC_values                 |
      | My Securities | Equity detail: TAV_accor_mult_to_edit1 | TAV_accor_mult_to_edit1 | Prices | Full        | Refinitiv;01/31/2022;5,6000 | Refinitiv;01/31/2022;6.2 | Provider;Date;Close | Refinitiv;01/31/2022;6,2000 | Golden copy;01/31/2022;6,2000 |
human: Complete this Gherkin scenario:

Scenario Outline: Link objects using link reallocation
    Given I am an authorized user <userApi>
    And I launch task <task_code> using an ID from API path <taskExecution_path>
    And I should get a response with status <status_code1>
    And I send a GET request to <taskExecution_path> with the retrieved task ID
    And I should get a response with status <status_code2>
    And The received object should include the field <field> with value <value> under <element>

gpt: Scenario Outline: Link objects using link reallocation
    Given I am an authorized user <userApi>
    And I launch task <task_code> using an ID from API path <taskExecution_path>
    And I should get a response with status <status_code1>
    And I send a GET request to <taskExecution_path> with the retrieved task ID
    And I should get a response with status <status_code2>
    And The received object should include the field <field> with value <value> under <element>
    And I am logged in as <user>
    And I open query screen <screen_name> using the path <path>
    And I set an advanced list filter <field_name1>  <operator>  <field_value1>
    And I click on Search button
    When I search and open the object which the column <field_name2> equal <testCaseName>
    Then A grid is displayed under the block <block> which contains <numOfRows> rows with values on columns <columns> must equal to <rows_values>
    Examples:
      | userApi      | user              | taskExecution_path | task_code    | field  | value   | element   | status_code1 | status_code2 | screen_name  | banner       | numOfRows | columns     | rows_values | field_name1 | field_value1                | operator | field_name2 | testCaseName           | detail_screen    | block       | path                                                             |
      | TAR_api.user | TAV_standard.user | task-executions    | RUN_TESTING2 | status | SUCCESS | execution |          201 |          200 | Test Reports | Test reports |        13 | Test Result | Successful  | Test Suite  | Test suite LINKREALLOCATION | =        | Test Case   | TEST LINK REALLOCATION | Edit Test Report | Test Result | Screen / Datahub Factory / System Administration / Test Scenario |
human: Finish writing this test scenario:

Scenario Outline: Reset query search 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 set an advanced list filter <field_name>  <new_operator>  <new_field_value>
    And I click on Search button
    And I check that all rows displayed have <field_name> is <new_operator> to <new_field_value>

gpt: Scenario Outline: Reset query search 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 set an advanced list filter <field_name>  <new_operator>  <new_field_value>
    And I click on Search button
    And I check that all rows displayed have <field_name> is <new_operator> to <new_field_value>
    And I check that filters from Query compact view are filled with "<field_name>" "<new_operator>" "<new_field_value>"
    When I reset my advanced filter
    Then The search criteria <field_name> is displayed with the operator <old_operator> and value <old_field_value>
    And All rows displayed have <field_name> is <old_operator> to <old_field_value>
    And The filters from Query compact view are filled with "<field_name>" "<old_operator>" "<old_field_value>"
    Examples:
      | user              | screen_name     | banner    | field_name    | old_field_value | new_field_value | old_operator | new_operator |
      | TAV_standard.user | My Securities 3 | Security: | Sec main type | Equity          | Fixed Income    | in           | <>           |
      | TAV_standard.user | Users 2         | Users :   | Activated ?   | Yes             | No              | in           | <>           |
human: Complete this Gherkin scenario:

Scenario Outline: Run an Excel import
    Given I am logged as TAV_standard.user on <screen_name1>
    And I go to detail screen <detail_screen> of <task_name>
    When I select the action run task
    And I select show the task from the job report screen
    And I open advanced search tool
    And I set an advanced list filter Task  =  <task_name>

gpt: Scenario Outline: Run an Excel import
    Given I am logged as TAV_standard.user on <screen_name1>
    And I go to detail screen <detail_screen> of <task_name>
    When I select the action run task
    And I select show the task from the job report screen
    And I open advanced search tool
    And I set an advanced list filter Task  =  <task_name>
    And I click on Search button
    And I close advanced search tool
    Then I verify job <import_job_name> of the task <task_name> with status <successfull_status>
    And I open query screen <screen_name2> which title begins with <banner2>
    And I search and select the object <object>
    Then I check that the fields <fields> should be equal <values>
    Examples:
      | user              | screen_name1    | detail_screen                                | task_name                    | import_job_name | successfull_status | screen_name2  | banner2   | object         | fields        | values            |
      | TAV_standard.user | Scheduled Tasks | Scheduled task: task_import_excel_orange_act | task_import_excel_orange_act | import_excel    | Successful job     | My Securities | Security: | TAV_OrangeAct1 | Product desc. | TEST IMPORT EXCEL |
  @DHRD-102450 @scheduler2 @pending @waiting_for_DHRD-114600
human: Write test steps in Gherkin format for query screen -  copy/ paste from a standard grid without breaks to  excel

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
human: Create an automated test scenario for show that the 2 first columns are freezed

gpt: Scenario Outline: Show that the 2 first columns are freezed
    Given I am logged in as Standard User
    And I access <screen_name> screen which title begins with <banner_fixed_text>
    When I scroll the horizontal bar
    Then the columns <Columns_name> are freezed
    Examples:
      | screen_name   | banner_fixed_text | Columns_name |
      | My Securities | Security:         | Name;Flag    |
human: Create an automated test scenario for run  morning star valuation task

gpt: Scenario Outline: Run MorningStar valuation task
        Given I am logged as TAV_standard.user on <screen_name>
        And I go to detail screen <detail_screen> of <task_name>
        When I select the action run task
        And I select show the task from the job report screen
        And I open advanced search tool
        And I set an advanced list filter Task  =  <task_name>
        And I click on Search button
        And I close advanced search tool
        Then I verify job <export_job_name> of the task <task_name> with status <successfull_status>
        And The content of the exported file <file_exported> should be not empty and should be a valid XML file
        And The lines number of the xml file <file_ref> should be equal to the lines of <file_exported>
        Examples:
            | screen_name     | detail_screen                                              | task_name                                  | export_job_name             | successfull_status | file_exported                                                       | file_ref                                                           |
            | Scheduled Tasks | Scheduled task: MorningStar Valuation One File import Task | MorningStar Valuation One File import Task | MorningstarWSRequestService | Successful job     | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-103966_MSVLFilesList.xml | config&ressources/DataManagement/ref_DHRD-103966_MSVLFilesList.xml |
            | Scheduled Tasks | Scheduled task: MorningStar Valuation One File import Task | MorningStar Valuation One File import Task | MorningstarWSRequestService | Successful job     | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-103966_MSVLFilesList.xml | config&ressources/DataManagement/ref_DHRD-103966_MSVLFilesList.xml |
human: Create a BDD test scenario for default filters on  advanced  search popup

gpt: Scenario Outline: Default filters on Advanced Search popup
        Given I am logged as TAV_standard.user on <screen_name>
        And I check that filters from Query compact view are filled with "<field_name>" "<operator>" "<field_value>"
        When I open advanced search tool
        Then the search criteria <field_name> is displayed with the operator <operator> and value <field_value>
        And All rows displayed have <field_name> is <operator> to <field_value>
        Examples:
            | screen_name          | nb_notif | field_name | operator | field_value |
            | My Securities        | 1        | Preferred? | =        | Yes         |
            | My Business entities | 1        | Pfd        | =        | Yes         |
human: Add the remaining steps to this scenario:

Scenario Outline: Add new entry Low 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 verify the default row displays values <default_values> in columns <columns_to_edit>
    And I verify the default golden copy row displays values <GC_old_values> in columns <columns_to_edit>

gpt: Scenario Outline: Add new entry Low 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 verify the default row displays values <default_values> in columns <columns_to_edit>
    And I verify the default golden copy row displays values <GC_old_values> 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 row remains and displays values <GC_old_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     | GC_old_values                 | default_values              |
      | My Securities | Equity detail: TAV_Atos_multi | TAV_Atos_multi | Prices | Full        | Europerformance;01/21/2022;6.8 | Europerformance;01/21/2022;6,8000 | Provider;Date;Close | Golden copy;01/21/2022;5,5000 | Bloomberg;01/21/2022;5,5000 |
human: Create an automated test scenario for check job transitions retry

gpt: Scenario Outline: Check job transitions retry
    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 tab <tab>
    When I set the next job of the job whose code is  <job_code1> to <job_code2> when the exception is <exception> on the job transitions bloc
    And I set the retry of the job whose code is  <job_code1> to <retry> when the exception is <exception> on the job transitions bloc
    And I save
    And I select the action run task
    And I select show the task from the job report screen
    And I wait for the task <task_name> to be completed
    Then the job <job_name> is relaunched <retry> times
    Examples:
      | screen_name     | detail_screen                                                   | task_name                                       | tab  | job_name       | job_code1 | job_code2 | exception | retry |
      | Scheduled Tasks | Scheduled task: BBG - Equity Subscription - Daily Request-retry | BBG - Equity Subscription - Daily Request-retry | jobs | Vendor Request |        50 |        50 | Any Error |     2 |
human: Finish writing this test scenario:

Scenario Outline: Run multithread import using Fixed Size Columns
        Given I am an authorized user <userApi>
        And I launch task <task_code> using an ID from API path <taskExecution_path>
        And I should get a response with status <status_code1>
        And I send a GET request to <taskExecution_path> with the retrieved task ID
        And I should get a response with status <status_code2>

gpt: Scenario Outline: Run multithread import using Fixed Size Columns
        Given I am an authorized user <userApi>
        And I launch task <task_code> using an ID from API path <taskExecution_path>
        And I should get a response with status <status_code1>
        And I send a GET request to <taskExecution_path> with the retrieved task ID
        And I should get a response with status <status_code2>
        And I am logged as <user> on <screen_name>
        And I go to detail screen <detail_screen> of <task_name>
        And I select show the task from the job report screen
        And I verify job <job_name> of the task <task_name> with status <successfull_status>
        When I open detail screen <detail_screen1> of column name <column_name> of object <job_name>
        Then A message <success_message> is displayed in <comment_title>
        Examples:
            | userApi      | user              | task_code                    | taskExecution_path | status_code1 | status_code2 | screen_name     | detail_screen                                | task_name                    | job_name                 | successfull_status | detail_screen1 | column_name | comment_title   | success_message                                                |
            | TAR_api.user | TAV_standard.user | tav_task_import_csv_4threads | task-executions    | 201          | 200          | Scheduled Tasks | Scheduled task: tav_task_import_csv_4threads | tav_task_import_csv_4threads | fp_import_csv_simulation | Successful job     | Job report     | Job         | Comment on proc | Multi-threaded job, with 4 threads which have run in parallel. |
            | TAR_api.user | TAV_standard.user | tav_task_import_csv_8threads | task-executions    | 201          | 200          | Scheduled Tasks | Scheduled task: tav_task_import_csv_8threads | tav_task_import_csv_8threads | fp_import_csv_simulation | Successful job     | Job report     | Job         | Comment on proc | Multi-threaded job, with 8 threads which have run in parallel. |
human: Write test steps in Gherkin format for find static value based on criteria with a defined code using  g e t method

gpt: Scenario Outline: Find static value based on criteria with a defined code using GET method
        Given I am on the swagger interface
        When I select the resource <resource_name>
        And I setup basic authentication with user <user>
        And I click on the operation <operation_name> of the resource <resource_name> having as endpoint <endpoint>
        And I fill the parameters <request_parameters> with values <request_values>
        And I execute the request
        Then I should get the response status equal to <status_code>
        And The response body should contain the values <response_values> in the field <response_fields>
        Examples:
            | resource_name          | user              | operation_name | endpoint              | request_parameters | request_values | status_code | response_values | response_fields |
            | Tav_statisticvaluedemo | TAV_standard.user | get-all        | tavstatisticvaluedemo | code               | TAV_STAT1      | 200         | TAV_STAT1       | name            |