aboutsummaryrefslogtreecommitdiff
path: root/test/requests/main_web_functionality.py
AgeCommit message (Collapse)Author
2024-01-30Use XPath to specify form, and refine testFrederick Muriuki Muriithi
Use XPath to pick the form by its ID rather than its numerical position which can change with the addition of (a) form(s) before the one we wish to test.
2022-09-19Fix broken testzsloan
Because the input element was changed to a button element there was no longer a "value" attribute. I'm not sure what this assert is for, though; I changed it to just check for "Search" in the inner text, which makes it pass.
2022-08-12Update to newer lxml APIFrederick Muriuki Muriithi
2020-09-26Merge branch 'testing' into build/python3-migrationBonfaceKilz
2020-09-22Update Mechanical RobBonfaceKilz
* test/requests/main_web_functionality.py (check_search_page): Breaking change introduced by updating text in search page. See: 9f76abc95
2020-09-17Update Mechanical RobBonfaceKilz
* test/requests/link_checker.py (verify_static_file): Cast result.content.find's args to bytes. * test/requests/main_web_functionality.py (check_search_page): Update text to search for in a successful result. This value changed in 2aac6a06.
2020-08-26Remove "from __future__ import new_feature" statementsBonfaceKilz
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
2020-07-16Check for specific text in response and then assert a 200 codeBonfaceKilz
"/show_trait?trait_id=1435395_s_at&dataset=HC_M2_0606_P" is missing in the response code. At one point the html structure changed.
2018-03-26Move import to the top of the page.Muriithi Frederick Muriuki
* Mainly to tell the dependencies easily.
2018-03-26Add tests for main web functionalityMuriithi Frederick Muriuki