Ghaythfd/gherkin-scenarios huggingface dataset:
human: Finish writing this test scenario:

Scenario Outline: Add new bookmark folder
    Given I am logged in as <user>
    When I add a bookmark folder
    And I check that a popup is displayed with a message <message> and 2 options <button1> <button2>

gpt: Scenario Outline: Add new bookmark folder
    Given I am logged in as <user>
    When I add a bookmark folder
    And I check that a popup is displayed with a message <message> and 2 options <button1> <button2>
    And I enter a folder name <folder_name>
    And I check that an orange badge is displayed on the edited field with value <folder_name>
    And I click on button <button1>
    Then A new bookmark folder <folder_name> is displayed
    Examples:
			| user         | folder_name      | message                           | button1 | button2 |
			| TAV_User_EN  | testAddNewFolder | Enter a folder name               | Ok      | Cancel  |
		    | TAV_User_FR  | testAddNewFolder | Veuillez saisir le nom du dossier | Ok      | Cancel  |
human: Add the remaining steps to this scenario:

Scenario Outline: Filter/Search on a view with operator "NOT IN"
		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: Filter/Search on a view with operator "NOT IN"
		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 not include these <values> as <field>
		Examples:
			| user         | scope_view_code | criteria_field     | criteria_operator | criteria_value       | status_code | key  | values               | field              |
			| TAR_api.user | TAR_SCOPE_VIEW  | security_main_type | NOT_IN            | Equity, Fixed Income | 200         | name | Equity, Fixed Income | security_main_type |
human: Add the remaining steps to this scenario:

Scenario Outline: Run feedproc using value map and default value
        Given I am logged in as <user>
        And I open query screen <screen_name1> which title begins with <banner1>
        And I search and select the object <object>
        And I check that the fields <fields1> should be equal <values1>
        And I open query screen <screen_name2> which title begins with <banner2>
        And I search and open the task <task>

gpt: Scenario Outline: Run feedproc using value map and default value
        Given I am logged in as <user>
        And I open query screen <screen_name1> which title begins with <banner1>
        And I search and select the object <object>
        And I check that the fields <fields1> should be equal <values1>
        And I open query screen <screen_name2> which title begins with <banner2>
        And I search and open the task <task>
        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 <screen_name3> which title begins with <banner3>
        And I search the task <task>
        And I check that the column <column> of the task is equal to <value>
        Then The content of the exported csv file <file_exported> should be equal to <file_ref>
        Examples:
            | user              | screen_name1  | banner1   | object             | fields1                          | values1             | screen_name2    | banner2          | task                | button   | screen_name3 | banner3    | column | value           | file_exported                                    | file_ref                                                      |
            | TAV_standard.user | My Securities | Security: | TAV_accor_consult3 | Sec main type;Preferred?;Country | Equity;true;Belgium | Scheduled Tasks | Scheduled tasks: | task_test_value_map | Run task | Job Reports  | Job report | Status | Successful task | /data/testauto/nxdh/data/Export_csv_valueMap.csv | config&ressources/DataManagement/csv_ref_file_DHRD-100748.csv |
human: Create an automated test scenario for filter/ search on a view with static recspec

gpt: Scenario Outline: Filter/Search on a view with static recspec
    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_STATIC_RECSPEC | security_type;security_code_commun | EQUAL;EQUAL        | EQ - Depository Receipt;US0727303028 |         200 | US0727303028;Bayer AG Sp ADR Shs Sponsored American Depositary Receipt Repr 1/4 Sh;Other types of equity | ISIN;name;Equity type |
human: Complete this Gherkin scenario:

Scenario: Copy/paste using Range selection using Shift + Arrows
    Given I am logged as <user> on <screen_name>
    And I click on the column <column> of the row at index <index1>
    And I continuously press <key1> key
    And I type the <key2> <nth1> times
    And I type the <key3> <nth2> times
    And I release the <key1> key
    And I perform the keyboard shortcut <shortcut1>

gpt: Scenario: Copy/paste using Range selection using Shift + Arrows
    Given I am logged as <user> on <screen_name>
    And I click on the column <column> of the row at index <index1>
    And I continuously press <key1> key
    And I type the <key2> <nth1> times
    And I type the <key3> <nth2> times
    And I release the <key1> 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           | key1  | key2       | key3      | nth1 | nth2 | shortcut1 | index1 | index2 | column | excel_user              | password    | shortcut3 | file_ref                                              |
      | TAV_standard.user | Products & Mandates 2 | Shift | ArrowRight | ArrowDown |    8 |    5 | Ctrl + C  |      1 |      6 | Name   | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92751_ref_file.xlsx |
  @DHRD-92752 @skipped @waiting_for_ @DHRD-112273
