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

Scenario Outline: Execute business rule unit testing for merge2objects function
    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>

gpt: Scenario Outline: Execute business rule unit testing for merge2objects function
    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       | test_suite   | 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_TESTING | status | SUCCESS | execution |          201 |          200 | Test Reports | Test reports | Test suite 1 |         9 | Test Result | Successful  | Test Suite  | Test suiteMEREG2OBJECTS | =        | Test Case   | TEST MERGE2OBJECTS | Edit Test Report | Test Result | Screen / Datahub Factory / System Administration / Test Scenario |
human: Write test steps in Gherkin format for i d s -  display  benchmark level

gpt: Scenario Outline: IDS - Display Benchmark level
		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_BENCHMARK_LEVEL_VIEW | Name;From;To | EQUAL;GREATER_EQUAL;LESS_EQUAL | TAR CAC 40;04/01/2024;04/01/2024 | 200 | benchmark_level_ref.json |
@DHRD-98791 @skipped @waiting_for_DHRD-101416
human: Write a Gherkin scenario for testing send  s o a p request with an unauthorized user and check response

gpt: Scenario Outline: Send SOAP request with an unauthorized user and check response
        Given I am an unauthorized user <user> on <soap_service>
        When I send a SOAP request with param <param_name> = <param_content> and operation <operation>
        Then I should get an authorization error
        Examples:
            | user        | param_name | param_content | soap_service  | operation       |
            | random_user | null       | null          | Introspection | listWebServices |
human: Write test steps in Gherkin format for cancel transaction using a skip validation user

gpt: Scenario Outline: Cancel transaction using a skip validation user
    Given I am logged as <user> using path <path> and screen <screen_name>
    And I set an advanced list filter <field_name2>  <operator>  <field_value2>
    And I set an advanced range date filter <field_name3>  <operator>  <field_value3>
    And I set an advanced list filter <field_name1>  <operator>  <field_value1>
    And I click on Search button
    And I close advanced search tool
    And I select the first row from the grid
    When I Cancel the transaction
    And I check that the transaction is added with field <field> and value <value>
    And The transaction status is not yellow
    And I open query screen <screen_name2> using the path <path2>
    And I set an advanced list filter <field_name>  <operator>  <field_value>
    And I set an advanced list filter <field_name1>  <operator>  <field_value1>
    And I click on Search button
    Then The transaction is deleted
    Examples:
      | user                               | screen_name| path                                                  |screen_name2    |path2                                                  |field_name|operator|field_value   |field_name1|field_value1|quantity_column|quantity_value|field|value|field_name2|field_value2|field_name3|field_value3|
      |TAV_transactionskipvalidation.user  |Transactions|Screen / Investment Data / Trade Support / Transactions|Holding Intraday|Screen / Investment Data / Positions / Holding Intraday|portfolio | =      |Neoxam Dynamic|Security   |Accor       |quantity       |0,0000        |status|Cancelled|all pf.|World Dynamic|trade dt|03/13/2025;03/13/2025|
human: Create a BDD test scenario for run a json export

gpt: Scenario Outline: Run a json 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 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: TASK_EXPORT_JSON | TASK_EXPORT_JSON  | TASK_EXPORT_JSON | EXPORT_JSON     | Successful job     | /data/testauto/nxdh/data/file_ExportJson.json | config&ressources/DataManagement/ref_file_ExportJson.json |
human: Write a behavior-driven test for run  valuation  service against  holdings

gpt: Scenario: Run Valuation Service against Holdings
        Given I am logged as TAV_standard.user on <screen_name>
        And I select detail screen <object_name>
        When I run the scheduled task using the button <button> from the actions menu
        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 open query screen <screen_name1> which title begins with <title>
        And I set an advanced date filter <filter_date>  =  <date_value1>
        And I click on Search button
        And I retrieve the generated valuation set id
        And I open the detail screen of the generated valuation set
        And I check that the fields <fields1> are saved with <fields_value>
        And I open query screen <screen_name2> which title begins with <title2>
        And I set an advanced date filter <filter_date>  =  <date_value1>
        And I click on Search button
        Then Valuations are displayed with <valuation_id> equal to the generated valuation set id
        And The displayed valuations have <fields> equal to <values>
        Examples:
            | screen_name     | object_name                        | button   | job_report_screen | banner_job_report | column | value           | screen_name1   | title          | filter_date | screen_name2         | title2               | date_value1 | fields1                                  | fields_value                                                                                                                                                                                              | valuation_id  | fields                  | values                                 |
            | Scheduled Tasks | Valuation Service Against Holdings | Run task | Job Reports | Job report | Status | Successful task | Valuation Sets | Valuation Sets | date | Holding Valuations_3 | Holding Valuations_3 | 09/30/2025 | Name;Description2;Category;User Category | Valuation Set computed on 2025-09-30 with the Valuation Style Market Value and LT Style Standard Look-Through;Valuation is computed against source HOLDING when storage is set toY;Category c1;Super User | Valuation Set | Currency;Style;LT Style | CAD;Market Value;Standard Look-Through |
human: Write test steps in Gherkin format for execute a selection request

