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

Scenario Outline: Run an Excel export
    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 Excel export
    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 xls 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: NEWTASK_EXPORT_XLS  | NEWTASK_EXPORT_XLS  | NEWTASK_EXPORT_XLS  | new test export xls  | Successful job     | /data/testauto/nxdh/data/file_ExportExcel.xls  | config&ressources/DataManagement/ref_file_ExportExcel.xls  |
      | Scheduled Tasks | Scheduled task: NEWTASK_EXPORT_XLSX | NEWTASK_EXPORT_XLSX | NEWTASK_EXPORT_XLSX | new test export xlsx | Successful job     | /data/testauto/nxdh/data/file_ExportExcel.xlsx | config&ressources/DataManagement/ref_file_ExportExcel.xlsx |
human: Write test steps in Gherkin format for add new entry low  priority

gpt: Scenario Outline: Add new 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 fields Histo with the values Full
    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 row remains and displays values <default_GC_value> 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                               | new_values                                                   | columns_to_edit                                | default_GC_value                               |
      | My Securities | Bond detail: TAV_Low_Treasury Bonds | TAV_Low_Treasury Bonds | Rating | Full        | 01/25/2020;12/31/2999;Fitch SEC;Bloomberg;A+ | 01/25/2020;12/31/2999;Bloomberg Composite Rating;Bloomberg;B | Rating date;Ratg end date;Type;Provider;Rating | 01/25/2020;12/31/2999;Fitch SEC;Golden copy;A+ |
human: Finish writing this test scenario:

Scenario Outline: Retrieve the list of views
		Given I am an authorized user <user>
        When I retrieve data from all the scope 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: Write test steps in Gherkin format for 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: Create Gherkin steps to verify 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 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>
    When 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_to_check> in columns <columns_to_edit>
    Examples:
      | screen_name   | detail_screen                   | object_name      | tab    | histo_value | new_values          | columns_to_edit     | new_GC_values            | new_values_to_check    |
      | My Securities | Equity detail: TAV_Accor_add_HP | TAV_Accor_add_HP | Prices | Full        | Bloomberg;today;6.5 | Provider;Date;Close | Golden copy;today;6,5000 | Bloomberg;today;6,5000 |
human: Write a Gherkin scenario for testing query grid navigation -  freeze up to this column

gpt: Scenario Outline: Query grid navigation - Freeze up to this column
                Given I am logged as <user> using path <path> and screen <screen_name>
                When I freeze up to this column <column_name> using the column header menu
                Then I check that the columns <columns> are freezed
                Examples:
                        | user              | screen_name                         | path                                                                           | column_name | columns                 |
                        | TAV_standard.user | My Business entities                | Screen / Static Data / Business Entities / My Business entities                | LEI         | Name;Status;Status.;LEI |
                        | TAV_standard.user | My Business entities without freeze | Screen / Static Data / Business Entities / My Business entities without freeze | Status      | Name;Status             |
human: Create Gherkin steps to verify add a bookmark screen

gpt: Scenario Outline: Add a bookmark screen
    Given I am logged as <user> on <screen_name>
    And I go back to Homepage
    When I hover on recent screen <screen_name>
    And In recent screens I click on button <action> in <screen_name>
    And I check that a popup is displayed with a title <title> and a message <message>
    And I click on button <button>
    And I check that the screen <screen_name> is displayed under Bookmarks
    And I click on bookmark screen <screen_name>
    Then I should be on <screen_name> with title beginning with <banner_fixed_text>
    Examples:
      | user        | screen_name         | action            | title       | message                                                      | button | banner_fixed_text |
      | TAV_User_EN | My Portfolios 2     | Add Bookmark      | Information | Configuration of My Portfolios 2 (Query) successfully saved. | Close  | Portfolio:        |
      | TAV_User_FR | Mes Portefeuilles 2 | Ajouter un favori | Information | Configuration de Mes Portefeuilles 2 (Query) sauvegardée     | Close  | Portfolio:        |
human: Write a Gherkin scenario for testing reset  advanced  filter

gpt: Scenario Outline: Reset Advanced Filter
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        And I set an advanced text filter <field_name>  <operator>  <field_value>
        When I reset my advanced filter
        Then The field value of <field_name> in the advanced filter panel is set to null
        And The operator of <field_name> in the advanced filter panel is set to =
        Examples:
            | screen_name          | field_name | operator | field_value   |
            | My Securities        | Name       | %        | air           |
            | My Business entities | Role       | <>       | Administrator |
