Commit Graph
36 Commits
Author SHA1 Message Date
James Taylor 2c1e959a94 New functional test harness. Update to recent nose. No longer rely on nose to manage the embedded web server (this is not done in functional_tests.py). Log page contents to a temporary file on check_page_for_string error.
[mq]: functional-test-harness
2009-10-20 13:08:29 -04:00
Nate Coraor 87db3952d3 Real Job(tm) support for the library upload tool. Does not include iframe upload for the library side yet. 2009-09-25 14:36:12 -04:00
Greg Von Kuster ca6ba6e011 Many history-related feature enhancements, some fixes and enhanced functional tests:
- history sharing is now modeled after workflow sharing - fixes ticket # 63.
- all history features pass encoded history ids between requests
- new, empty histories are no longer created when a user logs in, instead their last accessed history is displayed
- some other things I'm forgetting, I'm sure
This commit also includes a fix for remote user authentication where private roles and default permissions were not created for users ( Ross's and Assaf's issues ).
Many functional test enhancements.
2009-06-29 16:30:16 -04:00
Greg Von Kuster 2b6f2c946a Fixes and functional tests for uploading directories of files from both the Admin view and the Libraries view ( requires new config setting ).
In addition to the config setting "library_import_dir" for the Admin view, the new config setting "user_library_import_dir" for the Libraries view will allow non-amin users to upload a directory of files.

The configured directory must contain sub-directories named the same as the non-admin user's Galaxy login ( email ).  The non-admin user is restricted to uploading files or sub-directories of files contained in their directoy.
2009-06-16 09:55:15 -04:00
Greg Von Kuster 879d7797e6 merging from central 2009-03-27 16:55:52 -04:00
Greg Von Kuster ae52953d5e Re-fix the default test port... 2009-03-27 16:55:34 -04:00
Greg Von Kuster d8aa4147e6 merging from central 2009-03-27 16:38:15 -04:00
Greg Von Kuster a9f4eb9b62 merging from central 2009-03-26 09:43:02 -04:00
Greg Von Kuster da476a3f3a merging from central 2009-03-17 23:57:08 -04:00
Greg Von Kuster 69e383d6a8 Integrating i18n support provided by Mitsuteru Nakao, Takashi Hatakeyama, and Hideyuki Morita. 2009-03-17 22:46:47 -04:00
Greg Von Kuster 7ecfd7c61e Reset functional test port which somehow got committed when attempting to merge conflicts. 2008-12-15 09:06:11 -05:00
Greg Von Kuster bff56d118e merging from central 2008-12-15 09:05:20 -05:00
Greg Von Kuster e858742d73 merging from central 2008-12-15 09:01:37 -05:00
Greg Von Kuster b432fd166d merging heads 2008-12-15 08:55:16 -05:00
Greg Von Kuster ed90f0f683 Fixes and new features for data security and libraries, requires db schema change and new config setting.
- add ability for an admin to reset another user's password
- add ability for an admin user to delete another user's account ( requires config setting to display feature )
- add ability for an admin user to manage deleted users ( undelete / purge )
- more code cleanup in the admin controller
- several new functional tests and existing functional test improvements

SQL commands to alter db schema:

ALTER TABLE galaxy_user ADD COLUMN deleted BOOLEAN DEFAULT FALSE;
CREATE INDEX ix_galaxy_user_deleted ON galaxy_user USING btree (deleted);

ALTER TABLE galaxy_user ADD COLUMN purged BOOLEAN DEFAULT FALSE;
CREATE INDEX ix_galaxy_user_purged ON galaxy_user USING btree (purged);

New config setting:

# Can an admin user delete user accounts?
#allow_user_deletion = False
2008-11-28 15:32:15 -05:00
Greg Von Kuster a8cd7a9118 Streamline the process of adding datasets to a library and then updating roles and permissions on them, improve admin GUI flow, more functional tests. 2008-11-18 17:10:16 -05:00
Nate Coraor 235864e3d5 Merging heads 2008-11-10 12:42:40 -05:00
Daniel Blankenberg 8ff58ac96f Fixes for testing framework to allow it to be run against an external server. 2008-11-07 15:39:47 -05:00
Greg Von Kuster d5da21bb5b my message 2008-09-05 16:39:38 -04:00
Greg Von Kuster 2da6139199 More fixes for twill 0.9, the annotation profiler tests do not yet pass, but all else should work now, more tests coming soon. 2008-09-05 16:36:51 -04:00
Greg Von Kuster b8882ce7c6 A few functional tests ( not even close to being enough to test everything ) for dataset security and libraries. Also a better fix for ensuring a group named public exists in mapping.py. 2008-08-25 14:04:42 -04:00
Nate Coraor c1b6226d40 When running functional tests, display the tool's stderr when a job ends in error. 2008-04-04 15:40:28 +00:00
Greg Von Kuster b10f59456b Oops, forgot to change my port back to the default. 2008-03-27 17:53:49 +00:00
Greg Von Kuster 48d05cf6d8 New tools require uploaded compressed files, which the upload tool decompresses on the fly, renaming the file. The do_it function needs to take this into account when running functional tests for these tools. 2008-03-27 17:51:04 +00:00
James Taylor 49edae2385 Log host/port in functional tests. 2008-01-20 18:04:35 +00:00
James Taylor 32ab4396e1 Fix datatype_convertors for functional tests. 2008-01-17 03:34:15 +00:00
James Taylor 8a70a02b5a Override datatype_convertors config in functional tests 2008-01-17 02:58:59 +00:00
James Taylor f7decb22cb Functional tests now use the datatypes defined in universe_wsgi.ini, this
fixes the neighbor joining test.
2008-01-07 19:43:39 +00:00
James Taylor 2da9ec3b52 Use the same HTTP server for the functional tests that is used for the
application.
2008-01-05 19:54:49 +00:00
Greg Von Kuster b3aa4efa6f Cleaned up functional tests, eliminating some redundant tests and unused test data files. Next step, add many missing tests. 2007-10-03 14:17:41 +00:00
James Taylor f759427a07 Fix functional tests. 2007-07-31 20:14:58 +00:00
James Taylor 953b62c7d4 NOTE CONFIG FILE CHANGES!
First step of the big reorganization. This moves almost everything web interface related under the web package (still a few things left to disentangle). In particular, galaxy.interfaces is now galaxy.web.controllers which is somewhat more clear. Middleware, servers, and framework are all better organized under web.

Most importantly, the configuration file has been greatly simplified, the "composite" and various static apps are now configured by the application rather than by PasteScript, so the config file really only contains user modifiable parameters now.

(Expect this to break something)
2007-07-31 20:09:51 +00:00
James Taylor 84b2cb4f74 Allow passing database path and 'use_pbs' to the functional tests.
TODO: This should just be able to read an INI file, far too many variables at this point.
2006-12-15 15:57:15 +00:00
James Taylor 01478be010 Fix tool config for functional tests. 2006-11-15 20:09:48 +00:00
James Taylor d87ee75027 Cleaning everything up (should be working as usual) 2006-11-15 16:55:17 +00:00
James Taylor 9cdbe06f09 More moving things around. 2006-11-15 16:32:54 +00:00