Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create an automated test scenario for verify  snapshot  version  format

gpt: Scenario Outline: Verify Snapshot Version Format
        Given I am an authorized SOAP user <user> on <soap_service>
        When I send a SOAP request with param <param_name> = <param_content> and operation <operation>
        Then I should get a <type> SOAP response
        And the response snapshot version should match the correct format
        Examples:
            | user           | param_name | param_content | soap_service  | operation   | type       |
            | TAR_api.user   | null       | null          | SmartCoDH     | getVersion  | successful |
@DHRD-94304 @skipped @waiting_for_DHRD-112693
human: Write a behavior-driven test for delete entry  low  priority

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 Date with <date>
    And I delete the row with values <values> in columns <columns_to_edit>
    And I save
    Then the golden copy row remains and displays values <GC_old_values> in columns <columns_to_edit>
    And The deleted row with values <values> in columns <columns_to_edit> disappears
    Examples:
      | screen_name   | detail_screen                           | object_name              | tab    | histo_value | date       | values                            | columns_to_edit     | GC_old_values                 |
      | My Securities | Equity detail: TAV_accor_mult_to_delete | TAV_accor_mult_to_delete | Prices | Full        | 01/26/2022 | Europerformance;01/26/2022;5,6000 | Provider;Date;Close | Golden copy;01/26/2022;7,5000 |
human: Write a behavior-driven test for dashboard welcome -  access dashboard screen using widget

gpt: Scenario Outline: Dashboard welcome - Access dashboard screen using widget
    Given I am logged in as <user>
    And I check that <num_of_widgets> widgets are displayed which are <widget_titles>
    And I hover on the legend item <legend_item> of the <widget_name> and i extract the value displayed on the pie chart
    When I click on the <widget_name> widget
    Then I should be on <screen> with title beginning with <banner>
    And The 4 pie charts widgets are dislayed which are <sub_widget_titles>
    And A query widget is displayed with the name <query_widget>
    And I open advanced search tool
    And I set an advanced list filter <field1_name>  =  <field1_value>
    And I click on Search button
    And The displayed line numbers equals to the extracted value from the pie Chart
    And The list of columns are <columns_list>
    And I go back to the welcome page
    And The welcome page matches the expected layout by comparing it with the reference image <refImage>
    Examples:
      | user                    | widget_titles                                                                                  | num_of_widgets | widget_name              | refImage                                              | screen                                | banner                                | columns_list                                                                                   | sub_widget_titles                                                                        | query_widget | field1_name        | field1_value | legend_item  |
      | TAV_standard.dashboard2 | Portfolios;Sec per type;Security Per Asset Class                                               |              3 | Security Per Asset Class | config&ressources/Navigation/ref_screenshots/ref2.png | Security Monitoring (Web Application) | Security Monitoring (Web Application) | Sec main type;Sec type;Name;Country;Currency;Mat. date;Market;SECURITY_ID;Count;Maturity class | Security Per Asset Class;Security Per Currency;Security Per Maturity;Security Per Market | Securities   | security_main_type | Fixed Income | Fixed Income |
      | TAV_standard.dashboard3 | Security Per Asset Class;Issuer Ratings - Fitch LT;Securities;Sec per type;Security Per Market |              5 | Security Per Asset Class | config&ressources/Navigation/ref_screenshots/ref4.png | Security Monitoring (Web Application) | Security Monitoring (Web Application) | Sec main type;Sec type;Name;Country;Currency;Mat. date;Market;SECURITY_ID;Count;Maturity class | Security Per Asset Class;Security Per Currency;Security Per Maturity;Security Per Market | Securities   | security_main_type | Fixed Income | Fixed Income |
human: Finish writing this test scenario:

Scenario Outline: Update query search using keyboard 'Enter on field list with default operator IN
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I set an advanced list filter <field_name>  <new_operator>  <new_field_value>

gpt: Scenario Outline: Update query search using keyboard 'Enter on field list with default operator IN
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I set an advanced list filter <field_name>  <new_operator>  <new_field_value>
    When I press "Enter"
    Then The search criteria <field_name> is displayed with the operator <new_operator> and value <new_field_value>
    And All rows displayed have <field_name> is <new_operator> to <new_field_value>
    And The filters from Query compact view are filled with "<field_name>" "<new_operator>" "<new_field_value>"
    Examples:
      | user              | screen_name     | banner    | field_name    | new_field_value | new_operator |
      | TAV_standard.user | My Securities 3 | Security: | Sec main type | Fixed Income    | <>           |
      | TAV_standard.user | Users 2         | Users :   | Activated ?   | No              | <>           |
human: Generate a feature file scenario for check 4eyes validation in realtime

