Skip to content

← All questions

Why one fixture set for ui, api and hybrid, and which of the fixtures are worker-scoped?

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.

Reading steps/fixtures.ts in the project I inherited and trying to work out what I am extending.

Two things I cannot find a straight answer to. Why is there one test rather than one per layer, given an API scenario has no browser? And which fixtures are per worker rather than per scenario — I want to know what a page object is allowed to assume is already resolved when it is constructed.

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