Ghaythfd/gherkin-scenarios huggingface dataset:
human: Write a Gherkin scenario for testing launch merge using the action  move  all  sources to  target

gpt: Scenario Outline: Launch merge using the action Move All Sources to Target
    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>
    And 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 I am logged in as <user>
    And I open query screen <screen_name> using the path <path>
    And I set an advanced list filter <field_name1>  <operator>  <field_value1>
    And I click on Search button
    When I search and open the object which the column <field_name2> equal <testCaseName>
    Then A grid is displayed under the block <block> which contains <numOfRows> rows with values on columns <columns> must equal to <rows_values>
    Examples:
      | userApi      | user              | taskExecution_path | task_code    | field  | value   | element   | status_code1 | status_code2 | screen_name  | banner       | numOfRows | columns     | rows_values | field_name1 | field_value1            | operator | field_name2 | testCaseName      | detail_screen    | block       | path                                                             |
      | TAR_api.user | TAV_standard.user | task-executions    | RUN_TESTING1 | status | SUCCESS | execution |          201 |          200 | Test Reports | Test reports |        13 | Test Result | Successful  | Test Suite  | Test suite MERGEPROCESS | =        | Test Case   | TEST MERGEPROCESS | Edit Test Report | Test Result | Screen / Datahub Factory / System Administration / Test Scenario |
human: Finish writing this test scenario:

Scenario Outline: Rename a bookmark folder
    Given I am logged in as <user>
    And I hover on bookmark <folder_name>
    And In bookmark folder <folder_name> I click on button <action1>
    And A popup is displayed with a title <message> and 2 options <button1> <button2>

gpt: Scenario Outline: Rename a bookmark folder
    Given I am logged in as <user>
    And I hover on bookmark <folder_name>
    And In bookmark folder <folder_name> I click on button <action1>
    And A popup is displayed with a title <message> and 2 options <button1> <button2>
    When I change the field <field_name> with value <field_value>
    And I change the field <field_name2> with value <field_value2>
    And I click on button <button1>
    Then The bookmark folder <field_value> is displayed
    Examples:
      | user        | folder_name         | message                         | action1  | button1 | button2 | field_name | field_value        | field_name2 | field_value2       |
      | TAV_User_EN | testFolderToRename1 | Field translation configuration | Rename   | Ok      | Cancel  | English    | New_TestFolder     | French      | Nouveau_testFolder |
      | TAV_User_FR | testFolderToRename2 | Traducteur de champ             | Renommer | Ok      | Cancel  | Français   | Nouveau_testFolder | Anglais     | New_TestFolder     |
human: Complete this Gherkin scenario:

Scenario Outline: Update query search value on field list with default operator IN
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I check that filters from Query compact view are filled with "<field_name>" "<operator>" "<old_field_value>"
    And I check the query grid shows all rows in the database having <field_name> equal to <old_field_value>
    And I open advanced search tool

gpt: Scenario Outline: Update query search value on field list with default operator IN
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I check that filters from Query compact view are filled with "<field_name>" "<operator>" "<old_field_value>"
    And I check the query grid shows all rows in the database having <field_name> equal to <old_field_value>
    And I open advanced search tool
    And I check the search criteria <field_name> is displayed with the operator <operator> and value <old_field_value>
    And I check the advanced filter <field_name> shows all field results <field_possible_values>
    When I set an advanced list filter <field_name>  <operator>  <new_field_value>
    And I click on Search button
    Then The query grid shows all rows in the database having <field_name> equal to <new_field_value>
    And The filters from Query compact view are filled with "<field_name>" "<operator>" "<new_field_value>"
    Examples:
      | user              | screen_name     | banner    | field_name    | operator | old_field_value | new_field_value    | field_possible_values                                                                                                                                                  |
      | TAV_standard.user | My Securities 3 | Security: | Sec main type | in       | Equity          | Fixed Income;Index | Equity;Fixed Income;Mutual Fund;Money Market;Derivative;Market Data;Index;OTC / Contracts;Alternative;Reference Data;Warrants, Certificates, Structured Products;Other |
      | TAV_standard.user | Users 2         | Users :   | Activated ?   | in       | Yes             | Yes;No             | No;Unknown;Yes                                                                                                                                                         |
human: Write a Gherkin scenario for testing check 4eyes validation in realtime

gpt: Scenario Outline: Check 4eyes validation in realtime
    Given I am logged as <user1> on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I logg in with <User2> on <screen_name> using a new browser
    And I open the detail screen <object_name> in the new browser
    When I edit from first browser the content of the text field <field_name> of the block <block> with <new_value>
    And I save it from the first browser
    And I select the source <source> from the first browser
    And I select the source <source> from the second browser
    And I check that the four eyes indicator is displayed on the field <field_name> from both browsers
    And I go to the screen <screen_name2> from the second browser
    And I search <object_name> and select lines of <field_name> from the second browser
    When I approve the selected values from the second browser
    And I validate the Automatic save popup from the second browser
    And I write comment and validate from the second browser
    Then the field <field_name> is displayed with new value <new_value> without four eyes indicator
    And The <object_name> line of <field_name> disappears from the second browser
    Examples:
      | user1                 | screen_name   | detail_screen                          | object_name             | User2       | field_name | new_value           | screen_name2     | source | button           |
      | withoutskipvalidation | My Securities | Equity detail: TAV_toValidate_Realtime | TAV_toValidate_Realtime | canvalidate | Short name | test_realtime_4eyes | Validation panel | Manual | Approve Selected |
