Class DefaultMethodRules
- java.lang.Object
-
- com.atlassian.confluence.webdriver.selenium3.rules.DefaultMethodRules
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public final class DefaultMethodRules extends Object implements org.junit.rules.TestRule
Standard RuleChain to run in a webdriver test. This is a slightly modified version ofDefaultProductContextRules.ForMethod
. It includesVisitNoopAndCancelAlertsRule
and excludesWindowSizeRule
-
-
Constructor Summary
Constructors Constructor Description DefaultMethodRules(com.atlassian.webdriver.testing.rule.IgnoreBrowserRule ignoreBrowserRule, com.atlassian.webdriver.testing.rule.SessionCleanupRule sessionCleanupRule, VisitNoopAndCancelAlertsRule visitNoopAndCancelAlertsRule, CancelAnyAlert cancelAnyAlert, NoUrlLoggingWebDriverScreenshotRule webDriverScreenshotRule, com.atlassian.webdriver.testing.rule.LogPageSourceRule logPageSourceRule, LogTimeRule logTimeRule, BrowserUserAgentLoggingRule browserUserAgentLoggingRule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
-
-
Constructor Detail
-
DefaultMethodRules
@Inject public DefaultMethodRules(com.atlassian.webdriver.testing.rule.IgnoreBrowserRule ignoreBrowserRule, com.atlassian.webdriver.testing.rule.SessionCleanupRule sessionCleanupRule, VisitNoopAndCancelAlertsRule visitNoopAndCancelAlertsRule, CancelAnyAlert cancelAnyAlert, NoUrlLoggingWebDriverScreenshotRule webDriverScreenshotRule, com.atlassian.webdriver.testing.rule.LogPageSourceRule logPageSourceRule, LogTimeRule logTimeRule, BrowserUserAgentLoggingRule browserUserAgentLoggingRule)
-
-