Files
horizon/openstack_dashboard/test/integration_tests/horizon.conf
Ashish Gupta b6e47527cc Add keycloak OIDC based federation tests
This patch adds federation tests for horizon and
cover the scenario to make sure authentication
via an external IDP like keycloak works.

Note: The federation based tests are skipped
for now as we don't have a mechanism upstream
to run these in a job and will be skipped until
such job is developed

Change-Id: I5afd1c05a74d905b6c732df2659c9e5d155aa633
2025-06-24 19:28:42 +05:30

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
# (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"]
#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
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
#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