Ghaythfd/gherkin-scenarios huggingface dataset:
human: Write test steps in Gherkin format for run a  c s v export with a custom sorting

gpt: Scenario Outline: Run a CSV export with a custom sorting
    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_proc> with the category Export
    And I go to the step <step3>
    And I open the mapping actions menu
    And I open the trigger configuration popup
    And I go to the tab Sorting
    And I add a row using the buttons toolbar in popup
    And I select the newly added row in popup
    And I set in popup values <values> for the columns <columns>
    And I click on the button Ok on the popup
    And I save
    And I open query screen <screen_name1> which title begins with <banner1>
    And I search and open the task <trigger_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 open advanced search tool
    And I set an advanced list filter Task  =  <task>
    And I click on Search button
    And I close advanced search tool
    Then I verify job <Export_job_name> of the task <task> with status <value>
    And The content of the exported csv file <file_exported> should be equal to <file_ref>
    Examples:
      | user              | screen_name     | banner               | feed_proc                   | step3   | columns       | values                             | screen_name1    | banner1          | trigger_task            | task                     | button   | screen_name2 | banner2    | Export_job_name             | value          | file_exported                                     | file_ref                                                   |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | Fp_test_export_csv_sim_sort | Mapping | Table;Sorting | SECURITY_CODE;SECURITY_CODE_COMMUN | Scheduled Tasks | Scheduled tasks: | Trigger_export_csv_sort | Tav_task_export_csv_sort | Run task | Job Reports  | Job report | Fp_test_export_csv_sim_sort | Successful job | /data/testauto/nxdh/data/test_export_csv_sort.csv | config&ressources/DataManagement/ref_test_exp_csv_sort.csv |
human: Finish writing this test scenario:

Scenario Outline: Query grid navigation - Expand groups
    Given I am logged as <user> on <screen_name>
    And I click on the groups menu
    And I click on collapse all button on the groups menu
    And I click on the groups menu
    And I expand the level number <level_number> from group menu
    And I check that the button collapse all becomes enabled on the groups menu

gpt: Scenario Outline: Query grid navigation - Expand groups
    Given I am logged as <user> on <screen_name>
    And I click on the groups menu
    And I click on collapse all button on the groups menu
    And I click on the groups menu
    And I expand the level number <level_number> from group menu
    And I check that the button collapse all becomes enabled on the groups menu
    And I check that the number of expanded groups in the grid is <level_number>
    When I expand the group <group_name> from the grid
    And The grid is correctly displayed by the grouped values <group_values>
    And I click on the groups menu
    And I expand the level number <last_level> from group menu
    Then I check that the button expand all becomes disabled on the groups menu
    And All groups are expanded
    Examples:
      | user              | screen_name       | level_number | group_name    | group_values         | last_level |
      | TAV_standard.user | Feed Dictionary 1 | 1            | Demonstration | Demonstration;Manual | 4          |
human: Complete this Gherkin scenario:

Scenario Outline: Query grid navigation - Check default pivot grid
        Given I am logged in as TAV_standard.user
        When I search query screen <screen_name>
        Then I check that the default grid configuration is Pivot

gpt: Scenario Outline: Query grid navigation - Check default pivot grid
        Given I am logged in as TAV_standard.user
        When I search query screen <screen_name>
        Then I check that the default grid configuration is Pivot
        And I check that the pivot grid header container <header_container> first column is <column_value>
        And I check that the pivot grid field value in the second column for the first row is <field_value>
        And I check that the header value <column_value> of the first column in the first header container is left aligned
        And I check that the pivot grid value <field_value> of the field in the second column in the first row is right aligned
        Examples:
            | screen_name    | header_container | field   | column_value | field_value   |
            | Cash Positions | Start dt         | Ammount | 10/01/2012   | 11047539,3541 |
human: Write test steps in Gherkin format for filter/ search on a view error status codes

gpt: Scenario Outline: Filter/Search on a view error status codes
		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 <error_code>
		Examples:
			| user         | scope_view_code  | error_code | criteria_fields              | criteria_operators | criteria_values |
			| TAR_api.user | TAR_SCOPE_VIEW1  | 404        | security_main_type;PREFFERED | EQUAL;EQUAL        | Equity;Yes      |
			| TAR_api.use  | TAR_SCOPE_VIEW   | 401        | security_main_type;PREFFERED | EQUAL;EQUAL        | Equity;Yes      |
			| TAR_api.user | TAR_SCOPE_VIEW   | 400        | security_main_type;PREFFERED | EQUAL;EQUA         | Equity;Yes      |
human: Generate a Cucumber scenario to test delete transfered screens with unauthorized user

gpt: Scenario Outline: Delete transfered screens with unauthorized user
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <menu_name>
        When I hover on the transfered screen <screen_name>
        Then The delete icon is not available on the owned screen <screen_name>
        Examples:
            | user                 | menu_name         | screen_name           |
            | unauthorized.user.EN | DataHub warehouse | Screen_Unauthorized_1 |
            | unauthorized.user.FR | DataHub factory | Ecran_Non_Autorise_1 |
human: Create Gherkin steps to verify move bookmarks

