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

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

gpt: Scenario Outline: Delete 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 filter by Rating date with <date_Rtg>
    And I delete the row with values <values> in columns <columns>
    And I save
    Then the golden copy row remains and displays values <GC_old_values> in columns <columns>
    And The deleted row with values <values> in columns <columns> disappears
    Examples:
      | screen_name   | detail_screen                              | object_name                   | tab    | histo_value | values                              | columns                          | date_Rtg   | GC_old_values                         |
      | My Securities | Bond detail: TAV_delete_low_Treasury Bonds | TAV_delete_low_Treasury Bonds | Rating | Full        | 05/05/2021;Fitch SEC;Bloomberg;BBB+ | Rating date;Type;Provider;Rating | 05/05/2021 | 05/05/2021;Moody's SEC;Golden copy;A2 |
human: Generate a feature file scenario for query grid navigation -  configure a pivot grid

gpt: Scenario Outline: Query grid navigation - Configure a pivot grid
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        And I set an advanced list filter <criteria>  =  <value>
        And I click on Search button
        And I close advanced search tool
        When I change the grid display to Pivot
        And I select the row <row1> from Rows menu
        And I select the row <row2> from Rows menu
        And I select the column <column1> from Columns menu
        And I select the column <column2> from Columns menu
        And I select the agreggate method <Aggregate> from Aggregates menu
        And I collapse and expand columns
        And I sort by rows
        Then I check that the row <row2> has the value <value2> for <Security_name>
        And I check that value <value2> on the row <row2> for <Security_name> is left aligned
        Examples:
            | screen_name   | criteria | value             | row1 | row2          | column1 | column2  | Aggregate | value2     | Security_name |
            | My Securities | Sec Type | IX - Equity Index | Name | Creation date | Country | Currency | Issuer    | 07/12/1988 | CAC 40        |
    @DHRD-96359 @pending @waiting_For_DHRD-112033
human: Complete this Gherkin scenario:

Scenario Outline: Move an existing grid 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

gpt: Scenario Outline: Move an existing grid 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 grid <grid> to first position
    And I save the screen configuration
    Then the grid <grid> is displayed in the first position
    And the components list <list> is correctly reordered
    Examples:
      | screen_name   | detail_screen                    | object_name       | tab   | block_name        | grid            | list                       |
      | My Securities | Equity detail: TAV_Reorder_CMSCP | TAV_Reorder_CMSCP | Audit | Workflow statuses | SECURITY_STATUS | SECURITY_STATUS;Preferred? |
human: Create an automated test scenario for run an export json using a publisher tag

gpt: Scenario Outline: Run an export json using a publisher tag
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <trigger_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 json file <file_exported> should be equal to <file_ref>
    Examples:
      | screen_name     | detail_screen                                      | trigger_task_name                  | task_name                  | export_job_name       | successfull_status | file_exported                                          | file_ref                                                           |
      | Scheduled Tasks | Scheduled task: TEST_TRIGGER_EXPORT_JSON_PUBLISHER | TEST_TRIGGER_EXPORT_JSON_PUBLISHER | TASK_EXPORT_JSON_PUBLISHER | EXPORT_JSON_PUBLISHER | Successful job     | /data/testauto/nxdh/data/file_ExportJsonPublisher.json | config&ressources/DataManagement/ref_file_ExportJsonPublisher.json |
human: Generate a feature file scenario for advanced  filter using two fields

gpt: Scenario Outline: Advanced Filter using two fields
		Given I am logged as TAV_standard.user on <screen_name>
		And I open advanced search tool
		And  I set an advanced list filter <field2_name>  =  <field2_value>
		When I set an advanced text filter <field1_name>  =  <field1_value>
		And I click on button Search
		Then The query grid double check shows all rows in the database having <field1_name> equal to <field1_value> and <field2_name> equal to <field2_value>
		Examples:
			| screen_name          | field1_name | field1_value     | field2_name   | field2_value      |
			| My Securities        | Name        | ENGIE            | Sec main type | Derivative        |
			| My Business entities | Name        | ABN AMRO BANK NV | Ctry - Dom    | Netherlands (the) |
human: Finish writing this test scenario:

Scenario Outline: Filter/Search on a view without fields and criteria
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> without fields and criteria

gpt: Scenario Outline: Filter/Search on a view without fields and criteria
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> without fields and criteria
		Then I should get a response with status <status_code>
		And the fields <fields> are correctly displayed in reponse
		Examples:
			| user         | scope_view_code | status_code | fields                             |
			| TAR_api.user | TAR_SCOPE_VIEW  | 200         | STATE;name;DATE;security_main_type |
human: Write test steps in Gherkin format for add new bookmark folder

