You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found that if an exception is thrown in the setUpClass or setTestName methods (annotated with @BeforeClass and @BeforeMethod respectively) of UITestRunner, then the subsequent test(s) are skipped, and so the afterMethod method doesn't execute. This meant that the Chrome session didn't get killed.
Adding alwaysRun=true to the @AfterMethod annotation seems to have resolved this issue.
Is there any downside to that which I might be missing? If not, I'm happy to submit a PR with that change in.
The text was updated successfully, but these errors were encountered:
I've found that if an exception is thrown in the
setUpClass
orsetTestName
methods (annotated with@BeforeClass
and@BeforeMethod
respectively) ofUITestRunner
, then the subsequent test(s) are skipped, and so theafterMethod
method doesn't execute. This meant that the Chrome session didn't get killed.Adding
alwaysRun=true
to the@AfterMethod
annotation seems to have resolved this issue.Is there any downside to that which I might be missing? If not, I'm happy to submit a PR with that change in.
The text was updated successfully, but these errors were encountered: