Skip to content

← All questions

First @visual run fails with "A snapshot doesn't exist" and then passes. Bug?

Asked 15,920 views2 answers

Copied the baseline example out of the guide more or less verbatim:

gherkin
@ui @regression @visual
Scenario: The sign-in page matches its baseline
  Given I am on the sign-in page
  Then the page should match the visual baseline "signin"
bash
sdods run -p rwa-bank -e local -l ui -b chromium -t @visual

It fails:

text
Error: A snapshot doesn't exist at projects/rwa-bank/features/__screenshots__/rwa-bank--ui--chromium/darwin/signin.png, writing actual.

The PNG is sitting there afterwards and the second run is green. So am I supposed to run it twice on purpose, or did I miss a setting somewhere?

asked by Elsa Nyman333 ·

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