Created
January 25, 2016 19:02
-
-
Save rplevka/b9d5368be9f13c1b3173 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_entitites(self): | |
for entity in NO_SETUP_ENTITIES: | |
command_to_run_all_tests_in_class(BookmarkTestCase) | |
def test_entitites_setup(self): | |
for entity in SETUP_ENTITIES: | |
do_the_setup() | |
command_to_run_all_tests_in_class(BookmarkTestCase) | |
class BookmarkTestCase(UITestCase): | |
"""Test for common Bookmark operations in UI""" | |
@stubbed() | |
@tier1 | |
def test_positive_create_bookmark_populate_auto(self): | |
"""Test creating a bookmark with auto-populating of the query | |
@Feature: Scoped Search Bookmark Create | |
@Steps: | |
1. Login to Satellite server (establish a UI session) | |
2. Navigate to the entity page | |
3. Input a random text into the search field | |
4. Choose "bookmark this search" from the search drop-down menu | |
5. Input a random name for a bookmark name | |
6. Verify the query field is automatically populated and the public | |
option is checked | |
@stubbed() | |
@tier1 | |
def test_positive_create_bookmark_populate_manual(self): | |
"""Test creating a bookmark | |
@Feature: Scoped Search Bookmark Create | |
@Steps: | |
1. Login to Satellite server (establish a UI session) | |
2. Navigate to the entity page | |
3. Choose "bookmark this search" from the search drop-down menu | |
4. Input a random name for a bookmark name | |
5. Enter random text into Query field | |
6. Click the create button | |
7. Verify that bookmark's name appears in the search dropdown | |
8. List the bookmarks (Navigate to Administer -> Bookmarks) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment