@qoretechnologies/reqore 0.72.8 → 0.72.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/vitest.config.ts CHANGED
@@ -37,11 +37,19 @@ export default mergeConfig(
37
37
  name: 'storybook',
38
38
  browser: {
39
39
  enabled: true,
40
- provider: playwright({}),
40
+ // Vitest 4's @vitest/browser-playwright no longer applies
41
+ // `browser.viewport` to the Playwright context (the line is
42
+ // commented out in the provider), so the context silently falls
43
+ // back to Playwright's 1280×720 default and every capture is
44
+ // clamped to it — while the manifest still records qlip's
45
+ // 1920×1080, yielding blurry, mislabeled snapshots. Pass the
46
+ // viewport through the provider's `contextOptions` (which IS
47
+ // applied) so the browser window matches qlip's capture viewport
48
+ // 1:1 and screenshots come out at their true resolution.
49
+ provider: playwright({
50
+ contextOptions: { viewport: { width: 1920, height: 1080 } },
51
+ }),
41
52
  headless: true,
42
- // Match the Chromatic snapshot viewport; the default (414px) is below
43
- // responsive breakpoints like the Table's hideBelowWidth columns.
44
- viewport: { width: 1440, height: 900 },
45
53
  instances: [{ browser: 'chromium' }],
46
54
  },
47
55
  setupFiles: ['./.storybook/vitest.setup.ts'],