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

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related