@@ -396,36 +396,44 @@ def test_provider_field_should_display_in_vm_details_page_in_ssui(appliance, pro
396396 assert vm .name in view .vm_info .read ()
397397
398398
399- @pytest .mark .meta (coverage = [1685266 ])
400- @pytest .mark .manual
401- @pytest .mark .tier (2 )
402- def test_service_dialog_date_datetime_picker_dynamic_dialog ():
399+ @pytest .mark .customer_scenario
400+ @pytest .mark .meta (automates = [1685266 , 1728964 ])
401+ @pytest .mark .ignore_stream ("5.10" )
402+ @pytest .mark .parametrize (
403+ "import_data" ,
404+ [DatastoreImport ("bz_1685266.zip" , "bz_1685266" , None )],
405+ ids = ["datastore" ],
406+ )
407+ @pytest .mark .parametrize ("file_name" , ["bz_1685266.yml" ], ids = ["load-init" ])
408+ def test_dialog_dynamic_timepicker_date_format (appliance , import_datastore , import_data ,
409+ generic_catalog_item_with_imported_dialog ):
403410 """
404-
405411 Bugzilla:
406412 1685266
413+ 1728964
407414
408415 Polarion:
409416 assignee: nansari
410- startsin: 5.10
417+ startsin: 5.11
411418 casecomponent: Services
412419 initialEstimate: 1/6h
413420 testSteps:
414- 1. Import Datastore
415- 2. Create a dialog with a Date Picker/DateTmie picker
416- 3. Make the dialog field dynamic
417- 4. Create a service and add your dialog
418- 5. Navigate to order page of service
419- 6. In service Order page
421+ 1. Import Datastore and dialog
422+ 2. Create a service and add the dialog
423+ 3. Navigate to order page of service
424+ 4. In service Order page
420425 expectedResults:
421426 1.
422427 2.
423428 3.
424- 4.
425- 5.
426- 6. Date should be today
429+ 4. Timepicker date format and date should be correct
427430 """
428- pass
431+ catalog_item , _ , _ = generic_catalog_item_with_imported_dialog
432+ service_catalogs = ServiceCatalogs (appliance , catalog_item .catalog , catalog_item .name )
433+ view = navigate_to (service_catalogs , "Order" )
434+
435+ # Format and date should be correct as per automation method
436+ assert view .fields ("date_time_control_1" ).read () == '06/19/2020'
429437
430438
431439@pytest .mark .customer_scenario
0 commit comments