From e4d0788a28da6f2007de700dae3f35400f7abdb0 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 18 Dec 2017 15:43:17 -0500 Subject: [PATCH] Improvements to library testing. - Add tests for creating a collection from a library. - Add more class names to library GUI to improve selectors for tests. - Automatically select whichever radio box makes sense in library collection builder dialog based on whether there is a selection or not. --- .../mvc/library/library-foldertoolbar-view.js | 14 +++--- test/galaxy_selenium/navigates_galaxy.py | 25 ++++++++++ test/galaxy_selenium/navigation.yml | 15 +++--- test/selenium_tests/test_library_contents.py | 13 ++---- .../test_library_to_collections.py | 46 +++++++++++++++++++ 5 files changed, 89 insertions(+), 24 deletions(-) create mode 100644 test/selenium_tests/test_library_to_collections.py diff --git a/client/galaxy/scripts/mvc/library/library-foldertoolbar-view.js b/client/galaxy/scripts/mvc/library/library-foldertoolbar-view.js index f8e85f9ced9..d5f4b1389ce 100644 --- a/client/galaxy/scripts/mvc/library/library-foldertoolbar-view.js +++ b/client/galaxy/scripts/mvc/library/library-foldertoolbar-view.js @@ -1382,12 +1382,12 @@ var FolderToolbarView = Backbone.View.extend({ "", "", // create new folder button - '", // add datasets button "<% if(mutiple_add_dataset_options) { %>", - '