aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Expand)Author
2020-08-26Add check for "scientific.js" dataTables extension plugin...* test/requests/link_checker.py (check_packaged_file): Add it. BonfaceKilz
2020-08-24Add check for "natural.js" in Mechanical Rob...* test/requests/link_checker.py (check_packaged_file): Add it. BonfaceKilz
2020-08-20Check the availability of datatables extension files from guix...* test/requests/link_checker.py (check_packaged_js_files): Add it. * test/requests/test-website.py: Use above method. BonfaceKilz
2020-08-19Wrap `filter()` usage in a `list` call...Run `2to3-3.8 -f filter -w .` See <https://docs.python.org/2/library/2to3.html#2to3fixer-filter> BonfaceKilz
2020-08-19Wrap `map()` in a `list` call...Run `2to3-3.8 -f map -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-map> BonfaceKilz
2020-07-26Delete tests/unittests folder...* tests/unittests: Delete it. All unittests were moved to wqflask/tests in 3d6483e8 BonfaceKilz
2020-07-25Update import statement in test_general_object.py...* test/unittest/base/test_general_object.py: replace the import statement to use the module path instead of the path referenced from PYTHONPATH BonfaceKilz
2020-07-24Add basic unittestsBonfaceKilz
2020-07-24Move tests to module...* test/unittest/: Move to wqflask/tests/ BonfaceKilz
2020-07-24Make test file a module...* test/__init__.py: Add it. Makes the test folder discoverable by unittest BonfaceKilz
2020-07-24Add basic unittestsBonfaceKilz
2020-07-16Remove unused testBonfaceKilz
2020-07-16Replace mapping endpoint to "/loading"...At one point, "/marker_regression" got replaced, and the html structure changed. BonfaceKilz
2020-07-16Check for specific text in response and then assert a 200 code..."/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. BonfaceKilz
2020-07-14Remove stale commentsBonfaceKilz
2019-02-13Removed pylmm references and related functionsPjotr Prins
2018-04-15Add tests for Forgot Password feature...* Add tests to ensure the "Forgot Password" feature works appropriately. Muriithi Frederick Muriuki
2018-04-15Use existing code. Delay after delete....* Use existing code to get the elasticsearch connection. This should prevent tests from failing in case the way connections to elasticsearch are made change. * Delay a while after deleting to allow elasticsearch to re-index the data, thus preventing subtle bugs in the test. Muriithi Frederick Muriuki
2018-04-13Fix logging in tests...* Use the LOG_LEVEL provided by the application settings to enable easy control of logging when running tests. It helps avoid a lot of verbosity when running tests. Muriithi Frederick Muriuki
2018-04-13Use single entry-point for tests...* Remove the run-integration-tests.py, and use the test-website.py as the entry point for all tests. This simplifies running the tests for the site. Muriithi Frederick Muriuki
2018-04-05Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into te...Muriithi Frederick Muriuki
2018-04-02Testing moved to PythonPjotr Prins
2018-03-31Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into te......* Fix conflicts Muriithi Frederick Muriuki
2018-03-30Testing: removed test assertion (oops)Pjotr Prins
2018-03-30Add --fail argument to test runnerPjotr Prins
2018-03-30Tests: all tests runPjotr Prins
2018-03-26Initialise mapping tests...* Add mapping tests, and build the first of the tests. Muriithi Frederick Muriuki
2018-03-26Move import to the top of the page....* Mainly to tell the dependencies easily. Muriithi Frederick Muriuki
2018-03-26Add tests for main web functionalityMuriithi Frederick Muriuki
2018-03-26Add tests to check links.Muriithi Frederick Muriuki
2018-03-26Add link_checker module...* Add the module that will hold the code to test the links on the system. Muriithi Frederick Muriuki
2018-03-26Use argparse to handle arguments...* Use argparse to handle commandline arguments. * Create initial layout of how the code might end up - lots of the code is currently commented out. Muriithi Frederick Muriuki
2018-03-26Add tests to check that the UI is setup correctly...* Check that the links for OAuth2 logins via ORCID and GitHub are setup correctly. Muriithi Frederick Muriuki
2018-03-26Add new tests for orcid loginsMuriithi Frederick Muriuki
2018-03-26Add new test for github loginsMuriithi Frederick Muriuki
2018-03-26Remove failing code...* With the parameterized module, the testcase cannot be run independently at this time. Muriithi Frederick Muriuki
2018-03-26Simplify test. Check for content, rather than url...* The test functions were very similar, so this commit refactors out the common test code to a single method, and passes in the data to the test using the parameterized package. * Check that the page content after a login attempt is the expected content, rather than checking the url. Muriithi Frederick Muriuki
2018-03-26Add more login tests.Muriithi Frederick Muriuki
2018-03-26Add a runner for all integration tests.Muriithi Frederick Muriuki
2018-03-26Add test for local login...* Add an integration test to test that the login process for users registered locally to genenetwork2 works as expected. Muriithi Frederick Muriuki
2018-03-26Create parametrized superclass for tests...* Since the tests require that some parameters be provided while running the tests, create a class that helps abstract away the details of retrieving and setting the expected parameters. Muriithi Frederick Muriuki
2018-03-26Rename file and move common code...* Rename the file to make it an importable module * Refactor the test to move common code out to a super class. Muriithi Frederick Muriuki
2018-03-26Add registration test...* Add integration test to check the registration process. Muriithi Frederick Muriuki
2018-03-26Requests addedPjotr Prins
2018-03-26Added unittest examplePjotr Prins
2018-03-21Deactivate navigation tests...* Navigation depends on Javascript to render the elements being tested. That would require selenium and its ilk to run such tests, meaning such packages would need to be defined for Guix first. Muriithi Frederick Muriuki
2018-03-19Initialise navigation tests....* Start working on navigation tests. Muriithi Frederick Muriuki
2018-03-19* Add mapping tests. Fix link-checker tests....* Add tests for the R/qtl and CIM mapping tools. * Fix tests for in-page links. Muriithi Frederick Muriuki
2018-03-18Initialise mapping tests...* Add mapping tests, and build the first of the tests. Muriithi Frederick Muriuki
2018-03-18Move import to the top of the page....* Mainly to tell the dependencies easily. Muriithi Frederick Muriuki