Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import {defineBlongConfig} from '@feasibleone/blong-browser/playwright/config';
/**
* One worker (the specs share a database) and deliberately tight timeouts:
* each spec is a smoke check that a page renders, so a missing page should cost
* seconds rather than the framework's full 60s test timeout.
*
* Element-level waits use `BLONG_ELEMENT_TIMEOUT` (see blong-browser's
* `playwright.ts`), which honours the `BLONG_ELEMENT_TIMEOUT` env var.
*/
export default defineBlongConfig({
workers: 1,
timeout: 20_000,
retries: 0,
expect: {
timeout: 3_000,
toHaveScreenshot: {maxDiffPixelRatio: 0.01},
},
});
|