Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create Gherkin steps to verify copy/paste using keyboard shortcuts " ctrl +  a"

gpt: Scenario: Copy/paste using keyboard shortcuts "Ctrl + A"
    Given I am logged as <user> on <screen_name>
    And I select all the grid using shortcut Ctrl + A
    And I check that all rows on the grid are selected
    And I perform the keyboard shortcut <shortcut2>
    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           | shortcut1 | shortcut2 | excel_user              | password    | shortcut3 | file_ref                                              |
      | TAV_standard.user | Products & Mandates 2 | Ctrl + A  | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92751_ref_file.xlsx |
human: Generate a feature file scenario for query grid navigation -  collapse groups

gpt: Scenario Outline: Query grid navigation - Collapse groups
    Given I am logged as <user> on <screen_name>
    And I click on the groups menu
    And I check that the button expand all becomes disabled on the groups menu
    And I expand the level number <number> from group menu
    And I check that the number of expanded groups in the grid is <number>
    And I check that the group level <collapsed_level> is collapsed
    When I collapse the group level <second_level> from the grid
    And I check that the group level <second_level> is collapsed
    And I click on the groups menu
    And I click on collapse all button on the groups menu
    Then I check that the button collapse all becomes disabled on the groups menu
    And All groups are collapsed
    Examples:
      | user              | screen_name     | number | second_level | collapsed_level |
      | TAV_standard.user | My Securities 4 | 3      | 2            | 4               |
human: Write a Gherkin scenario for testing cancel adding a bookmark folder

gpt: Scenario Outline: Cancel adding a 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 <button2>
    Then The bookmark folder <folder_name> is not displayed
    Examples:
      | user              | folder_name            | message             | button1 | button2 |
      | TAV_standard.user | testCancelAddNewFolder | Enter a folder name | Ok      | Cancel  |
human: Create an automated test scenario for download file

gpt: Scenario Outline: Download file
        Given I am logged as <administrator_user> on <screen_name>
        When I search and select the line of <document_name>
        And I upload the file <file_name> to a <document_name>
        And I save
        And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
        And I logg in with <user> on <screen_name> using a new browser
        And I open the detail screen <document_name> in the new browser
        And I download the file <file_name> in the new browser
        Then <file_name> is successfully downloaded in Downloads directory
        And The Downloaded file from Detail should be equal to <ref_file>
        Examples:
            | administrator_user | screen_name | document_name                 | file_name                      | user              | detail_screen                           | ref_file                                                                     |
            | TAV_Administrator  | Documents   | TAV_Download_Testing_Document | TAV_Download_Testing_file1.csv | TAV_standard.user | Document: TAV_Download_Testing_Document | config&ressources/DataManagement/toBeUploaded/TAV_Download_Testing_file1.csv |
human: Write a Gherkin scenario for testing missing  parameter

gpt: Scenario Outline: Missing Parameter
        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   |            | DATA          | Security     |  TAS_testws  | unsuccessful |
human: Generate a Cucumber scenario to test store aggregations in secondary table with rec spec

gpt: Scenario Outline:Store aggregations in secondary table with recSpec
        Given I am logged as <user> on <screen_name>
        And I check that the aggregation definition with the root node <root_code> and its child <child_code> exist
        And I open query screen <scheduled_screen> which title begins with <banner_scheduled>
        And I go to detail screen <detail_screen> of <object_name>
        When I execute the action <aggregation_task> with arguments <arguments_field> equal to <arguments_value>
        And I check that a popup is displayed with the message "Task launched."
        And I close the popup
        And I open query screen <job_report_screen> which title begins with <banner_job_report>
        And I search the task <task>
        And I check that the column <column> of the task is equal to <value>
        And I retrieve the generated aggregation identifier id for job name <job_name>
        And I open query screen <Aggregation_Processes> which title begins with <banner_aggregation>
        And I open the detail screen of the generated aggregation identifier
        Then For each child, The grid <grid_info> is displayed where the columns <columns> have the values <rows_values>
        Examples:
            | user              | screen_name                    | root_code | child_code | detail_screen                                | object_name                  | Aggregation_Processes   | banner_aggregation      | task                         | column | value           | scheduled_screen | banner_scheduled | aggregation_task   | arguments_field           | arguments_value  | job_report_screen | banner_job_report | grid_info             | columns                     | rows_values                                                                                                               | job_name                |
            | TAV_standard.user | Scope Aggregation Definition_2 | ROOT_02   | CHILD_02   | Scheduled task: Aggregation Computation Task | Aggregation Computation Task | Aggregation Processes_2 | Aggregation Processes_2 | Aggregation Computation Task | Status | Successful task | Scheduled Tasks  | Scheduled tasks: | Run task with args | %defCode%;%valuationDate% | ROOT_02;20240202 | Job Reports       | Job report        | Aggreg Valuation Info | info5;info6;info7;info1 | French Equities Growth EN;French Equities Growth EN;French Equities Growth EN;English//;;French Equities Growth FR;French | Aggregation Computation |
