Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create a BDD test scenario for query grid navigation -  configure a transposed grid

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

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>

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 Outline: Filter/Search on a view using a list as reference display
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>

gpt: Scenario Outline: Filter/Search on a view using a list as reference display
		Given I am an authorized user <user>
		When 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_code>
		And all received objects should include these <values> as <fields>
		Examples:
			| user         | scope_view_code                  | criteria_fields         | criteria_operators | criteria_values                         | status_code | values                        | fields                              |
			| TAR_api.user | TAR_PRETURN_BREAKDOWN_VIEW_FREE1 | Portfolio;Currency;Date | EQUAL;EQUAL;EQUAL  | Equities multi-currency;Euro;02/02/2024 | 200         | SMARTLIST_ITEM;SMARTLIST_ITEM | aggregation_type;aggregation_type_2 |
human: Complete this Gherkin scenario:

Scenario Outline: Reorder the list of criterias in query screen from config panel
    Given I am logged as <user> on <screen_name>
    And I switch to mode Config
    When I move the criteria <field1> to <field1_position> position
    And I add the technical query criteria <field2>
    And I move the criteria <field2> to <field2_position> position
    And I save the screen configuration
    Then I check that the criteria <field1> is displayed at the <field1_position> position in the modeling overlay and on the Advanced search bloc

gpt: Scenario Outline: Reorder the list of criterias in query screen from config panel
    Given I am logged as <user> on <screen_name>
    And I switch to mode Config
    When I move the criteria <field1> to <field1_position> position
    And I add the technical query criteria <field2>
    And I move the criteria <field2> to <field2_position> position
    And I save the screen configuration
    Then I check that the criteria <field1> is displayed at the <field1_position> position in the modeling overlay and on the Advanced search bloc
    And I check that the criteria <field2> is displayed at the <field2_position> position in the modeling overlay and on the Advanced search bloc
    And I switch to mode Edit
    And I set an advanced text filter <field1>  =  <field1_value>
    And I set an advanced list filter <field2>  =  <field2_value>
    And I click on button Search
    Then criteria <fields> are displayed with values <values> at <fields_position> positions in the advanced search bloc
    And The query grid shows all rows where values of fields <fields> are equal to <values>
    Examples:
      | screen_name   | user              | field1 | field2        | field1_value     | field2_value | field1_position | field2_position | fields             | values                       | fields_position |
      | My Securities | TAV_standard.user | Name   | Primary place | Banco Bogota Shs | Colombia SE  |               3 |               4 | Name;Primary place | Banco Bogota Shs;Colombia SE |             3;4 |
human: Write a Gherkin scenario for testing move a new grid in an existing bloc from config panel

gpt: Scenario Outline: Move a new grid in an existing bloc 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 add a grid <grid>
    And I move the added grid using the table name <table_name> to second position
    And I save the screen configuration
    Then the grid <table_name> is displayed in the second position
    And the components list <list> is correctly reordered
    Examples:
      | screen_name   | detail_screen                    | object_name       | tab    | block_name        | grid  | table_name    | list                                                                                   |
      | My Securities | Equity detail: TAV_Reorder_CMSCP | TAV_Reorder_CMSCP | Detail | Issuers structure | Codes | SECURITY_CODE | Ref Issuer;SECURITY_CODE;Parent;Ultimate parent;ID BB Cny;Red code;BIC code;Ctry - Dom |
human: Add the remaining steps to this scenario:

Scenario Outline: Filter/Search on a view with criteria overloadable
		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: Filter/Search on a view with criteria overloadable
		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 <criteria_value> as <criteria_field>
		Examples:
			| user         | scope_view_code | criteria_field     | criteria_operator | criteria_value | status_code |
			| TAR_api.user | TAR_SCOPE_VIEW  | security_main_type | EQUAL             | Mutual Fund    | 200         |
human: Add the remaining steps to this scenario:

Scenario Outline: Delete entry Low 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>

gpt: Scenario Outline: Delete entry Low 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 filter by Date with <date>
    And I delete the row with values <values> in columns <columns_to_edit>
    And I save
    Then the golden copy row remains and displays values <GC_old_values> in columns <columns_to_edit>
    And The deleted row with values <values> in columns <columns_to_edit> disappears
    Examples:
      | screen_name   | detail_screen                           | object_name              | tab    | histo_value | date       | values                            | columns_to_edit     | GC_old_values                 |
      | My Securities | Equity detail: TAV_accor_mult_to_delete | TAV_accor_mult_to_delete | Prices | Full        | 01/26/2022 | Europerformance;01/26/2022;5,6000 | Provider;Date;Close | Golden copy;01/26/2022;7,5000 |
human: Finish writing this test scenario:

Scenario Outline: Run an export json using a publisher tag
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <trigger_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

gpt: Scenario Outline: Run an export json using a publisher tag
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <trigger_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 <export_job_name> of the task <task_name> with status <successfull_status>
    And The content of the exported json file <file_exported> should be equal to <file_ref>
    Examples:
      | screen_name     | detail_screen                                      | trigger_task_name                  | task_name                  | export_job_name       | successfull_status | file_exported                                          | file_ref                                                           |
      | Scheduled Tasks | Scheduled task: TEST_TRIGGER_EXPORT_JSON_PUBLISHER | TEST_TRIGGER_EXPORT_JSON_PUBLISHER | TASK_EXPORT_JSON_PUBLISHER | EXPORT_JSON_PUBLISHER | Successful job     | /data/testauto/nxdh/data/file_ExportJsonPublisher.json | config&ressources/DataManagement/ref_file_ExportJsonPublisher.json |
