Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create a BDD test scenario for query screen -  copy/paste from an hierarchical grid to  excel

gpt: Scenario: Query screen - Copy/paste from an hierarchical grid to Excel
    Given I am logged as <user> on <screen_name>
    And I check the Hierarchical grid is displayed
    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 Business Dictionary To Copy | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92748_ref_file.xlsx |
  @DHRD-92749 @skipped @waiting_for_DHRD-97077
human: Create a BDD test scenario for edit new entry low  priority

gpt: Scenario Outline: Edit 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 fields Histo with the values <histo_value>
    And I filter by Rating date with <date_Rtg>
    When I replace the values <values> in columns <columns> with <new_values>
    And I save
    Then the golden copy row remains and displays values <GC_values> in columns <columns>
    And The updated row displays values <new_values> in columns <columns>
    Examples:
      | screen_name   | detail_screen                            | object_name                 | tab    | histo_value | values                                             | columns                          | date_Rtg   | new_values                         | GC_values                             |
      | My Securities | Bond detail: TAV_edit_low_Treasury Bonds | TAV_edit_low_Treasury Bonds | Rating | Full        | 11/11/2019;Bloomberg Composite Rating;Bloomberg;B+ | Rating date;Type;Provider;Rating | 11/11/2019 | 11/11/2019;Fitch SEC;Bloomberg;AA+ | 11/11/2019;Moody's SEC;Golden copy;A3 |
human: Create Gherkin steps to verify define a trigger perimeter

gpt: Scenario Outline:  Define a trigger perimeter
        Given I am logged in as <user>
        And I open query screen <screen_name> which title begins with <banner>
        And I search and open the feed <feed> with the category <category>
        And I go to the step <step3>
        And I check that the trigger <trigger> is selected
        And I check that the internal fields <fields> are displayed under the table <table>
        And I open the mapping actions menu
        When I open the trigger configuration popup
        And I go to the tab <tab>
        And I select the <class> class
        And I Add criterion with '<field>' '<operator>' '<value>'
        And I check the visual cue is displayed in the <tab> tab
        And I click on button <button>
        And I save
        Then A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
        Examples:
            | user              | screen_name     | banner               | feed                 | category | step3   | step4  | trigger   | fields                                                                 | table    | tab       | class    | field       | operator | value                | button |
            | TAV_standard.user | Feed Dictionary | Import/Export proc : | Export_csv_triggered | Export   | Mapping | Result | Trigger 0 | Activity country;Trade currency;Product description;Security main type | SECURITY | Perimeter | Security | SECURITY_ID | In       | 530882;530883;530884 | Ok     |
    @DHRD-101406 @flaky
human: Create an automated test scenario for advanced  filter by date/time fields

gpt: Scenario Outline: Advanced Filter by date/time fields
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        And I have an advanced search field <date_time_field_name>
        When I set an advanced date time filter <date_time_field_name>  <operator>  <date_time_value>
        And I click on Search button
        And All rows displayed have <date_time_field_name> is <operator> to <date_time_value>
        Examples:
            | screen_name   | date_time_field_name | operator | date_time_value     |
            | My Securities | Last Charac. Update  | =        | 12/22/2020 07:49:54 |
            | My Securities | Last Charac. Update  | <>       | 09/06/2024 16:10:35 |
human: Finish writing this test scenario:

Scenario Outline: Autocomplete must return all list results
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool

gpt: Scenario Outline: Autocomplete must return all list results
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        When I set advanced filter on list <field_name>  =  <field_value>
        Then the advanced filter shows all results containing <field_value>
        Examples:
            | screen_name   | field_name | field_value |
            | My Securities | Security   | ACC         |
human: Complete this Gherkin scenario:

Scenario Outline: Management of HEADER_<x><y><z> in xml export
        Given I am an authorized user <userApi>
        And I launch task <task_code> using an ID from API path <taskExecution_path>
        And I should get a response with status <status_code1>