human: Generate a Cucumber scenario to test update an  i f block with fields

gpt: Scenario Outline: Update an IF block with fields
    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_bloc> bloc is displayed with the condition <old_condition> under the table <table> with the fields <old_fields>
    When I update the <cond_bloc> bloc with the <new_operator> operator and the value <new_value>
    And I check the condition <new_condition> is displayed
    And I add the fields <new_fields> under the <cond_bloc> conditional bloc
    And I assign the external fields <new_external_fields> to the internal fields <new_fields>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then I check that the condition <new_condition> is displayed in the <cond_bloc> bloc under the table <table> with the internal fields <old_fields> and <new_fields> assigned to the following external fields <old_external_field> and <new_external_fields>
    Examples:
      | user              | screen_name     | banner               | feed              | step1      | step3   | cond_bloc | table          | old_condition    | old_fields                                       | new_operator | new_value | new_condition   | new_fields     | new_external_fields | old_external_field       |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON2 | Definition | Mapping | if        | SECURITY_QUOTE | Currency <> Null | Quote date;Quote currency;Close quote;Open quote | =            | Euro      | Currency = Euro | Official Quote | Close               | Date;Currency;Close;Open |
human: Add the remaining steps to this scenario:

Scenario Outline: Check job transitions retry
    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 set the retry of the job whose code is  <job_code1> to <retry> when the exception is <exception> on the job transitions bloc

gpt: Scenario Outline: Check job transitions retry
    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 set the retry of the job whose code is  <job_code1> to <retry> 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
    And I wait for the task <task_name> to be completed
    Then the job <job_name> is relaunched <retry> times
    Examples:
      | screen_name     | detail_screen                                                   | task_name                                       | tab  | job_name       | job_code1 | job_code2 | exception | retry |
      | Scheduled Tasks | Scheduled task: BBG - Equity Subscription - Daily Request-retry | BBG - Equity Subscription - Daily Request-retry | jobs | Vendor Request |        50 |        50 | Any Error |     2 |
human: Finish writing this test scenario:

Scenario Outline: Advanced Filter using one text field
		Given I am logged as TAV_standard.user on <screen_name>
		And I open advanced search tool

gpt: Scenario Outline: Advanced Filter using one text field
		Given I am logged as TAV_standard.user on <screen_name>
		And I open advanced search tool
		When I set an advanced text filter <field1_name>  =  <field1_value>
		And I click on Search button
		Then The query grid shows all rows in the database having <field1_name> equal to <field1_value>
		Examples:
			| screen_name          | field1_name | field1_value                   |
			| My Securities        | Name        | TAV_Alternative                |
			| My Business entities | Name        | Accor SA                       |
			| Lists                | Name        | Accounting Balance Status Type |
			| Users                | Lastname    | Ameziani                       |
			| Rules                | Name        | See rule                       |
human: Add the remaining steps to this scenario:

Scenario Outline: Run a Huge Import Excel
    Given I am logged as <user> on <screen_name>
    And I go to detail screen <detail_screen> of <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>

gpt: Scenario Outline: Run a Huge Import Excel
    Given I am logged as <user> on <screen_name>
    And I go to detail screen <detail_screen> of <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
    And I select the task <task_name> on the grid
    And I wait for the task <task_name> to be completed
    And I check that the column <column> of the task becomes equal to <value> when the task execution has been completed
    And I open detail screen <detail_screen1> of column name <column_name> of object <job_name>
    Then A message <success_message> is displayed in <comment_title>
    Examples:
      | user              | screen_name     | detail_screen                               | task_name                   | column | value           | job_name                   | comment_title | detail_screen1 | column_name | success_message                                                                                                  |
      | TAV_standard.user | Scheduled Tasks | Scheduled task: task_import_huge_securities | task_import_huge_securities | Status | Successful task | job_import_huge_securities | Comment       | Job report     | Job         | 10001 inserted objects, 0 updated objects, 0 unchanged objects, 0 rejected objects, 0 skipped objects. No retry. |
human: Finish writing this test scenario:

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

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: Create Gherkin steps to verify query grid navigation -  collapse groups

gpt: Scenario Outline: Query grid navigation - Collapse groups
    Given I am logged as <user> on <screen_name>
    And I click on the groups menu
    And I check that the button expand all becomes disabled on the groups menu
    And I expand the level number <number> from group menu
    And I check that the number of expanded groups in the grid is <number>
    And I check that the group level <collapsed_level> is collapsed
    When I collapse the group level <second_level> from the grid
    And I check that the group level <second_level> is collapsed
    And I click on the groups menu
    And I click on collapse all button on the groups menu
    Then I check that the button collapse all becomes disabled on the groups menu
    And All groups are collapsed
    Examples:
      | user              | screen_name     | number | second_level | collapsed_level |
      | TAV_standard.user | My Securities 4 | 3      | 2            | 4               |
