Some checks failed
Main Confidence / confidence (push) Failing after 42s
## Summary - establish the initial Astro website foundation for `apps/website` with explicit TypeScript, Tailwind CSS v4, and reusable layout/content primitives - ship the v0 public route set for home, product, solutions, security & trust, integrations, contact, legal, privacy, and terms - add SEO/discovery basics, Playwright browser smoke coverage, and the full Spec 213 planning bundle under `specs/213-website-foundation-v0` - extend ignore rules for website test artifacts and refresh Copilot agent context for the new website stack ## Validation - `corepack pnpm build:website` - `cd apps/website && corepack pnpm exec playwright test` ## Notes - branch: `213-website-foundation-v0` - commit: `020d416d0d8af4d16a981ff4f4f6d90153b9c603` Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #249
40 lines
1.5 KiB
TypeScript
40 lines
1.5 KiB
TypeScript
import { expect, test } from '@playwright/test';
|
|
|
|
import {
|
|
expectFooterLinks,
|
|
expectPrimaryNavigation,
|
|
expectShell,
|
|
visitPage,
|
|
} from './smoke-helpers';
|
|
|
|
test('home explains the product category and exposes the next step', async ({ page }) => {
|
|
await visitPage(page, '/');
|
|
await expectShell(page, /TenantAtlas/);
|
|
await expectPrimaryNavigation(page);
|
|
await expectFooterLinks(page);
|
|
await expect(
|
|
page.getByRole('heading', { name: 'Governance of record for Microsoft tenant operations.' }).first(),
|
|
).toBeVisible();
|
|
await expect(page.getByRole('main').getByRole('link', { name: 'See the product model' }).first()).toBeVisible();
|
|
await expect(
|
|
page.getByRole('main').getByRole('link', { name: 'Review the trust posture' }).first(),
|
|
).toBeVisible();
|
|
});
|
|
|
|
test('product explains the connected operating model instead of a loose feature list', async ({
|
|
page,
|
|
}) => {
|
|
await visitPage(page, '/product');
|
|
await expectShell(page, 'One operating model for change history, drift visibility, and review readiness.');
|
|
await expectPrimaryNavigation(page);
|
|
await expectFooterLinks(page);
|
|
await expect(page.getByRole('heading', { name: 'Connected governance model' }).first()).toBeVisible();
|
|
await expect(page.getByRole('main').getByRole('link', { name: 'See audience fit' }).first()).toBeVisible();
|
|
await expect(
|
|
page
|
|
.getByRole('main')
|
|
.getByRole('link', { name: 'Talk through your current operating model' })
|
|
.first(),
|
|
).toBeVisible();
|
|
});
|