Ghaythfd/gherkin-scenarios huggingface dataset:
human: Write test steps in Gherkin format for query grid navigation -  add to sorted column  z--> a

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

Scenario Outline: Create Directories with an unauthorized user
        Given I am logged in as <user>
        And I switch to mode config

gpt: Scenario Outline: Create Directories with an unauthorized user
        Given I am logged in as <user>
        And I switch to mode config
        When I open the user menu <user_menu>
        Then The create button is not displayed under the <user_menu> menu folders
        Examples:
            | user                 | user_menu         |
            | unauthorized.user.EN | DataHub warehouse |
            | unauthorized.user.FR | DataHub factory   |
human: Write test steps in Gherkin format for retrieve the full dataset of a view

gpt: Scenario Outline: Retrieve the full dataset of a view
		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_SCOPE_VIEW   | STATE;name;DATE;security_main_type | 200         |
human: Complete this Gherkin scenario:

Scenario: Detail grid navigation - Export XLS (Pivot - 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>

gpt: Scenario: Detail grid navigation - Export XLS (Pivot - 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 edit the field Histo with the value <histo_value>
    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      | histo_value | excel_button | file_ref                                                                         |
      | TAV_standard.user | xls       | My Securities | Equity detail: tav_to_copy2 | tav_to_copy2 | Prices 5 | Full        | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-112540_pivot_detail_grid.xlsx |
human: Generate a feature file scenario for discard reodering field from config panel

gpt: Scenario Outline: Discard reodering 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 cancel the screen configuration
    Then the position of the field <field> is resetted to fourth position
    And the fields list <list_fields> is displayed with default order
    Examples:
      | screen_name   | detail_screen                    | object_name       | tab      | block_name | field                           | list_fields                                                                                                           |
      | My Securities | Equity detail: TAV_Reorder_CMSCP | TAV_Reorder_CMSCP | Overview | Volatility | Last Implied Volatility 3 Month | Computation Date;Last Average Performance 3 Months;Last Historical Volatility 3 Month;Last Implied Volatility 3 Month |
human: Complete this Gherkin scenario:

Scenario Outline: Add a new table 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 add a row in the block <block_name>
    And I select the newly added row
    And I set values <values> for the columns <columns>

gpt: Scenario Outline: Add a new table 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 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                                | block_name | columns                                                                  | values                                                 | inspector_tab    | inspector_action                         |
      | Data Dictionary | Security_to_edit | Edit Data Dictionary MxSecurityToEdit | Tables     | Table name;Prefix;Rec type;Min records;Max records;Table privacy;Comment | SECURITYT_NEW_TABLE;NT;1;1;999;Data Admin;TEST Comment | SMARTCLASS_TABLE | Display / Show Object Inspector - Ctrl+I |
@DHRD-100696 @flaky
human: Write test steps in Gherkin format for filter/ search on a view with fields and criteria

gpt: Scenario Outline: Filter/Search on a view with fields and criteria
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with both fields <fields> having <fields_labels> and criteria having <criteria_fields> and <criteria_operators> and <criteria_values>
		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 | criteria_fields              | criteria_operators | criteria_values | status_code |
			| TAR_api.user | TAR_SCOPE_VIEW  | NAME;COUNTRY | name;country  | security_main_type;PREFFERED | EQUAL;EQUAL        | Equity;Yes      | 200         |
human: Add the remaining steps to this scenario:

Scenario Outline: Export XML using the property XSLT_STYLESHEET
        Given I am an authorized user <userApi>
        And I launch task <task_code> using an ID from API path <taskExecution_path>
        And I should get a response with status <status_code1>

gpt: Scenario Outline: Export XML using the property XSLT_STYLESHEET
        Given I am an authorized user <userApi>
        And I launch task <task_code> using an ID from API path <taskExecution_path>
        And I should get a response with status <status_code1>
        When I send a GET request to <taskExecution_path> with the retrieved task ID
        Then I should get a response with status <status_code2>
        And The received object should include the field <field> with value <value> under <element>
        And The content of the exported xml file <file_exported> should be equal to <file_ref>
        Examples:
            | userApi      | taskExecution_path | task_code                      | field  | value   | element   | status_code1 | status_code2 | file_ref                                                       | file_exported                                                                          |
            | TAR_api.user | task-executions    | Task_ExportXmlUsingPropXSLT_ST | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportXmlUsingPropXSLT_STYLESHEET.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-95428-ExportXmlUsingPropXSLT_STYLESHEET.xml |
    @DHRD-95374 @task-executions @waiting_For_DHRD-113310
human: Write test steps in Gherkin format for overload a desactivated field

gpt: Scenario Outline: Overload a desactivated field
		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
		And all received objects should include these <values> for these <field_to_check> under <element>
		Examples:
			| user         | scope_view_code                             | status_code | fields       | fields_labels | field_to_check | values | element |
			| TAR_api.user | TAR_SCOPE_VIEW_FIELD_CRITERIA_DESACTIVATION | 200         | NAME;COUNTRY | Name;Country  | COUNTRY        | France | value   |
human: Add the remaining steps to this scenario:

Scenario Outline: Showing data using horizontal scroll bar
    Given I am logged in as Standard User
    And I access <screen_name> screen which title begins with <banner_fixed_text>

gpt: Scenario Outline: Showing data using horizontal 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 horizontal bar
    Then the query grid columns are moved right until we reach the last column
    Examples:
      | screen_name   | banner_fixed_text |
      | My Securities | Security:         |
human: Finish writing this test scenario:

Scenario Outline: Query grid navigation - Add to sorted column A-->Z
                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 ascending this column <column_name> using the column header menu

gpt: Scenario Outline: Query grid navigation - Add to sorted column A-->Z
                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 ascending 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 an ascending sorting arrow
                And The ascending 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        |
human: Create a BDD test scenario for basic  security  search

gpt: Scenario Outline: Basic Security Search
    Given I am an authorized user <user>
    When I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>
    Then I should get a response with status <status_code>
    And the fields <response_fields> are correctly displayed in reponse under <response_path>
    And the fields <content_fields> are correctly displayed in reponse under <content_path>
    Examples:
        | user         | class_name | field            | label         | payload           | folder_name  | status_code | response_fields | response_path       | content_fields         | content_path |
        | TAR_api.user | MxSecurity | NAME;SHORT_NAME  | null;NameDemo | ManageSearch.json | payloads     | 200         | NAME;NameDemo   | data.content:fields | id;version;update_date | data.content |
human: Generate a Cucumber scenario to test query grid navigation -  export  x l s with groups closed ( standard -  grid)

gpt: Scenario: Query grid navigation - Export XLS with groups closed (Standard - Grid)
    Given I am logged as <user> on <screen_name>
    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                          | excel_button | file_ref                                                                                              |
      | TAV_standard.user | xls       | My Securities without dynamic fields | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-112103_standard_query_grid_with_groups_closed.xlsx |
  @DHRD-112412 @skipped @waiting_for_DHRD-114393 @pending @waiting_For_DHRD-114616
human: Generate a Cucumber scenario to test run an aggregation computation using data filter with operator  like

gpt: Scenario Outline: Run an aggregation computation using data filter with operator Like
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    When I launch the action <actions> with config location <arguments>
    And I check that a popup is displayed with the message "Task launched."
    And I close the popup
    And I open query screen <job_report_screen> which title begins with <banner_job_report>
    And I search the task <object_name>
    And I check that the column <column> of the task is equal to <value>
    And I retrieve the generated aggregation identifier id and the number of the generated nodes for job name <job_name>
    And I open query screen <Aggregation_Processes> which title begins with <banner_aggregation>
    And I open the detail screen of the generated aggregation identifier
    Then The column <column_name> with values <column_values> are displayed
    And The column <column_name> with values <not_displayed_values> are not displayed
    Examples:
      | screen_name     | detail_screen                                                       | object_name                                        |actions           |arguments                                           |value          |column|job_report_screen|banner_job_report|Aggregation_Processes|banner_aggregation   |column_name|column_values|not_displayed_values|job_name|
      | Scheduled Tasks | Scheduled task: Aggregation Computation With Json Config Location1 | Aggregation Computation With Json Config Location1 | Run task with args | /mnt/nfs/automationstorage/AT/users/AGGREGATION/filterLike.json | Successful task | Status | Job Reports | Job report | Aggregation Processes_2 | Aggregation Processes_2 | node_name | all,AIR France - KLM,Accor,Capgemini Act | euro | Aggregation Computation |
human: Write a behavior-driven test for add fields to "else if" block

gpt: Scenario Outline: Add fields to "else if" block
    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_bloc1> bloc is displayed with the condition <condition1> under the table <table> with the fields <fields1>
    When I add an <cond_bloc2> bloc following the <cond_bloc1> under the <table> table
    And I add the <field> fields to the <cond_bloc2> conditional bloc by drag and drop
    And I check the condition <condition2> is displayed in the <cond_bloc2> bloc
    And I add the fields <fields2> under the <cond_bloc2> conditional bloc
    And I assign the external fields <field> to the internal fields <fields2>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then The condition <condition2> is displayed in the <cond_bloc2> bloc under the table <table> with the internal fields <fields2> assigned to the following external fields <field>
    Examples:
      | user              | screen_name     | banner               | feed              | step1      | step3   | cond_bloc1 | cond_bloc2 | table    | fields1             | fields2             | field | condition1    | condition2    |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON3 | Definition | Mapping | if         | else if    | SECURITY | Product description | Product description | text2 | text1 <> Null | text2 <> Null |
human: Complete this Gherkin scenario:

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

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: Create an automated test scenario for invalid  j s o n in response

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

Scenario Outline: Feedprocs import Extract for Data governance integration
        Given I am an authorized user <userApi>
        And I launch task <task_code> using an ID from API path <taskExecution_path>
        And I should get a response with status <status_code1>

gpt: Scenario Outline: Feedprocs import Extract for Data governance integration
        Given I am an authorized user <userApi>
        And I launch task <task_code> using an ID from API path <taskExecution_path>
        And I should get a response with status <status_code1>
        When I send a GET request to <taskExecution_path> with the retrieved task ID
        Then I should get a response with status <status_code2>
        And The received object should include the field <field> with value <value> under <element>
        And The content of the exported xml file <file_exported> should be equal to <file_ref>
        Examples:
            | userApi      | taskExecution_path | task_code                 | field  | value   | element   | status_code1 | status_code2 | file_ref                                                                 | file_exported                                                                  |
            | TAR_api.user | task-executions    | TASK_DG_IMPORT_FP_EXTRACT | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/ref_file_DHRD-102938_DG_EXPORT_FP_import_EXTRA.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-102938-Export_DG_import_extract.xml |
@DHRD-102939 @task-executions
human: Generate a feature file scenario for run an  excel import

gpt: Scenario Outline: Run an Excel import
    Given I am logged as TAV_standard.user on <screen_name1>
    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
    Then I verify job <import_job_name> of the task <task_name> with status <successfull_status>
    And I open query screen <screen_name2> which title begins with <banner2>
    And I search and select the object <object>
    Then I check that the fields <fields> should be equal <values>
    Examples:
      | user              | screen_name1    | detail_screen                                | task_name                    | import_job_name | successfull_status | screen_name2  | banner2   | object         | fields        | values            |
      | TAV_standard.user | Scheduled Tasks | Scheduled task: task_import_excel_orange_act | task_import_excel_orange_act | import_excel    | Successful job     | My Securities | Security: | TAV_OrangeAct1 | Product desc. | TEST IMPORT EXCEL |
  @DHRD-102450 @scheduler2 @pending @waiting_for_DHRD-114600