
Allow configuring of locators/parts of the tests that are theme specific, using a config file. Change-Id: I7650ed4cff95674845c8613d424b76d296bf1a56
121 lines
3.3 KiB
Plaintext
121 lines
3.3 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
|
|
# (float value)
|
|
message_implicit_wait=3
|
|
|
|
# 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"]
|