Read more

How to fill in multiple lines in a textarea with cucumber

Natalie Zeumann
June 28, 2018Software engineer at makandra GmbH

If you want to fill in textareas with multiple lines of text (containing line breaks / new lines) you can use Cucumber's docstrings Show archive.org snapshot :

And I fill in "Comment" with:

"""
This is a long comment.
With multiple lines.

And paragraphs.
"""
Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

The step definition is part of the spreewald Show archive.org snapshot gem

Posted by Natalie Zeumann to makandra dev (2018-06-28 09:27)