human: Add the remaining steps to this scenario:

Scenario Outline: IDS - Display Fund Share Valuations
		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 Valuations
		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_VALUATION_VIEW_IDS | Share ISIN     | EQUAL             | XS1234567891   | 200         | share_valuation_ref.json |
human: Write a Gherkin scenario for testing showing data using horizontal scroll bar

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: Generate a Cucumber scenario to test i d s -  display  trade  diary

gpt: Scenario Outline: IDS - Display Trade Diary
		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_TRADE_DIARY_VIEW | Share ISIN;From;To | EQUAL;GREATER_EQUAL;LESS_EQUAL | XS1234567891;04/01/2024;01/05/2025 | 200         | trade_diary_ref.json |
human: Complete this Gherkin scenario:

Scenario Outline: Advanced Filter by date/time fields
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        And I have an advanced search field <date_time_field_name>

gpt: Scenario Outline: Advanced Filter by date/time fields
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        And I have an advanced search field <date_time_field_name>
        When I set an advanced date time filter <date_time_field_name>  <operator>  <date_time_value>
        And I click on Search button
        And All rows displayed have <date_time_field_name> is <operator> to <date_time_value>
        Examples:
            | screen_name   | date_time_field_name | operator | date_time_value     |
            | My Securities | Last Charac. Update  | =        | 12/22/2020 07:49:54 |
            | My Securities | Last Charac. Update  | <>       | 09/06/2024 16:10:35 |
human: Finish writing this test scenario:

Scenario Outline: Add a new record in the future
    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 add a row on the grid under the block <block_name>

gpt: Scenario Outline: Add a new record in the future
    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 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 <nth1> is displayed with values <new_values> on columns <columns>
    And On the row number <nth2> the column <column> is automatically computed with new value <column_value>
    And The row number <nth3> is displayed with values <values2> on columns <columns>
    And The row number <nth4> is displayed with values <values3> on columns <columns>
    Examples:
      | user              | screen_name   | detail_screen                                   | object_name                      | tab   | values1                                          | values2                                          | values3                                          | new_values                                       | columns                                                  | column        | column_value | block_name | nth1 | nth2 | nth3 | nth4 |
      | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT5_without_discontinuty | TAV_OBJECT5_without_discontinuty | Codes | 24 EXCHANGE;04/01/2021;12/31/2021;CME;TEST5_ROW3 | 24 EXCHANGE;03/01/2021;04/01/2021;CME;TEST5_ROW1 | 24 EXCHANGE;03/01/2020;03/01/2021;CME;TEST5_ROW2 | 24 EXCHANGE;01/01/2023;12/31/2023;CME;TEST5_ROW4 | Market code;Code start date;Code end date;Code type;Code | Code end date |   01/01/2023 | Codes      |    1 |    2 |    3 |    4 |
human: Complete this Gherkin scenario:

Scenario Outline: Show that the 2 first columns are freezed
    Given I am logged in as Standard User
    And I access <screen_name> screen which title begins with <banner_fixed_text>

gpt: Scenario Outline: Show that the 2 first columns are freezed
    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 columns <Columns_name> are freezed
    Examples:
      | screen_name   | banner_fixed_text | Columns_name |
      | My Securities | Security:         | Name;Flag    |
human: Generate a feature file scenario for filter/ search on a view with operator " n o t  i n"

gpt: Scenario Outline: Filter/Search on a view with operator "NOT IN"
		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 not include these <values> as <field>
		Examples:
			| user         | scope_view_code | criteria_field     | criteria_operator | criteria_value       | status_code | key  | values               | field              |
			| TAR_api.user | TAR_SCOPE_VIEW  | security_main_type | NOT_IN            | Equity, Fixed Income | 200         | name | Equity, Fixed Income | security_main_type |
human: Write a behavior-driven test for find static value based on criteria with a defined range using  g e t method

gpt: Scenario Outline: Find static value based on criteria with a defined range 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 shows a total number of objects equals to <total>
        Examples:
            | resource_name          | user              | operation_name | endpoint              | request_parameters | request_values            | status_code | total |
            | Tav_statisticvaluedemo | TAV_standard.user | get-all        | tavstatisticvaluedemo | Range              | tavstatisticvaluedemo=0-0 | 206         | 1     |
            | Tav_statisticvaluedemo | TAV_standard.user | get-all        | tavstatisticvaluedemo | Range              | tavstatisticvaluedemo=0-1 | 206         | 2     |
human: Create a BDD test scenario for webservice: $in, $nin and $eq

