Skip to content

← All questions

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

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.

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?

2 answers

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