Dave Bouvier
2835b84a4c
Fix admin and library feature functional tests. Improve handling of checkbox parameters and multi-select inputs in functional tests.
2014-04-29 15:39:43 -04:00
Dave Bouvier
83394adf1b
Twill test framework cleanup. Fix functional tests for history functions.
2014-04-23 16:46:14 -04:00
John Chilton
d6f8620f62
More work on eliminating references to test_db_util.sa_session.
...
... tweaked styling of several functional tests (the non-toolbox,datamanager,workflow,api functional tests) along the way - mostly PEP-8 fixes and eliminating * imports. Did not modify tests which do not pass - but did not in the source where they fail inside a TODO.
2014-01-11 22:40:18 -06:00
James Taylor
eefd9af8f7
test framework: no longer pass webapp argument to requests
2012-10-01 15:24:36 -04:00
Nate Coraor
23919dfbc6
Fix job manager/handler shutdown, functional tests due to referer -> redirect rename, and check_galaxy script for dataset display -> html table change.
2012-04-16 14:56:24 -04:00
Jeremy Goecks
2490f2e9c1
Update functional tests to be compatible with 0d1d62b8be2e
2012-01-17 09:05:11 -05:00
Greg Von Kuster
0e79bf2632
Add a checkbox to the Create Group page that if checked will create a new Role with the same name. This provides a similar feature the the existing checkbox on the Create Role page.
...
However, the behavior is now changed such that new associations are created when the checkbox is checked whereas before, only the Group or Role objects with the same name were created, but not associated with anything.
This code was very old, so I did some cleanup / improvements as well. Functional tests enhanced to reflect changes.
2011-03-10 15:48:00 -05:00
Greg Von Kuster
f7334104a0
Move the upload_option (ie., file, directory, filesystem paths, import from history) into a select list on the data library upload form. Selecting an upload_option now performs a refresh_on_change on the upload form so that any form contents entered before selecting the option are now retained. Improvements and bug fixes were made throughout the pieces of the framework that support this.
...
Major improvements and very significant code cleanup to the entire functional test framework was done in this change set as well.
2010-09-17 15:23:58 -04:00
Greg Von Kuster
dc728ca16f
Handle user registration and login in the galaxy_main frame to ensure masthead. After registration or login, use javascript to redirect to the page the user was viewing when they attempted login. If javascript is disabled, a page will be displayed with links to the page they were visiting or the home page. Revamp functional tests to cover new behavior. Fix bugs where the username was not validated when a user registered, and add functional tests to cover. Fix a bug where the user's new session may have set it's history to the user's previous history, even if the history was deleted. Now a new history will be created for the current session instead. Add a new logout.mako template, and remove a create.mako template that was no longer used.
2010-04-02 15:00:53 -04:00
Greg Von Kuster
453ddcb06e
De-couple the user controller from the model, adding a webapp param to some method signatures to allow for different webapps to use the controller. Clean up the methods in the controller, eliminating all that are no longer used. Fix the verification mehtod for resetting user names to use rules for setting user names. Add new mako templates for the login and reset password methods instead of the inline form building. Fix a bug where the user's private roles was not correctly updated when the user's email address was changed. Overhaul the test_user_info functional test script, cleaning up the mehtod code and to provide coverage for all of the above fixed bugs.
2010-03-31 09:42:50 -04:00
Greg Von Kuster
85d008846b
New separate functional test scripts for testing admin features, library features, library security and data security. These use a new test_db_util module for all db interaction ( other functional test scripts can be enhanced to use this ). A lot of code cleanup in the functional tests. In twilltestcase, cleaned up library and security related methods to mirror names in recently merged library code.
2010-03-12 16:11:26 -05:00