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

Scenario Outline: Add a record with an end date before the previous record's start date
    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 check that the row number <nth1> is displayed with values <values> on columns <columns>
    When I add a row on the grid under the block <block_name>
    And I filter only edited rows

gpt: Scenario Outline: Add a record with an end date before the previous record's start date
    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 check that the row number <nth1> is displayed with values <values> on columns <columns>
    When I add a row on the grid under the block <block_name>
    And I filter only edited rows
    And I set values <new_values> for the columns <columns>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then A new added row in the position number <nth2> is displayed with values <new_values2> on columns <new_columns>
    And On the row number <nth2> the column <column> is automatically computed with new value <column_value>
    And The row number <nth1> is displayed with values <values> on columns <columns>
    Examples:
      | user              | screen_name   | detail_screen                                   | object_name                      | tab   | nth1 | values                                           | columns                                                  | block_name | new_values                                       | new_values2                           | new_columns                                | column        | column_value | nth2 |
      | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT2_without_discontinuty | TAV_OBJECT2_without_discontinuty | Codes |    1 | 24 EXCHANGE;03/01/2021;12/31/2999;CME;TEST2_ROW1 | Market code;Code start date;Code end date;Code type;Code | Codes      | 24 EXCHANGE;03/01/2020;02/01/2021;CME;TEST2_ROW2 | 24 EXCHANGE;03/01/2020;CME;TEST2_ROW2 | Market code;Code start date;Code type;Code | Code end date |   03/01/2021 |    2 |
human: Write a Gherkin scenario for testing reset query search value on field list with default operator  i n

gpt: Scenario Outline: Reset 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 open advanced search tool
    And I set an advanced list filter <field_name>  <operator>  <new_field_value>
    And I click on button Search
    And I check the query grid shows all rows in the database having <field_name> equal to <new_field_value>
    And I check that filters from Query compact view are filled with "<field_name>" "<operator>" "<new_field_value>"
    When I reset my advanced filter
    Then The search criteria <field_name> is displayed with the operator <operator> and value <old_field_value>
    And The query grid shows all rows in the database having <field_name> equal to <old_field_value>
    And The filters from Query compact view are filled with "<field_name>" "<operator>" "<old_field_value>"
    Examples:
      | user              | screen_name     | banner    | field_name    | operator | old_field_value | new_field_value    |
      | TAV_standard.user | My Securities 3 | Security: | Sec main type | in       | Equity          | Index;Fixed Income |
      #| TAV_standard.user | Users 2         | Users :   | Activated ?   | in       | Yes             | Yes;No             |
human: Create a BDD test scenario for add a new record in the future with discontinuity configured

gpt: Scenario Outline: Add a new record in the future 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>
    And Under the block <block_name> I check that the row number <nth1> is displayed with values <values1> on columns <columns>
    And Under the block <block_name> I check that the row number <nth2> is displayed with values <values2> on columns <columns>
    And Under the block <block_name> I check that the row number <nth3> is displayed with values <values3> on columns <columns>
    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 <new_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 added row in the position number <nth1> is displayed with values <new_values> on columns <columns>
    And Under the block <block_name> On the row number <nth2> the column <column> is not recomputed and displays the modified value <column_value>
    And Under the block <block_name> The row number <nth3> is displayed with values <values2> on columns <columns>
    And Under the block <block_name> The row number <nth4> is displayed with values <values3> on columns <columns>
    Examples:
      | user              | screen_name   | detail_screen                                | object_name                   | tab            | values1                                          | values2                                          | values3                                          | new_values                                       | columns                                                         | column           | column_value | block_name               | nth1 | nth2 | nth3 | nth4 |
      | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT5_with_discontinuty | TAV_OBJECT5_with_discontinuty | ids & classif. | BBG - Fund Type;06/01/2022;12/31/2022;Amundi;ETC | BBG - Fund Type;05/01/2022;06/01/2022;Amundi;ETC | BBG - Fund Type;05/01/2021;04/01/2022;Amundi;ETC | BBG - Fund Type;07/01/2023;07/01/2024;Amundi;ETC | Group Type;Classif Start Date;Classif End Date;Class Prov;Group | Classif end date |   12/31/2022 | Security classifications |    1 |    2 |    3 |    4 |