gpt: Scenario Outline: Execute a selection request
    Given I am logged as TAV_standard.user on <screen_name>
    When I add a row using the buttons toolbar
    And I open the detail screen of the selected line
    And I edit the fields <fields_names> with the values <fields_values>
    And I remove group by <list_of_groups>
    And I add a row using the buttons toolbar
    And I update the cell value with <value1> for the column <query_column>
    And I remove the row selection
    And I add a row using the buttons toolbar
    And I update the cell value with <value2> for the column <query_column>
    And I save
    And I click on button <button>
    Then I check that the column <column_name> displays the value <column_value1> when the Security name is <value1>
    And I check that the column <column_name> displays the value <column_Value2> when the Security name is <value2>
    Examples:
      | screen_name             | fields_names                  | fields_values                        | value1               | value2               | query_column | column_name | column_value1 | column_Value2 | button            | button1          | list_of_groups                 |
      | Data Selection Requests | Valuation date;Data selection | 10/14/2025;2 - Data Selection Policy | TAV_dataSelection_EQ | TAV_dataSelection_FI | Security | price | 40,00000 | 20,23450 | Execute Selection | Clean the result | History datetime;Object status |
human: Generate a Cucumber scenario to test add a new record in the future with discontinuity configured

gpt: Scenario Outline: Add a new record in the future with discontinuity configured
    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 Under the block <block_name> I check that the row number <nth1> is displayed with values <values1> on columns <columns>
    And Under the block <block_name> I check that the row number <nth2> is displayed with values <values2> on columns <columns>
    And Under the block <block_name> 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 Under the block <block_name> i filter only edited rows
    And Under the block <block_name> 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 Under the block <block_name> A new added row in the position number <nth1> is displayed with values <new_values> on columns <columns>
    And Under the block <block_name> On the row number <nth2> the column <column> is not recomputed and displays the modified value <column_value>
    And Under the block <block_name> The row number <nth3> is displayed with values <values2> on columns <columns>
    And Under the block <block_name> 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_with_discontinuty | TAV_OBJECT5_with_discontinuty | ids & classif. | BBG - Fund Type;06/01/2022;12/31/2022;Amundi;ETC | BBG - Fund Type;05/01/2022;06/01/2022;Amundi;ETC | BBG - Fund Type;05/01/2021;04/01/2022;Amundi;ETC | BBG - Fund Type;07/01/2023;07/01/2024;Amundi;ETC | Group Type;Classif Start Date;Classif End Date;Class Prov;Group | Classif end date |   12/31/2022 | Security classifications |    1 |    2 |    3 |    4 |
human: Write a Gherkin scenario for testing update fields to "else if" block

gpt: Scenario Outline: Update fields to "else if" block
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I search and open the feed <feed> with the category Import
    And I check that the default displayed step is <step1>
    And I go to the step <step3>
    And I check the <cond_bloc1> bloc is displayed with the condition <condition1> under the table <table> with the fields <fields1>
    And I check the <cond_bloc2> bloc is displayed with the condition <condition2> under the table <table> with the fields <fields2>
    When I update the <cond_bloc2> bloc with the <new_operator> operator and the value <new_value>
    And I check the condition <new_condition> is displayed in the <cond_bloc2> bloc
    And I add the fields <new_fields> under the <cond_bloc2> conditional bloc
    And I assign the external fields <field> to the internal fields <new_fields>
    And I save
    And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
    Then I check that the condition <new_condition> is displayed in the <cond_bloc2> bloc under the table <table> with the internal fields <fields2> and <new_fields> assigned to the following external fields <field> and <field>
    Examples:
      | user              | screen_name     | banner               | feed              | step1      | step3   | cond_bloc1 | cond_bloc2 | condition1    | table    | fields1             | keyword2 | condition2    | fields2             | new_condition | new_operator | new_value | new_fields         | field |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON4 | Definition | Mapping | if         | else if    | text1 <> Null | SECURITY | Product description | Else if  | text2 <> Null | Product description | text2 = test  | =            | test      | Market Expectation | text2 |
human: Add the remaining steps to this scenario:

Scenario Outline: Query grid Navigation - Check Default transposed grid
        Given I am logged as TAV_standard.user on <screen_name>
        And 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 check that the default grid configuration is transpose

gpt: Scenario Outline: Query grid Navigation - Check Default transposed grid
        Given I am logged as TAV_standard.user on <screen_name>
        And 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 check that the default grid configuration is transpose
        When I add a row using buttons toolbar
        Then I check that a new blank column is added
        And 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 right aligned on transposed grid
        And I check that the value <field2_value> of the field <field2> is left aligned on transposed grid
        Examples:
            | screen_name     | field1 | field2        | criteria | value           | field1_value | field2_value |
            | Transposed Grid | Close  | Creation date | Sec type | CT - Fx Forward | 1,0000       | 09/24/2018   |
    @DHRD-96355 @pending @waiting_For_DHRD-112033
human: Finish writing this test scenario:

Scenario Outline: Download file
        Given I am logged as <administrator_user> on <screen_name>
        When I search and select the line of <document_name>
        And I upload the file <file_name> to a <document_name>
        And I save
        And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"

