Skip to content

← All questions

@visual is green locally and reported flaky on CI — attempt 1 fails, attempt 2 passes

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.

Same commit, same command, two machines.

On my laptop:

bash
sdods run -p rwa-bank -e local -l ui -b chromium -t @visual

Green, every time. On the CI job (Ubuntu runner, project has retries: { ci: 2 }) the scenario is reported flaky. Attempt 1:

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

Attempt 2 passes and the run finishes green-with-a-flaky. Nothing in git changed between the attempts, obviously. This has happened on every nightly for a week and I do not understand what is unstable.

3 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