human: Create an automated test scenario 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: Generate a Cucumber scenario to test query grid navigation -  unfreeze up to this column

gpt: Scenario Outline: Query grid navigation - Unfreeze up to this column
                Given I am logged as <user> using path <path> and screen <screen_name>
                When I unfreeze up to this column <column_name> using the column header menu
                Then the columns <columns> are not freezed
                Examples:
                        | user              | screen_name                   | path                                                                     | column_name | columns                                                                                                                                                                                  |
                        | TAV_standard.user | My Securities                 | Screen / Static Data / Security Master File / My Securities              | Name        | Name;Flag;Country;ISIN;Market;Currency;Sec type;Preferred?;Status value;Alerts pending;Mat. date;BBG sec type;UPDATE_DATE;UPDATE_TIME;Secured?;Subordination;Subordinated?;Status value. |
                        | TAV_standard.user | My Business entities unfreeze | Screen / Static Data / Business Entities / My Business entities unfreeze | LEI         | LEI;Status;Status.;ID;Ent Type;Merged Ent ID;Creation Dt;Upd. date;Creation Prov;Bloomberg;Bloomberg Bulk;GLEIF;Refinitiv;Six Financial                                                  |
human: Create a BDD test scenario for create a query screen using the new data model and perform advanced search

gpt: Scenario Outline: Create a query screen using the new data model and perform advanced search
    Given I am logged in as TAV_standard.user
    And I switch to mode Config
    And I open the user menu DataHub warehouse
    And I create a New query screen under DataHub warehouse
    And I edit the fields <field_name> with the values <field_value>
    And I click on button <ok_button>
    And I close the DataHub warehouse menu
    And I add the query criteria <query_criteria>
    And the fields <query_criteria> is displayed on the config panel
    And I add the query columns <query_column>
    And the fields <query_column> is displayed on the config panel
    And I save the screen configuration
    And I switch to mode Edit
    And I set an advanced text filter <criteria_field>  =  <criteria_value>
    When I press "Enter"
    Then The search criteria <criteria_field> is displayed with the operator = and value <criteria_value>
    And All rows displayed have <criteria_field> is = to <criteria_value>
    And The displayed columns order must be equal to <query_column>
    And The displayed criteria are <query_criteria>
    Examples:
      | field_name             | field_value                               | ok_button | query_criteria | query_column  | criteria_field | criteria_value |
      | Code;Name;Object Class | TEST_CODE;TEST_Q_SCREEN;NEW_CREATED_CLASS | OK        | FIELD1;FIELD2  | FIELD1;FIELD2 | FIELD1         | TEST66         |
  @DHRD-100984 @pending @waiting_For_DHRD-111659
human: Create a BDD test scenario 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: Generate a feature file scenario for a  modify the end date of the latest record

gpt: Scenario Outline: A Modify the end date of the latest record
    Given I am logged as <user> on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I select the tab <tab>
    And I check that the row number <nth1> is displayed with values <values1> on columns <columns>
    And I check that the row number <nth2> is displayed with values <values2> on columns <columns>
    And 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 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 On the row number <nth1> the column <column> is not recomputed and displays the modified value <new_value>
    And The row number <nth2> is displayed with values <values2> on columns <columns>
    And The row number <nth3> is displayed with values <values3> on columns <columns>
    Examples:
      | user              | screen_name   | detail_screen                                   | object_name                      | tab   | block_name | values1                                          | values2                                          | values3                                          | columns                                                  | new_value  | column        | nth1 | nth2 | nth3 |
      | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT4_without_discontinuty | TAV_OBJECT4_without_discontinuty | Codes | Codes      | 24 EXCHANGE;04/01/2021;12/31/2999;CME;TEST4_ROW3 | 24 EXCHANGE;03/01/2021;04/01/2021;CME;TEST4_ROW1 | 24 EXCHANGE;03/01/2020;03/01/2021;CME;TEST4_ROW2 | Market code;Code start date;Code end date;Code type;Code | 12/31/2021 | Code end date |    1 |    2 |    3 |
human: Generate a feature file scenario for detail grid navigation -  export  c s v ( pivot -  grid)

