tests: functional: Fix visit() returning prematurely before page load
-
It appears from the functional tests run in Gitlab CI pipelines that visit() is returning before the page has loaded fully. In the screenshots for help app test failures, we see gitweb web page.
-
To fix this, wait for a proper page load in visit().
-
Cleanup syntax, rename the non-existent search class, and mechanism for matching expected URLs.
-
Also refactor waiting for uninstall page in uninstall() method. Using the wait_for_page_update() method as context processor is more accurate.
Tests:
- Run all functional tests and ensure that there are no errors in visit() method.
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org