aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-09-04Fix false positive testsBonfaceKilz
* test/requests/link_checker.py: (verify_static_file): Add it. Verify that a static link is fetched by checking for the message "Error: 404 not Found" in page. (check_package_js_files): Add appropriate 'js' or 'css' prefix.
2020-09-01Add check for "md5.min.js" libraryBonfaceKilz
* test/requests/link_checker.py: Add it.
2020-09-01Check availability of several js and css filesBonfaceKilz
* test/requests/link_checker.py: Check availability of: chroma.min.js; d3-tip.js; d3.min.js; underscore.min.js; nv.d3.min.css; and jquery.qtip.min.js
2020-08-31Add check for "d3-tip.js" js libraryBonfaceKilz
* test/requests/link_checker.py (check_packaged_js_files): Add it.
2020-08-31Add check for "chroma.js" dataTables extension pluginBonfaceKilz
* test/requests/link_checker.py (check_packaged_js_files): Add it.
2020-08-26Add check for "scientific.js" dataTables extension pluginBonfaceKilz
* test/requests/link_checker.py (check_packaged_file): Add it.
2020-08-24Add check for "natural.js" in Mechanical RobBonfaceKilz
* test/requests/link_checker.py (check_packaged_file): Add it.
2020-08-20Check the availability of datatables extension files from guixBonfaceKilz
* test/requests/link_checker.py (check_packaged_js_files): Add it. * test/requests/test-website.py: Use above method.
2020-07-26Delete tests/unittests folderBonfaceKilz
* tests/unittests: Delete it. All unittests were moved to wqflask/tests in 3d6483e8
2020-07-25Update import statement in test_general_object.pyBonfaceKilz
* test/unittest/base/test_general_object.py: replace the import statement to use the module path instead of the path referenced from PYTHONPATH
2020-07-24Add basic unittestsBonfaceKilz
2020-07-24Move tests to moduleBonfaceKilz
* test/unittest/: Move to wqflask/tests/
2020-07-24Make test file a moduleBonfaceKilz
* test/__init__.py: Add it. Makes the test folder discoverable by unittest
2020-07-24Add basic unittestsBonfaceKilz
2020-07-16Remove unused testBonfaceKilz
2020-07-16Replace mapping endpoint to "/loading"BonfaceKilz
At one point, "/marker_regression" got replaced, and the html structure changed.
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.
2020-07-14Remove stale commentsBonfaceKilz
2019-02-13Removed pylmm references and related functionsPjotr Prins
2018-04-15Add tests for Forgot Password featureMuriithi Frederick Muriuki
* Add tests to ensure the "Forgot Password" feature works appropriately.
2018-04-15Use existing code. Delay after delete.Muriithi Frederick Muriuki
* 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.
2018-04-13Fix logging in testsMuriithi Frederick Muriuki
* 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.
2018-04-13Use single entry-point for testsMuriithi Frederick Muriuki
* 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.
2018-04-05Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into ↵Muriithi Frederick Muriuki
testing
2018-04-02Testing moved to PythonPjotr Prins
2018-03-31Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into ↵Muriithi Frederick Muriuki
testing * Fix conflicts
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 testsMuriithi Frederick Muriuki
* Add mapping tests, and build the first of the tests.
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
2018-03-26Add tests to check links.Muriithi Frederick Muriuki
2018-03-26Add link_checker moduleMuriithi Frederick Muriuki
* Add the module that will hold the code to test the links on the system.
2018-03-26Use argparse to handle argumentsMuriithi Frederick Muriuki
* Use argparse to handle commandline arguments. * Create initial layout of how the code might end up - lots of the code is currently commented out.
2018-03-26Add tests to check that the UI is setup correctlyMuriithi Frederick Muriuki
* Check that the links for OAuth2 logins via ORCID and GitHub are setup correctly.
2018-03-26Add new tests for orcid loginsMuriithi Frederick Muriuki
2018-03-26Add new test for github loginsMuriithi Frederick Muriuki
2018-03-26Remove failing codeMuriithi Frederick Muriuki
* With the parameterized module, the testcase cannot be run independently at this time.
2018-03-26Simplify test. Check for content, rather than urlMuriithi Frederick Muriuki
* 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.
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 loginMuriithi Frederick Muriuki
* Add an integration test to test that the login process for users registered locally to genenetwork2 works as expected.
2018-03-26Create parametrized superclass for testsMuriithi Frederick Muriuki
* 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.
2018-03-26Rename file and move common codeMuriithi Frederick Muriuki
* Rename the file to make it an importable module * Refactor the test to move common code out to a super class.
2018-03-26Add registration testMuriithi Frederick Muriuki
* Add integration test to check the registration process.
2018-03-26Requests addedPjotr Prins
2018-03-26Added unittest examplePjotr Prins
2018-03-21Deactivate navigation testsMuriithi Frederick Muriuki
* 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.
2018-03-19Initialise navigation tests.Muriithi Frederick Muriuki
* Start working on navigation tests.