human: Add the remaining steps to this scenario:

Scenario Outline: Verify Snapshot Version Format
        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 Snapshot Version Format
        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 response snapshot version should match the correct format
        Examples:
            | user           | param_name | param_content | soap_service  | operation   | type       |
            | TAR_api.user   | null       | null          | SmartCoDH     | getVersion  | successful |
@DHRD-94304 @skipped @waiting_for_DHRD-112693
human: Create Gherkin steps to verify edit a business rule and check the audit  i d on  d b

gpt: Scenario Outline: Edit a business rule and check the audit ID on DB
    Given I am logged as TAV_standard.user on <screen_name1>
    And I go to detail screen <detail_screen1> of <rule_name>
    And I update the fields <fields_names> with the values <fields_values>
    And I save
    When I perform the action <action1>
    And I select the row of the user <username_name> on the grid
    And I open the detail screen of the selected line
    And The new row appears in the grid with values <values> in columns <query_column>
    And I perform the action <action2>
    And I retrieve the value of the field <field_name> from the inspector
    And I open query screen <screen_name1> which title begins with <banner1>
    And I go to detail screen <detail_screen3> of <rule_name1>
    And I select the tab <tab>
    And 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
    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>
    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 <rule_name> returned by the  function <function>
    And I check that the log file <log_path> contains the field value <fields_values> returned by the  function <function>
    Examples:
      | screen_name1 | detail_screen1                          | rule_name              | fields_names | fields_values           | action1                 | username_name     | banner1 | action2                        | field_name    | rule_name1           | tab    | script_code                                                                                                            | screen_name2    | banner2          | detail_screen2                        | detail_screen3                        | task                  | column | value           | log_path        | screen_name3 | banner3    | function   | query_column        | values                                         |
      | Rules        | Rule Definition: Notify Entity Creation | Notify Entity Creation | Name (Eng.)  | Notify Entity Creation1 | Show Object Audit trail | TAV_standard.user | Rule:   | Show Object Inspector - Ctrl+I | AUDITTRAIL_ID | Test_rule_getsqldata | Script | req:="select input_values from audittrail where audittrail_id = AUDITTRAIL_ID" ; res:=getSqlData(req); msgtrace (res); | Scheduled Tasks | Scheduled tasks: | Scheduled task: Tache_Rule_getSqlData | Rule Definition: Test_rule_getsqldata | Tache_Rule_getSqlData | Status | Successful task | nxdh/Soft/logs/ | Job Reports  | Job report | getSqlData | new value;old value | Notify Entity Creation1;Notify Entity Creation |
human: Create Gherkin steps to verify create a data selection policy

gpt: Scenario Outline: Create a data selection policy
    Given I am logged as TAV_standard.user on <screen_name>
    And 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 select the tab <tab>
    And I add a row using the buttons toolbar
    And I select the newly added row
    And I set values <values1> for the columns <query_column>
    And I remove the row selection
    And I add a row using the buttons toolbar
    And I select the newly added row
    And I set values <values2> for the columns <query_column>
    And I click on button Save
    And I Force from Suspect entry DQC pop-up
    And I open query screen <screen_name> which title begins with <banner>
    And The new data Selection appears in the grid with value <value> in the column <column>
    When I open query screen <screen_name1> which title begins with <banner1>
    Then The new created data selection policy <data_selection> appears on the comlum <column1>
    Examples:
      | screen_name           | fields_names                            | fields_values                                                                    | screen_name1            | value        | column | banner                | banner1                 | data_selection              | column1        | query_column                            | values1                                                  | values2                                                       | tab   |
      | Data Selection Policy | Code;Label (fr);Label (en);Target Class | DSP-Creation;Data Selection Policy Creation;Data Selection Policy Test1;Security | Data Selection Requests | DSP-Creation | Code   | Data Selection Policy | Data Selection Requests | Data Selection Policy Test1 | Data selection | Node;Priority;Date;Quote Field;Provider | Equity;1;Newest;QUOTE_CLOSE;Golden copy (data selection) | Fixed income;1;Newest;QUOTE_OPEN;Golden copy (data selection) | Price |
human: Write a Gherkin scenario for testing invalid  s o a p  x m l  request

gpt: Scenario Outline: Invalid SOAP XML Request
        Given I am an authorized user <user>
        When I send an invalid SOAP XML request to <soap_service>
        Then I should get a <type> SOAP response
        Examples:
            | user         | soap_service  | type         |
            | TAR_api.user | Introspection | unsuccessful |