gpt: Scenario Outline: Move bookmarks
    Given I am logged as <user> on <screen>
    And I go back to Homepage
    And I hover on recent screen <screen>
    And In recent screens I click on button <action> in <screen>
    And I click on button <button>
    And I move the bookmark screen <screen> into the bookmark folder <folder_name>
    And I check that the bookmark screen <screen> is not displayed under Bookmarks
    When I click on bookmark folder <folder_name>
    And I check that the bookmark screen <screen> is displayed under the bookmark folder <folder_name>
    And I check that the breadcrumb displays the following path <breadcrumb_path>
    And In bookmarks I hover on screen <screen>
    And In bookmarks I click on button <action2> in <screen>
    And I check that the bookmark screen <screen> is not displayed under the bookmark folder <folder_name>
    And I go back to Bookmarks home page
    Then The bookmark screen <screen> is displayed under Bookmarks
    Examples:
      | user              | folder_name  | screen | banner_fixed_text | button | action       | action2               | breadcrumb_path |
      | TAV_standard.user | parentFolder | Users  | Users:            | Close  | Add Bookmark | Move to parent folder | > parentFolder  |
human: Write a Gherkin scenario for testing query grid navigation -  group by this column

gpt: Scenario Outline: Query grid navigation - Group by this column
                Given I am logged as <user> using path <path> and screen <screen_name>
                When I group by this column <column_name> using the column header menu
                Then the break <column_name> is added to the grid
                And The groups number must be equal to <number>
                And I click on the groups menu
                And The number of level is passed to <number>
                And I check that the groups <groups> are active in the groups menu
                Examples:
                        | user              | screen_name          | path                                                            | column_name | groups                | number |
                        | TAV_standard.user | My Securities        | Screen / Static Data / Security Master File / My Securities     | Country     | Sec main type;Country | 2      |
                        | TAV_standard.user | My Business entities | Screen / Static Data / Business Entities / My Business entities | Status      | Status                | 1      |
human: Generate a feature file scenario for configure  valuation  type and  valuation  style

gpt: Scenario Outline: Configure Valuation Type and Valuation Style
    Given I am logged in as <user>
    And I open query screen <screen_name1> which title begins with <banner1>
    When I add a row using the buttons toolbar
    And I open the detail screen of the selected line
    And I update the fields <fields_names> with the values <fields_values>
    And I click on button <button>
    And I set the rule definition fields values <rule_fields> to <rule_fields_values>
    And I save
    And I open query screen <screen_name2> which title begins with <banner2>
    And I open detail screen <style_detail> of column name <field_name2> of object <style_name>
    And I update the cell <val_Method> with <val_Method_value> where values on columns <row_column> are equal to <row_value>
    And I save
    And I open query screen <screen_name3> which title begins with <banner3>
    And I set an advanced list filter <criteria_name>  <operator>  <criteria_value>
    And I click on Search button
    Then The Valuation Service evaluates the configured rule
    And The value of the field <field_name> is automatically updated to <field_value>
    Examples:
      | user              | screen_name1    | banner1         | fields_names | fields_values                     | button   | rule_fields                         | rule_fields_values | screen_name2     | banner2          | style_name   | style_detail               | val_Method     | val_Method_value | row_column                  | row_value                   | screen_name3         | banner3              | field_name2 | criteria_name   | operator | criteria_value                                | field_name | field_value |
      | TAV_standard.user | Valuation Types | Valuation Types | Code;Name | VALUATION_EQUITY;Valuation Equity | Add Rule | Description;Enabled;RULE_ADDEDFIELD | R1;Yes;"Hello" | Valuation Styles | Valuation Styles | Market Value | Valuation Style definition | adv_val_method | Valuation Equity | holding_mgmt;security_scope | Standard;Daily Equity Scope | Holding Valuations_2 | Holding Valuations_2 | description | Portfolio;Style | =;= | Equities Growth Portfolio Test 1;Market Value | addedfield | Hello |
human: Generate a feature file scenario for detail screen -  copy/paste from an hierarchical grid to  excel

gpt: Scenario: Detail screen - Copy/paste from an hierarchical grid to Excel
    Given I am logged as <user> on <screen_name>
    And I search and select the line of <object_name>
    And I perform the action <action>
    And I select the tab <Tab>
    And I search and open the object which the column <column> equal <object_name>
    And I select manually all the grid of the block <block>
    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          | object_name    | action                       | Tab | column | block         | shortcut1 | excel_user              | password    | shortcut2 | file_ref                                              |
      | TAV_standard.user | My Business entities | Air France-KLM | Show Detail 'Agent - Detail' | ESG | Agent  | Pillar Scores | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92749_ref_file.xlsx |
  @DHRD-92750 @skipped @waiting_for_ @DHRD-112273
human: Create an automated test scenario for copy/paste using  range selection using  shift +  arrows

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: Write a behavior-driven test for run a json import

