Ghaythfd/gherkin-scenarios huggingface dataset:
human: Create an automated test scenario for run a task using sql publisher service

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

Scenario Outline: Delete transfered screens with authorized user
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <menu_name>
        When I delete the transfered screens <screen_list> from the parent folder <folder_list>

gpt: Scenario Outline: Delete transfered screens with authorized user
        Given I am logged in as <user>
        And I switch to mode config
        And I open the user menu <menu_name>
        When I delete the transfered screens <screen_list> from the parent folder <folder_list>
        And I check that the deleted screens <screen_list> have disappeared from menu <folder_list>
        And I logged out and logged in with <user>
        And I switch to mode config
        And I open the user menu <menu_name>
        Then The deleted screens <screen_list> have disappeared from menu <folder_list>
        Examples:
            | user               | menu_name         | folder_list                                        | screen_list                                       |
            | authorized.user.EN | DataHub warehouse | DataHub warehouse;Price & Levels;Index & Benchmark | Detail Screen 1;Query Screen 1;Dashboard Screen 1 |
            | authorized.user.FR | DataHub factory | DataHub factory;Production;Scopes et Vues | Ecran Detail 1;Ecran Query 1;Ecran Dashboard 1 |
human: Finish writing this test scenario:

Scenario Outline: Update between sessions in real time
                Given I am logged as <user1> on <screen-name>
                And I select detail screen <object_name>
                And I logg in with <user2> on <screen-name> using a new browser
                And I open the detail screen <object_name> in the new browser

gpt: Scenario Outline: Update between sessions in real time
                Given I am logged as <user1> on <screen-name>
                And I select detail screen <object_name>
                And I logg in with <user2> on <screen-name> using a new browser
                And I open the detail screen <object_name> in the new browser
                When I edit from first browser the content of the text field <text_field> of the block <block> with <text_field_value>
                And I save it from the first browser
                Then a pop up ACTION ENDED: Recording object(s) from the first browser is displayed
                And The content of the text field <text_field> from the first browser should be <text_field_value>
                And The content of the text field <text_field> from the second browser should be <text_field_value>
                Examples:
                        | user1             | user2             | screen-name   | object_name              | text_field | block          | text_field_value |
                        | TAV_standard.user | TAV_Administrator | My Securities | TAV_realTimeNotification | Short name | Identification | RealTimeTest     |
human: Create a BDD test scenario for update a static value using  p u t method

gpt: Scenario Outline: Update a static value using PUT method
        Given I am on the swagger interface
        When I select the resource <resource_name>
        And I setup basic authentication with user <user>
        And I click on the operation <operation_name> of the resource <resource_name> having as endpoint <endpoint>
        And I fill the parameters <request_parameters> with values <request_values>
        And I set the json body with <content>
        And I execute the request
        And I check that I get the response status equal to <status_code>
        And I click on the operation <operation_name2> of the resource <resource_name> having as endpoint <endpoint>
        And I fill the parameters <request_parameters> with values <request_values>
        And I execute the request
        Then I should get the response status equal to <status_code2>
        And The response body should contain a new nested object with id <object_id> and status <object_status>
        Examples:
            | resource_name          | user              | operation_name | endpoint              | request_parameters | request_values | content                        | status_code | operation_name2 | status_code2 | object_id | object_status |
            | Tav_statisticvaluedemo | TAV_standard.user | Update         | tavstatisticvaluedemo | id                 | 100            | TAV_STAT1_Update_Active.json   | 204         | getById         | 200          | 54        | ACTIVE        |
            | Tav_statisticvaluedemo | TAV_standard.user | Update         | tavstatisticvaluedemo | id                 | 100            | TAV_STAT1_Update_Inactive.json | 204         | getById         | 200          | 54        | INACTIVE      |
human: Create a BDD test scenario for launch a task using a specific time zone

gpt: Scenario Outline: Launch a task using a specific time zone
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <task_name>
    And I select the tab <tab>
    When I set the launch task time zone to <time_zone> in the triggers bloc
    And I reschedule the task on an imminent start time based on the setted time zone <time_zone>
    And I save
    And I select show the task from the job report screen
    Then I check that the first job <job_name> of task is launched respecting the converted start time
    Examples:
      | screen_name     | detail_screen                        | task_name            | tab  | time_zone               | job_name  |
      | Scheduled Tasks | Scheduled task: Task to be triggered | Task to be triggered | Main | Europe/London [GMT 0.0] | TEST_RULE |
      | Scheduled Tasks | Scheduled task: Task to be triggered | Task to be triggered | Main | Africa/Tunis [GMT +1.0] | TEST_RULE |
human: Add the remaining steps to this scenario:

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

