phase 16 implementation
This commit is contained in:
@@ -6,8 +6,9 @@ for (const scenario of [
|
||||
{ locale: 'ar', theme: 'dark', width: 390, height: 1200 },
|
||||
] as const) {
|
||||
test(`${scenario.locale}-${scenario.theme} component matrix`, async ({ page }) => {
|
||||
test.skip(test.info().project.name !== 'chromium', 'Canonical visual baselines use Chromium.');
|
||||
await page.addInitScript(
|
||||
(theme) => localStorage.setItem('rdg-theme-preference', theme),
|
||||
(theme) => localStorage.setItem('hpc.theme.preference', theme),
|
||||
scenario.theme,
|
||||
);
|
||||
await page.setViewportSize({ width: scenario.width, height: scenario.height });
|
||||
|
||||
Reference in New Issue
Block a user