gpt: Scenario Outline: Add new bookmark folder
    Given I am logged in as <user>
    When I add a bookmark folder
    And I check that a popup is displayed with a message <message> and 2 options <button1> <button2>
    And I enter a folder name <folder_name>
    And I check that an orange badge is displayed on the edited field with value <folder_name>
    And I click on button <button1>
    Then A new bookmark folder <folder_name> is displayed
    Examples:
			| user         | folder_name      | message                           | button1 | button2 |
			| TAV_User_EN  | testAddNewFolder | Enter a folder name               | Ok      | Cancel  |
		    | TAV_User_FR  | testAddNewFolder | Veuillez saisir le nom du dossier | Ok      | Cancel  |
human: Create a BDD test scenario for query grid navigation -  export  c s v ( transposed -  grid /  pivot -  grid /  hierarchical -  grid)

gpt: Scenario: Query grid navigation - Export CSV (Transposed - Grid / Pivot - Grid / Hierarchical - 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 transpose | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-112413_transposed_query_grid.csv |
      | TAV_standard.user | csv       | Cash Positions          | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-112413_pivot_query_grid.csv      |
    # | TAV_standard.user | csv       | Business Dictionary    | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-112413_hierarchical_query_grid.xlsx |@skipped @waiting_for_DHRD-112176
human: Finish writing this test scenario:

Scenario Outline: Query grid navigation - Group by this column
                Given I am logged as <user> using path <path> and screen <screen_name>
                When I group by this column <column_name> using the column header menu
                Then the break <column_name> is added to the grid

gpt: Scenario Outline: Query grid navigation - Group by this column
                Given I am logged as <user> using path <path> and screen <screen_name>
                When I group by this column <column_name> using the column header menu
                Then the break <column_name> is added to the grid
                And The groups number must be equal to <number>
                And I click on the groups menu
                And The number of level is passed to <number>
                And I check that the groups <groups> are active in the groups menu
                Examples:
                        | user              | screen_name          | path                                                            | column_name | groups                | number |
                        | TAV_standard.user | My Securities        | Screen / Static Data / Security Master File / My Securities     | Country     | Sec main type;Country | 2      |
                        | TAV_standard.user | My Business entities | Screen / Static Data / Business Entities / My Business entities | Status      | Status                | 1      |
human: Finish writing this test scenario:

Scenario Outline: Add static value using Post 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_name1> of the resource <resource_name> having as endpoint <endpoint>
        And I set the json body with <content>
        And I execute the request

gpt: Scenario Outline: Add static value using Post 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_name1> of the resource <resource_name> having as endpoint <endpoint>
        And I set the json body with <content>
        And I execute the request
        And I check that I get the response status equal to <status_code1>
        And I click on the operation <operation_name2> 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_code2>
        And The response body is displayed with the right content of the file <content>
        Examples:
            | resource_name          | user              | operation_name1 | endpoint              | content        | status_code1 | operation_name2 | request_parameters | request_values | status_code2 |
            | Tav_statisticvaluedemo | TAV_standard.user | add             | tavstatisticvaluedemo | TAV_STAT2.json | 201          | get-all         | code               | TAV_STAT2      | 200          |
human: Generate a feature file scenario for manipulate  main markup in  x m l  parser for  export

gpt: Scenario Outline: Manipulate MainMarkup in XML Parser for Export
        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>
        When I send a GET request to <taskExecution_path> with the retrieved task ID
        Then I should get a response with status <status_code2>
        And The received object should include the field <field> with value <value> under <element>
        And The content of the exported xml file <file_exported> should be equal to <file_ref>
        Examples:
            | userApi      | taskExecution_path | task_code                      | field  | value   | element   | status_code1 | status_code2 | file_ref                                              | file_exported                                                                 |
            | TAR_api.user | task-executions    | TASK_Export_xml_mainmarkup     | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportMainMarkup.xml         | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-93348-ExportMainMarkup.xml         |
            | TAR_api.user | task-executions    | TASK_Export_xml_mainmarkupNoeu | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportMainMarkupNoeudSec.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-93348-ExportMainMarkupNoeudSec.xml |
human: Generate a feature file scenario for add a record without an end date with discontinuity configured

gpt: Scenario Outline: Add a record without an end date with discontinuity configured
    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 add a row on the grid under the block <block_name>
    And Under the block <block_name> i filter only edited rows
    And Under the block <block_name> I set values <values> for the columns <columns>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then Under the block <block_name> A new row is displayed with values <values> on <columns>
    And Under the block <block_name> The column <column> is automatically computed with new value <column_value>
    Examples:
      | user              | screen_name   | detail_screen                                | object_name                   | tab            | block_name               | values                                | columns                                        | column           | column_value |
      | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT1_with_discontinuty | TAV_OBJECT1_with_discontinuty | ids & classif. | Security classifications | BBG - Fund Type;05/01/2022;Amundi;ETC | Group Type;Classif Start Date;Class Prov;Group | Classif End Date |   12/31/2999 |
human: Add the remaining steps to this scenario:

Scenario Outline: Manipulate MainMarkup in XML Parser for Export
        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>

gpt: Scenario Outline: Manipulate MainMarkup in XML Parser for Export
        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>
        When I send a GET request to <taskExecution_path> with the retrieved task ID
        Then I should get a response with status <status_code2>
        And The received object should include the field <field> with value <value> under <element>
        And The content of the exported xml file <file_exported> should be equal to <file_ref>
        Examples:
            | userApi      | taskExecution_path | task_code                      | field  | value   | element   | status_code1 | status_code2 | file_ref                                              | file_exported                                                                 |
            | TAR_api.user | task-executions    | TASK_Export_xml_mainmarkup     | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportMainMarkup.xml         | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-93348-ExportMainMarkup.xml         |
            | TAR_api.user | task-executions    | TASK_Export_xml_mainmarkupNoeu | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportMainMarkupNoeudSec.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-93348-ExportMainMarkupNoeudSec.xml |
human: Complete this Gherkin scenario:

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

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: Complete this Gherkin scenario:

Scenario Outline: Data model Extract for Data governance integration
        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>

gpt: Scenario Outline: Data model Extract for Data governance integration
        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>
        When I send a GET request to <taskExecution_path> with the retrieved task ID
        Then I should get a response with status <status_code2>
        And The received object should include the field <field> with value <value> under <element>
        And The content of the exported xml file <file_exported> should be equal to <file_ref>
        Examples:
            | userApi      | taskExecution_path | task_code              | field  | value   | element   | status_code1 | status_code2 | file_ref                                 | file_exported                                                    |
            | TAR_api.user | task-executions    | TASK_EXPORT_DATA_MODEL | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportXmlIN.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-92896/ExportXmlIN.xml |
@DHRD-102937 @task-executions
human: Complete this Gherkin scenario:

Scenario Outline: Upload file and save using save button
        Given I am logged as <user> on <screen_name>
        When I search and select the line of <document_name>
        And I upload the file <file_name> to a <document_name>

gpt: Scenario Outline: Upload file and save using save button
        Given I am logged as <user> on <screen_name>
        When I search and select the line of <document_name>
        And I upload the file <file_name> to a <document_name>
        And I save
        And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
        Then The uploaded file is displayed with <file_name> to document <document_name>
        Examples:
            | user              | screen_name | save_button | document_name               | file_name                   |
            | TAV_standard.user | Documents   | Save        | TAV_Upload_Testing_Document | TAV_Upload_Testing_file.csv |
human: Finish writing this test scenario:

Scenario Outline: Filter/Search on a view with operators "DIFFERENT", "LESS", "GREATER" and "NOTLIKE"
		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: Filter/Search on a view with operators "DIFFERENT", "LESS", "GREATER" and "NOTLIKE"
		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 all received objects should not include these <values> as <field>
		Examples:
			| user         | scope_view_code          | criteria_field       | criteria_operator | criteria_value | status_code | values       | field                |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | quote_date           | DIFFERENT         | 03/04/2024     | 200         | 2024-04-03   | quote_date           |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | quote_date           | LESS              | 03/04/2024     | 200         | 2024-04-03   | quote_date           |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | quote_date           | GREATER           | 03/04/2024     | 200         | 2024-04-03   | quote_date           |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | security_code_commun | NOTLIKE           | %000085250%    | 200         | FR0000852501 | security_code_commun |
human: Create a BDD test scenario for query grid  navigation -  check  default transposed grid

gpt: Scenario Outline: Query grid Navigation - Check Default transposed grid
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        And I set an advanced list filter <criteria>  =  <value>
        And I click on Search button
        And I close advanced search tool
        And I check that the default grid configuration is transpose
        When I add a row using buttons toolbar
        Then I check that a new blank column is added
        And I check that the transposed grid field <field1> value in the first column is <field1_value>
        And I check that the transposed grid field <field2> value in the first column is <field2_value>
        And I check that the value <field1_value> of the field <field1> is right aligned on transposed grid
        And I check that the value <field2_value> of the field <field2> is left aligned on transposed grid
        Examples:
            | screen_name     | field1 | field2        | criteria | value           | field1_value | field2_value |
            | Transposed Grid | Close  | Creation date | Sec type | CT - Fx Forward | 1,0000       | 09/24/2018   |
    @DHRD-96355 @pending @waiting_For_DHRD-112033