Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create Gherkin steps to verify run  valuation  service against  valuations

gpt: Scenario: Run Valuation Service against Valuations
        Given I am logged as TAV_standard.user on <screen_name>
        And I select detail screen <object_name>
        When I run the scheduled task using the button <button> from the actions menu
        And I check that a popup is displayed with the message "Task launched."
        And I close the popup
        And I open query screen <job_report_screen> which title begins with <banner_job_report>
        And I search the task <object_name>
        And I check that the column <column> of the task is equal to <value>
        And I open query screen <screen_name1> which title begins with <title>
        And I set an advanced date filter <filter_date>  =  <date_value1>
        And I click on Search button
        And I retrieve the generated valuation set id
        And I open the detail screen of the generated valuation set
        And I check that the fields <fields1> are saved with <fields_value>
        And I open query screen <screen_name2> which title begins with <title2>
        And I set an advanced date filter <filter_date>  =  <date_value1>
        And I click on Search button
        Then Valuations are displayed with <valuation_id> equal to the generated valuation set id
        And The displayed valuations have <fields> equal to <values>
        Examples:
            | screen_name     | object_name                         | button   | job_report_screen | banner_job_report | column | value           | screen_name1   | title          | filter_date | screen_name2         | title2               | date_value1 | fields1                                  | fields_value                                                                                                                                                                                                | valuation_id  | fields                  | values                                 |
            | Scheduled Tasks | Valuation Service Against Valuation | Run task | Job Reports | Job report | Status | Successful task | Valuation Sets | Valuation Sets | date | Holding Valuations_3 | Holding Valuations_3 | 07/21/2025 | Name;Description2;Category;User Category | Valuation Set computed on 2025-07-21 with the Valuation Style Market Value and LT Style Standard Look-Through;Valuation is computed against source VALUATION when storage is set toY;Category c1;Super User | Valuation Set | Currency;Style;LT Style | USD;Market Value;Standard Look-Through |
human: Generate a feature file scenario for launch an  x m l import with manipulating  i f  e l s e statement

gpt: Scenario Outline: Launch an XML import with manipulating IF ELSE statement
    Given I am an authorized user <userApi>
    And I launch task <task_code> using an ID from API path <taskExecution_path>
    And I should get a response with status <status_code1>
    When I send a GET request to <taskExecution_path> with the retrieved task ID
    And I should get a response with status <status_code2>
    And The received object should include the field <field> with value <value> under <element>
    And The received object should include the field <field2> with value <value2> under <element>
    And I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>
    Then I should get a response with status <status_code2>
    And all received objects should include each of these sets <value3> as <fields>
    Examples:
      | userApi      | user              | taskExecution_path | scope_view_code     | criteria_fields                | fields                                           | value3                                                       | value2            | criteria_operators | criteria_values                          | task_code            | field  | value   | element   | status_code1 | status_code2 | field2  | value2            |
      | TAR_api.user | TAV_standard.user | task-executions    | BNB_SECURITIES_VIEW | name;quote_date;quote_provider | quote_provider;quote_date;quote_open;quote_close | Bloomberg;2024-01-01;202;557//Golden copy;2024-01-01;202;557 | 1 updated objects | EQUAL;EQUAL;IN     | BNB Act;01/01/2024;Bloomberg,Golden copy | TASK_Import_xml_IF   | status | SUCCESS | execution |          201 |          200 | comment | 1 updated objects |
      | TAR_api.user | TAV_standard.user | task-executions    | BNB_SECURITIES_VIEW | name;quote_date;quote_provider | quote_provider;quote_date;quote_open;quote_close | Bloomberg;2023-07-08;202;557//Golden copy;2023-07-08;202;557 | 1 updated objects | EQUAL;EQUAL;IN     | BNB Act;08/07/2023;Bloomberg,Golden copy | TASK_Import_xml_ELSE | status | SUCCESS | execution |          201 |          200 | comment | 1 updated objects |
  @DHRD-95757 @task-executions
human: Write test steps in Gherkin format for move an existing grid from config panel

gpt: Scenario Outline: Move an existing grid from config panel
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I switch to mode Config
    And I select tab <tab> from config panel
    And I select block <block_name> from config panel
    When I move the grid <grid> to first position
    And I save the screen configuration
    Then the grid <grid> is displayed in the first position
    And the components list <list> is correctly reordered
    Examples:
      | screen_name   | detail_screen                    | object_name       | tab   | block_name        | grid            | list                       |
      | My Securities | Equity detail: TAV_Reorder_CMSCP | TAV_Reorder_CMSCP | Audit | Workflow statuses | SECURITY_STATUS | SECURITY_STATUS;Preferred? |
human: Finish writing this test scenario:

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

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: Create an automated test scenario for import  c s v  simulation