human: Create a BDD test scenario for delete entry low  priority

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 Rating date with <date_Rtg>
    And I delete the row with values <values> in columns <columns>
    And I save
    Then the golden copy row remains and displays values <GC_old_values> in columns <columns>
    And The deleted row with values <values> in columns <columns> disappears
    Examples:
      | screen_name   | detail_screen                              | object_name                   | tab    | histo_value | values                              | columns                          | date_Rtg   | GC_old_values                         |
      | My Securities | Bond detail: TAV_delete_low_Treasury Bonds | TAV_delete_low_Treasury Bonds | Rating | Full        | 05/05/2021;Fitch SEC;Bloomberg;BBB+ | Rating date;Type;Provider;Rating | 05/05/2021 | 05/05/2021;Moody's SEC;Golden copy;A2 |
human: Create a BDD test scenario for 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: Complete this Gherkin scenario:

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

gpt: Scenario Outline: Showing data using vertical 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 vertical bar
    Then the query grid rows are moved down until we reach the last row
    Examples:
      | screen_name   | banner_fixed_text |
      | My Securities | Security:         |
human: Write a behavior-driven test for create an  excel import feedproc

gpt: Scenario Outline: Create an Excel import feedproc
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I open advanced search tool
    And I set an advanced list filter <field_name>  <operator>  <field_value>
    And I click on Search button
    And I close advanced search tool
    And I add a row using the buttons toolbar
    And I filter only edited rows
    And I open the detail screen of the selected line
    And I update the fields <fields_names> with the values <fields_values>
    And I go to the step <step2>
    And I choose the provider <provider>
    And I skip the popup
    And I go to the step <step3>
    And I open the mapping actions menu
    And I add a new mapping
    And I select a class <class_name>
    And I add new criterion <internal_fields1> from <secondary_table> under the table <table1>
    And I add new table <table1>
    And I add an internal fields <internal_field2> under the last table <table1>
    And I open the assignment details popup of the field <internal_field1>
    And I set the field <conversion_field> to <conversion_value1>
    And I open the assignment details popup of the field <internal_field2>
    And I set the field <conversion_field> to <conversion_value2>
    And I open the assignment details popup of the field <internal_field3>
    And I set the field <conversion_field> to <conversion_value3>
    And I assign the external fields <external_fields> to the internal fields <internal_fields>
    And I open the Execution properties from the actions menu
    And I add properties <properties_names> with values <properties_values>
    And I approve the popup
    When I save
    Then A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Examples:
      | user              | screen_name     | banner               | field_name                 | operator | field_value                                    | fields_names        | fields_values                                           | step2 | provider | class_name | step3   | secondary_table | table1   | internal_fields1                                   | conversion_field | internal_field1     | conversion_value1 | internal_field2     | conversion_value2           | internal_field3 | conversion_value3 | internal_fields          | external_fields | properties_names      | properties_values |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | Feed;Category;Type;Privacy | =;=;=;=  | Import;Manual Import;Manual file import;NeoXam | English;French;Code | NEW_IMPORT_XLS_FR;NEW_IMPORT_XLS_EN;NEW_IMPORT_XLS_CODE | Data  | Excel    | MxSecurity | Mapping | SECURITY_CODE   | SECURITY | Codification system;Code;Market code;Code end date | Default value    | Codification system | ISIN              | Product description | LONDON STOCK EXCHANGE - MTF | Code end date   |        12/31/2999 | Code;Product description | A;B             | BULK_SIZE;UPDATE_ONLY |              10;1 |
human: Write a Gherkin scenario for testing move bookmarks

gpt: Scenario Outline: Move bookmarks
    Given I am logged as <user> on <screen>
    And I go back to Homepage
    And I hover on recent screen <screen>
    And In recent screens I click on button <action> in <screen>
    And I click on button <button>
    And I move the bookmark screen <screen> into the bookmark folder <folder_name>
    And I check that the bookmark screen <screen> is not displayed under Bookmarks
    When I click on bookmark folder <folder_name>
    And I check that the bookmark screen <screen> is displayed under the bookmark folder <folder_name>
    And I check that the breadcrumb displays the following path <breadcrumb_path>
    And In bookmarks I hover on screen <screen>
    And In bookmarks I click on button <action2> in <screen>
    And I check that the bookmark screen <screen> is not displayed under the bookmark folder <folder_name>
    And I go back to Bookmarks home page
    Then The bookmark screen <screen> is displayed under Bookmarks
    Examples:
      | user              | folder_name  | screen | banner_fixed_text | button | action       | action2               | breadcrumb_path |
      | TAV_standard.user | parentFolder | Users  | Users:            | Close  | Add Bookmark | Move to parent folder | > parentFolder  |
human: Write test steps in Gherkin format for edit new entry low  priority

