Files
horizon/openstack_dashboard/test/integration_tests/horizon.conf
Jan Jasek efdf40fb46 pytest-based tests individual timeout for message check
Until now we have used implicit timeout for message checking.
It is enough for the majority of the cases. But in cases of
overloaded deployment and more consuming actions (like manage
volume attachments) this timeout is enough for all the actions
except for messages so individual message timeout (adjustable
through horizon.conf) seems to be the best solution.

Change-Id: I6e43cdfa9fc02c1346b5a8228caacaf154e20ba3
Signed-off-by: Jan Jasek <jjasek@redhat.com>
2025-07-30 21:42:17 +02:00

143 lines
4.5 KiB
Plaintext

#
# Configuration filed based on Tempest's tempest.conf.sample
#
[dashboard]
# Where the dashboard can be found (string value)
dashboard_url=http://localhost/dashboard/
# Where the keystone endpoint is
auth_url=http://localhost/identity/v3
# Dashboard help page url (string value)
help_url=https://docs.openstack.org/
[selenium]
# Timeout in seconds to wait for message confirmation modal
# (integer value)
message_wait=60
# Timeout in seconds to wait for a page to become available
# (integer value)
page_timeout=60
# Output directory for screenshots.
# (string value)
screenshots_directory=test_reports
# Implicit timeout to wait until element become available,
# this timeout is used for every find_element, find_elements call.
# (integer value)
implicit_wait=30
# Explicit timeout is used for long lasting operations,
# methods using explicit timeout are usually prefixed with 'wait',
# those methods ignore implicit_wait when looking up web elements.
# (integer value)
explicit_wait=180
# Maximize the browser window at the start of each test?
# (boolean)
maximize_browser=yes
[flavors]
panel_type=legacy
[image]
# http accessible image (string value)
panel_type=angular
http_image=http://download.cirros-cloud.net/0.6.3/cirros-0.6.3-x86_64-uec.tar.gz
images_list=cirros-0.6.3-x86_64-disk
[identity]
# Username to use for non-admin API requests. (string value)
username=demo
# API key to use when authenticating. (string value)
password=secretadmin
# Project in which a regular user creates everything by default
home_project=demo
# Administrative Username to use for admin API requests.
# (string value)
admin_username=admin
# API key to use when authenticating as admin. (string value)
admin_password=secretadmin
# Project in which an admin user creates everything by default
admin_home_project=admin
# Name of default role every user gets in his new project
default_keystone_role=member
# Name of the role that grants admin rights to a user in his project
default_keystone_admin_role=admin
# The number of passwords for a user that must be unique before an old
# password can be used. This should match the keystone configuration option
# '[security_compliance] unique_last_password_count'. (integer value)
unique_last_password_count=2
[network]
# The cidr block to allocate tenant ipv4 subnets from (string value)
network_cidr=10.100.0.0/16
# The external network for a router creation(string value)
# Devstack default external network is 'public' but it can be changed
# as per available external network.
external_network=public
#public subnet name
subnet_name=public-subnet
[service_available]
# Whether is Neutron expected to be available (boolean value)
neutron=True
[scenario]
# ssh username for image file (string value)
ssh_user=cirros
[launch_instances]
#available zone to launch instances
available_zone=nova
#image_name to launch instances
image_name=cirros-0.6.3-x86_64-disk (20.7 MB)
#flavor to launch instances
flavor=m1.tiny
[volume]
volume_type=lvmdriver-1
volume_size=1
allow_delete_snapshot_before_volume=True
#configuration for different theme
[theme]
#xpath for project name (dropdown button)
project_name_xpath=//*[@class="context-project"]//ancestor::ul
#sequence for redirect to help URL
help_sequence=.//*[@class="dropdown user-menu"],.//*[normalize-space()="Help"]
#test material theme?
test_material_theme=True
#xpath for user name (dropdown button)
user_name_xpath=.//*[@class="dropdown user-menu"]
#buttons for browse left panel
browse_left_panel_main=project,project,project,project,project,project,project,project,project,project,project,project,project,project,project,project,admin,admin,admin,admin,admin,admin,admin,admin,admin,admin,admin,admin,admin,admin,admin,admin,admin,admin,identity,identity,identity,identity,identity,identity
browse_left_panel_sec=None,compute,compute,compute,compute,compute,volumes,volumes,network,network,network,network,network,network,network,object_store,None,compute,compute,compute,compute,compute,volume,volume,volume,volume,network,network,network,network,network,admin,admin,admin,None,None,None,None,None,None
#xpaths for browse left panel test
b_l_p_sec_line_xpath=.//*[@id="sidebar-accordion-{main_panel}"]
b_l_p_sec_line_req_btn=.//a[@data-target="#sidebar-accordion-{main_panel}-{sec_panel}"]
b_l_p_sidebar_xpath=.//*[@id="sidebar-accordion-{main_panel}-{sec_panel}"]
#Parameters for keycloak test user
[OIDC]
#OIDC parameters for keycloak login
keycloak_test_user1_username=kctestuser1
keycloak_test_user1_password=nomoresecrets1
keycloak_test_user_home_project=SSOproject