aboutsummaryrefslogtreecommitdiff
path: root/test/requests
AgeCommit message (Collapse)Author
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-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-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.
2018-03-19* Add mapping tests. Fix link-checker tests.Muriithi Frederick Muriuki
* Add tests for the R/qtl and CIM mapping tools. * Fix tests for in-page links.
2018-03-18Initialise mapping testsMuriithi Frederick Muriuki
* Add mapping tests, and build the first of the tests.
2018-03-18Move import to the top of the page.Muriithi Frederick Muriuki
* Mainly to tell the dependencies easily.
2018-03-14Add tests for main web functionalityMuriithi Frederick Muriuki
2018-03-12Add tests to check links.Muriithi Frederick Muriuki
2018-03-09Add link_checker moduleMuriithi Frederick Muriuki
* Add the module that will hold the code to test the links on the system.
2018-03-09Use 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-02-23Add 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-02-23Add new tests for orcid loginsMuriithi Frederick Muriuki
2018-02-23Add new test for github loginsMuriithi Frederick Muriuki
2018-02-23Remove failing codeMuriithi Frederick Muriuki
* With the parameterized module, the testcase cannot be run independently at this time.
2018-02-21Simplify 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-02-19Add more login tests.Muriithi Frederick Muriuki
2018-02-19Add a runner for all integration tests.Muriithi Frederick Muriuki
2018-02-19Add 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-02-19Create 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-02-19Rename 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-02-16Add registration testMuriithi Frederick Muriuki
* Add integration test to check the registration process.
2018-02-15Requests addedPjotr Prins