Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create an automated test scenario for filter/ search on a view without criteria

gpt: Scenario Outline: Filter/Search on a view without criteria
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with fields <fields> and <fields_labels>
		Then I should get a response with status <status_code>
		And the fields <fields> are correctly displayed in reponse
		Examples:
			| user         | scope_view_code | fields       | fields_labels | status_code |
			| TAR_api.user | TAR_SCOPE_VIEW  | NAME;COUNTRY | name;country  | 200         |
human: Generate a feature file scenario for detail grid navigation -  export  c s v ( standard -  grid)

gpt: Scenario: Detail grid navigation - Export CSV (Standard - 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>
    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 <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   | detail_screen                | object_name   | tab      | level_number | csv_button | file_ref                                                                  |
      | TAV_standard.user | csv       | My Securities | Equity detail: TAV_TOEXPORT1 | TAV_TOEXPORT1 | Prices 6 |            1 | export CSV | config&ressources/DataManagement/DHRD-113611_standard_detail_grid_ref.csv |
human: Generate a feature file scenario for find static value by identifier using  g e t method

gpt: Scenario Outline: Find static value by identifier 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 | getById        | tavstatisticvaluedemo | id                 | 100            | 200         | TAV_STAT1       | name            |
human: Write a Gherkin scenario for testing run  valuation  service against  valuations

gpt: Scenario: Run Valuation Service against Valuations
        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 Valuation | Run task | Job Reports | Job report | Status | Successful task | Valuation Sets | Valuation Sets | date | Holding Valuations_3 | Holding Valuations_3 | 07/21/2025 | Name;Description2;Category;User Category | Valuation Set computed on 2025-07-21 with the Valuation Style Market Value and LT Style Standard Look-Through;Valuation is computed against source VALUATION when storage is set toY;Category c1;Super User | Valuation Set | Currency;Style;LT Style | USD;Market Value;Standard Look-Through |
human: Write a behavior-driven test for advanced  filter using one list field

gpt: Scenario Outline: Advanced Filter using one list field
		Given I am logged as TAV_standard.user on <screen_name>
		And I open advanced search tool
		When I set an advanced list filter <field1_name>  =  <field1_value>
		And I click on Search button
		Then The query grid shows all rows in the database having <column_name> equal to <field1_value>
		Examples:
			| screen_name          | field1_name | field1_value    | column_name |
			| My Securities        | Security    | TAV_Alternative | Name        |
			| Countries            | OECD Ctry   | No              | OECD Ctry   |
			| My Portfolios        | Fund Type   | Fund            | Fund Type   |
			| My Business entities | Entity      | AXA SA          | Name        |
			| Feed Dictionary      | Category    | Manual Export   | Category    |
			| Users                | Activated ? | Yes             | Activated ? |
human: Finish writing this test scenario:

Scenario: Detail grid navigation - Export CSV (Hierarchical - 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>
    And I search for <object_name> and select the first line

gpt: Scenario: Detail grid navigation - Export CSV (Hierarchical - 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>
    And I search for <object_name> and select the first line
    And I open the detail screen of the selected line
    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          | detail_screen          | object_name    | tab | csv_button | file_ref                                                                               |
      | TAV_standard.user | csv       | My Business entities | Issuer: Air France-KLM | Air France-KLM | ESG | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-113613_hierarchical_detail_grid.csv |
human: Write a behavior-driven test for add a record with a start date in a latest date and no end date with discontinuity configured

gpt: Scenario Outline: Add a record with a start date in a latest date and no 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>
    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>
    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 <new_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 <values> on columns <new_columns>
    And Under the block <block_name> On the row number <nth1> the column <column> is automatically computed with new value <column_value>
    And Under the block <block_name> On the row number <nth2> the column <column> is automatically computed with new value <column_value2>
    And Under the block <block_name> The row number <nth3> is displayed with values <values2> on columns <columns>
    Examples:
      | user              | screen_name   | detail_screen                                | object_name                   | tab            | block_name               | values1                                          | values2                                          | columns                                                         | values                                | new_columns                                    | column           | column_value | column_value2 | nth1 | nth2 | nth3 |
      | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT3_with_discontinuty | TAV_OBJECT3_with_discontinuty | ids & classif. | Security classifications | BBG - Fund Type;05/01/2022;12/31/2999;Amundi;ETC | BBG - Fund Type;05/01/2021;04/01/2022;Amundi;ETC | Group Type;Classif Start Date;Classif End Date;Class Prov;Group | BBG - Fund Type;06/01/2022;Amundi;ETC | Group Type;Classif Start Date;Class Prov;Group | Classif End Date |   12/31/2999 |    06/01/2022 |    1 |    2 |    3 |
human: Finish writing this test scenario:

Scenario Outline: Modify the end date of the latest record 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>

gpt: Scenario Outline: Modify the end date of the latest record 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 select the row number <nth1> on the grid under the block <block_name>
    And Under the block <block_name> I set values <new_value> for the columns <column>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then Under the block <block_name> On the row number <nth1> the column <column> is not recomputed and displays the modified value <new_value>
    And Under the block <block_name> The row number <nth2> is displayed with values <values2> on columns <columns>
    And Under the block <block_name> The row number <nth3> is displayed with values <values3> on columns <columns>
    Examples:
      | user              | screen_name   | detail_screen                                | object_name                   | tab            | block_name               | values2                                          | values1                                          | values3                                          | columns                                                         | new_value  | column           | nth1 | nth2 | nth3 |
      | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT4_with_discontinuty | TAV_OBJECT4_with_discontinuty | ids & classif. | Security classifications | BBG - Fund Type;05/01/2022;06/01/2022;Amundi;ETC | BBG - Fund Type;06/01/2022;12/31/2999;Amundi;ETC | BBG - Fund Type;05/01/2021;04/01/2022;Amundi;ETC | Group Type;Classif Start Date;Classif End Date;Class Prov;Group | 12/31/2022 | Classif end date |    1 |    2 |    3 |
human: Add the remaining steps to this scenario:

Scenario: Copy/paste using keyboard shortcuts "Ctrl + A"
    Given I am logged as <user> on <screen_name>
    And I select all the grid using shortcut Ctrl + A
    And I check that all rows on the grid are selected
    And I perform the keyboard shortcut <shortcut2>
    And I open Excel using a new browser

gpt: Scenario: Copy/paste using keyboard shortcuts "Ctrl + A"
    Given I am logged as <user> on <screen_name>
    And I select all the grid using shortcut Ctrl + A
    And I check that all rows on the grid are selected
    And I perform the keyboard shortcut <shortcut2>
    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 <shortcut3> 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 | shortcut2 | excel_user              | password    | shortcut3 | file_ref                                              |
      | TAV_standard.user | Products & Mandates 2 | Ctrl + A  | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92751_ref_file.xlsx |
human: Finish writing this test scenario:

Scenario Outline: Run a feedproc using a scope view parser
        Given I am logged in as <user>
        And I open query screen <screen_name1> which title begins with <banner1>
        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>

gpt: Scenario Outline: Run a feedproc using a scope view parser
        Given I am logged in as <user>
        And I open query screen <screen_name1> which title begins with <banner1>
        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 I check that the column <column> of the task is equal to <value>
        And I open query screen <screen_name3> which title begins with <banner3>
        And I check a new object is created with the name <object>
        And I search and select the object <object>
        And I select the tab <tab>
        Then The grid <grid> is displayed where the columns <columns> have the values <values>
        Examples:
            | user              | screen_name1    | banner1          | task                   | button   | screen_name2 | banner2    | column | value           | screen_name3         | banner3 | object                | tab         | grid               | columns                                  | values                                                     |
            | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | task_viewParser_import | Run task | Job Reports  | Job report | Status | Successful task | My Business entities | Entity: | TAV_ViewParser_object | Identifiers | Single Identifiers | Code Type;Code;Code Start Dt;Code End Dt | BBG Equity Ticker;EQ0010100100001000;10/01/2020;12/31/2999 |
human: Write a Gherkin scenario for testing detail grid navigation -  export  c s v ( standard -  grid)

gpt: Scenario: Detail grid navigation - Export CSV (Standard - 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>
    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 <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   | detail_screen                | object_name   | tab      | level_number | csv_button | file_ref                                                                  |
      | TAV_standard.user | csv       | My Securities | Equity detail: TAV_TOEXPORT1 | TAV_TOEXPORT1 | Prices 6 |            1 | export CSV | config&ressources/DataManagement/DHRD-113611_standard_detail_grid_ref.csv |
human: Create a BDD test scenario for retrieve the full dataset of a view

gpt: Scenario Outline: Retrieve the full dataset of a view
		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_SCOPE_VIEW   | STATE;name;DATE;security_main_type | 200         |
human: Generate a feature file scenario for query grid navigation -  add  groups

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: Add the remaining steps to this scenario:

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>

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: Generate a Cucumber scenario to test manipulate  post  mapping in an  import  x m l

gpt: Scenario Outline: Manipulate Post Mapping in an Import XML
    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
    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 The received object should include the field <field2> with value <value2> under <element>
    And I update the scope view search api <scope_view_code> with criteria <criteria_field> and <criteria_operators> and <criteria_value>
    Then I should get a response with status <status_code2>
    And all received objects should include these <value3> as <field3>
    Examples:
      | userApi      | taskExecution_path | scope_view_code          | criteria_field | field3     | value3           | value2            | criteria_operators | criteria_value | task_code                   | field  | value   | element   | status_code1 | status_code2 | field2  | value2            |
      | TAR_api.user | task-executions    | SECURITY_SHORT_NAME_VIEW | name           | short_name | test_postmapping | 1 updated objects | EQUAL              | BNB Act        | TASK_Import_xml_postmapping | status | SUCCESS | execution |          201 |          200 | comment | 1 updated objects |
  @DHRD-95762 @task-executions