7b16bbf920
Add simple test for page under /Project/Data Processing/Image Registry, that registers and unregisters an image in the Sahara registry. Infrastructure changes needed by the test: - new page object with basic handling of the Image Registry page; - new ssh_user config option with the cloud-init username for the image (named after the corresponding tempest option); - new parameter in get_row() table method for exact match; - add "wait-until-active" method for the Image page; - enable sahara service by default in horizon.conf. Partially implements blueprint: selenium-integration-testing Co-Authored-By: Luigi Toscano <ltoscano@redhat.com> Change-Id: I1e389f0baff655f8f06a0a6cbb4a10b9a68dd444
58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
#
|
|
# Configuration filed based on Tempest's tempest.conf.sample
|
|
#
|
|
|
|
[dashboard]
|
|
# Where the dashboard can be found (string value)
|
|
dashboard_url=http://localhost/
|
|
|
|
# Login page for the dashboard (string value)
|
|
login_url=http://localhost/auth/login/
|
|
|
|
# Dashboard help page url (string value)
|
|
help_url=http://docs.openstack.org/
|
|
|
|
[selenium]
|
|
# Timeout in seconds to wait for a page to become available
|
|
# (integer value)
|
|
page_timeout=30
|
|
|
|
# Implicit timeout to wait until element become available,
|
|
# this timeout is used for every find_element, find_elements call.
|
|
# (integer value)
|
|
implicit_wait=10
|
|
|
|
# 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=300
|
|
|
|
[image]
|
|
# http accessible image (string value)
|
|
http_image=http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz
|
|
|
|
[identity]
|
|
# Username to use for non-admin API requests. (string value)
|
|
username=demo
|
|
|
|
# API key to use when authenticating. (string value)
|
|
password=secretadmin
|
|
|
|
# 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
|
|
|
|
[service_available]
|
|
|
|
# Whether is Sahara expected to be available (boolean
|
|
# value)
|
|
sahara=True
|
|
|
|
[scenario]
|
|
# ssh username for image file (string value)
|
|
ssh_user=cirros
|