You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing this as well using the StepTitleAttribute on my reusable step methods and the Fluent API.
My expectation is that if that attribute is used to specify a title/format, that is used verbatim. Otherwise, the system would perform the existing logic to auto-generate the title.
Since Humanize is called after string.Format, data is getting spaces added. E.g. (first param is an
Expression<Func<,>>
)[StepTitle("Then the element [{0}] has text '{1}'", false)]
Results in
And then the element [page => page . title ] has text ' me '
So you can see spaces randomly in the expression's .ToString() and around the apostrophes, and the expression is lower-cased
The text was updated successfully, but these errors were encountered: