Skip to content

FluentScanner adds spaces to step names #265

@lukeschafer

Description

@lukeschafer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions