Ghaythfd/gherkin-scenarios huggingface dataset:
human: Add the remaining steps to this scenario:

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

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: Generate a Cucumber scenario to test advanced  filter using one text field

gpt: Scenario Outline: Advanced Filter using one text field
		Given I am logged as TAV_standard.user on <screen_name>
		And I open advanced search tool
		When I set an advanced text filter <field1_name>  =  <field1_value>
		And I click on Search button
		Then The query grid shows all rows in the database having <field1_name> equal to <field1_value>
		Examples:
			| screen_name          | field1_name | field1_value                   |
			| My Securities        | Name        | TAV_Alternative                |
			| My Business entities | Name        | Accor SA                       |
			| Lists                | Name        | Accounting Balance Status Type |
			| Users                | Lastname    | Ameziani                       |
			| Rules                | Name        | See rule                       |
human: Complete this Gherkin scenario:

Scenario: Run Valuation Service against Valuations
        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>

gpt: Scenario: Run Valuation Service against Valuations
        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 Valuation | Run task | Job Reports | Job report | Status | Successful task | Valuation Sets | Valuation Sets | date | Holding Valuations_3 | Holding Valuations_3 | 07/21/2025 | Name;Description2;Category;User Category | Valuation Set computed on 2025-07-21 with the Valuation Style Market Value and LT Style Standard Look-Through;Valuation is computed against source VALUATION when storage is set toY;Category c1;Super User | Valuation Set | Currency;Style;LT Style | USD;Market Value;Standard Look-Through |
human: Write a Gherkin scenario for testing cancel transaction and approve it using can validate user

gpt: Scenario Outline: Cancel transaction and approve it using can validate 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 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 yellow
    And I am logged out
    And I am logged as <user2> 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 click on Search button
    And I close advanced search tool
    And I select the first row from the grid
    And I Approve 4-Eyes
    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 dispalyed with field <quantity_column> and value <quantity_value>
    Examples:
      | user              | screen_name             | field|value|path|user2|id|quantity_column|quantity_value|field_name|operator|field_value|field_name1|field_value1|path2|screen_name2|field_name2|field_value2|field_name3|field_value3|
      |TAV_transaction.user  |Transactions|status|Cancelled|Screen / Investment Data / Trade Support / Transactions|TAV_transactionskipvalidation.user|56144|quantity|0,0000|portfolio|=|CDO SmartCO Calisto|Security|TAV_Accor|Screen / Investment Data / Positions / Holding Intraday|Holding Intraday|all pf.|CDO SmartCO Calisto|trade dt|03/10/2025;03/10/2025|
@DHRD-102864 @skipped @waiting_for_DHRD-112080
human: Write a behavior-driven test for export archived objects and check response

gpt: Scenario Outline: Export archived objects and check response
        Given I am logged in as <user>
        And I execute an export via web service of the object <object>
        And I should get a response with status <status_code1>
        And The response content is displayed with the same content as in <ref_json_file>
        And I open query screen <screen_name> which title begins with <banner>
        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>
        Then I execute an export via web service of the object <object>
        And I should get a response with status <status_code2>
        And I check that the response body contain the message <message>
        Examples:
            | user              | object       | status_code1 | ref_json_file            | screen_name     | banner           | screen_name2 | banner2    | task                | button   | message            | column | value           | status_code2 |
            | TAV_standard.user | TAVToArchive | 200          | refFile_DHRD-102423.json | Scheduled Tasks | Scheduled tasks: | Job Reports  | Job report | COMPLETE_ARCHIVING3 | Run task | Resource not found | Status | Successful task | 404          |
human: Create an automated test scenario for swap columns order

gpt: Scenario Outline: Swap columns order
    Given I am logged in as Standard User
    And I access <screen_name> screen which title begins with <banner_fixed_text>
    And the default columns order is <Columns>
    When I Swap the columns <Column1> with <Column2>
    Then I check that the columns order display is equal to <Columns_new>
    Examples:
      | screen_name | banner_fixed_text | Columns                            | Column1     | Column2  | Columns_new                        |
      | Users       | Users :           | Lastname;Activated ?;#Nx;Fit model | Activated ? | Lastname | Activated ?;Lastname;#Nx;Fit model |
