Skip to content

← All questions

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

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

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?

1 answer

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related