Skip to content

← All questions

@data:users errors with "is not a declared dataset (logins, posts)" after a rename

Asked 4,610 views2 answers

We renamed the dataset from users to logins in the yaml and updated the steps. Lint now fails on the tags we forgot:

text
✖ features/auth/data-driven-login.feature:6  tags/data  @data:users is not a declared dataset (logins, posts).
✖ features/auth/pool.feature:11  tags/data  @data:users is not a declared dataset (logins, posts).

Easy enough to fix, but it raises a question — the scenario reads the dataset through a step, and the step works. What is @data: for if it is not what actually loads the data?

asked by Tobi Schrader97 ·

2 answers

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