human: Generate a feature file scenario for filter/ search on a view error status codes

gpt: Scenario Outline: Filter/Search on a view error status codes
		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 <error_code>
		Examples:
			| user         | scope_view_code  | error_code | criteria_fields              | criteria_operators | criteria_values |
			| TAR_api.user | TAR_SCOPE_VIEW1  | 404        | security_main_type;PREFFERED | EQUAL;EQUAL        | Equity;Yes      |
			| TAR_api.use  | TAR_SCOPE_VIEW   | 401        | security_main_type;PREFFERED | EQUAL;EQUAL        | Equity;Yes      |
			| TAR_api.user | TAR_SCOPE_VIEW   | 400        | security_main_type;PREFFERED | EQUAL;EQUA         | Equity;Yes      |
human: Add the remaining steps to this scenario:

Scenario Outline: Run a task using a trigger condition
        Given I am logged in as <user>
        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."

gpt: Scenario Outline: Run a task using a trigger condition
        Given I am logged in as <user>
        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>
        Then The column <column> of the task is equal to <value>
        And The content of the exported csv file <file_exported> should be equal to <file_ref>
        Examples:
            | user              | screen_name1    | banner1          | task                      | button   | screen_name2 | banner2    | column | value           | file_exported                                   | file_ref                                                      |
            | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | task_export_triggeredFeed | Run task | Job Reports  | Job report | Status | Successful task | /data/testauto/nxdh/data/Export_csv_trigger.csv | config&ressources/DataManagement/csv_ref_file_DHRD-101405.csv |
human: Write a behavior-driven test for run  task using mail service and check mail reception

gpt: Scenario Outline: Run Task using mail service and check mail reception
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I search for <task_name> and select the first line
    And I set values <value> for the columns <column>
    When I perform the action <action>
    And I check that a popup is displayed with the message "Task launched."
    And I close the popup
    And I open query screen <screen_name1> which title begins with <banner1>
    And I search and open the job <job_name>
    And I check that the fields <field> should be equal <new_value>
    And I open the inbox of the account <receiver>
    Then An email is received in the inbox of the account <receiver> sent by <sender> with the subject <subject> and the content <content>
    Examples:
      | user              | screen_name     | banner           | job_name          | task_name | action   | screen_name1 | banner1    | field  | new_value      | receiver                    | sender                      | subject           | content           | value                                                                                                           | column     |
      | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | Test mail service | TEST_MAIL | Run task | Job Reports  | Job report | Status | Successful job | dhtest.suiteauto@neoxam.com | visage.testsuite@neoxam.com | TEST_MAIL_SERVICE | TEST MAIL SERVICE | "visage.testsuite@neoxam.com" "dhtest <dhtest.suiteauto@neoxam.com>" "" "TEST_MAIL_SERVICE" "TEST MAIL SERVICE" | Parameters |
human: Generate a feature file scenario for update query search using keyboard ' enter on field list with default operator  i n

gpt: Scenario Outline: Update query search using keyboard 'Enter 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 set an advanced list filter <field_name>  <new_operator>  <new_field_value>
    When I press "Enter"
    Then The search criteria <field_name> is displayed with the operator <new_operator> and value <new_field_value>
    And All rows displayed have <field_name> is <new_operator> to <new_field_value>
    And The filters from Query compact view are filled with "<field_name>" "<new_operator>" "<new_field_value>"
    Examples:
      | user              | screen_name     | banner    | field_name    | new_field_value | new_operator |
      | TAV_standard.user | My Securities 3 | Security: | Sec main type | Fixed Income    | <>           |
      | TAV_standard.user | Users 2         | Users :   | Activated ?   | No              | <>           |
