Ghaythfd/gherkin-scenarios huggingface dataset:
human: Complete this Gherkin scenario:

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>

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

Scenario Outline: Delete transfered screens with unauthorized user
        Given I am logged in as <user>
        And I switch to mode config

gpt: Scenario Outline: Delete transfered screens with unauthorized user
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <menu_name>
        When I hover on the transfered screen <screen_name>
        Then The delete icon is not available on the owned screen <screen_name>
        Examples:
            | user                 | menu_name         | screen_name           |
            | unauthorized.user.EN | DataHub warehouse | Screen_Unauthorized_1 |
            | unauthorized.user.FR | DataHub factory | Ecran_Non_Autorise_1 |
human: Generate a Cucumber scenario to test retrieve the list of views

gpt: Scenario Outline: Retrieve the list of views
		Given I am an authorized user <user>
        When I retrieve data from all the scope views
        Then I should get a response with status <status_code>
        And the criteria <scope_view_criterias> are correctly displayed in <scope_view_code>
		Examples:
			| user         | scope_view_criterias                  | scope_view_code | status_code |
            | TAR_api.user | SECURITY_MAIN_TYPE;PREFFERED;CURRENCY | TAR_SCOPE_VIEW  | 200         |
human: Create a BDD test scenario for t e s t c a s e_ a c c  web services  s o a p (v6)

gpt: Scenario Outline: TESTCASE_ACC Web services SOAP (v6)
        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 response should have <data> in the data element
        Examples:
            | user           | param_name | param_content | soap_service  | operation    | type       | data        |
            | TAR_api.user   | Name       | DATA          | Security      |  TAS_testws  | successful | Bonjour     |
            | TAR_api.user   | Name       | RANDOM        | Security      |  TAS_testws  | successful | Au revoir   |
human: Complete this Gherkin scenario:

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>

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: Write test steps in Gherkin format for create  directories

gpt: Scenario Outline: Create Directories
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        When I create a New folder under <main_folder>
        And I check that the New folder is successfully created under <main_folder> folder from the user menu <user_menu>
        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 New folder is correctly displayed under <main_folder> folder from the user menu <user_menu>
        Examples:
            | user               | user_menu         | main_folder       | option     |
            | authorized.user.EN | DataHub warehouse | Index & Benchmark | New folder |
            | authorized.user.FR | DataHub factory   | DataHub Factory   | New folder |
human: Create a BDD test scenario for detail grid navigation -  export  c s v ( hierarchical -  grid)

