コード例 #1
0
ファイル: ui.py プロジェクト: iovadia/integration_tests
    class workers(Tab):  # noqa
        TAB_NAME = "Workers"
        # TODO move workers tab view into server_settings as ServerWorkersView
        generic_worker_count = BootstrapSelect("generic_worker_count")
        generic_worker_threshold = BootstrapSelect("generic_worker_threshold")
        cu_data_collector_worker_count = BootstrapSelect(
            "ems_metrics_collector_worker_count")
        cu_data_collector_worker_threshold = BootstrapSelect(
            "ems_metrics_collector_worker_threshold")
        event_monitor_worker_threshold = BootstrapSelect(
            "event_catcher_threshold")
        connection_broker_worker_threshold = BootstrapSelect(
            "vim_broker_worker_threshold")
        ui_worker_count = BootstrapSelect("ui_worker_count")
        reporting_worker_count = BootstrapSelect("reporting_worker_count")
        reporting_worker_threshold = BootstrapSelect(
            "reporting_worker_threshold")
        web_service_worker_count = BootstrapSelect("web_service_worker_count")
        web_service_worker_threshold = BootstrapSelect(
            "web_service_worker_threshold")
        priority_worker_count = BootstrapSelect("priority_worker_count")
        priority_worker_threshold = BootstrapSelect(
            "priority_worker_threshold")
        cu_data_processor_worker_count = BootstrapSelect(
            "ems_metrics_processor_worker_count")
        cu_data_processor_worker_threshold = BootstrapSelect(
            "ems_metrics_processor_worker_threshold")
        refresh_worker_threshold = BootstrapSelect(
            "ems_refresh_worker_threshold")
        vm_analysis_collectors_worker_count = BootstrapSelect(
            "proxy_worker_count")
        vm_analysis_collectors_worker_threshold = BootstrapSelect(
            "proxy_worker_threshold")
        websocket_worker_count = BootstrapSelect("websocket_worker_count")

        save = Button('Save')
        reset = Button('Reset')
コード例 #2
0
class TemplateForm(CopyTemplateForm):
    title = Text('#explorer_title_text')
    template_type = BootstrapSelect("type")
コード例 #3
0
class PXESystemImageTypeForm(View):
    title = Text('//div[@id="main-content"]//h1')
    name = Input(id='name')
    type = BootstrapSelect(id='provision_type')

    is_displayed = displayed_not_implemented
コード例 #4
0
class SCVMMEndpointForm(DefaultEndpointForm):
    security_protocol = BootstrapSelect(id='default_security_protocol')
    realm = Input(
        'realm')  # appears when Kerberos is chosen in security_protocol
コード例 #5
0
    class web_services(View):  # noqa
        """ Class represents Server WebServices Form """

        mode = BootstrapSelect(id='webservices_mode')
        security = BootstrapSelect(id='webservices_security')
コード例 #6
0
 class tag_form_view(View):  # noqa
     type = BootstrapSelect("chosen_typ")
     tag = BootstrapSelect("chosen_tag")
     value = BootstrapSelect("chosen_value")
     user_input = Input(name="user_input")
コード例 #7
0
 class date_specific_form_view(View):  # noqa
     date = Calendar(name="miq_date_1_0")
     time = BootstrapSelect("miq_time_1_0")
コード例 #8
0
 class environment(Tab):  # noqa
     TAB_NAME = 'Environment'
     automatic_placement = Checkbox(id='environment__placement_auto')
     # Cloud
     availability_zone = BootstrapSelect(
         'environment__placement_availability_zone')
     cloud_network = BootstrapSelect('environment__cloud_network')
     cloud_subnet = BootstrapSelect('environment__cloud_subnet')
     cloud_tenant = BootstrapSelect(
         'environment__cloud_tenant')  # exists for azure in catalogs
     security_groups = BootstrapSelect('environment__security_groups')
     resource_groups = BootstrapSelect('environment__resource_group')
     public_ip_address = BootstrapSelect('environment__floating_ip_address')
     # Infra
     provider_name = BootstrapSelect('environment__placement_ems_name')
     datacenter = BootstrapSelect('environment__placement_dc_name')
     cluster = BootstrapSelect('environment__placement_cluster_name')
     resource_pool = BootstrapSelect('environment__placement_rp_name')
     folder = BootstrapSelect('environment__placement_folder_name')
     host_filter = BootstrapSelect('environment__host_filter')
     host_name = SelectTable('//div[@id="prov_host_div"]/table')
     datastore_create = Input('environment__new_datastore_create')
     datastore_filter = BootstrapSelect('environment__ds_filter')
     datastore_name = SelectTable('//div[@id="prov_ds_div"]/table')
コード例 #9
0
 class network(Tab):  # noqa
     TAB_NAME = 'Network'
     vlan = BootstrapSelect('network__vlan')
コード例 #10
0
 class resources(Tab):  # noqa
     select_resource = BootstrapSelect('resource_id')
コード例 #11
0
class ButtonGroupForm(ServicesCatalogView):
    title = Text('#explorer_title_text')

    btn_group_text = Input(name='name')
    btn_group_hvr_text = Input(name='description')
    btn_image = BootstrapSelect('button_image')
コード例 #12
0
 class report(Tab):  # noqa
     TAB_NAME = 'Report'
     event_details = Table("//div[@id='bottlenecks_report_div']/table")
     event_groups = BootstrapSelect('tl_report_fl_grp1')
     show_host_events = Checkbox(locator='//input[@name="tl_report_hosts"]')
     time_zone = BootstrapSelect("tl_report_tz")
