Some checks failed
Main Confidence / confidence (push) Failing after 43s
## Summary - implement the website-only core IA for Spec 215 with canonical Home, Product, Trust, Changelog, Contact, Privacy, and Imprint routes - reduce primary navigation to the core buyer journey, retain legal/supporting pages as secondary surfaces, and redirect `/security-trust` to `/trust` - add route metadata, sitemap/canonical handling, changelog publishing, and updated smoke coverage for the new IA contract ## Testing - `corepack pnpm build:website` - `cd apps/website && corepack pnpm exec playwright test` - integrated browser smoke validation for core routes, secondary routes, `/security-trust -> /trust`, hidden optional routes, mobile nav, and Trust/Changelog to Contact paths ## Notes - keeps all changes local to `apps/website` and the Spec 215 artifacts - preserves the website working contract with no `apps/platform` runtime coupling Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #252
37 lines
1.5 KiB
TypeScript
37 lines
1.5 KiB
TypeScript
import { expect, test } from '@playwright/test';
|
|
|
|
import {
|
|
expectCtaHierarchy,
|
|
expectNavigationVsCtaDifferentiation,
|
|
expectPageFamily,
|
|
expectPrimaryNavigation,
|
|
expectShell,
|
|
visitPage,
|
|
} from './smoke-helpers';
|
|
|
|
test('representative pages route CTA, badge, surface, and input semantics through shared primitives', async ({
|
|
page,
|
|
}) => {
|
|
await visitPage(page, '/');
|
|
await expectShell(page, /TenantAtlas/);
|
|
await expectPageFamily(page, 'landing');
|
|
await expectPrimaryNavigation(page);
|
|
await expectNavigationVsCtaDifferentiation(page);
|
|
await expectCtaHierarchy(page, 'See the product model', 'Review the trust posture');
|
|
await expect(page.locator('[data-interaction="button"]').filter({ hasText: 'See the product model' }).first()).toBeVisible();
|
|
await expect(page.locator('[data-badge-tone]').first()).toBeVisible();
|
|
|
|
await visitPage(page, '/trust');
|
|
await expectShell(page, /trust posture|trust/i);
|
|
await expect(page.locator('[data-surface="accent"]').first()).toBeVisible();
|
|
await expect(page.locator('[data-badge-tone]').first()).toBeVisible();
|
|
|
|
await visitPage(page, '/contact');
|
|
await expectShell(page, /contact path|working session|qualified/i);
|
|
await expect(page.locator('[data-interaction="input"]').first()).toBeVisible();
|
|
await expect(page.locator('[data-interaction="textarea"]').first()).toBeVisible();
|
|
await expect(
|
|
page.locator('[data-button-variant="secondary"]').filter({ hasText: 'Privacy' }).first(),
|
|
).toBeVisible();
|
|
});
|