Ghaythfd/gherkin-scenarios huggingface dataset:
human: Write test steps in Gherkin format for run an  excel export

gpt: Scenario Outline: Run an Excel 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 xls 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: NEWTASK_EXPORT_XLS  | NEWTASK_EXPORT_XLS  | NEWTASK_EXPORT_XLS  | new test export xls  | Successful job     | /data/testauto/nxdh/data/file_ExportExcel.xls  | config&ressources/DataManagement/ref_file_ExportExcel.xls  |
      | Scheduled Tasks | Scheduled task: NEWTASK_EXPORT_XLSX | NEWTASK_EXPORT_XLSX | NEWTASK_EXPORT_XLSX | new test export xlsx | Successful job     | /data/testauto/nxdh/data/file_ExportExcel.xlsx | config&ressources/DataManagement/ref_file_ExportExcel.xlsx |
human: Write test steps in Gherkin format for showing data using vertical scroll bar

gpt: Scenario Outline: Showing data using vertical scroll bar
    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 vertical bar
    Then the query grid rows are moved down until we reach the last row
    Examples:
      | screen_name   | banner_fixed_text |
      | My Securities | Security:         |
human: Create Gherkin steps to verify run a computation where output is empty and check aggregation results

gpt: Scenario Outline: Run a computation where output is empty and check aggregation results
    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 open detail screen <detail_screen1> of column name <column_name1> of object <object_name1>
    Then A message <error_message> is displayed in <comment_title>
    Examples:
      | screen_name     | detail_screen                                                      | object_name                                        | actions            | arguments                                                       | sum_field            | root_code | child_code | cost_total_base    | value       | column | valuation_date | job_report_screen | banner_job_report | error_message                                                                                                                                                                                    | comment_title | object_name1            | detail_screen1 | column_name1 |
      | Scheduled Tasks | Scheduled task: Aggregation Computation With Json Config Location4 | Aggregation Computation With Json Config Location4 | Run task with args | /mnt/nfs/automationstorage/AT/users/AGGREGATION/DHRD-60986.json | Tot._Contrib._(Base) | Root 00   | Child 00   | Cost Total (Base). | Failed task | Status | 02/02/2024     | Job Reports       | Job report        | java.lang.IllegalStateException: Output configuration should be one of : store only, export only store and export, current config : OutputConfiguration [stored=false, exportConfiguration=null] | Comment       | Aggregation Computation | Job report     | Job          |
human: Create Gherkin steps to verify upload  document  and  save using  a c t i o n menu

gpt: Scenario Outline: Upload Document And Save using ACTION menu
        Given I am logged as <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 perform the action <save_button>
        And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
        Then The uploaded file is displayed with <file_name> to document <document_name>
        Examples:
            | user              | screen_name | save_button | document_name                | file_name                   |
            | TAV_standard.user | Documents   | Save All    | TAV_Upload_Testing_Document2 | TAV_Upload_Testing_file.txt |
human: Complete this Gherkin scenario:

Scenario Outline:  Define a trigger perimeter
        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 <category>
        And I go to the step <step3>
        And I check that the trigger <trigger> is selected
        And I check that the internal fields <fields> are displayed under the table <table>
        And I open the mapping actions menu

gpt: Scenario Outline:  Define a trigger perimeter
        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 <category>
        And I go to the step <step3>
        And I check that the trigger <trigger> is selected
        And I check that the internal fields <fields> are displayed under the table <table>
        And I open the mapping actions menu
        When I open the trigger configuration popup
        And I go to the tab <tab>
        And I select the <class> class
        And I Add criterion with '<field>' '<operator>' '<value>'
        And I check the visual cue is displayed in the <tab> tab
        And I click on button <button>
        And I save
        Then A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
        Examples:
            | user              | screen_name     | banner               | feed                 | category | step3   | step4  | trigger   | fields                                                                 | table    | tab       | class    | field       | operator | value                | button |
            | TAV_standard.user | Feed Dictionary | Import/Export proc : | Export_csv_triggered | Export   | Mapping | Result | Trigger 0 | Activity country;Trade currency;Product description;Security main type | SECURITY | Perimeter | Security | SECURITY_ID | In       | 530882;530883;530884 | Ok     |
    @DHRD-101406 @flaky