gpt: Scenario Outline: Check 4eyes validation in realtime
    Given I am logged as <user1> on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I logg in with <User2> on <screen_name> using a new browser
    And I open the detail screen <object_name> in the new browser
    When I edit from first browser the content of the text field <field_name> of the block <block> with <new_value>
    And I save it from the first browser
    And I select the source <source> from the first browser
    And I select the source <source> from the second browser
    And I check that the four eyes indicator is displayed on the field <field_name> from both browsers
    And I go to the screen <screen_name2> from the second browser
    And I search <object_name> and select lines of <field_name> from the second browser
    When I approve the selected values from the second browser
    And I validate the Automatic save popup from the second browser
    And I write comment and validate from the second browser
    Then the field <field_name> is displayed with new value <new_value> without four eyes indicator
    And The <object_name> line of <field_name> disappears from the second browser
    Examples:
      | user1                 | screen_name   | detail_screen                          | object_name             | User2       | field_name | new_value           | screen_name2     | source | button           |
      | withoutskipvalidation | My Securities | Equity detail: TAV_toValidate_Realtime | TAV_toValidate_Realtime | canvalidate | Short name | test_realtime_4eyes | Validation panel | Manual | Approve Selected |
human: Add the remaining steps to this scenario:

Scenario Outline: IDS - Display Benchmark level
		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: IDS - Display Benchmark level
		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_BENCHMARK_LEVEL_VIEW | Name;From;To | EQUAL;GREATER_EQUAL;LESS_EQUAL | TAR CAC 40;04/01/2024;04/01/2024 | 200 | benchmark_level_ref.json |
@DHRD-98791 @skipped @waiting_for_DHRD-101416
human: Finish writing this test scenario:

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

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

Scenario Outline: Add a record without an end 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>
    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 without an end 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>
    When I add a row on the grid under the block <block_name>
    And I filter only edited rows
    And I set values <values> for the columns <columns>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then A new row is displayed with values <values> on <columns>
    And 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_without_discontinuty | TAV_OBJECT1_without_discontinuty | Codes | Codes      | 24 EXCHANGE;03/01/2021;CME;TEST1_ROW1 | Market code;Code start date;Code type;Code | Code end date |   12/31/2999 |
human: Write test steps in Gherkin format for delete entry  high  priority

gpt: Scenario Outline: Delete entry High Priority
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I select the tab <tab>
    And I edit the field Histo with the value <histo_value>
    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 | values                      | columns             | GC_new_values                 | date       |
      | My Securities | Equity detail: TAV_accor2_mult_to_delete | TAV_accor2_mult_to_delete | Prices | Full        | Refinitiv;01/27/2022;4,8000 | Provider;Date;Close | Golden copy;01/27/2022;7,1000 | 01/27/2022 |
human: Write test steps in Gherkin format for query grid navigation -  export  c s v with groups opened ( standard -  grid)

gpt: Scenario: Query grid navigation - Export CSV with groups opened (Standard - Grid)
    Given I am logged as <user> on <screen_name>
    And I click on the groups menu
    And I expand the level number <level_number> from group menu
    When I download export file using button <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                          | level_number | csv_button | file_ref                                                                         |
      | TAV_standard.user | csv       | My Securities without dynamic fields |            1 | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-94603_standard_query_grid.csv |
  @DHRD-112104 @pending @waiting_For_DHRD-114616
human: Write test steps in Gherkin format for query grid navigation -  export  x l s ( transposed -  grid /  pivot -  grid /  hierarchical -  grid)

gpt: Scenario: Query grid navigation - Export XLS (Transposed - Grid / Pivot - Grid / Hierarchical - Grid)
    Given I am logged as <user> on <screen_name>
    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             | excel_button | file_ref                                                                             |
      | TAV_standard.user | xls       | My Securities transpose | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-112412_transposed_query_grid.xlsx |
      | TAV_standard.user | xls       | Cash Positions          | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-112412_pivot_query_grid.xlsx      |
    # | TAV_standard.user | xls       | Business Dictionary      | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-112412_hierarchical_query_grid.xlsx |@skipped @waiting_for_DHRD-112176
  @DHRD-94603 @skipped @waiting_for_DHRD-114393 @pending @waiting_For_DHRD-114616
human: Generate a feature file scenario for add new entry  low  priority

