Started refactoring, added prettier and checks and reformatted project, added cspell and checks and custom project words, beginning of robotic oceanographic surface sampler content
This commit is contained in:
@@ -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");
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user