human: Add the remaining steps to this scenario:

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>

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: Create an automated test scenario for retrieve views error status codes

gpt: Scenario Outline: Retrieve views error status codes
		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 <error_code>
		Examples:
			| user         | scope_view_code  | error_code  |
            | TAR_api.user | TEST_SCOPE_VIEW1 | 404         |
            | TAR_api.use  | TAR_SCOPE_VIEW   | 401         |
human: Add the remaining steps to this scenario:

Scenario Outline: Display an array of relative URLs for referenced objects
    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: Display an array of relative URLs for referenced objects
    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>
    And the fields <content_fields> are correctly displayed in reponse under <content_path>
    And the fields <code_fields> are correctly displayed in reponse under <code_path>
    Examples:
      | user         | class_name | field                                  | label                  | payload           | folder_name | status_code | content_fields         | content_path        | code_fields  | code_path                    |
      | TAR_api.user | MxSecurity | NAME;EXCHANGE_MARKET;PRIMARY_EXCHANGE  | null;CODE/MIC;CODE/RIC | ManageSearch.json | payloads    | 200         | NAME;CODE/MIC;CODE/RIC | data.content:fields | id;value;ref | data.content:fields.CODE/MIC |
human: Generate a feature file scenario for ability to call a  r e s t f u l service end point with  g e t operation with http range paging

gpt: Scenario Outline: Ability to call a RESTFUL service end point with GET operation with http range paging
    Given I am an authorized user <user>
    When I send a GET request to <path> with Range header <range>
    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                 | range                     | status_code | content_fields   | content_path |
      | TAR_api.user | tarLastSecurityPrice | tarLastSecurityPrice=0-15 | 206         | isin;prices;name | data         |
human: Create an automated test scenario for query grid navigation -  go back to standard grid from pivot table

gpt: Scenario Outline: Query grid navigation - Go back to standard grid from pivot table
        Given I am logged as TAV_standard.user on <screen_name>
        When 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
        And I change the grid display to Pivot
        And I select the row <row1> from Rows menu
        And I select the row <row2> from Rows menu
        And I select the column <column1> from Columns menu
        And I select the column <column2> from Columns menu
        And I select the agreggate method <Aggregate> from Aggregates menu
        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     | criteria | value             | row1 | row2          | column1 | column2  | Aggregate | hidden_columns_value | hidden_columns_list                                  | group_value | groups_columns         | sort_columns_value | sort_columns                            |
            | My Securities 6 | Sec Type | IX - Equity Index | Name | Creation date | Country | Currency | Issuer    | 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: 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>

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

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

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

Scenario Outline: Move bookmarks
    Given I am logged as <user> on <screen>
    And I go back to Homepage
    And I hover on recent screen <screen>
    And In recent screens I click on button <action> in <screen>
    And I click on button <button>
    And I move the bookmark screen <screen> into the bookmark folder <folder_name>
    And I check that the bookmark screen <screen> is not displayed under Bookmarks

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

