Ghaythfd/gherkin-scenarios huggingface dataset:
human: Generate a Cucumber scenario to test delete  directories

gpt: Scenario Outline:Delete Directories
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        And I check that the folder <existing_folder> is displayed under <user_menu>
        And I create a New folder under <main_folder>
        When I delete the created folder <created_folder> under the parent folder <main_folder>
        And I delete the folder <existing_folder>
        And I check that the deleted folders <deleted_folders> have disappeared from menu <menus>
        And I logged out and logged in with <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        Then The deleted folders <deleted_folders> have disappeared from menu <menus>
        Examples:
            | user               | user_menu         | main_folder          | created_folder | menus                                | existing_folder     | deleted_folders                |
            | authorized.user.EN | DataHub warehouse | Investment Data      | New folder     | Investment Data;DataHub warehouse    | Folder_To_Remove    | New folder;Folder_To_Remove    |
            | authorized.user.FR | DataHub factory   | Administration coeur | New folder     | Administration coeur;DataHub factory | Dossier_A_Supprimer | New folder;Dossier_A_Supprimer |
human: Create an automated test scenario for t e s t c a s e_ a c c  soap  web services with  j s o n input/output

gpt: Scenario Outline: TESTCASE_ACC Soap WebServices with JSON input/output
        Given I am an authorized user <user>
        When I send a POST request to <path> using payload <payload_send> from folder <folder_name>
        Then I should get a response with status <status_code>
        And the response content type should be <content_type>
        Examples:
            | user           | path                       | payload_send              | folder_name | status_code | content_type     |
            | TAR_api.user   | TestJsonSoap/testArrayRoot | testJsonSoapPayload.json  | payloads    | 200         | application/json |
human: Generate a Cucumber scenario to test i d s -  display  fund  share  details

gpt: Scenario Outline: IDS - Display Fund Share Details
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with criteria <criteria_field> and <criteria_operator> and <criteria_value>
		Then I should get a response with status <status_code>
		And The response content is displayed with the same content as in <ref_json_file>
		Examples:
			| user         | scope_view_code            |criteria_field | criteria_operator | criteria_value | status_code | ref_json_file              |
			| TAR_api.user | TAR_SHARE_REFERENTIAL_VIEW |Share ISIN     | EQUAL             | XS1234567891   | 200         | share_referential_ref.json |
human: Write test steps in Gherkin format for run an aggregation computation using data filter with operator  like

gpt: Scenario Outline: Run an aggregation computation using data filter with operator Like
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    When I launch the action <actions> with config location <arguments>
    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 retrieve the generated aggregation identifier id and the number of the generated nodes 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 The column <column_name> with values <column_values> are displayed
    And The column <column_name> with values <not_displayed_values> are not displayed
    Examples:
      | screen_name     | detail_screen                                                       | object_name                                        |actions           |arguments                                           |value          |column|job_report_screen|banner_job_report|Aggregation_Processes|banner_aggregation   |column_name|column_values|not_displayed_values|job_name|
      | Scheduled Tasks | Scheduled task: Aggregation Computation With Json Config Location1 | Aggregation Computation With Json Config Location1 | Run task with args | /mnt/nfs/automationstorage/AT/users/AGGREGATION/filterLike.json | Successful task | Status | Job Reports | Job report | Aggregation Processes_2 | Aggregation Processes_2 | node_name | all,AIR France - KLM,Accor,Capgemini Act | euro | Aggregation Computation |
human: Generate a Cucumber scenario to test autocomplete must return all list results

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: Finish writing this test scenario:

Scenario Outline: Run a standard CSV Export
    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 <task_name>
    When I perform the action <action>
    And I check that a popup is displayed with the message "Task launched."

gpt: Scenario Outline: Run a standard CSV Export
    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 <task_name>
    When I perform the action <action>
    And I check that a popup is displayed with the message "Task launched."
    And I close the popup
    And I open query screen <screen_name2> which title begins with <banner2>
    And I search and open the job <Export_job_name>
    Then I check that the fields <field> should be equal <new_value>
    And The content of the exported csv file <file_path> should be equal to <file_ref>
    Examples:
      | user              | screen_name1    | banner1          | task_name           | action   | screen_name2 | banner2    | Export_job_name    | new_value      | file_path                                    | file_ref                                                  | field  |
      | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | Tav_task_export_csv | Run task | Job Reports  | Job report | Fp_test_export_csv | Successful job | /data/testauto/nxdh/data/test_export_csv.csv | config&ressources/DataManagement/ref_test_export__csv.csv | Status |
  @DHRD-102440 @flaky @skipped @waiting_for_DHRD-112046
