action #98261
closed[qe-core] Refactor tomcat test
0%
Description
The current test closes Firefox and xterm and then reopens Firefox to verify the tomcat pages. This happens three times (not including the first time that firefox opens up)
It would be less time-consuming and simpler to keep one firefox instance open for the whole module. This will also mean a more robust test (we avoid functionality that is not needed such as killing and reopening xterm and firefox) and also we get rid of the overhead of checking whether firefox started correctly for each of these three extra times.
Updated by dvenkatachala over 3 years ago
- Status changed from Workable to In Progress
Updated by dvenkatachala about 3 years ago
- Status changed from In Progress to Closed
Needle tomcat-generic-desktop created in earlier PR was causing the issue. so, removed the needle and modified the logic in the below PR.
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/13270
https://gitlab.suse.de/openqa/os-autoinst-needles-sles/-/merge_requests/1561/