gpt: Scenario Outline: Import CSV Simulation
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <feedproc_name>
    And I go to the step <step>
    When I upload simulation file <file>
    And I run the simulation
    Then I check that the status of the simulation is successful
    And I check that the log message includes the message in the file <config_json_file>
    And I go to the simulated object <object_name>
    And I check that the fields <fields> should be equal <values>
    Examples:
      | screen_name     | detail_screen                                  | feedproc_name            | step   | file         | config_json_file           | object_name | fields        | values           |
      | Feed Dictionary | Mapping - Definition: Fp_import_csv_simulation | Fp_import_csv_simulation | RESULT | test_csv.csv | simulation_csv_config.json | Accor       | Product desc. | Test_description |
  @DHRD-102443 @flaky @VTSN_CREATED @waiting_for_DHRD-110583
human: Write a Gherkin scenario for testing filter/ search on a view with operators " d i f f e r e n t", " l e s s", " g r e a t e r" and " n o t l i k e"

gpt: Scenario Outline: Filter/Search on a view with operators "DIFFERENT", "LESS", "GREATER" and "NOTLIKE"
		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 | values       | field                |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | quote_date           | DIFFERENT         | 03/04/2024     | 200         | 2024-04-03   | quote_date           |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | quote_date           | LESS              | 03/04/2024     | 200         | 2024-04-03   | quote_date           |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | quote_date           | GREATER           | 03/04/2024     | 200         | 2024-04-03   | quote_date           |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | security_code_commun | NOTLIKE           | %000085250%    | 200         | FR0000852501 | security_code_commun |
human: Finish writing this test scenario:

Scenario Outline: Create a query screen using the new data model and perform the add a row
    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>

gpt: Scenario Outline: Create a query screen using the new data model and perform the add a row
    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
    When I add a row using the buttons toolbar
    And I select the newly added row
    And I set values <values> for the columns <query_column>
    And I save
    And The displayed columns order must be equal to <query_column>
    And The displayed criteria are <query_criteria>
    Then The new row appears in the grid with values <values> in columns <query_column>
    Examples:
      | field_name             | field_value                                 | ok_button | query_criteria | query_column  | values          |
      | Code;Name;Object Class | TEST_CODE1;TEST_Q_SCREEN1;NEW_CREATED_CLASS | OK        | FIELD1;FIELD2  | FIELD1;FIELD2 | TEST_F1;TEST_F2 |
  @DHRD-100698 @pending @waiting_For_DHRD-112631
human: Write a Gherkin scenario for testing use class reference in  security  search

gpt: Scenario Outline: Use class reference in Security Search
    Given I am an authorized user <user>
    When I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>
    Then I should get a response with status <status_code>
    And the fields <content_fields> are correctly displayed in reponse under <content_path>
    Examples:
      | user         | status_code | class_name                    | field                                | label                               | payload           | folder_name | content_fields                            | content_path        |
      | TAR_api.user | 200         | MxSecurity.COUNTRY;MxSecurity | ISO_CODE;EQUITY_TYPE;NAME;SHORT_NAME | Security Country ISO;Type;null;null | ManageSearch.json | payloads    | Security Country ISO;Type;NAME;SHORT_NAME | data.content:fields |
human: Add the remaining steps to this scenario:

Scenario Outline: Swap columns order
    Given I am logged in as Standard User
    And I access <screen_name> screen which title begins with <banner_fixed_text>

gpt: Scenario Outline: Swap columns order
    Given I am logged in as Standard User
    And I access <screen_name> screen which title begins with <banner_fixed_text>
    And the default columns order is <Columns>
    When I Swap the columns <Column1> with <Column2>
    Then I check that the columns order display is equal to <Columns_new>
    Examples:
      | screen_name | banner_fixed_text | Columns                            | Column1     | Column2  | Columns_new                        |
      | Users       | Users :           | Lastname;Activated ?;#Nx;Fit model | Activated ? | Lastname | Activated ?;Lastname;#Nx;Fit model |
human: Create Gherkin steps to verify access  query  screen using  fuzzy search bar

gpt: Scenario Outline: Access Query Screen using Fuzzy search bar
#         Given I am logged in as Standard User
#         When I search query screen <screen_name>
#        # Then I should be on <screen_name> with title beginning with <banner_fixed_text>
#        # And The query grid is displayed with the same screen columns <columns> as <screen_name>
#          Examples:
#              | screen_name     | banner_fixed_text | columns                                                                                                                                                                                                     |
#             | My Securities   | Security:         | Name;Flag;ISIN;Country;Market;Currency;Sec type;Preferred?;Status value;Alerts pending;Mat. date;BBG sec type;UPDATE_DATE;UPDATE_TIME;Secured?;Subordination;Subordinated?;Status value.;Last Charac. Update |
#         #     | Scheduled Tasks | Scheduled tasks:  | Name;Start time;Calendar;Valid;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday;Sunday;Task code;#Nx;Trigger;Priority group                                                                               |
#  @DHRD-53178
#     Scenario Outline: Access Query Screen using Fuzzy search bar
#         Given I am logged in as Standard User
#         Then the <button> button border will be displayed in a "red" color
#        # Then I should be on <screen_name> with title beginning with <banner_fixed_text>
#        # And The query grid is displayed with the same screen columns <columns> as <screen_name>
#          Examples:
#              | button |
#              | Save   |
human: Generate a Cucumber scenario to test run feedproc using value map and default value

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 Gherkin steps to verify create a  c s v  export  feedproc

