Skip to content

← All questions

Does colorScheme from the env use: block reach a recording, or only the runner?

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.

envs/staging.yaml has:

yaml
use:
  locale: en-US
  timezoneId: America/New_York
  colorScheme: dark

sdods run -l ui respects all three. A recording started with

bash
sdods record -p demo-shop -e staging --name nav-dark -b webkit

comes up in light mode for me, while the locale and the timezone are clearly applied — the dates in the app are New York time and the number formatting is US.

Two questions, and I am not sure which one I am actually asking. Is colorScheme from use: meant to reach the recorder at all, or is that block only read by the runner? And if it is meant to, does it behave differently on webkit than on chromium — I have not tried the same recording on chromium yet, which I realise is the obvious next thing.

Happy to raise it properly if someone can tell me which of those two it is.

No answers yet

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