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(); });