Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create Gherkin steps to verify export  x m l using the property  x s l t_ s t y l e s h e e t

gpt: Scenario Outline: Export XML using the property XSLT_STYLESHEET
        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_ExportXmlUsingPropXSLT_ST | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportXmlUsingPropXSLT_STYLESHEET.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-95428-ExportXmlUsingPropXSLT_STYLESHEET.xml |
    @DHRD-95374 @task-executions @waiting_For_DHRD-113310
human: Complete this Gherkin scenario:

Scenario Outline: Add a record with an end date before the previous record's start 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>
    And Under the block <block_name> 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 Under the block <block_name> i filter only edited rows

gpt: Scenario Outline: Add a record with an end date before the previous record's start 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>
    And Under the block <block_name> 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 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 <nth2> is displayed with values <new_values2> on columns <new_columns>
    And Under the block <block_name> On the row number <nth2> the column <column> is not recomputed and displays the modified value <new_value>
    And Under the block <block_name> 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           | new_value  | nth2 |
      | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT2_with_discontinuty | TAV_OBJECT2_with_discontinuty | ids & classif. |    1 | BBG - Fund Type;05/01/2022;12/31/2999;Amundi;ETC | Group Type;Classif Start Date;Classif End Date;Class Prov;Group | Security classifications | BBG - Fund Type;05/01/2021;04/01/2022;Amundi;ETC | BBG - Fund Type;05/01/2021;Amundi;ETC | Group Type;Classif Start Date;Class Prov;Group | Classif End Date | 04/01/2022 |    2 |
human: Generate a feature file scenario for filter/ search on a view using  i s o code as reference display

gpt: Scenario Outline: Filter/Search on a view using ISO code as reference display
		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 all received objects should include these <values> for these <fields> under <element>
		Examples:
			| user         | scope_view_code         | criteria_fields                     | criteria_operators | criteria_values    | status_code | values | fields           | element |
			| TAR_api.user | TAR_SCOPE_VIEW_ISO_CODE | security_main_type;currency;country | EQUAL;EQUAL;EQUAL  | Mutual Fund;EUR;FR | 200         | EUR;FR | currency;country | value   |
human: Finish writing this test scenario:

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

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: 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>

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: Write test steps in Gherkin format for execute business rule unit testing for merge2objects function

gpt: Scenario Outline: Execute business rule unit testing for merge2objects function
    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       | test_suite   | 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_TESTING | status | SUCCESS | execution |          201 |          200 | Test Reports | Test reports | Test suite 1 |         9 | Test Result | Successful  | Test Suite  | Test suiteMEREG2OBJECTS | =        | Test Case   | TEST MERGE2OBJECTS | Edit Test Report | Test Result | Screen / Datahub Factory / System Administration / Test Scenario |
human: Create an automated test scenario 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: Complete this Gherkin scenario:

Scenario Outline: Filter/Search on a view with multiple objects linked from the same class
        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>

gpt: Scenario Outline: Filter/Search on a view with multiple objects linked from the same class
        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 all received objects should include these <values> as <fields>
        Examples:
            | user         | scope_view_code                        | criteria_fields    | criteria_operators | criteria_values | status_code | values                                 | fields                         |
            | TAR_api.user | TAR_SCOPE_VIEW_OBJECTS_LINK_SAME_CLASS | security_code_type | EQUAL              | ISIN            | 200         | TAR_accor;FR0000852501;INTERNAL_171865 | name;Share ISIN;Benchmark code |
human: Finish writing this test scenario:

Scenario Outline: Export XML using the property ENCODING
        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 ENCODING
        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_ENCODING | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefEXPORT_XML_PROP_ENCODING.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-94690-EXPORT_XML_PROP_ENCODING.xml |
    @DHRD-95025 @task-executions @waiting_For_DHRD-113310
human: Finish writing this test scenario:

Scenario: Run Valuation Service against Holdings
        Given I am logged as TAV_standard.user on <screen_name>
        And I select detail screen <object_name>
        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 <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 query screen <screen_name1> which title begins with <title>

