fix: resolve contact form placeholders, restore process block layout, and fix testimonials carousel scroll logic

This commit is contained in:
MichalC
2026-09-17 22:25:25 +02:00
parent 7cc68b9f36
commit ab4c5c83dd
91 changed files with 4790 additions and 319 deletions
+29
View File
@@ -0,0 +1,29 @@
import { chromium } from '@playwright/test';
(async () => {
const browser = await chromium.launch();
// Desktop
const desktopContext = await browser.newContext({
viewport: { width: 1280, height: 800 }
});
const desktopPage = await desktopContext.newPage();
await desktopPage.goto('http://localhost:3000/pl');
// Poczekaj na załadowanie
await desktopPage.waitForTimeout(2000);
await desktopPage.screenshot({ path: 'screenshot_desktop.png' });
await desktopContext.close();
// Mobile
const mobileContext = await browser.newContext({
viewport: { width: 375, height: 667 }
});
const mobilePage = await mobileContext.newPage();
await mobilePage.goto('http://localhost:3000/pl');
await mobilePage.waitForTimeout(2000);
await mobilePage.screenshot({ path: 'screenshot_mobile.png' });
await mobileContext.close();
await browser.close();
console.log('Screenshots taken!');
})();