Skip to content

← All questions

Lint says the accessibility step is undefined, but the step library reference lists it

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.

Copied the scenario straight out of Accessibility and performance budgets:

gherkin
@ui @regression @a11y
Scenario: The inventory page has no serious accessibility violations
  Given I am on the inventory page
  Then the page should have no accessibility violations of impact "serious" or higher
bash
sdods lint -p demo-shop
text
features/inventory/a11y.feature:6
Undefined step: Then the page should have no accessibility violations of impact "serious" or higher

The phrasing is identical to the table in the step library reference, down to the quotes. What am I missing — a plugin, a dependency, a config flag?

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