horizon/openstack_dashboard/test/integration_tests/horizon.conf
Radomir Dopieralski 36536272ff Add pytest-based selenium tests
This is a patch to start work on re-writing the integration tests
using pytest syntax and several improvements, as proposed on the
upstream meeting, and summarized at https://etherpad.opendev.org/p/horizon-pytest

The new tests are to eventually replace the existing integration
tests. At the moment they don't run automatically, you have to explicitly run them using tox or pytest. When the new tests are complete, we will switch to them on the gate.



Change-Id: Iea38e4f9771ff3cae7ae8675863e9c488f3f6d8a
2023-08-08 11:45:20 +00:00

111 lines
3.0 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=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=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.2/cirros-0.6.2-x86_64-uec.tar.gz
images_list=cirros-0.6.2-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
[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.2-x86_64-disk (20.4 MB)
#flavor to launch instances
flavor=m1.tiny
[volume]
volume_type=lvmdriver-1
volume_size=1
allow_delete_snapshot_before_volume=True