human: Finish writing this test scenario:

Scenario Outline: Data quality check 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: Data quality check 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_EXPORT_DQC_MODEL | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/ref_file_DHRD-102937_ExportDataQualityChecksModel.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-102937-Export_DQC_Model.xml |
@DHRD-102938 @task-executions
human: Write a Gherkin scenario for testing execute a  rule using get sql data function

gpt: Scenario Outline: Execute a Rule using getSqlData function
        Given I am logged as TAV_standard.user on <screen_name1>
        And I go to detail screen <detail_screen1> of <rule_name>
        And I select the tab <tab>
        When I update the rule script with the <script_code> using the function <function>
        And I save
        And I open query screen <screen_name2> which title begins with <banner2>
        And I search and open the task <task>
        And I select the action run task
        When 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>
        And I retrieve the task log file name from job report detail screen
        Then I check that the log file <log_path> contains the field value <field_value> returned by the  function <function>
        Examples:
            | screen_name1 | detail_screen1                         | rule_name             | tab    | script_code                                                                                            | screen_name2    | banner2          | detail_screen2                         | task                   | column | value           | log_path        | field_value | screen_name3 | banner3    | function   |
            | Rules        | Rule Definition: Test_rule_getsqldata2 | Test_rule_getsqldata2 | Script | req:="select Currency from SECURITY Where SECURITY_ID =414889" ; res:=getSqlData(req); msgtrace (res); | Scheduled Tasks | Scheduled tasks: | Scheduled task: Tache_Rule_getSqlData2 | Tache_Rule_getSqlData2 | Status | Successful task | nxdh/Soft/logs/ | 36636       | Job Reports  | Job report | getSqlData |
human: Finish writing this test scenario:

Scenario Outline: Check job transitions jump
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <task_name>
    And I select the tab <tab>
    When I set the next job of the job whose code is  <job_code1> to <job_code2> when the exception is <exception> on the job transitions bloc

gpt: Scenario Outline: Check job transitions jump
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <task_name>
    And I select the tab <tab>
    When I set the next job of the job whose code is  <job_code1> to <job_code2> when the exception is <exception> on the job transitions bloc
    And I save
    And I select the action run task
    And I select show the task from the job report screen
    Then the launch order of the job <job_name1> and the job <job_name2>  is respected
    Examples:
      | screen_name     | detail_screen                                                   | task_name                                       | tab  | job_name1              | job_name2      | job_code1 | job_code2 | exception |
      | Scheduled Tasks | Scheduled task: BBG - Equity Subscription - Daily Request -jump | BBG - Equity Subscription - Daily Request -jump | jobs | Request Scope Building | Vendor Request |        20 |        50 | OK        |
human: Add the remaining steps to this scenario:

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>

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: Write test steps in Gherkin format for exporting  data to  x m l  file with  filtering (in) using scheduled tasks

gpt: Scenario Outline: Exporting Data to XML File with Filtering (in) using scheduled tasks
        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    | TEST_EXPORT_XML_IN | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportXmlIN.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-92896-ExportXmlIN.xml |
    @DHRD-93348 @task-executions
human: Finish writing this test scenario:

Scenario: Query screen - Copy/paste from a pivot grid to Excel
    Given I am logged as <user> on <screen_name>
    And I check the Pivot grid is displayed
    And I select manually all the Pivot grid
    And I perform the keyboard shortcut <shortcut1>
    And I open Excel using a new browser

gpt: Scenario: Query screen - Copy/paste from a pivot grid to Excel
    Given I am logged as <user> on <screen_name>
    And I check the Pivot grid is displayed
    And I select manually all the Pivot 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 | Cash Positions | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92750_ref_file.xls |
human: Add the remaining steps to this scenario:

Scenario Outline: Execute a Rule using getSqlData function
        Given I am logged as TAV_standard.user on <screen_name1>
        And I go to detail screen <detail_screen1> of <rule_name>
        And I select the tab <tab>
        When I update the rule script with the <script_code> using the function <function>
        And I save
        And I open query screen <screen_name2> which title begins with <banner2>