gpt: Scenario: Detail grid navigation - Export CSV (Hierarchical - 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 search for <object_name> and select the first line
    And I open the detail screen of the selected line
    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 Business entities | Issuer: Air France-KLM | Air France-KLM | ESG | export CSV | config&ressources/DataManagement/csv_ref_file_DHRD-113613_hierarchical_detail_grid.csv |
human: Complete this Gherkin scenario:

Scenario: Detail screen - Copy/paste from a pivot grid to Excel
    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 Full
    And I select manually all the Pivot grid
    And I perform the keyboard shortcut <shortcut1>

gpt: Scenario: Detail screen - Copy/paste from a pivot grid to Excel
    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 Full
    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   | detail_screen               | object_name  | tab      | shortcut1 | excel_user              | password    | shortcut2 | file_ref                                              |
      | TAV_standard.user | My Securities | Equity detail: tav_to_copy2 | tav_to_copy2 | Prices 5 | Ctrl + C  | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92746_ref_file.xlsx |
  @DHRD-92753 @skipped @waiting_for_ @DHRD-112343
human: Complete this Gherkin scenario:

Scenario Outline: Delete a bookmark folder With content
    Given I am logged in as <user>
    And I hover on bookmark <folder_name>

gpt: Scenario Outline: Delete a bookmark folder With content
    Given I am logged in as <user>
    And I hover on bookmark <folder_name>
    When In bookmark folder <folder_name> I click on button <action>
    Then The bookmark <folder_name> is still displayed
    And A toast popup is displayed with <toastMessage>
    Examples:
			| user              | folder_name          | toastMessage                                            | action  |
			| TAV_standard.user | folderWithSubfolder  | IMPOSSIBLE OPERATION: Please remove its content first.  | Delete  |
            | TAV_standard.user | folderWithScreen     | IMPOSSIBLE OPERATION: Please remove its content first.  | Delete  |
  @DHRD-96717 @pending @waiting_for_DHRD-115133
human: Create a BDD test scenario for reject 4eyes request and check golden copy

gpt: Scenario Outline: Reject 4eyes request and check golden copy
    Given I am logged as TAV_standard.user on <screen_name1>
    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 <values> for the columns <columns>
    And I save
    And I am logged out
    And I am logged as <user2> on <screen_name2>
    And I open advanced search tool
    And I set an advanced text filter <field_name>  =  <field_value>
    And I click on Search button
    And I close advanced search tool
    And I select the rows related to object <field_value>
    And I click on button Reject Selected
    And I click on the button Ok on the popup
    And I open query screen <screen_name1> which title begins with <banner1>
    And I go to detail screen <detail_screen> of <object_name>
    When I select the tab <tab>
    Then The row containing values <new_values> in columns <columns> should have the cell in column <column1> not highlighted with <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 <old_GC_values> in columns <not_recomputed_columns>
    Examples:
      | user1             | screen_name1  | detail_screen                        | object_name           | tab    | histo_value | values                               | columns                 | user2       | screen_name2     | field_name  | field_value           | detail_screen_name    | tab    | new_values                    | rejected_value | column1 | fourEyes_color | banner1   | new_GC_values                  | recomputed_columns  | old_GC_values                  | not_recomputed_columns |
      | TAV_standard.user | My Securities | Equity detail: TAV_Acer_Reject_4eyes | TAV_Acer_Reject_4eyes | Prices |     5 years | Refinitiv;11.0000;12.5000;07/07/2022 | Provider;Close;Bid;Date | canvalidate | Validation panel | SECURITY_ID | TAV_Acer_Reject_4eyes | TAV_Acer_Reject_4eyes | Prices | Refinitiv;11,0000;;07/07/2022 |        12,5000 | Bid     | yellow         | Security: | Golden copy;11,0000;07/07/2022 | Provider;Close;Date | Golden copy;13,0000;07/07/2022 | Provider;Bid;Date      |
human: Write a Gherkin scenario for testing add a new class in data model

gpt: Scenario Outline: Add a new class in data model
    Given I am logged as TAV_standard.user on <screen_name>
    And I add a row using the buttons toolbar
    When I open the detail screen of the selected line
    And I update the fields <fields_names> with the values <fields_values>
    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 select the tab <tab_name>
    And I update the fields <field_name> with the values <field_value>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    And I perform the action <inspector_action>
    And I select the tab <inspector_tab>
    Then the field <Class_name_field> is displayed with value <Class_name>
    Examples:
      | screen_name     | fields_names                                                      | fields_values                                                             | block_name | values                                        | columns                                                                  | tab_name | field_name | field_value | Class_name_field | Class_name | inspector_action                         | inspector_tab |
      | Data Dictionary | Name (En.);Name (Fr.);Class Name;Class Full Name;Category;Privacy | CLASS_TEST;CLASS_TEST;CLASSTEST;CLASSTEST;Security Master File;Data Admin | Tables     | TABLE_TEST;TT;0;1;999;Data Admin;TEST Comment | Table name;Prefix;Rec type;Min records;Max records;Table privacy;Comment | Misc.    | Icon       | Security    | Class Name       | CLASSTEST  | Display / Show Object Inspector - Ctrl+I | SMARTCLASS    |
  @DHRD-100695 @flaky
human: Write a Gherkin scenario for testing add a record with an end date before the previous record's start date

gpt: Scenario Outline: Add a record with an end date before the previous record's start date
    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 <values> on columns <columns>
    When I add a row on the grid under the block <block_name>
    And I filter only edited rows
    And I set values <new_values> for the columns <columns>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then A new added row in the position number <nth2> is displayed with values <new_values2> on columns <new_columns>
    And On the row number <nth2> the column <column> is automatically computed with new value <column_value>
    And The row number <nth1> is displayed with values <values> on columns <columns>
    Examples:
      | user              | screen_name   | detail_screen                                   | object_name                      | tab   | nth1 | values                                           | columns                                                  | block_name | new_values                                       | new_values2                           | new_columns                                | column        | column_value | nth2 |
      | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT2_without_discontinuty | TAV_OBJECT2_without_discontinuty | Codes |    1 | 24 EXCHANGE;03/01/2021;12/31/2999;CME;TEST2_ROW1 | Market code;Code start date;Code end date;Code type;Code | Codes      | 24 EXCHANGE;03/01/2020;02/01/2021;CME;TEST2_ROW2 | 24 EXCHANGE;03/01/2020;CME;TEST2_ROW2 | Market code;Code start date;Code type;Code | Code end date |   03/01/2021 |    2 |
human: Add the remaining steps to this scenario:

Scenario Outline: Define a value map on internal 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 <category>
        And I check that the following steps are displayed <steps>
        And I check that the default displayed step is <step1>
        And I go to the step <step3>
        And I add an internal fields <fields> under the table <table>

gpt: Scenario Outline: Define a value map on internal 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 <category>
        And I check that the following steps are displayed <steps>
        And I check that the default displayed step is <step1>
        And I go to the step <step3>
        And I add an internal fields <fields> under the table <table>
        And I open the assignment details popup of the field <field1>
        When I set the field <conversion_field1> to <conversion_value1>
        And From the quick view i open the assignment details popup of the field <field2>
        And I set the field <conversion_field2> to <conversion_value2>
        And I assign the internal fields <fields> to the external fields <external_fields>
        And I save
        And I go to the step <step4>
        Then A grid is displayed which contains <numOfRows> rows with values on columns <columns> must equal to <rows_values>
        Examples:
            | user              | screen_name     | banner               | feed           | category | steps                          | step1      | step3   | fields                      | field1           | field2     | table    | conversion_field1 | conversion_value1 | conversion_field2 | conversion_value2 | external_fields | step4  | numOfRows | columns      | rows_values                                                 |
            | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_VALUE_MAP | Export   | Definition;Data;Mapping;Result | Definition | Mapping | Activity country;Preferred? | Activity country | Preferred? | SECURITY | Mapping Type      | Country by ISO3   | Value Map         | YES_NO_EXP        | B;C             | Result | 2         | Object;A;B;C | TAV_accor_consult3;EQ;BEL;YES//TAV_accor_consult4;EQ;USA;NO |
human: Finish writing this test scenario:

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>

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 an automated test scenario for find static value by identifier using  g e t method

gpt: Scenario Outline: Find static value by identifier 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 | getById        | tavstatisticvaluedemo | id                 | 100            | 200         | TAV_STAT1       | name            |
human: Write test steps in Gherkin format for run a computation via the aggregation service using the "stored=false" and generate a  json file export

gpt: Scenario Outline: Run a computation via the aggregation service using the "stored=false" and generate a Json file export
    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 check that the aggregation results is not stored in the targed field
    And I open query screen <Holding_valuation> which title begins with <banner_holding>
    And I retrieve the total of <cost_total_base> field on the valuation date "<date_field_name>" "=" "<valuation_date>"
    Then The total of <cost_total_base> field on the valuation date <valuation_date> is equal to the value of <sum_field> field for the root node and its child
    And The <file_type> file <file_name> is generated with correct result <node_details>
    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 | Aggregation_Processes   | banner_aggregation      | Holding_valuation    | banner_holding       | date_field_name | job_name                | node_details                                                                                                                                                                                               | file_type | file_name              |
      | Scheduled Tasks | Scheduled task: Aggregation Computation With Json Config Location8 | Aggregation Computation With Json Config Location8 | Run task with args | /mnt/nfs/automationstorage/AT/users/AGGREGATION/DHRD-60990.json | Tot. Contrib. (Base) | Root 00   | Child 00   | Cost Total (Base). | Successful task | Status | 02/02/2024     | Job Reports       | Job report        | Aggregation Processes_2 | Aggregation Processes_2 | Holding Valuations_2 | Holding Valuations_2 | Date            | Aggregation Computation | ["/ROOT_00", "/ROOT_00/Child 00[Security=\"AIR France - KLM Act\"]", "/ROOT_00/Child 00[Security=\"Accor Act\"]", "/ROOT_00/Child 00[Security=\"Capgemini Act\"]", "/ROOT_00/Child 00[Security=\"Euro\"]"] | json      | export_DHRD-60990.json |