human: Add the remaining steps to this scenario:

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>

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: Finish writing this test scenario:

Scenario Outline: Cancel transaction using a skip validation user
    Given I am logged as <user> using path <path> and screen <screen_name>
    And I set an advanced list filter <field_name2>  <operator>  <field_value2>
    And I set an advanced range date filter <field_name3>  <operator>  <field_value3>
    And I set an advanced list filter <field_name1>  <operator>  <field_value1>
    And I click on Search button
    And I close advanced search tool
    And I select the first row from the grid

gpt: Scenario Outline: Cancel transaction using a skip validation user
    Given I am logged as <user> using path <path> and screen <screen_name>
    And I set an advanced list filter <field_name2>  <operator>  <field_value2>
    And I set an advanced range date filter <field_name3>  <operator>  <field_value3>
    And I set an advanced list filter <field_name1>  <operator>  <field_value1>
    And I click on Search button
    And I close advanced search tool
    And I select the first row from the grid
    When I Cancel the transaction
    And I check that the transaction is added with field <field> and value <value>
    And The transaction status is not yellow
    And I open query screen <screen_name2> using the path <path2>
    And I set an advanced list filter <field_name>  <operator>  <field_value>
    And I set an advanced list filter <field_name1>  <operator>  <field_value1>
    And I click on Search button
    Then The transaction is deleted
    Examples:
      | user                               | screen_name| path                                                  |screen_name2    |path2                                                  |field_name|operator|field_value   |field_name1|field_value1|quantity_column|quantity_value|field|value|field_name2|field_value2|field_name3|field_value3|
      |TAV_transactionskipvalidation.user  |Transactions|Screen / Investment Data / Trade Support / Transactions|Holding Intraday|Screen / Investment Data / Positions / Holding Intraday|portfolio | =      |Neoxam Dynamic|Security   |Accor       |quantity       |0,0000        |status|Cancelled|all pf.|World Dynamic|trade dt|03/13/2025;03/13/2025|
human: Finish writing this test scenario:

Scenario Outline: Export XML using the property Namespace
        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: Export XML using the property Namespace
        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_using_prop_nam | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportxmlusingpropnamzspace.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-95025-Exportxmlusingpropnamzspace.xml |
    @DHRD-95026 @waiting_For_DHRD-113310
human: Create an automated test scenario for i d s -  securities listing

gpt: Scenario Outline: IDS - Securities listing
		Given I am an authorized user <user>
        When I retrieve data from the scope view <scope_view_code>
        Then I should get a response with status <status_code>
        And the fields <scope_view_fields> are correctly displayed in reponse
		Examples:
			| user         | scope_view_code               | scope_view_fields                                                         | status_code |
            | TAR_api.user | TAR_SECURITY_REFERENTIAL_VIEW | Security ID;Share ISIN;Security Name;Country;Currency;security_main_type  | 200         |
human: Write test steps in Gherkin format for move a new field in an existing bloc from config panel

gpt: Scenario Outline: Move a new field in an existing bloc 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 add the technical field <field>
    And 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 <list_fields> is correctly reordered
    Examples:
      | screen_name   | detail_screen                    | object_name       | tab      | block_name | field | list_fields                                       |
      | My Securities | Equity detail: TAV_Reorder_CMSCP | TAV_Reorder_CMSCP | Overview | Quotation  | Beta  | Date;Beta;Ref. price;Daily Variation;Rel perf ytd |
human: Write a Gherkin scenario for testing swap columns order

gpt: Scenario Outline: Swap columns order
    Given I am logged in as Standard User
    And I access <screen_name> screen which title begins with <banner_fixed_text>
    And the default columns order is <Columns>
    When I Swap the columns <Column1> with <Column2>
    Then I check that the columns order display is equal to <Columns_new>
    Examples:
      | screen_name | banner_fixed_text | Columns                            | Column1     | Column2  | Columns_new                        |
      | Users       | Users :           | Lastname;Activated ?;#Nx;Fit model | Activated ? | Lastname | Activated ?;Lastname;#Nx;Fit model |
human: Complete this Gherkin scenario:

Scenario Outline: Basic Security Search
    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>

