
This patch implements an integration framework and adds basic test cases to verify whether tacker-horizon is installed and could be opened. The integration test suite "tacker-horizon-integration-tests" is added as a gate job in non-voting mode. Selenium exception details: The tacker-horizon consists of panel groups "VNF Management" and "NFV Orchestration". The selenium reports an exception ElementNotInteractableException while opening pages for panel group "NFV Orchestration". This exception occurs when an element is not clickable or is not visible yet. By default, panel group "VNF Management" is expanded hence test cases for pages under this panel group pass. As per openstack-dashboard integration test case logic, the panel group "NFV Orchestration" is never clicked hence requested pages are not visible. [1] comprises of modified openstack-dashboard integration test logic to fix the above selenium exception. [1] https://review.opendev.org/c/openstack/horizon/+/803465 Implements: blueprint tacker-horizon-integration-test Change-Id: I6a09b945506450d9947afbd92dbab9a4a6c30de4
18 lines
580 B
Bash
18 lines
580 B
Bash
#!/bin/bash
|
|
#
|
|
# This shell script helps in finding executable files, as by default Nose
|
|
# plugin ignores executable files. All the executable files need to be added
|
|
# in tools/executable_files.txt.
|
|
|
|
OUTPUT=`find . \( -name .tox -o -name .git \) -prune -o -type f -perm /a=x -print \
|
|
| grep -v -F -f ./tools/executable_files.txt`
|
|
if [ -n "$OUTPUT" ]; then
|
|
echo "Unexpected executable files are found:"
|
|
for f in $OUTPUT; do
|
|
echo $f
|
|
done
|
|
echo
|
|
echo "If you really need to add an executable file, add it to tools/executable_files.txt"
|
|
exit 1
|
|
fi
|