gpt: Scenario Outline: Webservice: $in, $nin and $eq
    Given I am an authorized user <user>
    When I send a GET request to <path> with the following query parameters <param>
    Then I should get a response with status <status_code>
    And the fields <content_fields> are correctly displayed in reponse under <content_path>
    And the response contains <items> items
    Examples:
        | user           | path                 | param                               | status_code | content_fields   | content_path | items    |
        | TAR_api.user   | tarsecurities/search | ?jq={"ids":{"$in":[36601,36604]}}   | 200         | COUNTRY;CURRENCY | data         | 2        |
        | TAR_api.user   | tarsecurities/search | ?jq={"ids":{"$eq":36601}}           | 200         | COUNTRY;CURRENCY | data         | 1        |
        | TAR_api.user   | tarsecurities/search | ?jq={"ids":{"$nin":[36604,36601]}}  | 200         | COUNTRY;CURRENCY | data         | total-2  |
human: Finish writing this test scenario:

Scenario Outline: Check the Welcome Page layout
    Given I am logged in as <user>
    And I check that the welcome page matches the expected layout by comparing it with the reference image <refImage>
    Then There are no screens displayed in the Recent screens section

gpt: Scenario Outline: Check the Welcome Page layout
    Given I am logged in as <user>
    And I check that the welcome page matches the expected layout by comparing it with the reference image <refImage>
    Then There are no screens displayed in the Recent screens section
    And The bookmarks folders <bookmarks_folders> are displayed in the Bookmarks section
    And The DataHub factory Menu button is displayed
    And The DataHub warehouse Menu button is displayed
    And The multi tenant label is displayed
    Examples:
      | user                    | refImage                                              | bookmarks_folders                  |
      | TAV_standard.dashboard2 | config&ressources/Navigation/ref_screenshots/ref1.png | Technical Screens;Business Screens |
      | TAV_standard.dashboard3 | config&ressources/Navigation/ref_screenshots/ref4.png | Technical Screens;Business Screens |
human: Write test steps in Gherkin format for filter/ search on a view with criteria not overloadable and value not empty

gpt: Scenario Outline: Filter/Search on a view with criteria not overloadable and value not empty
		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 <error_code>
		And an error message is received "Please fix your request : These criteria are not editable [currency]"
		Examples:
			| user         | scope_view_code | criteria_field | criteria_operator | criteria_value | error_code |
			| TAR_api.user | TAR_SCOPE_VIEW  | currency       | DIFFERENT         | INDIAN RUPEE   | 400        |
human: Add the remaining steps to this scenario:

Scenario Outline:Re-use computed field for a new aggregation computation
        Given I am logged as <user> on <screen_name>
        And I check that the aggregation definition with the root node <root_code> and its child <child_code> exist
        And I open query screen <scheduled_screen> which title begins with <banner_scheduled>
        And I go to detail screen <detail_screen> of <object_name>
        When I execute the action <aggregation_task> with arguments <arguments_field> equal to <arguments_value>
        And I check that a popup is displayed with the message "Task launched."
        And I close the popup

gpt: Scenario Outline:Re-use computed field for a new aggregation computation
        Given I am logged as <user> on <screen_name>
        And I check that the aggregation definition with the root node <root_code> and its child <child_code> exist
        And I open query screen <scheduled_screen> which title begins with <banner_scheduled>
        And I go to detail screen <detail_screen> of <object_name>
        When I execute the action <aggregation_task> with arguments <arguments_field> equal to <arguments_value>
        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 <task>
        And I check that the column <column> of the task is equal to <value>
        And I retrieve the generated aggregation identifier id 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 For each child, the values stored in <target_fields_result> fields are equal to the sum of <target_fields> fields values
        Examples:
            | user              | screen_name                    | root_code | child_code | detail_screen                                | object_name                  | Aggregation_Processes   | banner_aggregation      | task                         | column | value           | scheduled_screen | banner_scheduled | aggregation_task   | arguments_field           | arguments_value  | job_report_screen | banner_job_report | target_fields                       | target_fields_result     | job_name                |
            | TAV_standard.user | Scope Aggregation Definition_2 | Root 01   | Child 01   | Scheduled task: Aggregation Computation Task | Aggregation Computation Task | Aggregation Processes_2 | Aggregation Processes_2 | Aggregation Computation Task | Status | Successful task | Scheduled Tasks  | Scheduled tasks: | Run task with args | %defCode%;%valuationDate% | ROOT_01;20240202 | Job Reports       | Job report        | Tot. Contrib. (Base);Accrued (Base) | Expo (Base);Total Assets | Aggregation Computation |
human: Add the remaining steps to this scenario:

Scenario Outline: Manipulate Pre Mapping in an Import XML
    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: Manipulate Pre Mapping in an Import XML
    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 received object should include the field <field2> with value <value2> under <element>
    Examples:
      | userApi      | taskExecution_path | value2          | task_code                  | field  | value   | element   | status_code1 | status_code2 | field2  |
      | TAR_api.user | task-executions    | 1 skipped lines | TASK_Import_xml_premapping | status | SUCCESS | execution |          201 |          200 | comment |
human: Add the remaining steps to this scenario:

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

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