I am wondering is it possible to define allure steps for tests in C# just like in Java. Is there any way to use it?
@Step("Step title: {0}")
public void func(String parameter, WebDriver driver) {}
I am wondering is it possible to define allure steps for tests in C# just like in Java. Is there any way to use it?
@Step("Step title: {0}")
public void func(String parameter, WebDriver driver) {}
Alright, I've found an answer
public Page DoAction(Object object)
{
AllureLifecycle.Instance.WrapInStep(() =>
{
pageInput.SendKeys(object.field);
}, "Action");
return new HomePage();
}