Skip to content

← All questions

Scenario tagged @har:products runs green but har/staging is still empty

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.

I added the tag and ran the suite. It passes, but nothing lands in projects/demo-shop/har/staging/.

gherkin
@ui @smoke @har:products
Scenario: Products render from recorded traffic
  Given I am on the inventory page
  Then I should see the text "Sauce Labs Backpack"
bash
bun run sdods run -p demo-shop -e staging -l ui -b chromium -t @smoke

The only odd thing in the output was a yellow line I scrolled past:

text
2021-10-21 09:12:44 [WARN] [har] @har:products has no recording at /work/projects/demo-shop/har/staging/products.har. Run: sdods har record -p demo-shop -e staging -t @har:products

Do I have to create the file by hand before the tag does anything?

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