human: Complete this Gherkin scenario:

Scenario Outline: Filter/Search on a view with operator "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>

gpt: Scenario Outline: Filter/Search on a view with operator "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 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 | IN                | Index,  Money Market | 200         | name | Index,  Money Market | security_main_type |
human: Add the remaining steps to this scenario:

Scenario: Query grid navigation - Export XLS (Transposed - Grid / Pivot - Grid / Hierarchical - 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 (Transposed - Grid / Pivot - Grid / Hierarchical - 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 transpose | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-112412_transposed_query_grid.xlsx |
      | TAV_standard.user | xls       | Cash Positions          | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-112412_pivot_query_grid.xlsx      |
    # | TAV_standard.user | xls       | Business Dictionary      | export XLS   | config&ressources/DataManagement/xls_ref_file_DHRD-112412_hierarchical_query_grid.xlsx |@skipped @waiting_for_DHRD-112176
  @DHRD-94603 @skipped @waiting_for_DHRD-114393 @pending @waiting_For_DHRD-114616
human: Write a Gherkin scenario for testing manipulate  e x p o r t_ d e l t a_ f r o m with  submappings

gpt: Scenario Outline: Manipulate EXPORT_DELTA_FROM with Submappings
        Given I am logged as <user> on <screen_name>
        And I select detail screen <object_name>
        And I retreive the current date time and I modify the field <field_name> with <field_value>
        And I save
        And I open query screen <Scheduled_Tasks_screen> which title begins with <banner_scheduled_tasks>
        And I search and open the task <task>
        When I perform the action <action>
        And I set in the popup with title <title> the date retrieved previously in the field <field>
        And I click on button Ok
        And I click on button Close
        And I open query screen <job_report_screen> which title begins with <banner_job_report>
        And I search the task <task>
        And I verify job <Export_job_name> of the task <task> with status <successfull_status>
        And I open detail screen <job_report> of column name <column_name> of object <job_name>
        Then I verify that the content of the field <field1> is displayed with the right content <content>
        And The content of the exported xml file <file_exported> should be equal to <file_ref>
        Examples:
            | user              | screen_name   | Scheduled_Tasks_screen | banner_scheduled_tasks | object_name     | field_name    | field_value | task                               | action             | title             | date | job_report_screen | successfull_status | Export_job_name | field                    | field1  | content                                   | file_ref                                          | file_exported                                                       | job_report_screen | job_report | banner_job_report | column_name | job_name     |
            | TAV_Administrator | My Securities | Scheduled Tasks        | Scheduled tasks:       | TAV_accor_delta | Product desc. | TEST_DELTA  | Delta Export Task with Submappings | Run task with args | Specify arguments | date | Job Reports       | Successful job     | Delta Export    | %EXPORT_DELTA_TIMESTAMP% | Comment | CommentExportdeltafromwithsubmapping.json | config&ressources/XML/RefExportdelta_subtest2.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-96584-delta_subtest2.xml | Job Reports       | Job report | Job report        | Job         | Delta Export |
human: Complete this Gherkin scenario:

Scenario: Detail grid navigation - Export CSV (Standard - 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 click on the groups menu

gpt: Scenario: Detail grid navigation - Export CSV (Standard - 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 click on the groups menu
    And I expand the level number <level_number> from group menu
    When I download export file using button <csv_button> toolbar from query screen
    Then export csv file is successfully downloaded
    And The content of the downloaded <file_type> file should be equal to <file_ref>
    Examples:
      | user              | file_type | screen_name   | detail_screen                | object_name   | tab      | level_number | csv_button | file_ref                                                                  |
      | TAV_standard.user | csv       | My Securities | Equity detail: TAV_TOEXPORT1 | TAV_TOEXPORT1 | Prices 6 |            1 | export CSV | config&ressources/DataManagement/DHRD-113611_standard_detail_grid_ref.csv |
human: Add the remaining steps to this scenario:

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>

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 |