gpt: Scenario Outline: Add new entry Low Priority
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I select the tab <tab>
    And I edit the field Histo with the value <histo_value>
    And I verify the default row displays values <default_values> in columns <columns_to_edit>
    And I verify the default golden copy row displays values <GC_old_values> in columns <columns_to_edit>
    And I add a row using the buttons toolbar
    And I select the newly added row
    And I set values <new_values> for the columns <columns_to_edit>
    When I save
    Then the golden copy row remains and displays values <GC_old_values> in columns <columns_to_edit>
    And The new row displays values <new_values_to_check> in columns <columns_to_edit>
    And The default row still displays values <default_values> in columns <columns_to_edit>
    Examples:
      | screen_name   | detail_screen                 | object_name    | tab    | histo_value | new_values                     | new_values_to_check               | columns_to_edit     | GC_old_values                 | default_values              |
      | My Securities | Equity detail: TAV_Atos_multi | TAV_Atos_multi | Prices | Full        | Europerformance;01/21/2022;6.8 | Europerformance;01/21/2022;6,8000 | Provider;Date;Close | Golden copy;01/21/2022;5,5000 | Bloomberg;01/21/2022;5,5000 |
human: Write a behavior-driven test for unsupported  functionality

gpt: Scenario Outline: Unsupported Functionality
        Given I am an authorized SOAP user <user> on <soap_service>
        When I send a SOAP request with param <param_name> = <param_content> and operation <operation>
        Then I should get a <type> SOAP response
        Examples:
            | user           | param_name | param_content | soap_service | operation  | type         |
            | TAR_api.user   | null       | null          | SmartCoDH    | randomFun  | unsuccessful |
human: Write test steps in Gherkin format for filter/ search on a view using code as reference display

gpt: Scenario Outline: Filter/Search on a view using 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> as <fields>
		Examples:
			| user         | scope_view_code     | criteria_fields              | criteria_operators | criteria_values | status_code | values | fields                     |
			| TAR_api.user | TAR_SCOPE_VIEW_CODE | security_main_type;PREFFERED | EQUAL;EQUAL        | Equity;Yes      | 200         | 534;EQ | country;security_main_type |
human: Complete this Gherkin scenario:

Scenario Outline:Store aggregations in secondary table with recSpec
        Given I am logged as <user> on <screen_name>
        And I check that the aggregation definition with the root node <root_code> and its child <child_code> exist
        And I open query screen <scheduled_screen> which title begins with <banner_scheduled>
        And I go to detail screen <detail_screen> of <object_name>
        When I execute the action <aggregation_task> with arguments <arguments_field> equal to <arguments_value>
        And I check that a popup is displayed with the message "Task launched."
        And I close the popup

gpt: Scenario Outline:Store aggregations in secondary table with recSpec
        Given I am logged as <user> on <screen_name>
        And I check that the aggregation definition with the root node <root_code> and its child <child_code> exist
        And I open query screen <scheduled_screen> which title begins with <banner_scheduled>
        And I go to detail screen <detail_screen> of <object_name>
        When I execute the action <aggregation_task> with arguments <arguments_field> equal to <arguments_value>
        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 <task>
        And I check that the column <column> of the task is equal to <value>
        And I retrieve the generated aggregation identifier id for job name <job_name>
        And I open query screen <Aggregation_Processes> which title begins with <banner_aggregation>
        And I open the detail screen of the generated aggregation identifier
        Then For each child, The grid <grid_info> is displayed where the columns <columns> have the values <rows_values>
        Examples:
            | user              | screen_name                    | root_code | child_code | detail_screen                                | object_name                  | Aggregation_Processes   | banner_aggregation      | task                         | column | value           | scheduled_screen | banner_scheduled | aggregation_task   | arguments_field           | arguments_value  | job_report_screen | banner_job_report | grid_info             | columns                     | rows_values                                                                                                               | job_name                |
            | TAV_standard.user | Scope Aggregation Definition_2 | ROOT_02   | CHILD_02   | Scheduled task: Aggregation Computation Task | Aggregation Computation Task | Aggregation Processes_2 | Aggregation Processes_2 | Aggregation Computation Task | Status | Successful task | Scheduled Tasks  | Scheduled tasks: | Run task with args | %defCode%;%valuationDate% | ROOT_02;20240202 | Job Reports       | Job report        | Aggreg Valuation Info | info5;info6;info7;info1 | French Equities Growth EN;French Equities Growth EN;French Equities Growth EN;English//;;French Equities Growth FR;French | Aggregation Computation |
human: Create an automated test scenario for copy/paste using  range selection using  shift +  click

gpt: Scenario: Copy/paste using Range selection using Shift + Click
    Given I am logged as <user> on <screen_name>
    And I select manually the row at index <index1>
    When I continuously press <key> key
    And I click on the column <column> of the row at index <index2>
    And I release the <key> key
    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 <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           | key   | shortcut1 | index1 | index2 | column   | excel_user              | password    | shortcut3 | file_ref                                              |
      | TAV_standard.user | Products & Mandates 2 | Shift | Ctrl + C  |      1 |      6 | Umbrella | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92751_ref_file.xlsx |