I have a StepDefinition that logs in the user. I would like to run that step definition once before the test and not have to run it again

33 views Asked by At

I would like to run the login StepDefinition method once before the test runs. But, not after every single feature run because I have code that saves the browser state after first login

Given("Login User")]
public async Task GivenLoginUser()
{
    code goes here;
}
0

There are 0 answers