gpt: Scenario Outline: Management of HEADER_<x><y><z> in xml export
        Given I am an authorized user <userApi>
        And I launch task <task_code> using an ID from API path <taskExecution_path>
        And I should get a response with status <status_code1>
        When I send a GET request to <taskExecution_path> with the retrieved task ID
        Then I should get a response with status <status_code2>
        And The received object should include the field <field> with value <value> under <element>
        And The content of the exported xml file <file_exported> should be equal to <file_ref>
        Examples:
            | userApi      | taskExecution_path | task_code                      | field  | value   | element   | status_code1 | status_code2 | file_ref                                         | file_exported                                                            |
            | TAR_api.user | task-executions    | Task_ExportXmlUsingPropHeaders | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportXmlHeaderProp.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-93861-ExportXmlHeaderProp.xml |
    @DHRD-94690 @task-executions @waiting_For_DHRD-113310
human: Create a BDD test scenario for update fields to "else if" block

gpt: Scenario Outline: Update fields to "else if" block
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I search and open the feed <feed> with the category Import
    And I check that the default displayed step is <step1>
    And I go to the step <step3>
    And I check the <cond_bloc1> bloc is displayed with the condition <condition1> under the table <table> with the fields <fields1>
    And I check the <cond_bloc2> bloc is displayed with the condition <condition2> under the table <table> with the fields <fields2>
    When I update the <cond_bloc2> bloc with the <new_operator> operator and the value <new_value>
    And I check the condition <new_condition> is displayed in the <cond_bloc2> bloc
    And I add the fields <new_fields> under the <cond_bloc2> conditional bloc
    And I assign the external fields <field> to the internal fields <new_fields>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then I check that the condition <new_condition> is displayed in the <cond_bloc2> bloc under the table <table> with the internal fields <fields2> and <new_fields> assigned to the following external fields <field> and <field>
    Examples:
      | user              | screen_name     | banner               | feed              | step1      | step3   | cond_bloc1 | cond_bloc2 | condition1    | table    | fields1             | keyword2 | condition2    | fields2             | new_condition | new_operator | new_value | new_fields         | field |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON4 | Definition | Mapping | if         | else if    | text1 <> Null | SECURITY | Product description | Else if  | text2 <> Null | Product description | text2 = test  | =            | test      | Market Expectation | text2 |
human: Finish writing this test scenario:

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>

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 Rating date with <date_Rtg>
    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                          | date_Rtg   | GC_new_values                       |
      | My Securities | Bond detail: TAV_delete_high_Treasury Bonds | TAV_delete_high_Treasury Bonds | Rating | Full        | 12/24/2019;Moody's SEC;Bloomberg;A3 | Rating date;Type;Provider;Rating | 12/24/2019 | 12/24/2019;Fitch SEC;Golden copy;AA |
human: Create an automated test scenario for manage  fields setup

gpt: Scenario Outline: Manage Fields setup
    Given I am logged as TAV_standard.user on <screen_name>
    And I open detail screen <detail_screen> of column name <column_name> of object <object_name>
    And 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>
    When I save
    Then The new row displays values <new_values> in columns <columns>
    Examples:
      | screen_name | detail_screen                               | object_name      | column_name | block_name   | columns                                                          | new_values                                           |
      | MultiSource | Multi-source parameter: SECURITY_ACCRINT_MS | SECURITY_ACCRINT | Table       | Fields setup | Tree node;Target field;Source 1;Source 2;Source 4;Other sources? | Equity;ACCRINT_FLAG;Bloomberg;Telekurs;Refinitiv;Yes |
human: Write test steps in Gherkin format for query grid  navigation -  check  default transposed grid

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

gpt: Scenario Outline:Re-use computed field for a new aggregation computation
        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 values stored in <target_fields_result> fields are equal to the sum of <target_fields> fields 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 | target_fields                       | target_fields_result     | job_name                |
            | TAV_standard.user | Scope Aggregation Definition_2 | Root 01   | Child 01   | 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_01;20240202 | Job Reports       | Job report        | Tot. Contrib. (Base);Accrued (Base) | Expo (Base);Total Assets | Aggregation Computation |
human: Generate a feature file scenario for delete a bookmark screen

