Ghaythfd/gherkin-scenarios huggingface dataset:
human: Generate a feature file scenario for detail grid navigation -  export  c s v ( transposed -  grid)

gpt: Scenario: Detail grid navigation - Export CSV (Transposed - 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>
    When I download export file using button <csv_button> toolbar from query screen
    Then export csv file is successfully downloaded
    And The content of the downloaded <file_type> file should be equal to <file_ref>
    Examples:
      | user              | file_type | screen_name   | detail_screen                | object_name   | tab       | csv_button | file_ref                                                                             |
      | TAV_standard.user | csv       | My Securities | Equity detail: TAV_TOEXPORT1 | TAV_TOEXPORT1 | Ref. data | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-113614_transposed_detail_grid.csv |
human: Create Gherkin steps to verify filter/ search on a view without criteria

gpt: Scenario Outline: Filter/Search on a view without criteria
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with fields <fields> and <fields_labels>
		Then I should get a response with status <status_code>
		And the fields <fields> are correctly displayed in reponse
		Examples:
			| user         | scope_view_code | fields       | fields_labels | status_code |
			| TAR_api.user | TAR_SCOPE_VIEW  | NAME;COUNTRY | name;country  | 200         |
human: Create Gherkin steps to verify i d s -  securities listing

gpt: Scenario Outline: IDS - Securities 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 fields <scope_view_fields> are correctly displayed in reponse
		Examples:
			| user         | scope_view_code               | scope_view_fields                                                         | status_code |
            | TAR_api.user | TAR_SECURITY_REFERENTIAL_VIEW | Security ID;Share ISIN;Security Name;Country;Currency;security_main_type  | 200         |
human: Finish writing this test scenario:

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

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: Write test steps in Gherkin format for add a new field in data model

gpt: Scenario Outline: Add a new field in data model
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <banner> of <detail_screen>
    And I select the tab <tab_name>
    And I add a row in the block <block_name>
    And I select the newly added row
    And I set values <values> for the columns <columns>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    And The new row appears in the grid with values <values> in columns <columns>
    And I perform the action <inspector_action>
    When I select the tab <inspector_tab>
    Then The new row appears in the grid with values <values> in columns <columns>
    Examples:
      | screen_name     | detail_screen    | banner                                | tab_name | block_name | columns         | values                   | inspector_tab    | break_name | inspector_action                         |
      | Data Dictionary | Security_to_edit | Edit Data Dictionary MxSecurityToEdit | Fields   | Fields     | Table;Name;Type | SECURITYT;NEW_FIELD;Text | SMARTCLASS_FIELD | SECURITYT  | Display / Show Object Inspector - Ctrl+I |
human: Create a BDD test scenario for verify  existence of a  web  service

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: Complete this Gherkin scenario:

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

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 |
human: Create an automated test scenario 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: Create a BDD test scenario for check golden copy when 4 eyes is required

gpt: Scenario Outline: Check golden copy when 4 eyes is required
    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 add a row using the buttons toolbar
    And I select the newly added row
    And I set values <new_values> for the columns <columns_to_edit>
    And I save
    Then The row containing values <new_values_to_check> in columns <columns_to_edit> should have the cell in column <column1> highlighted in <fourEyes_color>
    And The golden copy is recomputed and displays values <new_GC_values> in columns <recomputed_columns>
    And The golden copy is not recomputed and displays values <GC_values> in columns <columns>
    Examples:
      | screen_name   | detail_screen                 | object_name    | tab    | histo_value | new_values                          | new_values_to_check                 | columns_to_edit         | date       | column_name2 | value  | column1 | column2 | fourEyes_color | new_GC_values                  | recomputed_columns  | GC_values               | columns           |
      | My Securities | Equity detail: TAV_Acer_4eyes | TAV_Acer_4eyes | Prices |     5 years | Bloomberg;05/25/2022;10.1000;8.5000 | Bloomberg;05/25/2022;10,1000;8,5000 | Provider;Date;Close;Bid | 05/25/2022 | date         | 8,5000 | Bid     | Close   | yellow         | Golden copy;05/25/2022;10,1000 | Provider;Date;Close | Golden copy;05/25/2022; | Provider;Date;Bid |
  @DHRD-70585 @pending @waiting_For_DHRD-112654
human: Write a behavior-driven test for query grid navigation -  expand groups

gpt: Scenario Outline: Query grid navigation - Expand groups
    Given I am logged as <user> on <screen_name>
    And I click on the groups menu
    And I click on collapse all button on the groups menu
    And I click on the groups menu
    And I expand the level number <level_number> from group menu
    And I check that the button collapse all becomes enabled on the groups menu
    And I check that the number of expanded groups in the grid is <level_number>
    When I expand the group <group_name> from the grid
    And The grid is correctly displayed by the grouped values <group_values>
    And I click on the groups menu
    And I expand the level number <last_level> from group menu
    Then I check that the button expand all becomes disabled on the groups menu
    And All groups are expanded
    Examples:
      | user              | screen_name       | level_number | group_name    | group_values         | last_level |
      | TAV_standard.user | Feed Dictionary 1 | 1            | Demonstration | Demonstration;Manual | 4          |
human: Complete this Gherkin scenario:

Scenario Outline: Take into account the inactivation of a field
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> without fields and criteria

gpt: Scenario Outline: Take into account the inactivation of a field
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> without fields and criteria
		Then I should get a response with status <status_code>
		And the fields <fields> are correctly displayed in reponse
		Examples:
			| user         | scope_view_code                             | status_code | fields             |
			| TAR_api.user | TAR_SCOPE_VIEW_FIELD_CRITERIA_DESACTIVATION | 200         | name;security_code |
human: Complete this Gherkin scenario:

Scenario Outline: Run a complete archive and check results
    Given I am logged in as <user>
    And I open query screen <screen_name3> which title begins with <banner3>
    And I check the object <object> is displayed in the grid
    And I open query screen <screen_name1> which title begins with <banner1>
    And I search and open the task <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

gpt: Scenario Outline: Run a complete archive and check results
    Given I am logged in as <user>
    And I open query screen <screen_name3> which title begins with <banner3>
    And I check the object <object> is displayed in the grid
    And I open query screen <screen_name1> which title begins with <banner1>
    And I search and open the task <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 search the task <task>
    And The column <column> of the task is equal to <value>
    And I open query screen <screen_name3> which title begins with <banner3>
    Then The object <object> is not displayed in the grid
    And I set an advanced list filter <field_name>  <operator>  <field_value>
    And I click on Search button
    And The object <object> is displayed in the grid
    Examples:
      | user              | screen_name1    | banner1          | task                | button   | screen_name2 | banner2    | column | value           | screen_name3  | banner3   | object         | field_name | operator | field_value                |
      | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | COMPLETE_ARCHIVING1 | Run task | Job Reports  | Job report | Status | Successful task | My Securities | Security: | TAV_ToArchive1 | Search In  | =        | Main and Archived database |
  @DHRD-102425 @pending @waiting_for_DHRD-114619
human: Write test steps in Gherkin format for dashboard welcome -  access dashboard screen using widget

gpt: Scenario Outline: Dashboard welcome - Access dashboard 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 item <legend_item> of the <widget_name> and i extract the value displayed on the pie chart
    When I click on the <widget_name> widget
    Then I should be on <screen> with title beginning with <banner>
    And The 4 pie charts widgets are dislayed which are <sub_widget_titles>
    And A query widget is displayed with the name <query_widget>
    And I open advanced search tool
    And I set an advanced list filter <field1_name>  =  <field1_value>
    And I click on Search button
    And The displayed line numbers equals to the extracted value from the pie Chart
    And The list of columns are <columns_list>
    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              | refImage                                              | screen                                | banner                                | columns_list                                                                                   | sub_widget_titles                                                                        | query_widget | field1_name        | field1_value | legend_item  |
      | TAV_standard.dashboard2 | Portfolios;Sec per type;Security Per Asset Class                                               |              3 | Security Per Asset Class | config&ressources/Navigation/ref_screenshots/ref2.png | Security Monitoring (Web Application) | Security Monitoring (Web Application) | Sec main type;Sec type;Name;Country;Currency;Mat. date;Market;SECURITY_ID;Count;Maturity class | Security Per Asset Class;Security Per Currency;Security Per Maturity;Security Per Market | Securities   | security_main_type | Fixed Income | Fixed Income |
      | TAV_standard.dashboard3 | Security Per Asset Class;Issuer Ratings - Fitch LT;Securities;Sec per type;Security Per Market |              5 | Security Per Asset Class | config&ressources/Navigation/ref_screenshots/ref4.png | Security Monitoring (Web Application) | Security Monitoring (Web Application) | Sec main type;Sec type;Name;Country;Currency;Mat. date;Market;SECURITY_ID;Count;Maturity class | Security Per Asset Class;Security Per Currency;Security Per Maturity;Security Per Market | Securities   | security_main_type | Fixed Income | Fixed Income |
human: Finish writing this test scenario:

Scenario Outline: Manipulate EXPORT_DELTA_FROM with Submappings
        Given I am logged as <user> on <screen_name>
        And I select detail screen <object_name>
        And I retreive the current date time and I modify the field <field_name> with <field_value>
        And I save
        And I open query screen <Scheduled_Tasks_screen> which title begins with <banner_scheduled_tasks>
        And I search and open the task <task>
        When I perform the action <action>
        And I set in the popup with title <title> the date retrieved previously in the field <field>

gpt: Scenario Outline: Manipulate EXPORT_DELTA_FROM with Submappings
        Given I am logged as <user> on <screen_name>
        And I select detail screen <object_name>
        And I retreive the current date time and I modify the field <field_name> with <field_value>
        And I save
        And I open query screen <Scheduled_Tasks_screen> which title begins with <banner_scheduled_tasks>
        And I search and open the task <task>
        When I perform the action <action>
        And I set in the popup with title <title> the date retrieved previously in the field <field>
        And I click on button Ok
        And I click on button Close
        And I open query screen <job_report_screen> which title begins with <banner_job_report>
        And I search the task <task>
        And I verify job <Export_job_name> of the task <task> with status <successfull_status>
        And I open detail screen <job_report> of column name <column_name> of object <job_name>
        Then I verify that the content of the field <field1> is displayed with the right content <content>
        And The content of the exported xml file <file_exported> should be equal to <file_ref>
        Examples:
            | user              | screen_name   | Scheduled_Tasks_screen | banner_scheduled_tasks | object_name     | field_name    | field_value | task                               | action             | title             | date | job_report_screen | successfull_status | Export_job_name | field                    | field1  | content                                   | file_ref                                          | file_exported                                                       | job_report_screen | job_report | banner_job_report | column_name | job_name     |
            | TAV_Administrator | My Securities | Scheduled Tasks        | Scheduled tasks:       | TAV_accor_delta | Product desc. | TEST_DELTA  | Delta Export Task with Submappings | Run task with args | Specify arguments | date | Job Reports       | Successful job     | Delta Export    | %EXPORT_DELTA_TIMESTAMP% | Comment | CommentExportdeltafromwithsubmapping.json | config&ressources/XML/RefExportdelta_subtest2.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-96584-delta_subtest2.xml | Job Reports       | Job report | Job report        | Job         | Delta Export |
human: Finish writing this test scenario:

Scenario Outline: Query grid navigation - Add to sorted column Z-->A
                Given I am logged as <user> using path <path> and screen <screen_name>
                When I add a break using column <column_name>
                And I add to sorted columns descending this column <column_name> using the column header menu

gpt: Scenario Outline: Query grid navigation - Add to sorted column Z-->A
                Given I am logged as <user> using path <path> and screen <screen_name>
                When I add a break using column <column_name>
                And I add to sorted columns descending this column <column_name> using the column header menu
                Then The column <column_name> takes the position <position> in sorted columns
                And The column <column_name> has a descending sorting arrow
                And The descending sorting is applied to the break <column_name>
                Examples:
                        | user              | screen_name   | path                                                        | column_name | position |
                        | TAV_standard.user | My Securities | Screen / Static Data / Security Master File / My Securities | Market      | 1        |
                        | TAV_standard.user | My Securities | Screen / Static Data / Security Master File / My Securities | Preferred?  | 1        |
        @DHRD-95811 @pending @waiting_for_DHRD-114365
human: Write a Gherkin scenario for testing run  c s v  import

gpt: Scenario Outline: Run CSV Import
    Given I am logged in as <user>
    And I open query screen <screen_name1> which title begins with <banner1>
    And I search and open the task <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
    And I verify job <Export_job_name> of the task <task> with status <value>
    And I open query screen <screen_name> which title begins with <banner>
    And I search and select the object <object>
    Then I check that the fields <fields> should be equal <values>
    Examples:
      | user              | screen_name1    | banner1          | task                | button   | screen_name2 | banner2    | column | value          | Export_job_name          | screen_name   | banner    | object | fields        | values           |
      | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | tav_task_import_csv | Run task | Job Reports  | Job report | Status | Successful job | fp_import_csv_simulation | My Securities | Security: | Accor  | Product desc. | Test_description |