Skip to content

Commit

Permalink
Fixed #2688
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Feb 10, 2022
1 parent b3775b2 commit d0dd518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,13 @@ public void evaluate() throws Throwable {
}

context.startTestRun();
context.runBeforeAllHooks();
features.forEach(context::beforeFeature);

try {
runFeatures.evaluate();
} finally {
context.runAfterAllHooks();
context.finishTestRun();
StepEventBus.getEventBus().testRunFinished();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package net.serenitybdd.screenplay.ensure.web

import net.serenitybdd.core.pages.PageObject
import net.serenitybdd.screenplay.Actor
import net.serenitybdd.screenplay.abilities.BrowseTheWeb
import net.serenitybdd.screenplay.ensure.KnowableValue
Expand Down

0 comments on commit d0dd518

Please sign in to comment.