aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-01-30Fix path in mechanical-rob testsFrederick Muriuki Muriithi
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.
2024-01-02Move default settings into gn2 module.Arun Isaac
2023-11-06Get full trace of SSL error and reduce number of retries in MR.Munyoki Kilyungi
* test/requests/test-website.py (host_is_online): Reduce tries from 10 to 5. Also, print out the full error---useful for CD debugging. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-06Disable SSL check on Mechanical Rob.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-06-13Deactivate correlation correctness tests temporarily.Frederick Muriuki Muriithi
2023-01-28mechanical-rob: unescape html entities.Frederick Muriuki Muriithi
2023-01-25mechanical-rob: corrs: Activate tests. Print out whitespaceFrederick Muriuki Muriithi
* Activate the correlation correctness tests * Print out whitespace characters in such a form that allows visual comparison of differences to help with fixing issues caught by tests.
2023-01-25mechanical-rob: move newlineFrederick Muriuki Muriithi
2023-01-25mechanical-rob: Fix bugs with corrs testFrederick Muriuki Muriithi
* Replace CRLF in html output with newline to prevent equality comparisons from failing if that's the only difference. * Only include failures that have actual content: filter out empty failure items * Print out an extra newline on completion of checks
2023-01-24mechanical-rob: update corrs tests and clean up dataFrederick Muriuki Muriithi
2023-01-24mechanical-rob: eliminate extraneous spaces before comparisonsFrederick Muriuki Muriithi
2023-01-12mechanical-rob: use new file(s) for correlation correctnessFrederick Muriuki Muriithi
* test/requests/correlation_results_text_files/BXD_10710_vs_BXDPublish.csv new sample file for testing. * test/requests/correlation_tests.py: update test code to use new sample files * wqflask/wqflask/correlation/show_corr_results.py: Fix minor issues exposed by tests.
2023-01-12mechanical-rob: deactivate correctness tests for now.Frederick Muriuki Muriithi
2022-11-29mechanical-rob: Activate correctness checksFrederick Muriuki Muriithi
* test/requests/test-website.py: allow the correlation correctness tests to run on CI.
2022-11-28mechanical-rob: Add more tests for correctnessFrederick Muriuki Muriithi
2022-11-28mechanical-rob: First test for correlations correctnessFrederick Muriuki Muriithi
* test/requests/correlation_tests.py: Add proof-of-concept code to run the checks for correctness. * test/requests/test-website.py: Add a way to manually run the tests from the CLI
2022-11-25mechanical-rob: Parser for GN1 results and some sample resultsFrederick Muriuki Muriithi
* test/requests/correlation_results_text_files/*results.csv: csv files with sample results from GN1 for the trait `1435464_at` in dataset `HC_M2_0606_P`. * wqflask/scripts/parse_corr_gn1_results_to_csv.py: parser for results from GN1 when saved to a html file.
2022-10-28Increase back-off time before mechanical-rob tests runFrederick Muriuki Muriithi
2022-10-28Fix typoFrederick Muriuki Muriithi
2022-10-28Wait until results page is loaded before returning the resultsFrederick Muriuki Muriithi
2022-10-05mechanical-rob: Fix tests that were checking for the wrong thingFrederick Muriuki Muriithi
2022-09-29Add test for regressionFrederick Muriuki Muriithi
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-09-12Fix asserts: Use variable for assertFrederick Muriuki Muriithi
2022-09-12Display cause(s) of test failure.Frederick Muriuki Muriithi
2022-09-12Enable running correlation tests alone.Frederick Muriuki Muriithi
2022-09-12Clean up print out.Frederick Muriuki Muriithi
2022-09-12Exit with an error condition if tests fail.Frederick Muriuki Muriithi
2022-09-12Pass in missing argumentFrederick Muriuki Muriithi
2022-09-12Add tests for correlationsFrederick Muriuki Muriithi
* Add a test to catch a regression
2022-08-19Fix message and function keyFrederick Muriuki Muriithi
2022-08-17Reduce incremental backoff timeFrederick Muriuki Muriithi
2022-08-17Do incremental backoff for mechanical rob testsFrederick Muriuki Muriithi
Sometimes the tests might be run before the service has began running. This commit delays the running of the tests for a while.
2022-08-12Update to newer lxml APIFrederick Muriuki Muriithi
2022-08-12Fix some issues with the tests. Add notes in code for improvements.Frederick Muriuki Muriithi
2022-08-12Fix correlation tests: Fix the test message.Frederick Muriuki Muriithi
2022-08-12Check that the correlations work as expected.Frederick Muriuki Muriithi
2022-08-12Fix formatting for legibilityFrederick Muriuki Muriithi
2022-03-18Apply "python-black" on fileBonfaceKilz
* test/requests/test-website.py: Run "black test/requests/test test-website.py".
2022-03-18Remove outdated integration tests on different login mechanismsBonfaceKilz
* test/requests/test-website.py: Delete parser option "-i" for running integration tests. (integration_tests): Delete it. (integration_suite): Ditto. (run_integration_tests): Ditto. * test/requests/test_registration.py: Delete it.
2022-03-18Delete deprecated modulesBonfaceKilz
* test/requests/test-website: These imports were deleted in an earlier PR here: <https://github.com/genenetwork/genenetwork2/pull/574>
2022-03-18Delete "app" import in MRBonfaceKilz
* test/requests/test-website.py: Delete "from wqflask import app". This has the undesired effect of starting an instance of Genenetwork2.
2021-10-28Remove tests that refer to deleted "ParametrizedTest"BonfaceKilz
"ParametrizedTest" references ElasticSearch.
2021-10-28Remove all elasticsearch references in gn2BonfaceKilz
2021-05-11links_scraper: genelinks: Apply pep-8 formattingBonfaceKilz
2021-05-11links_scraper: genelinks: Remove unused importBonfaceKilz
2021-05-06wqflask: user_manager: Delete usermanager.py and it's referencesBonfaceKilz
This module is not used anywhere.
2021-02-13refactor to use idiomatic pythonAlexander Kabui
2021-02-13add search for templatesAlexander Kabui