|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.rules.TestWatcher com.atlassian.confluence.webdriver.rules.VisitNoopAndCancelAlertsRule
public class VisitNoopAndCancelAlertsRule
Cancels any editor, after the test completes, to prevent getting stuck on modal dialogs due to the dirty page warning.
Constructor Summary | |
---|---|
VisitNoopAndCancelAlertsRule()
|
Method Summary | |
---|---|
void |
finished(org.junit.runner.Description description)
Navigates to a blank page and cleans up any dialogs attempting to block that navigation. |
Methods inherited from class org.junit.rules.TestWatcher |
---|
apply, failed, starting, succeeded |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisitNoopAndCancelAlertsRule()
Method Detail |
---|
public void finished(org.junit.runner.Description description)
finished
in class org.junit.rules.TestWatcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |