Started refactoring, added prettier and checks and reformatted project, added cspell and checks and custom project words, beginning of robotic oceanographic surface sampler content
Some checks failed
Build and Test - Staging / test (pull_request) Failing after 2m35s
Build and Test - Staging / build_and_push (pull_request) Has been skipped
Build and Test - Staging / deploy_staging (pull_request) Has been skipped

This commit is contained in:
2025-11-30 15:48:36 -08:00
parent 67eb549ed2
commit 4a59e44716
83 changed files with 3246 additions and 1643 deletions

View File

@@ -1,16 +1,15 @@
import {test, expect} from '@playwright/test';
import {getPaths} from "@data/site-layout.ts";
import { test, expect } from "@playwright/test";
import { getPaths } from "@data/site-layout.ts";
for (const pagePath of getPaths()) {
test(`${pagePath}: Navigable`, async ({page}) => {
const response = await page.request.get(pagePath);
await expect(response).toBeOK();
});
test(`${pagePath}: Navigable`, async ({ page }) => {
const response = await page.request.get(pagePath);
await expect(response).toBeOK();
});
test(`${pagePath}: Has Title`, async ({page}) => {
await page.goto(pagePath);
expect(await page.title()).not.toBe("Corwin Perren")
});
test(`${pagePath}: Has Title`, async ({ page }) => {
await page.goto(pagePath);
expect(await page.title()).not.toBe("Corwin Perren");
});
}