Skip to content

← All questions

lint says Undefined step: Given I am on the checkout page, but the method is right there

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.

bash
sdods lint -p demo-shop
text
Undefined step: Given I am on the checkout page

The class has it:

ts
@Given('I am on the checkout page')
async open() {
  await this.goto('checkout');
}

Spelling matches character for character, I diffed it. The file is pages/CheckoutPage.ts. What else is there to check?

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