gpt: Scenario Outline: Create a CSV Export Feedproc
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I open advanced search tool
    And I set an advanced list filter <field_name>  <operator>  <field_value>
    And I click on Search button
    And I close advanced search tool
    And I add a row using the buttons toolbar
    And I filter only edited rows
    And I open the detail screen of the selected line
    And I update the fields <fields_names> with the values <fields_values>
    And I add the class <className> on block Scope
    And I add object criteria with field <field> and operator <operator2> with value <Value>
    And I go to the step <step3>
    And I open the mapping actions menu
    And I add new mapping with class <class_name>
    And I add new table <table_name>
    And I add an internal fields <fields> under the table <table_name>
    And I delete the internal fields <key_lookup>
    And I assign the internal fields <internal_fields> to the external fields <external_fields>
    And I save
    And I go to the step <step4>
    And I execute the full export
    And I check that a popup is displayed with a title Simulation ended and 2 options Yes No
    When I download the exported file
    Then The content of the exported csv simulation file should be equal to <file_ref>
    Examples:
      | user              | screen_name     | banner               | field_name                 | operator | field_value                                    | fields_names                       | fields_values                                                                                           | className | field    | operator2 | Value           | step3   | class_name | table_name    | fields          | key_lookup                                                                          | internal_fields | external_fields | step4  | file_ref                                                  |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | Feed;Category;Type;Privacy | =;=;=;=  | Export;Manual Export;Manual file export;NeoXam | English;French;Code;Exp. formatter | Fp_test_export_csv_simulation;Fp_test_export_csv_simulation;Fp_test_export_csv_simulation;CSV Formatter | Security  | Sec type | =         | FI - Government | Mapping | MxSecurity | SECURITY_CODE | Code;Identifier | Codification system;Country code;Code start date;Market code;Currency code;Sub type | Code;Identifier | A;B             | Result | config&ressources/DataManagement/ref_test_export__csv.csv |
  @DHRD-102439 @pending_to_test @waiting_for_DHRD-112045
human: Write test steps in Gherkin format for retrieve on a view with dynamic recspec

gpt: Scenario Outline: Retrieve on a view with dynamic recspec
    Given I am an authorized user <user>
    When I retrieve data from the scope view <scope_view_code>
    Then I should get a response with status <status_code>
    And the response shows a total number of records equals to <total>
    And the fields <scope_view_fields> are correctly displayed in reponse
    And all received objects should include these <values> as <fields>
    Examples:
      | user         | scope_view_code          | status_code | scope_view_fields                                                                                                                                                              | total | values              | fields               |
      | TAR_api.user | TAR_SHARE_VALUATION_VIEW |         200 | Share ID;Share ISIN;Share Code;Share Currency;Fund ID;Fund Code;Fund Currency;NAV Date;Share Net Asset Value (Security);Share Net Asset Value (Portfolio);Fund Net Asset Value |     1 | DK0000211178;KLIAGK | Share ISIN;Fund Code |
human: Create an automated test 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 fields Histo with the values Full
    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 <default_GC_value> in columns <columns_to_edit>
    When 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>
    And I save
    Then the golden copy row remains and displays values <default_GC_value> in columns <columns_to_edit>
    And The new row displays values <new_values> 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 | default_values                               | new_values                                                   | columns_to_edit                                | default_GC_value                               |
      | My Securities | Bond detail: TAV_Low_Treasury Bonds | TAV_Low_Treasury Bonds | Rating | Full        | 01/25/2020;12/31/2999;Fitch SEC;Bloomberg;A+ | 01/25/2020;12/31/2999;Bloomberg Composite Rating;Bloomberg;B | Rating date;Ratg end date;Type;Provider;Rating | 01/25/2020;12/31/2999;Fitch SEC;Golden copy;A+ |
human: Create an automated test scenario for manage user authorisations

gpt: Scenario Outline: Manage user authorisations
    Given I am an authorized user <not_auth_user>
    When I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>
    Then I should get a response with status <status_code_before>
    Given I am an authorized user <user>
    Then I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>
    And I should get a response with status <status_code_after>
    And the fields <content_fields> are correctly displayed in reponse under <content_path>
    Examples:
      | not_auth_user | class_name | field           | label     | payload                    | folder_name | status_code_before | user           | status_code_after | content_fields  | content_path        |
      | randomuser    | MxSecurity | NAME;SHORT_NAME | null;null | SecurityAndValidation.json | payloads    | 401                | TAR_api.user   | 200               | NAME;SHORT_NAME | data.content:fields |