Skip to content

Commit

Permalink
fix async hook in Reqnroll.Actions.Playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Feb 16, 2024
1 parent ceb63e8 commit 3de55da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public CalculatorHooks(ScenarioContext scenarioContext)
/// Reset the calculator before each scenario tagged with "Calculator"
/// </summary>
[BeforeScenario("Calculator")]
public async void BeforeScenarioAsync(CalculatorPageObject calculatorPageObject)
public async Task BeforeScenarioAsync(CalculatorPageObject calculatorPageObject)
{
await calculatorPageObject.EnsureCalculatorIsOpenAndResetAsync();
}
Expand Down

0 comments on commit 3de55da

Please sign in to comment.