コード例 #13
0
 class summary(Tab):  # noqa
     TAB_NAME = 'Summary'
     event_groups = BootstrapSelect('tl_summ_fl_grp1')
     show_host_events = Checkbox(locator='//input[@name="tl_summ_hosts"]')
     time_zone = BootstrapSelect("tl_summ_tz")
     chart = TimelinesChart(locator='//div/*[@class="timeline-pf-chart"]')
コード例 #14
0
 class timeline(WaitTab):  # noqa
     based_on = BootstrapSelect("chosen_tl")
     position = BootstrapSelect("chosen_position")
コード例 #15
0
 class charts(WaitTab):  # noqa
     chart_type = BootstrapSelect("chosen_graph")
     chart_mode = BootstrapSelect("chart_mode")
     values_to_show = BootstrapSelect("chosen_count")
     sum_other_values = Checkbox("chosen_other")
コード例 #16
0
 class form(View):  # noqa
     server = BootstrapSelect('server_id')
     save_button = Button('Save')
     reset_button = Button('Reset')
     cancel_button = Button('Cancel')
コード例 #17
0
 class count_form_view(View):  # noqa
     type = BootstrapSelect("chosen_typ")
     count = BootstrapSelect("chosen_count")
     key = BootstrapSelect("chosen_key")
     value = Input(name="chosen_value")
     user_input = Input(name="user_input")
コード例 #18
0
 class form(View):  # noqa
     policy = BootstrapSelect('policy_id')
     # TODO policies table, ability to remove
     entities = View.nested(BaseNonInteractiveEntitiesView)
     cancel_button = Button('Cancel')
コード例 #19
0
 class registry_form_view(View):  # noqa
     type = BootstrapSelect("chosen_typ")
     key = Input(name="chosen_regkey")
     value = Input(name="chosen_regval")
     operation = BootstrapSelect("chosen_key")
     contents = Input(name="chosen_value")
コード例 #20
0
class ReportWidgetFormCommon(BaseDashboardWidgetFormCommon):

    # Report Options
    filter = BootstrapSelect("filter_typ")
    subfilter = BootstrapSelect("subfilter_typ")
    repfilter = BootstrapSelect("repfilter_typ")
    column1 = BootstrapSelect("chosen_pivot1")
    column2 = BootstrapSelect("chosen_pivot2")
    column3 = BootstrapSelect("chosen_pivot3")
    column4 = BootstrapSelect("chosen_pivot4")
    row_count = BootstrapSelect("row_count")
    # Timer
    run = BootstrapSelect("timer_typ")
    every = BootstrapSelect("timer_hours")
    time_zone = BootstrapSelect("time_zone")
    starting_date = Calendar("miq_date_1")
    starting_hour = BootstrapSelect("start_hour")
    starting_minute = BootstrapSelect("start_min")
コード例 #21
0
 class date_relative_form_view(View):  # noqa
     from_ = BootstrapSelect("chosen_from_1")
     through = BootstrapSelect("chosen_through_1")
コード例 #22
0
 class form(View):  # noqa
     volume = BootstrapSelect('volume_id')
     submit_button = Button('Submit')
     cancel_button = Button('Cancel')
コード例 #23
0
    class vmware_console(View):  # noqa
        """ Class represents Server VWware Console Support Form """

        console_type = BootstrapSelect("console_type")
コード例 #24
0
 class form(View):  # noqa
     flavor = BootstrapSelect('flavor')
     submit_button = Button('Submit')
     cancel_button = Button('Cancel')
コード例 #25
0
    class logging_form(View):  # noqa
        """ Class represents Server Logging Form """

        log_level = BootstrapSelect(id='log_level')
コード例 #26
0
 class form(View):  # noqa
     volume = BootstrapSelect('volume_id')
     mountpoint = Input(name='device_path')
     submit_button = Button('Submit')
     cancel_button = Button('Cancel')
コード例 #27
0
class RedfishEndpointForm(DefaultEndpointForm):
    security_protocol = BootstrapSelect('default_security_protocol')
    api_port = Input('default_api_port')
コード例 #28
0
 class field_form_view(View):  # noqa
     type = BootstrapSelect("chosen_typ")
     field = BootstrapSelect("chosen_field")
     key = BootstrapSelect("chosen_key")
     value = Input(name="chosen_value")
     user_input = Input(name="user_input")
コード例 #29
0
class PXEDatastoreForm(View):
    title = Text('//div[@id="main-content"]//h1')
    provider = BootstrapSelect(id='ems_id')

    is_displayed = displayed_not_implemented
コード例 #30
0
 class field_date_form(View):  # noqa
     dropdown_select = BootstrapSelect("chosen_from_1")
     input_select_date = Calendar(name="miq_date_1_0")
     input_select_time = BootstrapSelect("miq_time_1_0")
コード例 #31
0
ファイル: hacks.py プロジェクト: apagac/cfme_tests
 def __init__(self, parent, locator, can_hide_on_select=False, logger=None):
     BootstrapSelect.__init__(self, parent, locator, can_hide_on_select, logger)
     self.locator = locator
コード例 #32
0
 def fill_type_field(self, i, type_):
     type_field = BootstrapSelect(self, "var_type__{}".format(i))
     return type_field.fill(type_)