Fix issue with behave-bdd scripts generated by the Recorder

This commit is contained in:
Michael Mintz 2022-09-14 15:47:02 -04:00
parent 341e4fd8f0
commit e85e06de97
1 changed files with 1 additions and 0 deletions

View File

@ -289,6 +289,7 @@ def generate_gherkin(srt_actions):
import unicodedata
action[1][0] = unicodedata.normalize("NFKC", action[1][0])
action[1][0] = action[1][0].replace("\n", "\\n")
method = "Assert text"
if action[0] == "as_et":
method = "Assert exact text"