Skip to content

← All questions

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

Asked 7,420 views2 answers

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?

asked by Lena Hartwig10,388 ·

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