gpt: Scenario Outline: Basic Security Search
    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 fields <response_fields> are correctly displayed in reponse under <response_path>
    And the fields <content_fields> are correctly displayed in reponse under <content_path>
    Examples:
        | user         | class_name | field            | label         | payload           | folder_name  | status_code | response_fields | response_path       | content_fields         | content_path |
        | TAR_api.user | MxSecurity | NAME;SHORT_NAME  | null;NameDemo | ManageSearch.json | payloads     | 200         | NAME;NameDemo   | data.content:fields | id;version;update_date | data.content |
human: Write a behavior-driven test for delete entry with  manual  source

gpt: Scenario Outline: Delete 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 filter by Date with <date>
    And I delete the row with values <values> in columns <columns>
    And I save
    Then The golden copy is recomputed and displays values <GC_new_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 | date       | values                   | columns             | GC_new_values                 |
      | My Securities | Equity detail: TAV_accor_mult_to_delete_3 | TAV_accor_mult_to_delete_3 | Prices | Full        | 01/27/2022 | Manual;01/27/2022;5,5000 | Provider;Date;Close | Golden copy;01/27/2022;4,8000 |
human: Create Gherkin steps to verify delete  directories

gpt: Scenario Outline:Delete 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 delete the created folder <created_folder> under the parent folder <main_folder>
        And I delete the folder <existing_folder>
        And I check that the deleted folders <deleted_folders> have disappeared from menu <menus>
        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 deleted folders <deleted_folders> have disappeared from menu <menus>
        Examples:
            | user               | user_menu         | main_folder          | created_folder | menus                                | existing_folder     | deleted_folders                |
            | authorized.user.EN | DataHub warehouse | Investment Data      | New folder     | Investment Data;DataHub warehouse    | Folder_To_Remove    | New folder;Folder_To_Remove    |
            | authorized.user.FR | DataHub factory   | Administration coeur | New folder     | Administration coeur;DataHub factory | Dossier_A_Supprimer | New folder;Dossier_A_Supprimer |
human: Write test steps in Gherkin format for export  x m l using the property  x m l n s

gpt: Scenario Outline: Export XML using the property XMLNS
        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_PROP_XMLNS | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExport_xml_using_prop_xmlns.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-95374-Export_xml_using_prop_xmlns.xml |
@DHRD-96584 @changeCommentSection @waiting_For_DHRD-113310
#@pending @waiting_for_DHRD-110740
human: Complete this Gherkin scenario:

Scenario Outline: Add a new class in data model
    Given I am logged as TAV_standard.user on <screen_name>
    And I add a row using the buttons toolbar
    When I open the detail screen of the selected line
    And I update the fields <fields_names> with the values <fields_values>
    And I add a row in the block <block_name>
    And I select the newly added row
    And I set values <values> for the columns <columns>

gpt: Scenario Outline: Add a new class in data model
    Given I am logged as TAV_standard.user on <screen_name>
    And I add a row using the buttons toolbar
    When I open the detail screen of the selected line
    And I update the fields <fields_names> with the values <fields_values>
    And I add a row in the block <block_name>
    And I select the newly added row
    And I set values <values> for the columns <columns>
    And I select the tab <tab_name>
    And I update the fields <field_name> with the values <field_value>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    And I perform the action <inspector_action>
    And I select the tab <inspector_tab>
    Then the field <Class_name_field> is displayed with value <Class_name>
    Examples:
      | screen_name     | fields_names                                                      | fields_values                                                             | block_name | values                                        | columns                                                                  | tab_name | field_name | field_value | Class_name_field | Class_name | inspector_action                         | inspector_tab |
      | Data Dictionary | Name (En.);Name (Fr.);Class Name;Class Full Name;Category;Privacy | CLASS_TEST;CLASS_TEST;CLASSTEST;CLASSTEST;Security Master File;Data Admin | Tables     | TABLE_TEST;TT;0;1;999;Data Admin;TEST Comment | Table name;Prefix;Rec type;Min records;Max records;Table privacy;Comment | Misc.    | Icon       | Security    | Class Name       | CLASSTEST  | Display / Show Object Inspector - Ctrl+I | SMARTCLASS    |
  @DHRD-100695 @flaky
human: Finish writing this test scenario:

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

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