Fixed weird floating footer behavior, updated Timeline to handle new growing scrolling content div, fixed grammar issue on chubby buttons, removed used nginx configs and Dockerfile comments, made Table not go full-w automatically, added tests to ensure no orphaned astro pages or site layout entries exist, dummy sitemap index so code analysis doesn't freak out
This commit is contained in:
16
test-e2e/static-pages.spec.ts
Normal file
16
test-e2e/static-pages.spec.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
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}: Has Title`, async ({page}) => {
|
||||
await page.goto(pagePath);
|
||||
expect(await page.title()).not.toBe("Corwin Perren")
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user