Last active
December 4, 2015 15:01
-
-
Save BeyondEvil/cca71abdc3653da3e69b 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_move_multiple_card_via_shiftselect(self, test_db, bunch_of_cards): | |
expected_swimlane_category = "None" | |
page = BoardPage(self.test_driver, test_db) | |
page.go_to_page(test_db.get_default('User').identifier, DoPlan.PRO_PROJECT, DoPlan.PRO_BOARD) | |
list_of_cards = GenericCard.get_name_list(DoPlan.PRO_PROJECT, [1, 2, 3, 4, 5]) | |
actual_swimlane_category = page.toggle_swimlanes(expected_swimlane_category) | |
Validation.assert_equal(expected_swimlane_category, actual_swimlane_category, | |
"Swimlanes aren't grouped by expected category <{}>!".format( | |
expected_swimlane_category)) | |
page = page.shift_select_cards(list_of_cards[0], list_of_cards[4]) # returnera CardDetailsPane(self.test_driver, test_db) | |
page.change_column("Done") | |
page = page.close_details_pane() # returnera BoardPage(self.test_driver, test_db) | |
actual_card_names = page.get_card_names_in_column('Done') | |
Validation.assert_equal_dict_or_list(list_of_cards, actual_card_names) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment