Ghaythfd/gherkin-scenarios huggingface dataset:
human: Finish writing this test scenario:

Scenario Outline: Launch an XML import with manipulating IF ELSE statement
    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
    And I should get a response with status <status_code2>

gpt: Scenario Outline: Launch an XML import with manipulating IF ELSE statement
    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
    And 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 received object should include the field <field2> with value <value2> under <element>
    And I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>
    Then I should get a response with status <status_code2>
    And all received objects should include each of these sets <value3> as <fields>
    Examples:
      | userApi      | user              | taskExecution_path | scope_view_code     | criteria_fields                | fields                                           | value3                                                       | value2            | criteria_operators | criteria_values                          | task_code            | field  | value   | element   | status_code1 | status_code2 | field2  | value2            |
      | TAR_api.user | TAV_standard.user | task-executions    | BNB_SECURITIES_VIEW | name;quote_date;quote_provider | quote_provider;quote_date;quote_open;quote_close | Bloomberg;2024-01-01;202;557//Golden copy;2024-01-01;202;557 | 1 updated objects | EQUAL;EQUAL;IN     | BNB Act;01/01/2024;Bloomberg,Golden copy | TASK_Import_xml_IF   | status | SUCCESS | execution |          201 |          200 | comment | 1 updated objects |
      | TAR_api.user | TAV_standard.user | task-executions    | BNB_SECURITIES_VIEW | name;quote_date;quote_provider | quote_provider;quote_date;quote_open;quote_close | Bloomberg;2023-07-08;202;557//Golden copy;2023-07-08;202;557 | 1 updated objects | EQUAL;EQUAL;IN     | BNB Act;08/07/2023;Bloomberg,Golden copy | TASK_Import_xml_ELSE | status | SUCCESS | execution |          201 |          200 | comment | 1 updated objects |
  @DHRD-95757 @task-executions
human: Complete this Gherkin scenario:

Scenario Outline: Find static value based on criteria 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 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 | id                 | 100            | 200         | TAV_STAT1       | name            |
human: Write a behavior-driven test for add new entry  high  priority

gpt: Scenario Outline: Add 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 verify the default row displays values <default_values> in columns <columns_to_edit>
    And I verify the default golden copy row displays values <default_GC_value> in columns <columns_to_edit>
    When 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 golden copy is recomputed and displays values <new_GC_values> in columns <columns_to_edit>
    And The new row displays values <new_values> in columns <columns_to_edit>
    And The default row still displays values <default_values> in columns <columns_to_edit>
    Examples:
      | screen_name   | detail_screen                                                  | object_name                                       | tab    | histo_value | default_values                                                | default_GC_value                                                | new_GC_values                                     | new_values                                      | columns_to_edit                                |
      | My Securities | Bond detail: TAV_0.1 JP 28 351 Tr Bd 0.1 % Treasury Bonds 2018 | TAV_0.1 JP 28 351 Tr Bd 0.1 % Treasury Bonds 2018 | Rating | Full        | 01/24/2019;12/31/2999;Bloomberg Composite Rating;Bloomberg;A+ | 01/24/2019;12/31/2999;Bloomberg Composite Rating;Golden copy;A+ | 01/24/2019;12/31/2999;Moody's SEC;Golden copy;Aa1 | 01/24/2019;12/31/2999;Moody's SEC;Bloomberg;Aa1 | Rating date;Ratg end date;Type;Provider;Rating |
human: Create a BDD test scenario for i d s -  display  fund  share  details

gpt: Scenario Outline: IDS - Display Fund Share Details
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with criteria <criteria_field> and <criteria_operator> and <criteria_value>
		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            |criteria_field | criteria_operator | criteria_value | status_code | ref_json_file              |
			| TAR_api.user | TAR_SHARE_REFERENTIAL_VIEW |Share ISIN     | EQUAL             | XS1234567891   | 200         | share_referential_ref.json |
human: Generate a Cucumber scenario to test export  x m l using the property  namespace

gpt: Scenario Outline: Export XML using the property Namespace
        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_Export_xml_using_prop_nam | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/RefExportxmlusingpropnamzspace.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-95025-Exportxmlusingpropnamzspace.xml |
    @DHRD-95026 @waiting_For_DHRD-113310
human: Finish writing this test scenario:

Scenario: Query grid navigation - Export CSV with groups closed (Standard - Grid)
    Given I am logged as <user> on <screen_name>
    When I download export file using button <csv_button> toolbar from query screen

gpt: Scenario: Query grid navigation - Export CSV with groups closed (Standard - Grid)
    Given I am logged as <user> on <screen_name>
    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                          | csv_button | file_ref                                                                                             |
      | TAV_standard.user | csv       | My Securities without dynamic fields | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-112104_standard_query_grid_with_groups_closed.csv |
  @DHRD-112413 @skipped @waiting_for_DHRD-114393 @pending @waiting_For_DHRD-114616
human: Generate a feature file scenario for delete owned screens with authorized user

gpt: Scenario Outline: Delete owned screens with authorized user
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        When I delete the owned screens <screen_list> from the parent folder <folder_list>
        And I check that the deleted screens <screen_list> have disappeared from menu <folder_list>
        And I logged out and logged in with <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        Then The deleted screens <screen_list> have disappeared from menu <folder_list>
        Examples:
            | user               | user_menu         | folder_list                                        | screen_list                                  |
            | authorized.user.EN | DataHub warehouse | DataHub warehouse;Price & Levels;Index & Benchmark | Detail Screen;Query Screen;Dashboard Screen |
            | authorized.user.FR | DataHub factory | DataHub factory;Production;Scopes et Vues | Ecran Detail;Ecran Query;Ecran Dashboard |
human: Create Gherkin steps to verify dashboard welcome -  update  k p i count in  realtime

gpt: Scenario Outline: Dashboard welcome - Update KPI count in Realtime
    Given I am logged in as <user>
    And I verify that 4 KPI widgets are displayed which are <widget_titles>
    And I check the KPI count on the widget <widget_name> is <KPI_count>
    And I open query screen <screen_name1> which title begins with <banner1>
    And I search and select the object <object>
    When I perform the action <action>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    And I go back to the welcome page
    Then The KPI count on the widget <widget_name> is updated with <updated_KPI_count>
    Examples:
      | user                    | widget_titles                         | widget_name | KPI_count | screen_name1  | banner1   | object       | action                | updated_KPI_count |
      | TAV_standard.dashboard1 | Issuers;Exceptions;Securities;Indexes | Exceptions  |         0 | My securities | Security: | TAV_to_alert | Create a manual alert |                 1 |
human: Complete this Gherkin scenario:

Scenario Outline: Query grid navigation - Configure a transposed grid
        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

gpt: Scenario Outline: Query grid navigation - Configure a transposed grid
        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 Transpose
        Then I check that the transposed grid field <field1> value in the first column is <field1_value>
        And I check that the transposed grid field <field2> value in the first column is <field2_value>
        And I check that the value <field1_value> of the field <field1> is left aligned on transposed grid
        And I check that the value <field2_value> of the field <field2> is right aligned on transposed grid
        Examples:
            | screen_name   | field1        | field2 | criteria | value           | field1_value | field2_value |
            | My Securities | Creation date | #Nx    | Sec type | CT - Fx Forward | 12/01/2022   | 497370       |
    @DHRD-96356 @pending @waiting_For_DHRD-112033
human: Create Gherkin steps to verify query screen -  copy/paste from a pivot grid to  excel

gpt: Scenario: Query screen - Copy/paste from a pivot grid to Excel
    Given I am logged as <user> on <screen_name>
    And I check the Pivot grid is displayed
    And I select manually all the Pivot 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 | Cash Positions | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92750_ref_file.xls |
human: Generate a feature file scenario for data quality check  extract for  data governance integration

gpt: Scenario Outline: Data quality check 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_EXPORT_DQC_MODEL | status | SUCCESS | execution | 201          | 200          | config&ressources/XML/ref_file_DHRD-102937_ExportDataQualityChecksModel.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-102937-Export_DQC_Model.xml |
@DHRD-102938 @task-executions
human: Complete this Gherkin scenario:

Scenario Outline: Update an IF block with fields
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I search and open the feed <feed> with the category Import
    And I check that the default displayed step is <step1>
    And I go to the step <step3>
    And I check the <cond_bloc> bloc is displayed with the condition <old_condition> under the table <table> with the fields <old_fields>

