Search code examples
protractorcucumberbddgherkinfeature-file

how to add whitespace before and after in feature file + protractor + cucumber


I need to add white space before and after my input value in feature file for example

| firstName | | test |

the value retrieved from html is SPACEtestSPACE - note SPACE is actual space.

I tried giving it in single quotes like | ' test ' | but it didn't work as it is pulling the quotes as well.


Solution

  • enter image description here

    Adding spaces between "< and > " is enough to do it.

    refer the console

    enter image description here