diff --git a/scripts/e2e/run-playwright-smoke.js b/scripts/e2e/run-playwright-smoke.js index 16614d30..5b61da9a 100644 --- a/scripts/e2e/run-playwright-smoke.js +++ b/scripts/e2e/run-playwright-smoke.js @@ -766,8 +766,6 @@ async function assertInputProcessCopyJourney(context, baseUrl, locale) { const copyButton = page.getByRole("button", { name: /^Copy$/ }).first(); await copyButton.waitFor({ state: "visible", timeout: 15_000 }); - // Wait for DeferredToaster to mount (which has a 2000ms delay) - await page.waitForTimeout(2500); await copyButton.click(); const copiedToast = page.getByText(/copied/i).first(); diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 2edbb0e8..c91681ae 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,6 @@ import type { Metadata } from "next"; import "@/app/globals.css"; -import { DeferredToaster } from "@/components/ui/deferred-toaster"; +import { AppToaster } from "@/components/ui/app-toaster"; import { PWA_THEME_COLOR } from "@/core/pwa/constants"; import { buildDefaultOgImageUrl, buildSiteKeywords } from "@/core/seo/seo"; @@ -47,7 +47,7 @@ export default function RootLayout({
{children} -