gpt: Scenario Outline: Execute a Rule using getSqlData function
        Given I am logged as TAV_standard.user on <screen_name1>
        And I go to detail screen <detail_screen1> of <rule_name>
        And I select the tab <tab>
        When I update the rule script with the <script_code> using the function <function>
        And I save
        And I open query screen <screen_name2> which title begins with <banner2>
        And I search and open the task <task>
        And I select the action run task
        When 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>
        And I retrieve the task log file name from job report detail screen
        Then I check that the log file <log_path> contains the field value <field_value> returned by the  function <function>
        Examples:
            | screen_name1 | detail_screen1                         | rule_name             | tab    | script_code                                                                                            | screen_name2    | banner2          | detail_screen2                         | task                   | column | value           | log_path        | field_value | screen_name3 | banner3    | function   |
            | Rules        | Rule Definition: Test_rule_getsqldata2 | Test_rule_getsqldata2 | Script | req:="select Currency from SECURITY Where SECURITY_ID =414889" ; res:=getSqlData(req); msgtrace (res); | Scheduled Tasks | Scheduled tasks: | Scheduled task: Tache_Rule_getSqlData2 | Tache_Rule_getSqlData2 | Status | Successful task | nxdh/Soft/logs/ | 36636       | Job Reports  | Job report | getSqlData |
human: Create Gherkin steps to verify find static value based on criteria with a defined code using  g e t method

gpt: Scenario Outline: Find static value based on criteria with a defined code using GET 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 execute the request
        Then I should get the response status equal to <status_code>
        And The response body should contain the values <response_values> in the field <response_fields>
        Examples:
            | resource_name          | user              | operation_name | endpoint              | request_parameters | request_values | status_code | response_values | response_fields |
            | Tav_statisticvaluedemo | TAV_standard.user | get-all        | tavstatisticvaluedemo | code               | TAV_STAT1      | 200         | TAV_STAT1       | name            |
human: Complete this Gherkin scenario:

Scenario Outline: Verify Existence of a Web Service
        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>

gpt: Scenario Outline: Verify Existence of a Web Service
        Given I am an authorized SOAP user <user> on <soap_service>
        When I send a SOAP request with param <param_name> = <param_content> and operation <operation>
        Then I should get a <type> SOAP response
        And the SOAP response includes the <webservice> web service
        Examples:
            | user           | param_name | param_content | soap_service  | operation       | type       | webservice          |
            | TAR_api.user   | null       | null          | Introspection | listWebServices | successful | Security.TAS_testws |
human: Add the remaining steps to this scenario:

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

gpt: Scenario Outline: Query grid navigation - Check default hierarchical grid
        Given I am logged in as TAV_standard.user
        When I search query screen <screen_name>
        Then I check that the grid is hierarchical by default
        And I check that the hidden columns menu appears
        And The hidden columns number must be equal to <hidden_columns_value>
        And The menu groups menu should have no number
        And The menu sorted columns menu should have no number
        Examples:
            | screen_name         | hidden_columns_value |
            | Business Dictionary | 2                    |
human: Write a Gherkin scenario for testing detail screen -  copy/ paste from a standard grid without breaks to  excel

gpt: Scenario: Detail screen - Copy/Paste from a standard grid without breaks to Excel
    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 Full
    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   | detail_screen                     | object_name        | tab      | shortcut1 | excel_user              | password    | shortcut2 | column | file_ref                                              |
      | TAV_standard.user | My Securities | Equity detail: TAV_Object_To_Copy | TAV_Object_To_Copy | Prices 4 | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | test   | config&ressources/Navigation/DHRD-92746_ref_file.xlsx |
  @DHRD-92747 @skipped @waiting_for_DHRD-97077
human: Create a BDD test scenario for detail grid navigation -  export xls ( standard -  grid)

gpt: Scenario: Detail grid navigation - Export xls (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 click on the groups menu
    And I expand the level number <level_number> from group menu
    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      | level_number | excel_button | file_ref                                                                  |
      | TAV_standard.user | xls       | My Securities | Equity detail: TAV_TOEXPORT1 | TAV_TOEXPORT1 | Prices 6 |            1 | export XLS   | config&ressources/DataManagement/DHRD-94600_standard_detail_grid_ref.xlsx |