gpt: Scenario Outline: Update an IF block with fields
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I search and open the feed <feed> with the category Import
    And I check that the default displayed step is <step1>
    And I go to the step <step3>
    And I check the <cond_bloc> bloc is displayed with the condition <old_condition> under the table <table> with the fields <old_fields>
    When I update the <cond_bloc> bloc with the <new_operator> operator and the value <new_value>
    And I check the condition <new_condition> is displayed
    And I add the fields <new_fields> under the <cond_bloc> conditional bloc
    And I assign the external fields <new_external_fields> to the internal fields <new_fields>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then I check that the condition <new_condition> is displayed in the <cond_bloc> bloc under the table <table> with the internal fields <old_fields> and <new_fields> assigned to the following external fields <old_external_field> and <new_external_fields>
    Examples:
      | user              | screen_name     | banner               | feed              | step1      | step3   | cond_bloc | table          | old_condition    | old_fields                                       | new_operator | new_value | new_condition   | new_fields     | new_external_fields | old_external_field       |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON2 | Definition | Mapping | if        | SECURITY_QUOTE | Currency <> Null | Quote date;Quote currency;Close quote;Open quote | =            | Euro      | Currency = Euro | Official Quote | Close               | Date;Currency;Close;Open |
human: Generate a Cucumber scenario to test filter/ search on a view with operators " e q u a l", " l e s s_ e q u a l", " g r e a t e r_ e q u a l", " l e s s_ e q u a l_ r e l a t i v e" and " l i k e"

gpt: Scenario Outline: Filter/Search on a view with operators "EQUAL", "LESS_EQUAL", "GREATER_EQUAL", "LESS_EQUAL_RELATIVE" and "LIKE"
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with criteria <criteria_field> and <criteria_operator> and <criteria_value>
		Then I should get a response with status <status_code>
		And all received objects should include these <values> as <field>
		Examples:
			| user         | scope_view_code          | criteria_field       | criteria_operator   | criteria_value | status_code | values       | field                |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | quote_date           | EQUAL               | 03/04/2024     | 200         | 2024-04-03   | quote_date           |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | quote_date           | LESS_EQUAL          | 03/04/2024     | 200         | 2024-04-03   | quote_date           |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | quote_date           | GREATER_EQUAL       | 03/04/2024     | 200         | 2024-04-03   | quote_date           |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | quote_date           | LESS_EQUAL_RELATIVE | 03/04/2024     | 200         | 2024-04-03   | quote_date           |
			| TAR_api.user | TAR_SCOPE_VIEW_OPERATORS | security_code_commun | LIKE                | %000085250%    | 200         | FR0000852501 | security_code_commun |
human: Complete this Gherkin scenario:

Scenario: Detail grid navigation - Export CSV (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 CSV (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 <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      | histo_value | csv_button | file_ref                                                                        |
      | TAV_standard.user | csv       | My Securities | Equity detail: tav_to_copy2 | tav_to_copy2 | Prices 5 | Full        | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-113616_pivot_detail_grid.csv |
human: Complete this Gherkin scenario:

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

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: Write test steps in Gherkin format for a  modify the end date of the latest record

gpt: Scenario Outline: A Modify the end date of the latest record
    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 check that the row number <nth1> is displayed with values <values1> on columns <columns>
    And I check that the row number <nth2> is displayed with values <values2> on columns <columns>
    And I check that the row number <nth3> is displayed with values <values3> on columns <columns>
    When I select the row number <nth1> on the grid under the block <block_name>
    And I set values <new_value> for the columns <column>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then On the row number <nth1> the column <column> is not recomputed and displays the modified value <new_value>
    And The row number <nth2> is displayed with values <values2> on columns <columns>
    And The row number <nth3> is displayed with values <values3> on columns <columns>
    Examples:
      | user              | screen_name   | detail_screen                                   | object_name                      | tab   | block_name | values1                                          | values2                                          | values3                                          | columns                                                  | new_value  | column        | nth1 | nth2 | nth3 |
      | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT4_without_discontinuty | TAV_OBJECT4_without_discontinuty | Codes | Codes      | 24 EXCHANGE;04/01/2021;12/31/2999;CME;TEST4_ROW3 | 24 EXCHANGE;03/01/2021;04/01/2021;CME;TEST4_ROW1 | 24 EXCHANGE;03/01/2020;03/01/2021;CME;TEST4_ROW2 | Market code;Code start date;Code end date;Code type;Code | 12/31/2021 | Code end date |    1 |    2 |    3 |