Manpreet Kaur
b952869e6b
Add tacker-horizon integration test framework
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
Team and repository tags
Tacker Horizon UI
Horizon UI for Tacker VNF Manager
- License: Apache license
- Source: https://opendev.org/openstack/tacker-horizon
- Bugs: https://bugs.launchpad.net/tacker
- Tacker-horizon docs: https://docs.openstack.org/tacker-horizon/latest/
Installation
Note: The paths we are using for configuration files in these steps are with reference to Ubuntu Operating System. The paths may vary for other Operating Systems.
The branch_name which is used in commands, specify the branch_name as stable/<branch> for any stable branch installation. For eg: stable/queens, stable/pike. If unspecified the default will be master branch. The installation of tacker-horizon is as following steps.
- Clone tacker-horizon repository.
-
cd ~/ git clone https://opendev.org/openstack/tacker-horizon -b <branch_name>
- Install horizon module.
-
cd tacker-horizon sudo python setup.py install
- Enable tacker horizon in dashboard.
-
sudo cp tacker_horizon/enabled/* \ /opt/stack/horizon/openstack_dashboard/enabled/
- Collect and compress static files.
-
./manage.py collectstatic --noinput echo yes | ./manage.py compress
- Restart Apache server using Upstart.
-
sudo service apache2 restart
- Or restart Apache server using Systemd.
-
sudo systemctl restart apache2
Description
Languages
Python
88.8%
HTML
10.4%
JavaScript
0.6%
Shell
0.2%