File tree 1 file changed +3
-2
lines changed
container-images/tcib/base/os/horizontest
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,15 @@ SELENIUM_EXPLICIT_WAIT=180
14
14
SELENIUM_PAGE_TIMEOUT=120
15
15
SELENIUM_IMPLICIT_WAIT=30
16
16
HORIZONTEST_DEBUG_MODE=" ${HORIZONTEST_DEBUG_MODE:- false} "
17
+ EXTRA_FLAG=" ${EXTRA_FLAG:- " not pagination" } "
18
+ PROJECT_NAME_XPATH=" ${PROJECT_NAME_XPATH:- " //span[@class='rcueicon rcueicon-folder-open']/ancestor::li" } "
17
19
IMAGE_FILE_NAME=cirros-0.6.2-x86_64-disk
18
20
IMAGE_FILE_NAME_WITH_SIZE=" cirros-0.6.2-x86_64-disk (20.4 MB)"
19
21
IMAGE_FILE=" /usr/local/share/${IMAGE_FILE_NAME} "
20
22
if [[ ! -f " ${IMAGE_FILE} " ]]; then
21
23
IMAGE_FILE=" /var/lib/horizontest/${IMAGE_FILE_NAME} "
22
24
fi
23
25
SUBNET_NAME=public_subnet
24
- PROJECT_NAME_XPATH=" //span[@class='rcueicon rcueicon-folder-open']/ancestor::li"
25
26
HELP_SEQUENCE=" .//*[normalize-space()='Help']"
26
27
HELP_URL=" https://docs.redhat.com/en/documentation/red_hat_openstack_services_on_openshift/"
27
28
TEST_MATERIAL_THEME=False
@@ -164,7 +165,7 @@ crudini --set horizon.conf theme b_l_p_sidebar_xpath "${BLP_SIDEBAR_XPATH}"
164
165
popd
165
166
166
167
# run horizon selenium tests
167
- INTEGRATION_TESTS=1 SELENIUM_HEADLESS=1 pytest openstack_dashboard/test/selenium/integration/ -k " not pagination " \
168
+ INTEGRATION_TESTS=1 SELENIUM_HEADLESS=1 pytest openstack_dashboard/test/selenium/integration/ -k " ${EXTRA_FLAG} " \
168
169
--junitxml=" test_reports/ui_integration_test_results.xml" \
169
170
--html=" test_reports/ui_integration_test_results.html" --self-contained-html
170
171
RETURN_VALUE=$?
You can’t perform that action at this time.
0 commit comments