Screenshots in Scenario Outlines overwrite screenshots from prior iteration(s) of that scenario outline.
I'm working to add a unique identifier for each Scenario Outline in the filename of the screenshot. The simplest solution appeared to be $this->currentScenario->getLine(), however the result of that function is different in BehatFormatterContext.php (returns current example line) compared to BehatFormatter.php (return scenario definition line).
Screenshots in Scenario Outlines overwrite screenshots from prior iteration(s) of that scenario outline.
I'm working to add a unique identifier for each Scenario Outline in the filename of the screenshot. The simplest solution appeared to be $this->currentScenario->getLine(), however the result of that function is different in BehatFormatterContext.php (returns current example line) compared to BehatFormatter.php (return scenario definition line).