Skip to content

← All questions

Does @data:orders load the dataset, or do I still need the Given step?

Asked 5,930 views1 answer

Tagged a scenario @data:orders on the assumption that it would put the columns in scope the way @user:standard puts an account in scope. The scenario runs, lint is clean, and the assertion fails with the placeholder still in it:

text
Expected to see the text "{{orderId}}"

So it clearly did not load. Is the tag broken, is it doing something else, or did I invent the behaviour?

asked by Bea Lindqvist4,318 ·

1 answer

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related