gpt: Scenario Outline: Filter/Search on a view with static recspec
    Given I am an authorized user <user>
    When I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>
    Then I should get a response with status <status_code>
    And all received objects should include these <values> as <fields>
    Examples:
      | user         | scope_view_code               | criteria_fields                    | criteria_operators | criteria_values                      | status_code | values                                                                                                   | fields                |
      | TAR_api.user | TAR_SCOPE_VIEW_STATIC_RECSPEC | security_type;security_code_commun | EQUAL;EQUAL        | EQ - Depository Receipt;US0727303028 |         200 | US0727303028;Bayer AG Sp ADR Shs Sponsored American Depositary Receipt Repr 1/4 Sh;Other types of equity | ISIN;name;Equity type |
human: Create Gherkin steps to verify update query search on field list with default operator  i n

gpt: Scenario Outline: Update query search 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 check that filters from Query compact view are filled with "<field_name>" "<old_operator>" "<old_field_value>"
    And I check the query grid shows all rows in the database having <field_name> equal to <old_field_value>
    And I open advanced search tool
    And I check the search criteria <field_name> is displayed with the operator <old_operator> and value <old_field_value>
    And I check the advanced filter <field_name> shows all field results <field_possible_values>
    And I check the advanced filter <field_name> shows all operator results <operator_possible_values>
    When I set an advanced list filter <field_name>  <new_operator>  <new_field_value>
    And I click on Search button
    Then 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    | old_field_value | new_field_value | old_operator | new_operator | field_possible_values                                                                                                                                                  | operator_possible_values |
      | TAV_standard.user | My Securities 3 | Security: | Sec main type | Equity          | Fixed Income    | in           | <>           | Equity;Fixed Income;Mutual Fund;Money Market;Derivative;Market Data;Index;OTC / Contracts;Alternative;Reference Data;Warrants, Certificates, Structured Products;Other | =;<>;in;not in           |
      | TAV_standard.user | Users 2         | Users :   | Activated ?   | Yes             | No              | in           | <>           | No;Unknown;Yes                                                                                                                                                         | =;<>;in;not in           |
human: Create an automated test scenario for advanced  filter by extended date field

gpt: Scenario Outline: Advanced Filter by extended date field
		Given I am logged as TAV_standard.user on <screen_name>
		And I open advanced search tool
		When I set an advanced date filter <date_field_name>  =  <date_value>
		And I click on Search button
		Then The query grid shows all rows in the database having <date_field_name> equal to <date_value>
		Examples:
			| screen_name          | date_field_name | date_value |
			| My Business entities | Creation Dt     | 01/28/2019 |
human: Add the remaining steps to this scenario:

Scenario Outline: Run a multi-thread import
    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 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>

gpt: Scenario Outline: Run a multi-thread import
    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 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 <fields> should be equal <new_values>
    And The fields <fields1> should contains <new_values1>
    And <nbr_thread> workers logs files are generated on path <Reader_file_Path>
    And I open query screen <screen_name2> which title begins with <banner2>
    And I set an advanced date filter <date_time_field_name>  =  today
    When I click on Search button
    Then The query grid shows all rows in the database having <field> equal to <File_field>
    Then the query grid shows all rows in the database where <columns> must not be empty
    Examples:
      | user              | screen_name     | banner           | job_name | task_name     | action   | screen_name1 | banner1    | fields | new_values     | fields1                         | new_values1                                                                                                               | nbr_thread | Reader_file_Path        | screen_name2 | banner2  | date_time_field_name | File_field          | field | columns             |
      | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | testRaw  | test raw data | Run task | Job Reports  | Job report | Status | Successful job | Comment;Comment;Comment on proc | File Importation successfull;No reject has been generated;- Multi-threaded job, with 2 threads which have run in parallel |          2 | /Soft/logs/ReaderWorker | Raw Data     | Raw Data | Received - Start  Dt | TestFileRawData.csv | File. | File Line;Object ID |
human: Add the remaining steps to this scenario:

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

gpt: Scenario Outline: Filter/Search on a view using code as reference display
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>
		Then I should get a response with status <status_code>
		And all received objects should include these <values> as <fields>
		Examples:
			| user         | scope_view_code     | criteria_fields              | criteria_operators | criteria_values | status_code | values | fields                     |
			| TAR_api.user | TAR_SCOPE_VIEW_CODE | security_main_type;PREFFERED | EQUAL;EQUAL        | Equity;Yes      | 200         | 534;EQ | country;security_main_type |
human: Complete this Gherkin scenario:

Scenario Outline: Take into account the inactivation of a criterion
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>

gpt: Scenario Outline: Take into account the inactivation of a criterion
		Given I am an authorized user <user>
		When I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>
		Then I should get a response with status <status_code>
		And the received fields <field> should at least include other value than <deactivated_criteria_value>
		Examples:
			| user         | scope_view_code                             | criteria_fields                  | criteria_operators | criteria_values        | status_code | fields     | deactivated_criteria_value |
			| TAR_api.user | TAR_SCOPE_VIEW_FIELD_CRITERIA_DESACTIVATION | security_main_type;security_code | EQUAL;EQUAL        | Mutual Fund;TAR1199999 | 200         | Identifier | TAR1199999                 |
