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 money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
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)