aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2020-12-08add ckeditor to mechanical robAlexander Kabui
2020-12-07add ↵Alexander Kabui
cytocape.min.js,cytoscape-panzoom.js,cytoscape.js-panzoom.css,cytoscape-qtip.js to mechanical rob
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-09-17Merge branch 'testing' into build/python3-migrationBonfaceKilz
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-26Remove "from __future__ import new_feature" statementsBonfaceKilz
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
2020-08-26Merge branch 'testing' into build/python3-migrationBonfaceKilz
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-08-19Wrap `filter()` usage in a `list` callBonfaceKilz
Run `2to3-3.8 -f filter -w .` See <https://docs.python.org/2/library/2to3.html#2to3fixer-filter>
2020-08-19Wrap `map()` in a `list` callBonfaceKilz
Run `2to3-3.8 -f map -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-map>
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.