gpt: Scenario: Detail grid navigation - Export CSV (Pivot - 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 edit the field Histo with the value <histo_value>
    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      | histo_value | csv_button | file_ref                                                                        |
      | TAV_standard.user | csv       | My Securities | Equity detail: tav_to_copy2 | tav_to_copy2 | Prices 5 | Full        | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-113616_pivot_detail_grid.csv |
human: Add the remaining steps to this scenario:

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

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: Write a Gherkin scenario for testing cancel renaming a bookmark folder

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

Scenario Outline: Default filters on Advanced Search popup
        Given I am logged as TAV_standard.user on <screen_name>
        And I check that filters from Query compact view are filled with "<field_name>" "<operator>" "<field_value>"

gpt: Scenario Outline: Default filters on Advanced Search popup
        Given I am logged as TAV_standard.user on <screen_name>
        And I check that filters from Query compact view are filled with "<field_name>" "<operator>" "<field_value>"
        When I open advanced search tool
        Then the search criteria <field_name> is displayed with the operator <operator> and value <field_value>
        And All rows displayed have <field_name> is <operator> to <field_value>
        Examples:
            | screen_name          | nb_notif | field_name | operator | field_value |
            | My Securities        | 1        | Preferred? | =        | Yes         |
            | My Business entities | 1        | Pfd        | =        | Yes         |
human: Finish writing this test scenario:

Scenario: Detail grid navigation - Export xls with groups closed (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>

gpt: Scenario: Detail grid navigation - Export xls with groups closed (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>
    When I download export file using button <excel_button> toolbar from query screen
    Then export xlsx file is successfully downloaded
    And The content of the downloaded <file_type> file should be equal to <file_ref>
    Examples:
      | user              | file_type | screen_name   | detail_screen                | object_name   | tab      | excel_button | file_ref                                                                                     |
      | TAV_standard.user | xls       | My Securities | Equity detail: TAV_TOEXPORT1 | TAV_TOEXPORT1 | Prices 6 | export XLS   | config&ressources/DataManagement/DHRD-94601-standard_detail_grid_ref_with_closed_groups.xlsx |
  @DHRD-113609 @skipped @waiting_for_DHRD-112176
human: Write test steps in Gherkin format for add fields to "else" block

gpt: Scenario Outline: Add fields to "else" 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 add an <cond_bloc3> bloc following the <cond_bloc2> under the <table> table
    And I add the fields <new_fields> under the <cond_bloc3> 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 The <cond_bloc3> bloc is displayed under the table <table> with the internal fields <new_fields> assigned to the following external fields <field>
    Examples:
      | user              | screen_name     | banner               | feed              | step1      | step3   | cond_bloc1 | condition1   | table    | fields1             | cond_bloc2 | condition2   | fields2             | cond_bloc3 | new_fields         | field |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON5 | Definition | Mapping | if         | text1 = TEST | SECURITY | Product description | else if    | text1 = PROD | Product description | else       | Market Expectation | text1 |
human: Write a Gherkin scenario for testing detail grid navigation -  export  c s v ( pivot -  grid)

gpt: Scenario: Detail grid navigation - Export CSV (Pivot - 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 edit the field Histo with the value <histo_value>
    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      | histo_value | csv_button | file_ref                                                                        |
      | TAV_standard.user | csv       | My Securities | Equity detail: tav_to_copy2 | tav_to_copy2 | Prices 5 | Full        | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-113616_pivot_detail_grid.csv |
human: Generate a Cucumber scenario to test run a json export

gpt: Scenario Outline: Run a json export
        Given I am logged as TAV_standard.user on <screen_name>
        And I go to detail screen <detail_screen> of <trigger_task_name>
        When I select the action run task
        And I select show the task from the job report screen
        And I open advanced search tool
        And I set an advanced list filter Task  =  <task_name>
        And I click on Search button
        And I close advanced search tool
        Then I verify job <Export_job_name> of the task <task_name> with status <successfull_status>
        And The content of the exported json file <file_exported> should be equal to <file_ref>
        Examples:
            | screen_name     | detail_screen                    | trigger_task_name | task_name        | Export_job_name | successfull_status | file_exported                                 | file_ref                                                  |
            | Scheduled Tasks | Scheduled task: TASK_EXPORT_JSON | TASK_EXPORT_JSON  | TASK_EXPORT_JSON | EXPORT_JSON     | Successful job     | /data/testauto/nxdh/data/file_ExportJson.json | config&ressources/DataManagement/ref_file_ExportJson.json |
human: Generate a Cucumber scenario to test advanced  filter using two fields

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