gpt: Scenario Outline: Edit new 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 fields Histo with the values <histo_value>
    And I filter by Rating date with <date_Rtg>
    When I replace the values <values> in columns <columns> with <new_values>
    And I save
    Then the golden copy row remains and displays values <GC_values> in columns <columns>
    And The updated row displays values <new_values> in columns <columns>
    Examples:
      | screen_name   | detail_screen                            | object_name                 | tab    | histo_value | values                                             | columns                          | date_Rtg   | new_values                         | GC_values                             |
      | My Securities | Bond detail: TAV_edit_low_Treasury Bonds | TAV_edit_low_Treasury Bonds | Rating | Full        | 11/11/2019;Bloomberg Composite Rating;Bloomberg;B+ | Rating date;Type;Provider;Rating | 11/11/2019 | 11/11/2019;Fitch SEC;Bloomberg;AA+ | 11/11/2019;Moody's SEC;Golden copy;A3 |
human: Complete this Gherkin scenario:

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>

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: Generate a Cucumber scenario to test put the range in the "search" response (generic and view endpoints)

gpt: Scenario Outline: Put the range in the "search" response (generic and view endpoints)
    Given I am an authorized user <user>
    When I search on a view <scope_view_code> without defined range header
    Then I should get a response with status <status_code>
    And the Content-Range header should start with <content_range>
    And the fields <content_fields> are correctly displayed in reponse under <content_path>
    And I search on a view <scope_view_code> with a range header 0-<max_number>
    Then I should get a response with status <status_code>
    And the Content-Range header should start with <content_range_after>
	Examples:
		| user           | scope_view_code     | status_code | content_range | content_fields    | content_path | max_number | content_range_after |
		| TAR_api.user   | TAR_TEST_SCOPE_VIEW | 200         | 0-9           | total;elapsedTime | data         | 1          | 0-1                 |
    | TAR_api.user   | TAR_TEST_SCOPE_VIEW | 200         | 0-9           | total;elapsedTime | data         | 3          | 0-3                 |
    | TAR_api.user   | TAR_TEST_SCOPE_VIEW | 200         | 0-9           | total;elapsedTime | data         | 14         | 0-14                |
human: Complete this Gherkin scenario:

Scenario Outline: Ability to call a RESTFUL service end point with GET operation with http range paging
    Given I am an authorized user <user>
    When I send a GET request to <path> with Range header <range>

gpt: Scenario Outline: Ability to call a RESTFUL service end point with GET operation with http range paging
    Given I am an authorized user <user>
    When I send a GET request to <path> with Range header <range>
    Then I should get a response with status <status_code>
    And the fields <content_fields> are correctly displayed in reponse under <content_path>
    Examples:
      | user         | path                 | range                     | status_code | content_fields   | content_path |
      | TAR_api.user | tarLastSecurityPrice | tarLastSecurityPrice=0-15 | 206         | isin;prices;name | data         |
human: Complete this Gherkin scenario:

Scenario Outline: Manage user authorisations
    Given I am an authorized user <not_auth_user>
    When I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>
    Then I should get a response with status <status_code_before>

gpt: Scenario Outline: Manage user authorisations
    Given I am an authorized user <not_auth_user>
    When I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>
    Then I should get a response with status <status_code_before>
    Given I am an authorized user <user>
    Then I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>
    And I should get a response with status <status_code_after>
    And the fields <content_fields> are correctly displayed in reponse under <content_path>
    Examples:
      | not_auth_user | class_name | field           | label     | payload                    | folder_name | status_code_before | user           | status_code_after | content_fields  | content_path        |
      | randomuser    | MxSecurity | NAME;SHORT_NAME | null;null | SecurityAndValidation.json | payloads    | 401                | TAR_api.user   | 200               | NAME;SHORT_NAME | data.content:fields |
human: Add the remaining steps to this scenario:

Scenario Outline: Put the range in the "search" response (generic and view endpoints)
    Given I am an authorized user <user>
    When I search on a view <scope_view_code> without defined range header
    Then I should get a response with status <status_code>
    And the Content-Range header should start with <content_range>

gpt: Scenario Outline: Put the range in the "search" response (generic and view endpoints)
    Given I am an authorized user <user>
    When I search on a view <scope_view_code> without defined range header
    Then I should get a response with status <status_code>
    And the Content-Range header should start with <content_range>
    And the fields <content_fields> are correctly displayed in reponse under <content_path>
    And I search on a view <scope_view_code> with a range header 0-<max_number>
    Then I should get a response with status <status_code>
    And the Content-Range header should start with <content_range_after>
	Examples:
		| user           | scope_view_code     | status_code | content_range | content_fields    | content_path | max_number | content_range_after |
		| TAR_api.user   | TAR_TEST_SCOPE_VIEW | 200         | 0-9           | total;elapsedTime | data         | 1          | 0-1                 |
    | TAR_api.user   | TAR_TEST_SCOPE_VIEW | 200         | 0-9           | total;elapsedTime | data         | 3          | 0-3                 |
    | TAR_api.user   | TAR_TEST_SCOPE_VIEW | 200         | 0-9           | total;elapsedTime | data         | 14         | 0-14                |