Skip to content

Commit

Permalink
remove duplicate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfe1 committed Oct 28, 2020
1 parent 9254042 commit 6a0bc4a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/Desktop/test_desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,18 +531,6 @@ def test_select_elements_from_menu_no_desktop(self):
DesktopLibrary.select_elements_from_menu(mock_desk, 'some_locator', 'another_locator')
mock_desk.click_element.assert_called_with('another_locator')

def test_select_elements_from_menu_retry(self):
mock_desk = MagicMock()
mock_desk.click_element = MagicMock(side_effect=[True, NoSuchElementException, True])
DesktopLibrary.select_elements_from_menu(mock_desk, 'some_locator', 'another_locator')
mock_desk.click_element.assert_called_with('another_locator')

def test_select_elements_from_menu_desktop(self):
mock_desk = MagicMock()
mock_desk.click_element = MagicMock(side_effect=[True, NoSuchElementException, True])
DesktopLibrary.select_elements_from_menu(mock_desk, 'some_locator', 'another_locator')
mock_desk.click_element.assert_called_with('another_locator')

def test_wait_until_page_contains_private(self):
mock_desk = MagicMock()
DesktopLibrary._wait_until_page_contains(mock_desk, 'some_text', 5)
Expand Down

0 comments on commit 6a0bc4a

Please sign in to comment.