Replace About with Contact and introduce the homelab on Home
This commit is contained in:
parent
d5fe7407da
commit
08c430638d
1 changed files with 19 additions and 11 deletions
|
|
@ -5,7 +5,7 @@ const { chromium } = require(process.env.PLAYWRIGHT_PATH || "playwright");
|
|||
|
||||
const base = process.env.SITE_URL || "http://127.0.0.1:18790";
|
||||
const endpoint = "https://health.quorate.dev/health";
|
||||
const paths = ["/", "/about/", "/blog/", "/404.html", "/blog/specimen/"];
|
||||
const paths = ["/", "/contact/", "/blog/", "/404.html", "/blog/specimen/"];
|
||||
|
||||
const days = Array(30).fill(1);
|
||||
days[1] = null;
|
||||
|
|
@ -130,8 +130,11 @@ async function checkPage(page, path) {
|
|||
await checkLayout(page);
|
||||
|
||||
switch (path) {
|
||||
case "/about/":
|
||||
assert.equal(await page.locator("article p").textContent(), "WIP");
|
||||
case "/contact/":
|
||||
assert.equal(
|
||||
await page.locator("article a").getAttribute("href"),
|
||||
"mailto:[email protected]",
|
||||
);
|
||||
break;
|
||||
case "/blog/":
|
||||
await checkBlog(page);
|
||||
|
|
|
|||
Loading…
Reference in a new issue