Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create a BDD test scenario for i d s -  fund  shares listing

gpt: Scenario Outline: IDS - Fund Shares listing
		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 <status_code>
        And The response content is displayed with the same content as in <ref_json_file>
		Examples:
			| user         | scope_view_code     | status_code | ref_json_file        |
            | TAR_api.user | TAR_SHARE_LIST_VIEW | 200         | fund_shares_ref.json |
human: Complete this Gherkin scenario:

Scenario Outline: Add fields to "else" 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>

gpt: Scenario Outline: Add fields to "else" 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 add an <cond_bloc3> bloc following the <cond_bloc2> under the <table> table
    And I add the fields <new_fields> under the <cond_bloc3> 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 The <cond_bloc3> bloc is displayed under the table <table> with the internal fields <new_fields> assigned to the following external fields <field>
    Examples:
      | user              | screen_name     | banner               | feed              | step1      | step3   | cond_bloc1 | condition1   | table    | fields1             | cond_bloc2 | condition2   | fields2             | cond_bloc3 | new_fields         | field |
      | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON5 | Definition | Mapping | if         | text1 = TEST | SECURITY | Product description | else if    | text1 = PROD | Product description | else       | Market Expectation | text1 |
human: Write a behavior-driven test for create a detail screen using new data model

gpt: Scenario Outline: Create a detail screen using new data model
    Given I am logged in as TAV_standard.user
    And I switch to mode Config
    And I open the user menu DataHub warehouse
    And I create a New detail screen under DataHub warehouse
    And I edit the fields <fields_name> with the values <fields_value>
    And I click on button <ok_button>
    And I close the DataHub warehouse menu
    And I add a new tab
    And I select tab <tab_name> from config panel
    And I add a new block
    And I select block <block_name> from config panel
    And I add a field <fields> under block <block_name>
    And I save the screen configuration
    Then The fields <fields> is displayed on the detail screen
    And the fields <fields> is displayed on the config panel
    And I switch to mode Edit
    And The fields <fields> is displayed on the detail screen
    Examples:
      | fields_name            | fields_value                                | ok_button | fields        | query_column  | block_name | tab_name |
      | Code;Name;Object Class | TEST_CODE2;TEST_D_SCREEN1;NEW_CREATED_CLASS | OK        | FIELD1;FIELD2 | FIELD1;FIELD2 | new panel  | new tab  |
human: Write a behavior-driven test for advanced  filter by date/time fields

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

Scenario Outline: Manage Fields setup
    Given I am logged as TAV_standard.user on <screen_name>
    And I open detail screen <detail_screen> of column name <column_name> of object <object_name>
    And I add a row on the grid under the block <block_name>

gpt: Scenario Outline: Manage Fields setup
    Given I am logged as TAV_standard.user on <screen_name>
    And I open detail screen <detail_screen> of column name <column_name> of object <object_name>
    And 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>
    When I save
    Then The new row displays values <new_values> in columns <columns>
    Examples:
      | screen_name | detail_screen                               | object_name      | column_name | block_name   | columns                                                          | new_values                                           |
      | MultiSource | Multi-source parameter: SECURITY_ACCRINT_MS | SECURITY_ACCRINT | Table       | Fields setup | Tree node;Target field;Source 1;Source 2;Source 4;Other sources? | Equity;ACCRINT_FLAG;Bloomberg;Telekurs;Refinitiv;Yes |
human: Create a BDD test scenario for run an export json using a publisher tag

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: Finish writing this test scenario:

Scenario Outline: Run a task using sql publisher service
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I search and select the object <task_name>
    When I perform the action <action>
    And I check that a popup is displayed with the message "Task launched."
    And I close the popup