gpt: Scenario Outline: Download file
        Given I am logged as <administrator_user> on <screen_name>
        When I search and select the line of <document_name>
        And I upload the file <file_name> to a <document_name>
        And I save
        And A "info" toast is displayed with "ACTION ENDED: Recording object(s)"
        And I logg in with <user> on <screen_name> using a new browser
        And I open the detail screen <document_name> in the new browser
        And I download the file <file_name> in the new browser
        Then <file_name> is successfully downloaded in Downloads directory
        And The Downloaded file from Detail should be equal to <ref_file>
        Examples:
            | administrator_user | screen_name | document_name                 | file_name                      | user              | detail_screen                           | ref_file                                                                     |
            | TAV_Administrator  | Documents   | TAV_Download_Testing_Document | TAV_Download_Testing_file1.csv | TAV_standard.user | Document: TAV_Download_Testing_Document | config&ressources/DataManagement/toBeUploaded/TAV_Download_Testing_file1.csv |
human: Create Gherkin steps to verify query grid navigation -  resize column

gpt: Scenario Outline: Query grid navigation - Resize column
                Given I am logged in as Standard User
                And I search query screen <screen_name>
                And I check that columns are autosized depending on the <total> number of columns in my query grid
                And I load the query screen content
                And I check that the autosize <values> is applied in the columns <columns>
                And I open advanced search tool
                And I set an advanced list filter <field_name>  =  <field_value>
                And I click on Search button
                And I check that the autosize is not applied in the columns <columns>
                When I resize <column_name> column on my query grid
                Then The column <column_name> is well resized in my query grid
                And I double click on <column_name> column to resize my column of query grid
                And The column <column_name> is well resized in my query grid
                Examples:
                        | screen_name     | total | field_name | field_value   | column_name | values  | columns                 |
                        | Lists           | few   | Category   | Accounting    | Feed        | 711;699 | Feed;Code               |
                        | Feed dictionary | large | Category   | Manual Export | Active ?    | 71;143  | Active ?;Exp. formatter |
human: Create a BDD test scenario for run a partiel archive and check results

gpt: Scenario Outline: Run a partiel archive and check results
    Given I am logged in as <user>
    And I open query screen <screen_name3> which title begins with <banner3>
    And The object <object> is displayed in the grid
    And I search and select the object <object>
    And I select the tab <tab>
    And I edit the fields Histo with the values Full
    And I check that the displayed lines contains lines with the value of the <column2> column lower than <value2>
    And I open query screen <screen_name1> which title begins with <banner1>
    And I search and open the task <task>
    And I run the scheduled task using the button <button> from the actions menu
    And I check that a popup is displayed with the message "Task launched."
    And I close the popup
    When I open query screen <screen_name2> which title begins with <banner2>
    And I search the task <task>
    And The column <column> of the task is equal to <value>
    And I open query screen <screen_name3> which title begins with <banner3>
    Then The object <object> is displayed in the grid
    And I search and select the object <object>
    And I select the tab <tab>
    And I edit the fields Histo with the values Full
    And I check that the displayed lines have the value of the <column2> column greater than <value2>
    Examples:
      | user              | screen_name1    | banner1          | task              | button   | screen_name2 | banner2    | column | value           | screen_name3  | banner3   | object         | tab    | column2 | value2     |
      | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | PARTIAL_ARCHIVING | Run task | Job Reports  | Job report | Status | Successful task | My Securities | Security: | TAV_ToArchive2 | Prices | Date    | 12/31/2021 |
  @DHRD-103328 @skipped @waiting_for_DHRD-106607
human: Generate a feature file scenario for run  morning star valuation task

gpt: Scenario Outline: Run MorningStar valuation task
        Given I am logged as TAV_standard.user on <screen_name>
        And I go to detail screen <detail_screen> of <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 file <file_exported> should be not empty and should be a valid XML file
        And The lines number of the xml file <file_ref> should be equal to the lines of <file_exported>
        Examples:
            | screen_name     | detail_screen                                              | task_name                                  | export_job_name             | successfull_status | file_exported                                                       | file_ref                                                           |
            | Scheduled Tasks | Scheduled task: MorningStar Valuation One File import Task | MorningStar Valuation One File import Task | MorningstarWSRequestService | Successful job     | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-103966_MSVLFilesList.xml | config&ressources/DataManagement/ref_DHRD-103966_MSVLFilesList.xml |
            | Scheduled Tasks | Scheduled task: MorningStar Valuation One File import Task | MorningStar Valuation One File import Task | MorningstarWSRequestService | Successful job     | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-103966_MSVLFilesList.xml | config&ressources/DataManagement/ref_DHRD-103966_MSVLFilesList.xml |
human: Write a behavior-driven test for retrieve views error status codes

gpt: Scenario Outline: Retrieve views error status codes
		Given I am an authorized user <user>
        When I retrieve data from the scope view <scope_view_code>
        Then I should get a response with status <error_code>
		Examples:
			| user         | scope_view_code  | error_code  |
            | TAR_api.user | TEST_SCOPE_VIEW1 | 404         |
            | TAR_api.use  | TAR_SCOPE_VIEW   | 401         |