Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create Gherkin steps to verify run a  huge  import  excel

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: Create a BDD test scenario for export  x m l using the property bulksize

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

Scenario Outline: Reset query search value on field list with default operator IN
    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>  <new_field_value>
    And I click on button Search

gpt: Scenario Outline: Reset query search value on field list with default operator IN
    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>  <new_field_value>
    And I click on button Search
    And I check the query grid shows all rows in the database having <field_name> equal to <new_field_value>
    And I check that filters from Query compact view are filled with "<field_name>" "<operator>" "<new_field_value>"
    When I reset my advanced filter
    Then The search criteria <field_name> is displayed with the operator <operator> and value <old_field_value>
    And The query grid shows all rows in the database having <field_name> equal to <old_field_value>
    And The filters from Query compact view are filled with "<field_name>" "<operator>" "<old_field_value>"
    Examples:
      | user              | screen_name     | banner    | field_name    | operator | old_field_value | new_field_value    |
      | TAV_standard.user | My Securities 3 | Security: | Sec main type | in       | Equity          | Index;Fixed Income |
      #| TAV_standard.user | Users 2         | Users :   | Activated ?   | in       | Yes             | Yes;No             |
human: Write a Gherkin scenario for testing move an existing field from config panel

gpt: Scenario Outline: Move an existing field 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 field <field> to second position
    And I save the screen configuration
    Then the field <field> is displayed in the second position
    And the fields list <fields_list> is correctly reordered
    Examples:
      | screen_name   | detail_screen                    | object_name       | tab      | block_name     | field | fields_list                           |
      | My Securities | Equity detail: TAV_Reorder_CMSCP | TAV_Reorder_CMSCP | Overview | Identification | Name  | ISIN;Name;Ticker;Short name;CUSIP;RIC |
human: Generate a Cucumber scenario to test generate a swagger file

gpt: Scenario Outline: Generate a swagger file
        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_statisticdemo | TAV_standard.user | getById        | tavstatdemo | id                 | 100            | 200         | TAV_STAT1       | instrumentMdmId |
human: Complete this Gherkin scenario:

Scenario Outline: Invalid JSON in response
    Given I am an authorized user <user>
    When I send a GET request to <path> with the following query parameters <param>

gpt: Scenario Outline: Invalid JSON in response
    Given I am an authorized user <user>
    When I send a GET request to <path> with the following query parameters <param>
    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           | path                 | param            | status_code | content_fields | content_path |
        | TAR_api.user   | tarLastSecurityPrice | ?isin=TAR0099998 | 200         | isin;name      | data         |
human: Write a Gherkin scenario for testing edit new entry  high  priority

gpt: Scenario Outline: Edit new entry High 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 field Histo with the value <histo_value>
    And I filter by Rating date with <date_Rtg>
    When I replace the values <values> in columns <columns> with <new_values>
    And I save
    Then The golden copy is recomputed and displays values <new_GC_values> in columns <columns>
    And The updated row displays values <new_values> in columns <columns>
    Examples:
      | screen_name   | detail_screen                             | object_name                  | tab    | histo_value | date_Rtg   | values                           | columns                          | new_values                           | new_GC_values                          |
      | My Securities | Bond detail: TAV_edit_high_Treasury Bonds | TAV_edit_high_Treasury Bonds | Rating | Full        | 05/18/2020 | 05/18/2020;Fitch SEC;Bloomberg;A | Rating date;Type;Provider;Rating | 05/18/2020;Moody's SEC;Bloomberg;Aa1 | 05/18/2020;Moody's SEC;Golden copy;Aa1 |
human: Generate a feature file scenario for dashboard welcome -  compare  k p i count with widget content

gpt: Scenario Outline: Dashboard welcome - Compare KPI count with widget content
    Given I am logged in as <user>
    And I verify that 4 KPI widgets are displayed which are <widget_titles>
    And I check that the KPI counts are <KPI_count_list> for the <widget_titles>
    When I click on KPI widget <widget_name>
    And I should be on <screen1> with title beginning with <banner1>
    And I check that the grid have <numberOfLines> lines
    And I go back to the welcome page
    And I click on KPI widget <widget_name2>
    Then I should be on <screen2> with title beginning with <banner2>
    And I check that a message "No data found" is displayed on the grid
    Examples:
      | user                    | widget_titles                         | KPI_count_list | widget_name | screen1                            | banner1                            | numberOfLines | widget_name2 | screen2                                | banner2                                |
      | TAV_standard.dashboard1 | Issuers;Exceptions;Securities;Indexes |   42;0;1045;60 | Indexes     | Index Monitoring (Web Application) | Index Monitoring (Web Application) |            60 | Exceptions   | Exceptions Dashboard (Web Application) | Exceptions Dashboard (Web Application) |
human: Complete this Gherkin scenario:

Scenario Outline: Retrieve a view with computed fields
		Given I am an authorized user <user>
		When I retrieve data from the scope view <scope_view_code>

gpt: Scenario Outline: Retrieve a view with computed fields
		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 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                       | values | fields      |
			| TAR_api.user | TAR_SCOPE_VIEW_COMPUTED_FIELDS | 200         | name;quote_open;quote_close;user_code_1 | 5      | user_code_1 |
human: Create Gherkin steps to verify query grid navigation -  go back to standard grid from transposed