human: Create an automated test scenario for rename  directories

gpt: Scenario Outline: Rename Directories
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <user_menu>
        And I check that the folder <existing_folder> is displayed under <user_menu>
        And I create a New folder under <main_folder>
        When I rename the created folder <created_folder> to <new_folder_name> under the parent folder <main_folder>
        And I rename the folder <existing_folder> to <new_existing_folder_name>
        And I check that the folders <renamed_folders> are correctly renamed 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 folders <renamed_folders> are correctly renamed from the user menu <user_menu>
        Examples:
            | user               | user_menu         | main_folder | created_folder | new_folder_name | existing_folder    | new_existing_folder_name | renamed_folders              |
            | authorized.user.EN | DataHub warehouse | Dashboards  | New folder     | Folder Test     | Folder_To_Rename   | Folder_Renamed           | Folder Test;Folder_Renamed   |
            | authorized.user.FR | DataHub factory   | Production  | New folder     | Dossier Factory | Dossier_A_Renommer | Dossier_Test             | Dossier Factory;Dossier_Test |
human: Add the remaining steps to this scenario:

Scenario Outline: Filter/Search on a view with dynamic recspec
    Given I am an authorized user <user>
    When I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>

gpt: Scenario Outline: Filter/Search on a view with dynamic recspec
    Given I am an authorized user <user>
    When 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_code>
    And the response shows a total number of records equals to <total>
    And all received objects should include these <values> as <fields>
    Examples:
      | user         | scope_view_code          | criteria_fields | criteria_operators       | criteria_values       | status_code | total | values                                                             | fields                                                                                                                 |
      | TAR_api.user | TAR_SHARE_VALUATION_VIEW | From;To         | GREATER_EQUAL;LESS_EQUAL | 05/02/2024;05/02/2024 |         200 |     1 | DK0000211178;KLIAGK;2024-02-05;625264658.69;625264658.69;666000000 | Share ISIN;Share Code;NAV Date;Share Net Asset Value (Security);Share Net Asset Value (Portfolio);Fund Net Asset Value |
human: Generate a feature file scenario for query grid navigation -  check default pivot grid

gpt: Scenario Outline: Query grid navigation - Check default pivot grid
        Given I am logged in as TAV_standard.user
        When I search query screen <screen_name>
        Then I check that the default grid configuration is Pivot
        And I check that the pivot grid header container <header_container> first column is <column_value>
        And I check that the pivot grid field value in the second column for the first row is <field_value>
        And I check that the header value <column_value> of the first column in the first header container is left aligned
        And I check that the pivot grid value <field_value> of the field in the second column in the first row is right aligned
        Examples:
            | screen_name    | header_container | field   | column_value | field_value   |
            | Cash Positions | Start dt         | Ammount | 10/01/2012   | 11047539,3541 |
human: Finish writing this test scenario:

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>

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: Write a behavior-driven test for detail grid navigation -  export  x l s ( hierarchical -  grid)

gpt: Scenario: Detail grid navigation - Export XLS (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 <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 | excel_button | file_ref                                                                                |
      | TAV_standard.user | xls       | My Business entities | Issuer: Air France-KLM | Air France-KLM | ESG | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-112540_hierarchical_detail_grid.xlsx |
  @DHRD-113610 @skipped @waiting_for_DHRD-112176
human: Generate a feature file scenario for define a value map on internal fields

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: Create an automated test scenario for add static value using  post method

gpt: Scenario Outline: Add static value using Post 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_name1> of the resource <resource_name> having as endpoint <endpoint>
        And I set the json body with <content>
        And I execute the request
        And I check that I get the response status equal to <status_code1>
        And I click on the operation <operation_name2> 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_code2>
        And The response body is displayed with the right content of the file <content>
        Examples:
            | resource_name          | user              | operation_name1 | endpoint              | content        | status_code1 | operation_name2 | request_parameters | request_values | status_code2 |
            | Tav_statisticvaluedemo | TAV_standard.user | add             | tavstatisticvaluedemo | TAV_STAT2.json | 201          | get-all         | code               | TAV_STAT2      | 200          |
human: Complete this Gherkin scenario:

Scenario Outline: Approve 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

gpt: Scenario Outline: Approve 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 Approve 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 golden copy is recomputed and displays values <GC_values> in columns <columns>
    Then The row containing values <new_values_to_check> in columns <columns> should have the cell in column <column1> not highlighted with <fourEyes_color>
    Examples:
      | user1             | screen_name1  | detail_screen                         | object_name            | tab    | histo_value | values                              | columns                 | user2       | screen_name2     | field_name  | field_value            | detail_screen_name     | tab    | GC_values                             | button           | fourEyes_color | banner1   | new_values_to_check                 | column1 |
      | TAV_standard.user | My Securities | Equity detail: TAV_Acer_Approve_4eyes | TAV_Acer_Approve_4eyes | Prices |     5 years | Refinitiv;12.1000;9.5000;06/06/2022 | Provider;Close;Bid;Date | canvalidate | Validation panel | SECURITY_ID | TAV_Acer_Approve_4eyes | TAV_Acer_Approve_4eyes | Prices | Golden copy;12,1000;9,5000;06/06/2022 | Approve Selected | yellow         | Security: | Refinitiv;12,1000;9,5000;06/06/2022 | Bid     |
  @DHRD-70586 @pending @waiting_For_DHRD-112654