gpt: Scenario Outline: Delete a bookmark screen
    Given I am logged as <user> on <screen_name>
    And I go back to Homepage
    And In bookmarks I hover on screen <screen_name>
    When In bookmarks I click on button <action> in <screen_name>
    And I check that a popup is displayed with a title <title> and a message <message>
    And I click on button <button>
    Then The bookmark screen <screen_name> is no more displayed under Bookmarks
    Examples:
			| user        | screen_name     | action       |  title              | message                                                    | button |
            | TAV_User_EN | Transactions 2  | Delete       |  Confirm            | Do you really want to delete the entry 'Transactions 2' ?  | Yes    |
            | TAV_User_FR | Transactions 2  | Supprimer    |  Veuillez confirmer | Voulez-vous vraiment supprimer l''objet 'Transactions 2' ? | Yes    |
human: Complete this Gherkin scenario:

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

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: Update a static value using PUT 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 set the json body with <content>

gpt: Scenario Outline: Update a static value using PUT 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 set the json body with <content>
        And I execute the request
        And I check that I get the response status equal to <status_code>
        And I click on the operation <operation_name2> of the resource <resource_name> having as endpoint <endpoint>
        And I fill the parameters <request_parameters> with values <request_values>
        And I execute the request
        Then I should get the response status equal to <status_code2>
        And The response body should contain a new nested object with id <object_id> and status <object_status>
        Examples:
            | resource_name          | user              | operation_name | endpoint              | request_parameters | request_values | content                        | status_code | operation_name2 | status_code2 | object_id | object_status |
            | Tav_statisticvaluedemo | TAV_standard.user | Update         | tavstatisticvaluedemo | id                 | 100            | TAV_STAT1_Update_Active.json   | 204         | getById         | 200          | 54        | ACTIVE        |
            | Tav_statisticvaluedemo | TAV_standard.user | Update         | tavstatisticvaluedemo | id                 | 100            | TAV_STAT1_Update_Inactive.json | 204         | getById         | 200          | 54        | INACTIVE      |
human: Write a Gherkin scenario for testing update between sessions in real time

gpt: Scenario Outline: Update between sessions in real time
                Given I am logged as <user1> on <screen-name>
                And I select detail screen <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 <text_field> of the block <block> with <text_field_value>
                And I save it from the first browser
                Then a pop up ACTION ENDED: Recording object(s) from the first browser is displayed
                And The content of the text field <text_field> from the first browser should be <text_field_value>
                And The content of the text field <text_field> from the second browser should be <text_field_value>
                Examples:
                        | user1             | user2             | screen-name   | object_name              | text_field | block          | text_field_value |
                        | TAV_standard.user | TAV_Administrator | My Securities | TAV_realTimeNotification | Short name | Identification | RealTimeTest     |
human: Add the remaining steps to this scenario:

Scenario Outline: Cancel renaming a bookmark folder
    Given I am logged in as <user>
    And I hover on bookmark <folder_name>
    And In bookmark folder <folder_name> I click on button <action1>
    And A popup is displayed with a title <message> and 2 options <button1> <button2>

gpt: Scenario Outline: Cancel renaming a bookmark folder
    Given I am logged in as <user>
    And I hover on bookmark <folder_name>
    And In bookmark folder <folder_name> I click on button <action1>
    And A popup is displayed with a title <message> and 2 options <button1> <button2>
    When I change the field <field_name> with value <field_value>
    And I change the field <field_name2> with value <field_value2>
    And I click on button <button2>
    Then The bookmark folder is displayed with old value <folder_name>
    Examples:
			| user        | folder_name          | message                         | action1  | button1 | button2 | field_name | field_value | field_name2 | field_value2 |
			| TAV_User_EN | testFolderToRename3  | Field translation configuration | Rename   | Ok      | Cancel  | English    | Name        | French      | Nom          |
	        | TAV_User_FR | testFolderToRename4  | Traducteur de champ             | Renommer | Ok      | Cancel  | Français   | Nom         | Anglais     | Name         |
  @DHRD-96715 @pending @waiting_for_DHRD-115133