Right rail template

This commit is contained in:
adilallo
2026-02-28 23:16:10 -07:00
parent f5bfb25f5e
commit 0799636c78
60 changed files with 1255 additions and 305 deletions
+5 -1
View File
@@ -74,7 +74,11 @@ test.describe("Performance Monitoring", () => {
const metrics: { lcp?: number; fid?: number; cls?: number } = {};
for (const entry of entries) {
const e = entry as any;
const e = entry as PerformanceEntry & {
startTime?: number;
processingStart?: number;
value?: number;
};
if (
e.name === "LCP" ||
e.entryType === "largest-contentful-paint"
+2 -2
View File
@@ -1,7 +1,7 @@
import { test, expect } from "@playwright/test";
import { test, expect, type Page } from "@playwright/test";
test.describe("Visual Regression Tests", () => {
async function settle(page: any) {
async function settle(page: Page) {
await page.evaluate(() => {
window.scrollTo(0, window.scrollY); // ensure a frame boundary
void document.body.getBoundingClientRect();