human: Add the remaining steps to this scenario:

Scenario: Detail grid navigation - Export CSV with groups closed (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>

gpt: Scenario: Detail grid navigation - Export CSV with groups closed (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>
    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      | csv_button | file_ref                                                                                     |
      | TAV_standard.user | csv       | My Securities | Equity detail: TAV_TOEXPORT1 | TAV_TOEXPORT1 | Prices 6 | export CSV | config&ressources/DataManagement/DHRD-113612_standard_detail_grid_ref_with_closed_groups.csv |
  @DHRD-113613 @skipped @waiting_for_DHRD-112176
human: Write a Gherkin scenario for testing autocomplete must return all list results

gpt: Scenario Outline: Autocomplete must return all list results
        Given I am logged as TAV_standard.user on <screen_name>
        And I open advanced search tool
        When I set advanced filter on list <field_name>  =  <field_value>
        Then the advanced filter shows all results containing <field_value>
        Examples:
            | screen_name   | field_name | field_value |
            | My Securities | Security   | ACC         |
human: Generate a Cucumber scenario to test edit new entry  high  priority

gpt: Scenario Outline: Edit 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 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 is recomputed and displays values <new_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 | date_Rtg   | values                           | columns                          | new_values                           | new_GC_values                          |
      | My Securities | Bond detail: TAV_edit_high_Treasury Bonds | TAV_edit_high_Treasury Bonds | Rating | Full        | 05/18/2020 | 05/18/2020;Fitch SEC;Bloomberg;A | Rating date;Type;Provider;Rating | 05/18/2020;Moody's SEC;Bloomberg;Aa1 | 05/18/2020;Moody's SEC;Golden copy;Aa1 |
human: Generate a feature file scenario for check job transitions retry

gpt: Scenario Outline: Check job transitions retry
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <task_name>
    And I select the tab <tab>
    When I set the next job of the job whose code is  <job_code1> to <job_code2> when the exception is <exception> on the job transitions bloc
    And I set the retry of the job whose code is  <job_code1> to <retry> when the exception is <exception> on the job transitions bloc
    And I save
    And I select the action run task
    And I select show the task from the job report screen
    And I wait for the task <task_name> to be completed
    Then the job <job_name> is relaunched <retry> times
    Examples:
      | screen_name     | detail_screen                                                   | task_name                                       | tab  | job_name       | job_code1 | job_code2 | exception | retry |
      | Scheduled Tasks | Scheduled task: BBG - Equity Subscription - Daily Request-retry | BBG - Equity Subscription - Daily Request-retry | jobs | Vendor Request |        50 |        50 | Any Error |     2 |
human: Add the remaining steps to this scenario:

Scenario Outline: Move a new field in an existing bloc from config panel
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I switch to mode Config
    And I select tab <tab> from config panel
    And I select block <block_name> from config panel

gpt: Scenario Outline: Move a new field in an existing bloc from config panel
    Given I am logged as TAV_standard.user on <screen_name>
    And I go to detail screen <detail_screen> of <object_name>
    And I switch to mode Config
    And I select tab <tab> from config panel
    And I select block <block_name> from config panel
    When I add the technical field <field>
    And I move the field <field> to second position
    And I save the screen configuration
    Then the field <field> is displayed in the second position
    And the fields list <list_fields> is correctly reordered
    Examples:
      | screen_name   | detail_screen                    | object_name       | tab      | block_name | field | list_fields                                       |
      | My Securities | Equity detail: TAV_Reorder_CMSCP | TAV_Reorder_CMSCP | Overview | Quotation  | Beta  | Date;Beta;Ref. price;Daily Variation;Rel perf ytd |
human: Write a Gherkin scenario for testing run a standard  c s v  export

gpt: Scenario Outline: Run a standard CSV Export
    Given I am logged in as <user>
    And I open query screen <screen_name1> which title begins with <banner1>
    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_name2> which title begins with <banner2>
    And I search and open the job <Export_job_name>
    Then I check that the fields <field> should be equal <new_value>
    And The content of the exported csv file <file_path> should be equal to <file_ref>
    Examples:
      | user              | screen_name1    | banner1          | task_name           | action   | screen_name2 | banner2    | Export_job_name    | new_value      | file_path                                    | file_ref                                                  | field  |
      | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | Tav_task_export_csv | Run task | Job Reports  | Job report | Fp_test_export_csv | Successful job | /data/testauto/nxdh/data/test_export_csv.csv | config&ressources/DataManagement/ref_test_export__csv.csv | Status |
  @DHRD-102440 @flaky @skipped @waiting_for_DHRD-112046