Skip to content

Commit

Permalink
NavigatesGalaxy class docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Oct 2, 2017
1 parent cce59ae commit 3f28f84
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/galaxy_selenium/navigates_galaxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,21 @@ def _retry(*args, **kwds):


class NavigatesGalaxy(HasDriver):
"""Class with helpers methods for driving components of the Galaxy interface.
In most cases, methods for interacting with Galaxy components that appear in
multiple tests or applications should be refactored into this class for now.
Keep in mind that this class is used outside the context of ``TestCase``s as
well - so some methods more explicitly related to test data or assertion checking
may make more sense in SeleniumTestCase for instance.
Some day this class will likely be split up into smaller mixins for particular
components of Galaxy, but until that day the best practice is to prefix methods
for driving or querying the interface with the name of the component or page
the method operates on. These serve as psedu-namespaces until we decompose this
class. For instance, the method for clicking an option in the workflow editor is
workflow_editor_click_option instead of click_workflow_editor_option.
"""

default_password = DEFAULT_PASSWORD

Expand Down

0 comments on commit 3f28f84

Please sign in to comment.