gpt: Scenario Outline: Dashboard welcome - Access Query screen using widget
    Given I am logged in as <user>
    And I check that <num_of_widgets> widgets are displayed which are <widget_titles>
    And I hover on the legend items of the <widget_name> widget and I check that the relative data is displayed on the pie chart
    When I click on the <widget_name2> widget
    Then I should be on <screen> with title beginning with <banner>
    And I go back to the welcome page
    And The welcome page matches the expected layout by comparing it with the reference image <refImage>
    Examples:
      | user                    | widget_titles                                                                                  | num_of_widgets | widget_name              | widget_name2              | refImage                                              | screen               | banner    |
      | TAV_standard.dashboard2 | Portfolios;Sec per type;Security Per Asset Class                                               |              3 | Security Per Asset Class | Sec per type              | config&ressources/Navigation/ref_screenshots/ref2.png | My Securities        | Security: |
      | TAV_standard.dashboard3 | Security Per Asset Class;Issuer Ratings - Fitch LT;Securities;Sec per type;Security Per Market |              5 | Security Per Market      | Issuer Ratings - Fitch LT | config&ressources/Navigation/ref_screenshots/ref4.png | My Business entities | Entity:   |
human: Add the remaining steps to this scenario:

Scenario: Query screen - Copy/Paste from a standard grid with breaks to Excel
    Given I am logged as <user> on <screen_name>
    And I expand all the breaks of the grid
    And I select manually all the grid
    And I perform the keyboard shortcut <shortcut1>
    And I open Excel using a new browser

gpt: Scenario: Query screen - Copy/Paste from a standard grid with breaks to Excel
    Given I am logged as <user> on <screen_name>
    And I expand all the breaks of the grid
    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         | shortcut1 | excel_user              | password    | shortcut2 | file_ref                                              |
      | TAV_standard.user | My Profiles To Copy | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92745_ref_file.xlsx |
human: Create Gherkin steps to verify webservice: $in, $nin and $eq

gpt: Scenario Outline: Webservice: $in, $nin and $eq
    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>
    And the response contains <items> items
    Examples:
        | user           | path                 | param                               | status_code | content_fields   | content_path | items    |
        | TAR_api.user   | tarsecurities/search | ?jq={"ids":{"$in":[36601,36604]}}   | 200         | COUNTRY;CURRENCY | data         | 2        |
        | TAR_api.user   | tarsecurities/search | ?jq={"ids":{"$eq":36601}}           | 200         | COUNTRY;CURRENCY | data         | 1        |
        | TAR_api.user   | tarsecurities/search | ?jq={"ids":{"$nin":[36604,36601]}}  | 200         | COUNTRY;CURRENCY | data         | total-2  |
human: Finish writing this test scenario:

Scenario Outline: Check default welcome dashboard display
    Given I am logged in as <user>
    And I check there are no screens displayed in the Recent screens section
    And I check that the bookmarks folders <bookmarks_folders> are displayed in the Bookmarks section
    And I verify that 4 KPI widgets are displayed which are <widget_titles>
    And I check that DataHub factory Menu button is displayed
    And I check that DataHub warehouse Menu button is displayed
    And I check that the multi tenant label is displayed

gpt: Scenario Outline: Check default welcome dashboard display
    Given I am logged in as <user>
    And I check there are no screens displayed in the Recent screens section
    And I check that the bookmarks folders <bookmarks_folders> are displayed in the Bookmarks section
    And I verify that 4 KPI widgets are displayed which are <widget_titles>
    And I check that DataHub factory Menu button is displayed
    And I check that DataHub warehouse Menu button is displayed
    And I check that the multi tenant label is displayed
    And I click on the bookmark folder <bookmark_folder>
    And I check that the screens <screens> are displayed
    When I open the screen <screen>
    And I should be on <screen> with title beginning with <banner>
    And I go back to the welcome page
    Then The bookmarks folders <bookmarks_folders> are displayed in the Bookmarks section
    And The 4 KPI widgets are displayed which are <widget_titles>
    Examples:
      | user                    | bookmarks_folders                  | bookmark_folder   | screens          | screen | banner  | screen_name | widget_titles                         |
      | TAV_standard.dashboard1 | Business Screens;Technical Screens | Technical Screens | Users;Parameters | Users  | Users : | Users       | Issuers;Exceptions;Securities;Indexes |
  @DHRD-113935 @skipped @waiting_for_DHRD-114336