Skip to content

Commit

Permalink
Fixed expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Reiche committed Aug 12, 2021
1 parent 44f3f2b commit 37589d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -625,13 +625,13 @@ public void testT58N_GuiElement_assertIsDisabled() {
element.asserts().assertIsDisabled();
}

@Test(expectedExceptions = {TimeoutException.class})
@Test(expectedExceptions = {AssertionError.class})
public void test_inexistent_GuiElement_assertIsDisabled() {
GuiElement element = getNotExistingElement();
element.asserts().assertIsDisabled();
}

@Test(expectedExceptions = {TimeoutException.class})
@Test(expectedExceptions = {AssertionError.class})
public void test_inexistent_GuiElement_assertIsNotSelected() {
GuiElement element = getNotExistingElement();
element.asserts().assertIsNotSelected();
Expand Down

0 comments on commit 37589d7

Please sign in to comment.