import { expect, test } from '@playwright/test'; import { expectDisclosureLayer, expectFooterLinks, expectNavigationVsCtaDifferentiation, expectPageFamily, expectPrimaryNavigation, expectShell, visitPage, } from './smoke-helpers'; test('solutions keeps MSP and enterprise audience fit inside one landing-page rhythm', async ({ page }) => { await visitPage(page, '/solutions'); await expectShell(page, /MSP|enterprise/i); await expectPageFamily(page, 'landing'); await expectDisclosureLayer(page, '1'); await expectDisclosureLayer(page, '2'); await expectPrimaryNavigation(page); await expectNavigationVsCtaDifferentiation(page); await expectFooterLinks(page); await expect( page.getByRole('heading', { name: 'Review MSP and enterprise fit without changing the product story.' }), ).toBeVisible(); await expect(page.getByRole('heading', { name: 'MSP operating model' })).toBeVisible(); await expect(page.getByRole('heading', { name: 'Enterprise IT operating model' })).toBeVisible(); await expect(page.getByRole('main').getByRole('link', { name: 'Review the ecosystem fit' }).first()).toBeVisible(); }); test('security and trust stays grounded in substantiated product posture and layered disclosure', async ({ page, }) => { await visitPage(page, '/security-trust'); await expectShell(page, /trust posture|trust-first/i); await expectPageFamily(page, 'trust'); await expectDisclosureLayer(page, '1'); await expectDisclosureLayer(page, '2'); await expectPrimaryNavigation(page); await expectNavigationVsCtaDifferentiation(page); await expectFooterLinks(page); await expect( page.getByRole('heading', { name: 'Show operator safeguards with restrained public claims.' }), ).toBeVisible(); await expect(page.getByRole('main').getByRole('link', { name: 'Read the legal surface' }).first()).toBeVisible(); }); test('integrations shows real ecosystem direction without wishlist claims or shell drift', async ({ page }) => { await visitPage(page, '/integrations'); await expectShell(page, /ecosystem fit|integrations/i); await expectPageFamily(page, 'landing'); await expectDisclosureLayer(page, '1'); await expectDisclosureLayer(page, '2'); await expectPrimaryNavigation(page); await expectNavigationVsCtaDifferentiation(page); await expectFooterLinks(page); await expect( page.getByRole('heading', { name: 'Keep ecosystem direction sharp, current, and bounded.' }), ).toBeVisible(); await expect(page.getByText('Microsoft Graph')).toBeVisible(); await expect(page.getByText('Entra ID')).toBeVisible(); await expect(page.getByRole('main').getByRole('link', { name: 'Plan the working session' }).first()).toBeVisible(); });