docs: port over to TailwindCSS (#2058)
This commit is contained in:
@@ -207,7 +207,6 @@ export async function withPageName(
|
||||
});
|
||||
|
||||
try {
|
||||
await delay(100);
|
||||
const browser = await puppeteer.launch({ args: ["--no-sandbox"] });
|
||||
|
||||
try {
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import { waitForText, withPageName } from "$fresh/tests/test_utils.ts";
|
||||
import { runBuild, waitForText, withPageName } from "../test_utils.ts";
|
||||
|
||||
Deno.test("www - docs navigation", async () => {
|
||||
await runBuild("./www/dev.ts");
|
||||
await withPageName("./www/main.ts", async (page, address) => {
|
||||
await page.goto(`${address}`, { waitUntil: "networkidle2" });
|
||||
await page.goto(`${address}`);
|
||||
|
||||
await page.click(`a[href="/docs"]`);
|
||||
await waitForText(page, "h1", "Introduction");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user