gpt: Scenario Outline: Query grid navigation - Go back to standard grid from transposed
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        And I set an advanced list filter <criteria>  =  <value>
        And I click on Search button
        And I close advanced search tool
        When I change the grid display to Transpose
        And I change the grid display to Grid
        Then The hidden columns number must be equal to <hidden_columns_value>
        And The hidden columns <hidden_columns_list> are not displayed in the grid
        And The groups number must be equal to <group_value>
        And The groups list must be equal to <groups_columns>
        And The sorted columns number must be equal to <sort_columns_value>
        And The Sorted columns list must be equal to <sort_columns>
        Examples:
            | screen_name     | field1        | field2 | criteria | value           | hidden_columns_value | hidden_columns_list                                  | group_value | groups_columns         | sort_columns_value | sort_columns                            |
            | My Securities 6 | Creation date | #Nx    | Sec type | CT - Fx Forward | 5                    | Issuer;Primary place;Sec main type;#Nx;Creation date | 2           | Sec main type;Sec type | 4                  | Sec main type;Sec type;Currency;Country |
human: Complete this Gherkin scenario:

Scenario Outline: Query grid navigation - Go back to standard grid from transposed
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        And I set an advanced list filter <criteria>  =  <value>
        And I click on Search button
        And I close advanced search tool
        When I change the grid display to Transpose

gpt: Scenario Outline: Query grid navigation - Go back to standard grid from transposed
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        And I set an advanced list filter <criteria>  =  <value>
        And I click on Search button
        And I close advanced search tool
        When I change the grid display to Transpose
        And I change the grid display to Grid
        Then The hidden columns number must be equal to <hidden_columns_value>
        And The hidden columns <hidden_columns_list> are not displayed in the grid
        And The groups number must be equal to <group_value>
        And The groups list must be equal to <groups_columns>
        And The sorted columns number must be equal to <sort_columns_value>
        And The Sorted columns list must be equal to <sort_columns>
        Examples:
            | screen_name     | field1        | field2 | criteria | value           | hidden_columns_value | hidden_columns_list                                  | group_value | groups_columns         | sort_columns_value | sort_columns                            |
            | My Securities 6 | Creation date | #Nx    | Sec type | CT - Fx Forward | 5                    | Issuer;Primary place;Sec main type;#Nx;Creation date | 2           | Sec main type;Sec type | 4                  | Sec main type;Sec type;Currency;Country |
human: Add the remaining steps to this scenario:

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>

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

Scenario Outline: IDS - Fund Shares listing
		Given I am an authorized user <user>
        When I retrieve data from the scope view <scope_view_code>

gpt: Scenario Outline: IDS - Fund Shares listing
		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 content is displayed with the same content as in <ref_json_file>
		Examples:
			| user         | scope_view_code     | status_code | ref_json_file        |
            | TAR_api.user | TAR_SHARE_LIST_VIEW | 200         | fund_shares_ref.json |
human: Write a behavior-driven test for show that the 2 first columns are freezed

gpt: Scenario Outline: Show that the 2 first columns are freezed
    Given I am logged in as Standard User
    And I access <screen_name> screen which title begins with <banner_fixed_text>
    When I scroll the horizontal bar
    Then the columns <Columns_name> are freezed
    Examples:
      | screen_name   | banner_fixed_text | Columns_name |
      | My Securities | Security:         | Name;Flag    |
human: Write test steps in Gherkin format for query grid navigation -  don't group by column

gpt: Scenario Outline: Query grid navigation - Don't group by column
                Given I am logged as <user> using path <path> and screen <screen_name>
                And I add the group <column_name> to the grid if not added
                When I ungroup by this column <column_name> using the column header menu
                Then The  Group is not highlighted
                And The number of group is empty
                And the break <column_name> is removed from the query grid
                And The columns <column_name> are disabled from the groups menu
                And I check that the button expand all becomes disabled on the groups menu
                And I check that the button collapse all becomes disabled on the groups menu
                Examples:
                        | user              | screen_name          | path                                                            | column_name  |
                        | TAV_standard.user | My Portfolios        | Screen / Investment Data / Portfolios / My Portfolios           | AMF Classif. |
                        | TAV_standard.user | My Business entities | Screen / Static Data / Business Entities / My Business entities | Status       |
human: Create Gherkin steps to verify query grid navigation -  hide column

gpt: Scenario Outline: Query grid navigation - Hide column
    Given I am logged as TAV_standard.user on <screen_name>
    And I click on the hidden columns menu
    When I hide the columns <columns_name> from the hidden columns menu
    And I click on the groups menu
    And I add group by <group_name>
    And I click on the sorted columns menu
    And I sort descending my query grid by <sort_column>
    Then The columns <columns_name> are disabled from the hidden columns menu
    And The hidden columns number must be equal to <new_hidden_column_value>
    And The columns <columns_name> remain displayed in their default positions from the hidden columns menu
    And The groups number must be equal to <new_group_value>
    And The sorted columns number is equal to <new_sort_columns_value>
    And The hidden columns <columns_name> are not displayed in the grid
    And The grid is correctly grouped by the configured columns <groups_columns>
    And The grid is correctly sorted by the configured columns <sort_columns>
#package role on grid for user-QUERY-CONFIG
    Examples:
      | screen_name                | columns_name | new_hidden_column_value | new_group_value | new_sort_columns_value | groups_columns               | sort_columns                                       | group_name            | sort_column |
      | My Securities_QUERY_CONFIG | Flag         |                       4 |               2 |                      5 | Sec main type;Alert pending; | Sec main type;Status value;Preferred?;Name;Country | Alerts pending        | Country     |
      | Users_QUERY_CONFIG         | #NX          |                      14 |               3 |                      3 | Role;Activated ?;Fit model   | Role;Lastname;Activated ?                          | Activated ?;Fit model | Activated ? |
human: Complete this Gherkin scenario:

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

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 |