Closed pkgdemon closed 2 years ago
Runing the following steps will be quite difficult without a wrapper. We should make ixautomation --run ui-test the wrapper.
root@8b46dcb1618e:/mnt/webui/tests/bdd# export DISPLAY=:20 root@8b46dcb1618e:/mnt/webui/tests/bdd# Xvfb :20 -screen 0 1366x768x16 & [1] 1480 root@8b46dcb1618e:/mnt/webui/tests/bdd# ps -auwx | grep X root 1480 0.4 0.3 2208716 56080 pts/1 Sl 22:01 0:00 Xvfb :20 -screen 0 1366x768x16 root 1512 0.0 0.0 3308 736 pts/1 S+ 22:01 0:00 grep --color=auto X root@8b46dcb1618e:/mnt/webui/tests/bdd# xhost + access control disabled, clients can connect from any host root@8b46dcb1618e:/mnt/webui/tests/bdd# root@8b46dcb1618e:/mnt/webui/tests/bdd# python3 ./runtest.py --ip XX.XXX.XXX.XX --root-password XXXXXXX ================================================= test session starts ================================================== platform linux -- Python 3.8.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /mnt/webui/tests/bdd, configfile: pytest.ini plugins: dependency-0.5.1, timeout-2.0.2, bdd-4.1.0 collecting 0 items / 37 errors
Requires user login to jira to pull in feature files. Can be automated with example I provided offline.
Runing the following steps will be quite difficult without a wrapper. We should make ixautomation --run ui-test the wrapper.