gpt: Scenario: Run Valuation Service against Holdings
        Given I am logged as TAV_standard.user on <screen_name>
        And I select detail screen <object_name>
        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 <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 query screen <screen_name1> which title begins with <title>
        And I set an advanced date filter <filter_date>  =  <date_value1>
        And I click on Search button
        And I retrieve the generated valuation set id
        And I open the detail screen of the generated valuation set
        And I check that the fields <fields1> are saved with <fields_value>
        And I open query screen <screen_name2> which title begins with <title2>
        And I set an advanced date filter <filter_date>  =  <date_value1>
        And I click on Search button
        Then Valuations are displayed with <valuation_id> equal to the generated valuation set id
        And The displayed valuations have <fields> equal to <values>
        Examples:
            | screen_name     | object_name                        | button   | job_report_screen | banner_job_report | column | value           | screen_name1   | title          | filter_date | screen_name2         | title2               | date_value1 | fields1                                  | fields_value                                                                                                                                                                                              | valuation_id  | fields                  | values                                 |
            | Scheduled Tasks | Valuation Service Against Holdings | Run task | Job Reports | Job report | Status | Successful task | Valuation Sets | Valuation Sets | date | Holding Valuations_3 | Holding Valuations_3 | 09/30/2025 | Name;Description2;Category;User Category | Valuation Set computed on 2025-09-30 with the Valuation Style Market Value and LT Style Standard Look-Through;Valuation is computed against source HOLDING when storage is set toY;Category c1;Super User | Valuation Set | Currency;Style;LT Style | CAD;Market Value;Standard Look-Through |
human: Write a behavior-driven test for take into account the inactivation of a field

gpt: Scenario Outline: Take into account the inactivation of a field
		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_FIELD_CRITERIA_DESACTIVATION | 200         | name;security_code |
human: Write test steps in Gherkin format for filter/ search on a view with criteria overloadable

gpt: Scenario Outline: Filter/Search on a view with criteria overloadable
		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 include these <criteria_value> as <criteria_field>
		Examples:
			| user         | scope_view_code | criteria_field     | criteria_operator | criteria_value | status_code |
			| TAR_api.user | TAR_SCOPE_VIEW  | security_main_type | EQUAL             | Mutual Fund    | 200         |
human: Add the remaining steps to this scenario:

Scenario Outline: Delete owned screens with authorized user
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        When I delete the owned screens <screen_list> from the parent folder <folder_list>

gpt: Scenario Outline: Delete owned screens with authorized user
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        When I delete the owned screens <screen_list> from the parent folder <folder_list>
        And I check that the deleted screens <screen_list> have disappeared from menu <folder_list>
        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 screens <screen_list> have disappeared from menu <folder_list>
        Examples:
            | user               | user_menu         | folder_list                                        | screen_list                                  |
            | authorized.user.EN | DataHub warehouse | DataHub warehouse;Price & Levels;Index & Benchmark | Detail Screen;Query Screen;Dashboard Screen |
            | authorized.user.FR | DataHub factory | DataHub factory;Production;Scopes et Vues | Ecran Detail;Ecran Query;Ecran Dashboard |
human: Write test steps in Gherkin format for retrieve the list of views

gpt: Scenario Outline: Retrieve the list of views
		Given I am an authorized user <user>
        When I retrieve data from all the scope views
        Then I should get a response with status <status_code>
        And the criteria <scope_view_criterias> are correctly displayed in <scope_view_code>
		Examples:
			| user         | scope_view_criterias                  | scope_view_code | status_code |
            | TAR_api.user | SECURITY_MAIN_TYPE;PREFFERED;CURRENCY | TAR_SCOPE_VIEW  | 200         |
human: Write a Gherkin scenario for testing i d s -  display  fund  share  valuations

gpt: Scenario Outline: IDS - Display Fund Share Valuations
		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_SHARE_VALUATION_VIEW_IDS | Share ISIN     | EQUAL             | XS1234567891   | 200         | share_valuation_ref.json |