gpt: Scenario Outline: Run a task using sql publisher service
    Given I am logged in as <user>
    And I open query screen <screen_name> which title begins with <banner>
    And I search and select the object <task_name>
    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>
    Then I check that the fields <field> should be equal <new_value>
    Then I check that the Scheduler log file <scheduler_log_path> contains <SQLPOOL_QUERY_value>
    And A valid <file_type> file is generated under path <file_path>
    And The content of the exported sql file <file_path> should be equal to <file_ref>
    Examples:
      | user              | screen_name     | banner           | job_name   | task_name                           | action   | screen_name1 | banner1    | field  | new_value      | scheduler_log_path | file_type | SQLPOOL_QUERY_value                                                                                                                                                                                                                                                                                               | file_path           | file_ref                                                    |
      | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | Publishing | [Migrated - TNR] SQL Publisher test | Run task | Job Reports  | Job report | Status | Successful job | nxdh/Soft/logs     | sql       | insert into TEST_EXPORT (ISIN,LIB,DEVISE,PAYS,DATE_COTATION,PROVIDER,QUOTE_CLOSE,PLACE_COTATION,TYPE_VALEUR,LAST_QUOTE,MONTANT_EMISSION, ALPHA, BETA, MARKET, ISSUER)  values (\'%A%\',\'%B%\',\'%C%\',\'%D%\', \'%E%\', \'%F%\', %G%, \'%H%\', \'%I%\', %J%, 15, %M%, %N%, \'%H%\', \'%U%\') | nxdh/data/SQL_T.sql | config&ressources/DataManagement/SQL_PUBLISHER_REF_FILE.sql |
  @DHRD-102419 @pending @waiting_For_DHRD-112685
human: Write a behavior-driven test for delete owned screens with unauthorized user

gpt: Scenario Outline: Delete owned screens with unauthorized user
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <menu_name>
        When I hover on the owned screen <screen_name>
        Then The delete icon is not available on the owned screen <screen_name>
        Examples:
            | user                 | menu_name         | screen_name         |
            | unauthorized.user.EN | DataHub warehouse | Screen_Unauthorized |
            | unauthorized.user.FR | DataHub factory | Ecran_Non_Autorise |
human: Generate a feature file scenario for configure  ms parameters without multi-contrib

gpt: Scenario Outline: Configure Ms parameters without multi-contrib
    Given I am logged as TAV_standard.user on <screen_name>
    And I duplicate the row where <col_name> has the value <table_name>
    When I access the detail screen of the selected row
    Then The checkbox for the field <field_name> is unchecked
    And all tabs <tabs> are displayed in the tab component
    Examples:
      | screen_name | table_name         | tabs                               | col_name | field_name      |
      | MultiSource | SECURITY_ANALYTICS | Main;Audit;Copy rules;Linked field | Table    | Multi contrib.? |
human: Create an automated test scenario for delete entry  high  priority

gpt: Scenario Outline: Delete 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 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 is recomputed and displays values <GC_new_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_new_values                       |
      | My Securities | Bond detail: TAV_delete_high_Treasury Bonds | TAV_delete_high_Treasury Bonds | Rating | Full        | 12/24/2019;Moody's SEC;Bloomberg;A3 | Rating date;Type;Provider;Rating | 12/24/2019 | 12/24/2019;Fitch SEC;Golden copy;AA |
human: Finish writing this test scenario:

Scenario Outline: Create and configure a detail screen
        Given I am logged in as <user>
        And I switch to mode Config
        And I open the user menu <main_menu>
        When I create a New detail screen under <main_menu>
        And I edit the fields <field_name> with the values <field_value>
        And I click on button <ok_button>
        And I close the <main_menu> menu
        And I add a new tab and rename it to <new_tab>
        And I select tab <new_tab> from config panel
        And I add a new block under tab <new_tab> and rename it to <new_bloc>
        And I select block <new_bloc> from config panel

gpt: Scenario Outline: Create and configure a detail screen
        Given I am logged in as <user>
        And I switch to mode Config
        And I open the user menu <main_menu>
        When I create a New detail screen under <main_menu>
        And I edit the fields <field_name> with the values <field_value>
        And I click on button <ok_button>
        And I close the <main_menu> menu
        And I add a new tab and rename it to <new_tab>
        And I select tab <new_tab> from config panel
        And I add a new block under tab <new_tab> and rename it to <new_bloc>
        And I select block <new_bloc> from config panel
        And I add a field <fields> under block <new_bloc>
        And I add a grid <grid>
        And I add columns <columns> to the grid <grid>
        And I save the screen configuration
        And I check that added fields <fields> appear in the modeling overlay and in the detail part of the tab <new_tab> under the block <new_bloc>
        And I check that columns <columns> appear in the detail part of the tab <new_tab>
        And I check that the columns <columns> are added to the modeling overlay under the grid <table_name>
        And I switch to mode Edit
        And I logged out and logged in with <user>
        And I open the detail screen <detail_screen_name> which title begins with <detail_screen_name>
        Then The fields <fields> is displayed on the detail screen
        And The grid with columns <columns> is displayed on the detail screen
        Examples:
            | user               | main_menu         | field_name             | field_value                                                          | new_tab  | ok_button | new_bloc   | fields             | grid            | columns                      | table_name              | detail_screen_name            |
            | authorized.user.EN | DataHub warehouse | Code;Name;Object Class | DETAIL_DHRD-97398_Test_SCREEN;DETAIL_DHRD-97398_Test_SCREEN;Security | tab_test | OK        | panel_test | Name;Currency      | Classifications | Group;Group Type             | SECURITY_CLASSIFICATION | DETAIL_DHRD-97398_Test_SCREEN |
            | authorized.user.FR | DataHub factory   | Code;Name;Object Class | Ecran_Detail_DHRD-97398;Ecran_Detail_DHRD-97398;Valeur               | tab1     | OK        | block1     | Emetteur;Locataire | Codes           | Identifiant;Pays identifiant | SECURITY_CODE           | Ecran_Detail_DHRD-97398       |
human: Write a behavior-driven test for 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: Copy/paste using Range selection using Shift + Click
    Given I am logged as <user> on <screen_name>
    And I select manually the row at index <index1>
    When I continuously press <key> key
    And I click on the column <column> of the row at index <index2>
    And I release the <key> key
    And I perform the keyboard shortcut <shortcut1>

gpt: Scenario: Copy/paste using Range selection using Shift + Click
    Given I am logged as <user> on <screen_name>
    And I select manually the row at index <index1>
    When I continuously press <key> key
    And I click on the column <column> of the row at index <index2>
    And I release the <key> key
    And I perform the keyboard shortcut <shortcut1>
    And I open Excel using a new browser
    And I log in with the user <excel_user> and the password <password> with the second browser
    And I Create a new blank workbook with the second browser
    And I Click on the first cell of the sheet with the second browser
    When I apply the keyboard shortcut <shortcut3> from the second browser
    And I download the sheet from the second browser
    Then The content of the downloaded file should be equal to <file_ref>
    Examples:
      | user              | screen_name           | key   | shortcut1 | index1 | index2 | column   | excel_user              | password    | shortcut3 | file_ref                                              |
      | TAV_standard.user | Products & Mandates 2 | Shift | Ctrl + C  |      1 |      6 | Umbrella | dh_testauto@outlook.com | datahub2025 | Ctrl + V  | config&ressources/Navigation/DHRD-92751_ref_file.xlsx |
human: Write a behavior-driven test for pagination

gpt: Scenario Outline: Pagination
  Given I am an authorized user <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>
  And the response shows a total number of records equals to <total_before>
  And I resend the request with Range header search=0-<pagination_range_end>
  And I should get a response with status <status_code>
  And the response shows a total number of records equals to <total_after>
Examples:
  | user         | class_name | field | label  | payload                      | folder_name | status_code | total_before | pagination_range_end | total_after |
  | TAR_api.user | MxSecurity | NAME  | null   | SearchResultsManagement.json | payloads    | 200         | 10           | 25                   | 26          |
human: Add the remaining steps to this scenario:

Scenario Outline: Query grid navigation - Remove Groups
    Given I am logged as <user> on <screen_name>
    And I remove the columns <group_name> from the groups menu
    And The groups number must be equal to <number>
    And The number of level is passed to <number>
    And The columns <group_name> are disabled from the groups menu
    And I check that the values of inactive groups <group_name> are not displayed in the grid
    And The grid is grouped by the columns values <group_value2>

gpt: Scenario Outline: Query grid navigation - Remove Groups
    Given I am logged as <user> on <screen_name>
    And I remove the columns <group_name> from the groups menu
    And The groups number must be equal to <number>
    And The number of level is passed to <number>
    And The columns <group_name> are disabled from the groups menu
    And I check that the values of inactive groups <group_name> are not displayed in the grid
    And The grid is grouped by the columns values <group_value2>
    And The group <group_value2> is by default expanded in the grid
    And I check that the button collapse all becomes enabled on the groups menu
    When I click on remove all groups button on the groups menu
    Then I check that the button collapse all becomes disabled on the groups menu
    And I check that the button expand all becomes disabled on the groups menu
    And I check that the group number is empty
    And I close toolbar groups menu
    And The  Group is not highlighted
    Examples:
      | user        | screen_name   | group_name    | group_value2      | number |
      | TAV_User_EN | My Securities | Sec main type | EQ - Common Stock | 1      |
human: Finish writing this test scenario:

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>

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: Complete this Gherkin scenario:

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>

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 |