Class WebDriverTestExecutionListener
java.lang.Object
org.springframework.test.context.support.AbstractTestExecutionListener
org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener
- All Implemented Interfaces:
Ordered
,TestExecutionListener
TestExecutionListener
to reset the WebDriverScope
.- Since:
- 3.0.0
- Author:
- Phillip Webb
- See Also:
-
WebDriverContextCustomizerFactory
WebDriverScope
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.test.context.support.AbstractTestExecutionListener
afterTestClass, afterTestExecution, beforeTestClass, beforeTestExecution, beforeTestMethod, prepareTestInstance
-
Constructor Details
-
WebDriverTestExecutionListener
public WebDriverTestExecutionListener()
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceOrdered
- Overrides:
getOrder
in classAbstractTestExecutionListener
-
afterTestMethod
- Specified by:
afterTestMethod
in interfaceTestExecutionListener
- Overrides:
afterTestMethod
in classAbstractTestExecutionListener
- Throws:
Exception
-