gpt: Scenario Outline: Run a json import
    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 set an advanced list filter Task  =  <task>
    And I click on Search button
    And I select the task <task> on the grid
    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 search and select the object <object>
    And I select the tab <tab>
    And I edit the fields Histo with the values Full
    Then A group is displayed on date <date1> which contains 2 rows with values on columns <columns> must equal to <rows_values1>
    And A group is displayed on date <date2> which contains 2 rows with values on columns <columns> must equal to <rows_values2>
    Examples:
      | user              | screen_name1    | banner1          | task                        | button   | screen_name2 | banner2    | column | value           | screen_name3  | banner3   | object         | tab    | date1      | date2      | columns        | rows_values1                             | rows_values2                             |
      | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | task_import_json_orange_act | Run task | Job Reports  | Job report | Status | Successful task | My Securities | Security: | TAV_OrangeAct1 | prices | 12/03/2024 | 12/01/2024 | Provider;Close | Golden copy;250,0000//Refinitiv;250,0000 | Golden copy;240,0000//Refinitiv;240,0000 |
human: Create a BDD test scenario for rename a bookmark folder

gpt: Scenario Outline: Rename 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 <button1>
    Then The bookmark folder <field_value> is displayed
    Examples:
      | user        | folder_name         | message                         | action1  | button1 | button2 | field_name | field_value        | field_name2 | field_value2       |
      | TAV_User_EN | testFolderToRename1 | Field translation configuration | Rename   | Ok      | Cancel  | English    | New_TestFolder     | French      | Nouveau_testFolder |
      | TAV_User_FR | testFolderToRename2 | Traducteur de champ             | Renommer | Ok      | Cancel  | Français   | Nouveau_testFolder | Anglais     | New_TestFolder     |
human: Generate a Cucumber scenario to test detail grid navigation -  export  c s v with groups closed ( standard -  grid)

gpt: Scenario: Detail grid navigation - Export CSV 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 <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 Securities | Equity detail: TAV_TOEXPORT1 | TAV_TOEXPORT1 | Prices 6 | export CSV | config&ressources/DataManagement/DHRD-113612_standard_detail_grid_ref_with_closed_groups.csv |
  @DHRD-113613 @skipped @waiting_for_DHRD-112176
human: Finish writing this test scenario:

Scenario Outline: Feedprocs export Extract for Data governance integration
        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: Feedprocs export Extract for Data governance integration
        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_DG_EXPORT_FP_EXTRACT | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/ref_file_DHRD-102939_DG_EXPORT_FP_export_EXTRA.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-102939-Export_DG_export_extract.xml |
human: Create a BDD test scenario for detail screen -  copy/paste from  excel to standard grid

gpt: Scenario: Detail screen - Copy/paste from Excel to 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 open the workbook <workbook> using the second browser
    And I select and copy the first <nth> lines of the sheet using the second browser
    And I add a row using the buttons toolbar
    And I filter only edited rows
    And I check that there is a new row in the grid
    And I select manually all the grid
    When I perform the keyboard shortcut <shortcut>
    And I check that the Save button is displayed
    And I check that there is a <nth> new rows in the grid
    Then A grid is displayed which contains <nth> rows with values on columns <columns> must equal to <values>
    Examples:
      | user              | screen_name   | workbook       | nth | shortcut  | detail_screen                      | object_name         | tab            | columns                                             | values                                                                   |
      | TAV_standard.user | My Securities | Book_to_paste2 |   2 | Control+V | Equity detail: TAV_Object_To_Paste | TAV_Object_To_Paste | IDs & classif. | Code type;Code;Market code;Currency;Code start date | BGL;1234;24 EXCHANGE;EUR;05/05/2025//CME;12345;1741 Asset;TND;06/06/2025 |
human: Complete this Gherkin scenario:

Scenario Outline: Export XML using the property bulksize
        Given I am an authorized user <userApi>
        And I launch task <task_code> using an ID from API path <taskExecution_path>
        And I should get a response with status <status_code1>
        And I send a GET request to <taskExecution_path> with the retrieved task ID
        And I should get a response with status <status_code2>

gpt: Scenario Outline: Export XML using the property bulksize
        Given I am an authorized user <userApi>
        And I launch task <task_code> using an ID from API path <taskExecution_path>
        And I should get a response with status <status_code1>
        And I send a GET request to <taskExecution_path> with the retrieved task ID
        And I should get a response with status <status_code2>
        And I am logged as <user> on <screen_name>
        And I search the task <task_code>
        When I open detail screen <job_report> of column name <column_name> of object <job_name>
        Then The content of the exported xml file <file_exported> should be equal to <file_ref>
        And A message <success_message> is displayed in <comment_title>
        Examples:
            | userApi      | user              | task_code                     | taskExecution_path | status_code1 | status_code2 | screen_name | job_name                   | column_name | comment_title   | success_message  | file_exported                                                                   | file_ref                                                | job_report |
            | TAR_api.user | TAV_standard.user | Task_EXPORT_XML_PROP_BULKSIZE | task-executions    | 201          | 200          | Job Reports | Exportxmlusingpropbulksize | Job         | Comment on proc | - Bulk Size : 10 | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-95026-Exportxmlusingpropbulksize.xml | config&ressources/XML/RefExportxmlusingpropbulksize.xml | Job report |
    @DHRD-95428 @task-executions @waiting_For_DHRD-113310