RecreationBench / web /praxora.example /tests /static /content.scripted.spec.ts
VoyagerXHF's picture
Upload folder using huggingface_hub (part 56)
a81c7b8 verified
Raw History Blame Contribute Delete
112 kB
import { test, expect } from '@playwright/test';
test.describe('Functional - homepage', () => {
test('homepage: title matches GT', async ({ page }) => {
await page.goto('/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('the world\'s #1 product development platf');
});
test('homepage: h2 "Run the world\'s #1 product dev"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Run the world\'s #1 product development platform' || t.startsWith('Run the world\'s #1 product development platform'))).toBeTruthy();
});
test('homepage: h2 "Build a visual roadmap"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build a visual roadmap' || t.startsWith('Build a visual roadmap'))).toBeTruthy();
});
test('homepage: h2 "Kick-start product discovery"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Kick-start product discovery' || t.startsWith('Kick-start product discovery'))).toBeTruthy();
});
test('homepage: nav link "Platform overviewSpeed up prod"', async ({ page }) => {
await page.goto('/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform overviewSpeed up product development' || t.startsWith('Platform overviewSpeed up product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Praxora RoadmapsAlign strategy"', async ({ page }) => {
await page.goto('/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsAlign strategy with plans' || t.startsWith('Praxora RoadmapsAlign strategy with plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Praxora DiscoveryHandle custom"', async ({ page }) => {
await page.goto('/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryHandle customer interviews' || t.startsWith('Praxora DiscoveryHandle customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Praxora IdeasCollect customer "', async ({ page }) => {
await page.goto('/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora IdeasCollect customer feedback' || t.startsWith('Praxora IdeasCollect customer feedback')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - academy', () => {
test('academy: title matches GT', async ({ page }) => {
await page.goto('/academy/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora academy');
});
test('academy: h1 "The best path to becoming a pr"', async ({ page }) => {
await page.goto('/academy/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The best path to becoming a product pro' || t.startsWith('The best path to becoming a product pro'))).toBeTruthy();
});
test('academy: h2 "Learn and grow with Praxora"', async ({ page }) => {
await page.goto('/academy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn and grow with Praxora' || t.startsWith('Learn and grow with Praxora'))).toBeTruthy();
});
test('academy: h2 "Hear from Academy graduates"', async ({ page }) => {
await page.goto('/academy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hear from Academy graduates' || t.startsWith('Hear from Academy graduates'))).toBeTruthy();
});
test('academy: h3 "Certification classes"', async ({ page }) => {
await page.goto('/academy/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Certification classes' || t.startsWith('Certification classes'))).toBeTruthy();
});
test('academy: header link "Praxora"', async ({ page }) => {
await page.goto('/academy/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('academy: nav link "Product overviewMove product w"', async ({ page }) => {
await page.goto('/academy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewMove product work forward fast' || t.startsWith('Product overviewMove product work forward fast')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('academy: nav link "Praxora RoadmapsTurn strategy "', async ({ page }) => {
await page.goto('/academy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsTurn strategy into plans' || t.startsWith('Praxora RoadmapsTurn strategy into plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('academy: nav link "Praxora DiscoveryOrganize cust"', async ({ page }) => {
await page.goto('/academy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryOrganize customer research' || t.startsWith('Praxora DiscoveryOrganize customer research')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ai_library', () => {
test('ai_library: title matches GT', async ({ page }) => {
await page.goto('/ai-library/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('explore the praxora ai prompt library');
});
test('ai_library: h1 "Get more done with AI"', async ({ page }) => {
await page.goto('/ai-library/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get more done with AI' || t.startsWith('Get more done with AI'))).toBeTruthy();
});
test('ai_library: h4 "Acceptance criteria"', async ({ page }) => {
await page.goto('/ai-library/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Acceptance criteria' || t.startsWith('Acceptance criteria'))).toBeTruthy();
});
test('ai_library: h4 "Approaches to consider"', async ({ page }) => {
await page.goto('/ai-library/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Approaches to consider' || t.startsWith('Approaches to consider'))).toBeTruthy();
});
test('ai_library: h4 "Change impact report"', async ({ page }) => {
await page.goto('/ai-library/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Change impact report' || t.startsWith('Change impact report'))).toBeTruthy();
});
test('ai_library: header link "Praxora"', async ({ page }) => {
await page.goto('/ai-library/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('ai_library: nav link "Platform overviewSimplify your"', async ({ page }) => {
await page.goto('/ai-library/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform overviewSimplify your product workflow' || t.startsWith('Platform overviewSimplify your product workflow')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('ai_library: nav link "Praxora RoadmapsTurn strategy "', async ({ page }) => {
await page.goto('/ai-library/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsTurn strategy into plans' || t.startsWith('Praxora RoadmapsTurn strategy into plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('ai_library: nav link "Praxora DiscoveryTrack custome"', async ({ page }) => {
await page.goto('/ai-library/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryTrack customer conversations' || t.startsWith('Praxora DiscoveryTrack customer conversations')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog', () => {
test('blog: title matches GT', async ({ page }) => {
await page.goto('/blog/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('blog');
});
test('blog: h1 "Praxora blog"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora blog' || t.startsWith('Praxora blog'))).toBeTruthy();
});
test('blog: h2 "A product manager\'s guide to A"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A product manager\'s guide to AI' || t.startsWith('A product manager\'s guide to AI'))).toBeTruthy();
});
test('blog: h2 "Set a publish schedule for kno"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Set a publish schedule for knowledge base articles' || t.startsWith('Set a publish schedule for knowledge base articles'))).toBeTruthy();
});
test('blog: h2 "Introducing the Praxora softwa"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introducing the Praxora software MCP server' || t.startsWith('Introducing the Praxora software MCP server'))).toBeTruthy();
});
test('blog: header link "Praxora"', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('blog: nav link "Platform overviewSimplify how "', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform overviewSimplify how you build products' || t.startsWith('Platform overviewSimplify how you build products')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to plans' || t.startsWith('Praxora RoadmapsConnect strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Praxora DiscoveryRun customer "', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryRun customer interviews' || t.startsWith('Praxora DiscoveryRun customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers', () => {
test('customers: title matches GT', async ({ page }) => {
await page.goto('/customers/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('stories of customer success');
});
test('customers: h1 "Own your best"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Own your best' || t.startsWith('Own your best'))).toBeTruthy();
});
test('customers: h4 "Vexa, Co"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vexa, Co' || t.startsWith('Vexa, Co'))).toBeTruthy();
});
test('customers: h4 "Nuvoli"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nuvoli' || t.startsWith('Nuvoli'))).toBeTruthy();
});
test('customers: h4 "Lernetix"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Lernetix' || t.startsWith('Lernetix'))).toBeTruthy();
});
test('customers: header link "Praxora"', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('customers: nav link "Product overviewSpeed up your "', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewSpeed up your product process' || t.startsWith('Product overviewSpeed up your product process')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "Praxora RoadmapsTurn strategy "', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsTurn strategy into plans' || t.startsWith('Praxora RoadmapsTurn strategy into plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "Praxora DiscoveryManage custom"', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryManage customer research' || t.startsWith('Praxora DiscoveryManage customer research')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners', () => {
test('partners: title matches GT', async ({ page }) => {
await page.goto('/partners/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora partners');
});
test('partners: h1 "Find certified product advisor"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Find certified product advisors' || t.startsWith('Find certified product advisors'))).toBeTruthy();
});
test('partners: h2 "Meet our worldwide partners"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meet our worldwide partners' || t.startsWith('Meet our worldwide partners'))).toBeTruthy();
});
test('partners: h3 "Partner with the industry\'s fi"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Partner with the industry\'s finest' || t.startsWith('Partner with the industry\'s finest'))).toBeTruthy();
});
test('partners: h3 "Recent engagements"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Recent engagements' || t.startsWith('Recent engagements'))).toBeTruthy();
});
test('partners: header link "Praxora"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('partners: nav link "Product overviewStreamline pro"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewStreamline product development' || t.startsWith('Product overviewStreamline product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('partners: nav link "Praxora RoadmapsLink strategy "', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsLink strategy to plans' || t.startsWith('Praxora RoadmapsLink strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('partners: nav link "Praxora DiscoveryManage custom"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryManage customer interviews' || t.startsWith('Praxora DiscoveryManage customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - pricing', () => {
test('pricing: title matches GT', async ({ page }) => {
await page.goto('/pricing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora pricing');
});
test('pricing: h1 "Pricing for Praxora products"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pricing for Praxora products' || t.startsWith('Pricing for Praxora products'))).toBeTruthy();
});
test('pricing: h2 "The all-in-one product managem"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The all-in-one product management solution' || t.startsWith('The all-in-one product management solution'))).toBeTruthy();
});
test('pricing: h2 "The new way to manage customer"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The new way to manage customer interviews' || t.startsWith('The new way to manage customer interviews'))).toBeTruthy();
});
test('pricing: h2 "The comprehensive idea managem"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The comprehensive idea management tool' || t.startsWith('The comprehensive idea management tool'))).toBeTruthy();
});
test('pricing: header link "Praxora"', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('pricing: nav link "Product overviewStreamline pro"', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewStreamline product development' || t.startsWith('Product overviewStreamline product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Praxora RoadmapsLink strategy "', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsLink strategy to plans' || t.startsWith('Praxora RoadmapsLink strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Praxora DiscoveryManage custom"', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryManage customer interviews' || t.startsWith('Praxora DiscoveryManage customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - signup', () => {
test('signup: title matches GT', async ({ page }) => {
await page.goto('/signup/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('sign up for praxora software');
});
test('signup: h1 "Begin your free trial"', async ({ page }) => {
await page.goto('/signup/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Begin your free trial' || t.startsWith('Begin your free trial'))).toBeTruthy();
});
test('signup: h2 "Build strategic plans"', async ({ page }) => {
await page.goto('/signup/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build strategic plans' || t.startsWith('Build strategic plans'))).toBeTruthy();
});
test('signup: h2 "Handle customer interviews"', async ({ page }) => {
await page.goto('/signup/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Handle customer interviews' || t.startsWith('Handle customer interviews'))).toBeTruthy();
});
test('signup: h2 "Gather customer feedback"', async ({ page }) => {
await page.goto('/signup/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Gather customer feedback' || t.startsWith('Gather customer feedback'))).toBeTruthy();
});
test('signup: header link "Praxora"', async ({ page }) => {
await page.goto('/signup/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('signup: nav link "Product overviewSimplify produ"', async ({ page }) => {
await page.goto('/signup/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewSimplify product development' || t.startsWith('Product overviewSimplify product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('signup: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/signup/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to plans' || t.startsWith('Praxora RoadmapsConnect strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('signup: nav link "Praxora DiscoveryOrganize cust"', async ({ page }) => {
await page.goto('/signup/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryOrganize customer interviews' || t.startsWith('Praxora DiscoveryOrganize customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - suite_overview', () => {
test('suite_overview: title matches GT', async ({ page }) => {
await page.goto('/suite-overview/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora suite');
});
test('suite_overview: h1 "Rethink how you build products"', async ({ page }) => {
await page.goto('/suite-overview/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rethink how you build products' || t.startsWith('Rethink how you build products'))).toBeTruthy();
});
test('suite_overview: h2 "Praxora software is built for "', async ({ page }) => {
await page.goto('/suite-overview/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora software is built for product teams' || t.startsWith('Praxora software is built for product teams'))).toBeTruthy();
});
test('suite_overview: h2 "Everything you need"', async ({ page }) => {
await page.goto('/suite-overview/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Everything you need' || t.startsWith('Everything you need'))).toBeTruthy();
});
test('suite_overview: h3 "Roadmap your path to success"', async ({ page }) => {
await page.goto('/suite-overview/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Roadmap your path to success' || t.startsWith('Roadmap your path to success'))).toBeTruthy();
});
test('suite_overview: header link "Praxora"', async ({ page }) => {
await page.goto('/suite-overview/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('suite_overview: nav link "Product overviewAccelerate pro"', async ({ page }) => {
await page.goto('/suite-overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewAccelerate product development' || t.startsWith('Product overviewAccelerate product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('suite_overview: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/suite-overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to plans' || t.startsWith('Praxora RoadmapsConnect strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('suite_overview: nav link "Praxora DiscoveryOrganize cust"', async ({ page }) => {
await page.goto('/suite-overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryOrganize customer interviews' || t.startsWith('Praxora DiscoveryOrganize customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - academy_certifications', () => {
test('academy_certifications: title matches GT', async ({ page }) => {
await page.goto('/academy/certifications/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora academy certifications');
});
test('academy_certifications: h1 "Become Praxora Roadmaps certif"', async ({ page }) => {
await page.goto('/academy/certifications/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Become Praxora Roadmaps certified' || t.startsWith('Become Praxora Roadmaps certified'))).toBeTruthy();
});
test('academy_certifications: h2 "Hear from past graduates"', async ({ page }) => {
await page.goto('/academy/certifications/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hear from past graduates' || t.startsWith('Hear from past graduates'))).toBeTruthy();
});
test('academy_certifications: h4 "Get notified about future Prax"', async ({ page }) => {
await page.goto('/academy/certifications/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get notified about future Praxora events' || t.startsWith('Get notified about future Praxora events'))).toBeTruthy();
});
test('academy_certifications: header link "Praxora"', async ({ page }) => {
await page.goto('/academy/certifications/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('academy_certifications: nav link "Platform overviewSimplify your"', async ({ page }) => {
await page.goto('/academy/certifications/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform overviewSimplify your product workflow' || t.startsWith('Platform overviewSimplify your product workflow')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('academy_certifications: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/academy/certifications/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to plans' || t.startsWith('Praxora RoadmapsConnect strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('academy_certifications: nav link "Praxora DiscoveryOrganize cust"', async ({ page }) => {
await page.goto('/academy/certifications/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryOrganize customer interviews' || t.startsWith('Praxora DiscoveryOrganize customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - academy_events', () => {
test('academy_events: title matches GT', async ({ page }) => {
await page.goto('/academy/events/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora events');
});
test('academy_events: h1 "Attend events with Praxora exp"', async ({ page }) => {
await page.goto('/academy/events/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Attend events with Praxora experts' || t.startsWith('Attend events with Praxora experts'))).toBeTruthy();
});
test('academy_events: h3 "Watch tutorial replays"', async ({ page }) => {
await page.goto('/academy/events/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Watch tutorial replays' || t.startsWith('Watch tutorial replays'))).toBeTruthy();
});
test('academy_events: h4 "Sign up to hear about our futu"', async ({ page }) => {
await page.goto('/academy/events/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up to hear about our future events' || t.startsWith('Sign up to hear about our future events'))).toBeTruthy();
});
test('academy_events: h5 "How PMs create enterprise-appr"', async ({ page }) => {
await page.goto('/academy/events/');
const texts = (await page.locator('h5').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How PMs create enterprise-approved applications with AI' || t.startsWith('How PMs create enterprise-approved applications with AI'))).toBeTruthy();
});
test('academy_events: header link "Praxora"', async ({ page }) => {
await page.goto('/academy/events/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('academy_events: nav link "Platform overviewSimplify how "', async ({ page }) => {
await page.goto('/academy/events/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform overviewSimplify how you build products' || t.startsWith('Platform overviewSimplify how you build products')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('academy_events: nav link "Praxora RoadmapsTurn strategy "', async ({ page }) => {
await page.goto('/academy/events/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsTurn strategy into plans' || t.startsWith('Praxora RoadmapsTurn strategy into plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('academy_events: nav link "Praxora DiscoveryOrganize cust"', async ({ page }) => {
await page.goto('/academy/events/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryOrganize customer research' || t.startsWith('Praxora DiscoveryOrganize customer research')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_introducing_the_ai_prompt_library_for_product_development_teams', () => {
test('blog_introducing_the_ai_prompt_library_for_product_development_teams: title matches GT', async ({ page }) => {
await page.goto('/blog/introducing-the-ai-prompt-library-for-product-development-teams/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('meet the ai prompt library built for pro');
});
test('blog_introducing_the_ai_prompt_library_for_product_development_teams: h2 "Speed up product discovery"', async ({ page }) => {
await page.goto('/blog/introducing-the-ai-prompt-library-for-product-development-teams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Speed up product discovery' || t.startsWith('Speed up product discovery'))).toBeTruthy();
});
test('blog_introducing_the_ai_prompt_library_for_product_development_teams: h2 "Tie ideas to your strategic in"', async ({ page }) => {
await page.goto('/blog/introducing-the-ai-prompt-library-for-product-development-teams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tie ideas to your strategic initiatives' || t.startsWith('Tie ideas to your strategic initiatives'))).toBeTruthy();
});
test('blog_introducing_the_ai_prompt_library_for_product_development_teams: h2 "Standardize feature definition"', async ({ page }) => {
await page.goto('/blog/introducing-the-ai-prompt-library-for-product-development-teams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Standardize feature definitions' || t.startsWith('Standardize feature definitions'))).toBeTruthy();
});
test('blog_introducing_the_ai_prompt_library_for_product_development_teams: header link "Praxora"', async ({ page }) => {
await page.goto('/blog/introducing-the-ai-prompt-library-for-product-development-teams/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('blog_introducing_the_ai_prompt_library_for_product_development_teams: nav link "Product overviewSpeed up produ"', async ({ page }) => {
await page.goto('/blog/introducing-the-ai-prompt-library-for-product-development-teams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewSpeed up product development' || t.startsWith('Product overviewSpeed up product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('blog_introducing_the_ai_prompt_library_for_product_development_teams: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/blog/introducing-the-ai-prompt-library-for-product-development-teams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to plans' || t.startsWith('Praxora RoadmapsConnect strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('blog_introducing_the_ai_prompt_library_for_product_development_teams: nav link "Praxora DiscoveryRun customer "', async ({ page }) => {
await page.goto('/blog/introducing-the-ai-prompt-library-for-product-development-teams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryRun customer interviews' || t.startsWith('Praxora DiscoveryRun customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_integrations', () => {
test('product_integrations: title matches GT', async ({ page }) => {
await page.goto('/product/integrations/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('find 65+ praxora roadmaps software integ');
});
test('product_integrations: h1 "Connect the tools your team lo"', async ({ page }) => {
await page.goto('/product/integrations/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Connect the tools your team loves' || t.startsWith('Connect the tools your team loves'))).toBeTruthy();
});
test('product_integrations: h2 "Favorite integrations"', async ({ page }) => {
await page.goto('/product/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Favorite integrations' || t.startsWith('Favorite integrations'))).toBeTruthy();
});
test('product_integrations: h2 "Every integration"', async ({ page }) => {
await page.goto('/product/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Every integration' || t.startsWith('Every integration'))).toBeTruthy();
});
test('product_integrations: h3 "AI coding agents"', async ({ page }) => {
await page.goto('/product/integrations/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI coding agents' || t.startsWith('AI coding agents'))).toBeTruthy();
});
test('product_integrations: header link "Praxora"', async ({ page }) => {
await page.goto('/product/integrations/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('product_integrations: nav link "Product overviewStreamline pro"', async ({ page }) => {
await page.goto('/product/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewStreamline product development' || t.startsWith('Product overviewStreamline product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('product_integrations: nav link "Praxora RoadmapsLink strategy "', async ({ page }) => {
await page.goto('/product/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsLink strategy to plans' || t.startsWith('Praxora RoadmapsLink strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('product_integrations: nav link "Praxora DiscoveryManage custom"', async ({ page }) => {
await page.goto('/product/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryManage customer interviews' || t.startsWith('Praxora DiscoveryManage customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - roadmapping_guide', () => {
test('roadmapping_guide: title matches GT', async ({ page }) => {
await page.goto('/roadmapping/guide/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('free resources for product teams');
});
test('roadmapping_guide: h1 "Guide for product leaders"', async ({ page }) => {
await page.goto('/roadmapping/guide/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Guide for product leaders' || t.startsWith('Guide for product leaders'))).toBeTruthy();
});
test('roadmapping_guide: h3 "Popular answers"', async ({ page }) => {
await page.goto('/roadmapping/guide/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Popular answers' || t.startsWith('Popular answers'))).toBeTruthy();
});
test('roadmapping_guide: h3 "Most-used guided templates"', async ({ page }) => {
await page.goto('/roadmapping/guide/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Most-used guided templates' || t.startsWith('Most-used guided templates'))).toBeTruthy();
});
test('roadmapping_guide: h3 "Get answers from product exper"', async ({ page }) => {
await page.goto('/roadmapping/guide/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get answers from product experts' || t.startsWith('Get answers from product experts'))).toBeTruthy();
});
test('roadmapping_guide: header link "Praxora"', async ({ page }) => {
await page.goto('/roadmapping/guide/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('roadmapping_guide: nav link "Platform overviewAccelerate pr"', async ({ page }) => {
await page.goto('/roadmapping/guide/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform overviewAccelerate product development' || t.startsWith('Platform overviewAccelerate product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('roadmapping_guide: nav link "Praxora RoadmapsAlign strategy"', async ({ page }) => {
await page.goto('/roadmapping/guide/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsAlign strategy to plans' || t.startsWith('Praxora RoadmapsAlign strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('roadmapping_guide: nav link "Praxora DiscoveryGuide custome"', async ({ page }) => {
await page.goto('/roadmapping/guide/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryGuide customer interviews' || t.startsWith('Praxora DiscoveryGuide customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - team_business_strategy', () => {
test('team_business_strategy: title matches GT', async ({ page }) => {
await page.goto('/team/business-strategy/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora software use case');
});
test('team_business_strategy: h1 "Drive business growth"', async ({ page }) => {
await page.goto('/team/business-strategy/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Drive business growth' || t.startsWith('Drive business growth'))).toBeTruthy();
});
test('team_business_strategy: h3 "Core capabilities for business"', async ({ page }) => {
await page.goto('/team/business-strategy/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core capabilities for business strategy teams' || t.startsWith('Core capabilities for business strategy teams'))).toBeTruthy();
});
test('team_business_strategy: h3 "Want to get started?"', async ({ page }) => {
await page.goto('/team/business-strategy/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Want to get started?' || t.startsWith('Want to get started?'))).toBeTruthy();
});
test('team_business_strategy: h3 "See more ways Praxora software"', async ({ page }) => {
await page.goto('/team/business-strategy/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more ways Praxora software can help' || t.startsWith('See more ways Praxora software can help'))).toBeTruthy();
});
test('team_business_strategy: header link "Praxora"', async ({ page }) => {
await page.goto('/team/business-strategy/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('team_business_strategy: nav link "Product overviewAccelerate pro"', async ({ page }) => {
await page.goto('/team/business-strategy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewAccelerate product development' || t.startsWith('Product overviewAccelerate product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('team_business_strategy: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/team/business-strategy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to plans' || t.startsWith('Praxora RoadmapsConnect strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('team_business_strategy: nav link "Praxora DiscoveryOrganize cust"', async ({ page }) => {
await page.goto('/team/business-strategy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryOrganize customer interviews' || t.startsWith('Praxora DiscoveryOrganize customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - team_engineering', () => {
test('team_engineering: title matches GT', async ({ page }) => {
await page.goto('/team/engineering/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora software use cases');
});
test('team_engineering: h1 "Align engineering with strateg"', async ({ page }) => {
await page.goto('/team/engineering/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Align engineering with strategy' || t.startsWith('Align engineering with strategy'))).toBeTruthy();
});
test('team_engineering: h3 "Core capabilities for engineer"', async ({ page }) => {
await page.goto('/team/engineering/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core capabilities for engineering teams' || t.startsWith('Core capabilities for engineering teams'))).toBeTruthy();
});
test('team_engineering: h3 "Ready to begin today?"', async ({ page }) => {
await page.goto('/team/engineering/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to begin today?' || t.startsWith('Ready to begin today?'))).toBeTruthy();
});
test('team_engineering: h3 "See more ways Praxora software"', async ({ page }) => {
await page.goto('/team/engineering/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more ways Praxora software helps' || t.startsWith('See more ways Praxora software helps'))).toBeTruthy();
});
test('team_engineering: header link "Praxora"', async ({ page }) => {
await page.goto('/team/engineering/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('team_engineering: nav link "Product overviewSpeed up produ"', async ({ page }) => {
await page.goto('/team/engineering/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewSpeed up product development' || t.startsWith('Product overviewSpeed up product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('team_engineering: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/team/engineering/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to plans' || t.startsWith('Praxora RoadmapsConnect strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('team_engineering: nav link "Praxora DiscoveryManage custom"', async ({ page }) => {
await page.goto('/team/engineering/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryManage customer interviews' || t.startsWith('Praxora DiscoveryManage customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - team_information_technology', () => {
test('team_information_technology: title matches GT', async ({ page }) => {
await page.goto('/team/information-technology/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora software use case');
});
test('team_information_technology: h1 "Plan a strategic IT roadmap"', async ({ page }) => {
await page.goto('/team/information-technology/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Plan a strategic IT roadmap' || t.startsWith('Plan a strategic IT roadmap'))).toBeTruthy();
});
test('team_information_technology: h3 "Core capabilities for IT teams"', async ({ page }) => {
await page.goto('/team/information-technology/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core capabilities for IT teams' || t.startsWith('Core capabilities for IT teams'))).toBeTruthy();
});
test('team_information_technology: h3 "Ready to begin today?"', async ({ page }) => {
await page.goto('/team/information-technology/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to begin today?' || t.startsWith('Ready to begin today?'))).toBeTruthy();
});
test('team_information_technology: h3 "See more ways Praxora software"', async ({ page }) => {
await page.goto('/team/information-technology/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more ways Praxora software can help' || t.startsWith('See more ways Praxora software can help'))).toBeTruthy();
});
test('team_information_technology: header link "Praxora"', async ({ page }) => {
await page.goto('/team/information-technology/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('team_information_technology: nav link "Product overviewStreamline pro"', async ({ page }) => {
await page.goto('/team/information-technology/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewStreamline product development' || t.startsWith('Product overviewStreamline product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('team_information_technology: nav link "Praxora RoadmapsLink strategy "', async ({ page }) => {
await page.goto('/team/information-technology/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsLink strategy to plans' || t.startsWith('Praxora RoadmapsLink strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('team_information_technology: nav link "Praxora DiscoveryManage custom"', async ({ page }) => {
await page.goto('/team/information-technology/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryManage customer interviews' || t.startsWith('Praxora DiscoveryManage customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - team_marketing', () => {
test('team_marketing: title matches GT', async ({ page }) => {
await page.goto('/team/marketing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora software use case');
});
test('team_marketing: h1 "Build winning marketing plans"', async ({ page }) => {
await page.goto('/team/marketing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build winning marketing plans' || t.startsWith('Build winning marketing plans'))).toBeTruthy();
});
test('team_marketing: h3 "Core capabilities for marketin"', async ({ page }) => {
await page.goto('/team/marketing/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core capabilities for marketing teams' || t.startsWith('Core capabilities for marketing teams'))).toBeTruthy();
});
test('team_marketing: h3 "Want to get started?"', async ({ page }) => {
await page.goto('/team/marketing/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Want to get started?' || t.startsWith('Want to get started?'))).toBeTruthy();
});
test('team_marketing: h3 "See more ways Praxora software"', async ({ page }) => {
await page.goto('/team/marketing/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more ways Praxora software can help' || t.startsWith('See more ways Praxora software can help'))).toBeTruthy();
});
test('team_marketing: header link "Praxora"', async ({ page }) => {
await page.goto('/team/marketing/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('team_marketing: nav link "Product overviewSimplify produ"', async ({ page }) => {
await page.goto('/team/marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewSimplify product development' || t.startsWith('Product overviewSimplify product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('team_marketing: nav link "Praxora RoadmapsLink strategy "', async ({ page }) => {
await page.goto('/team/marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsLink strategy to delivery' || t.startsWith('Praxora RoadmapsLink strategy to delivery')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('team_marketing: nav link "Praxora DiscoveryHandle custom"', async ({ page }) => {
await page.goto('/team/marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryHandle customer interviews' || t.startsWith('Praxora DiscoveryHandle customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - team_overview', () => {
test('team_overview: title matches GT', async ({ page }) => {
await page.goto('/team/overview/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('team collaboration for product success');
});
test('team_overview: h1 "Equip every team across your c"', async ({ page }) => {
await page.goto('/team/overview/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Equip every team across your company' || t.startsWith('Equip every team across your company'))).toBeTruthy();
});
test('team_overview: h2 "Product management"', async ({ page }) => {
await page.goto('/team/overview/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product management' || t.startsWith('Product management'))).toBeTruthy();
});
test('team_overview: h2 "Product operations"', async ({ page }) => {
await page.goto('/team/overview/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product operations' || t.startsWith('Product operations'))).toBeTruthy();
});
test('team_overview: h2 "Program management"', async ({ page }) => {
await page.goto('/team/overview/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Program management' || t.startsWith('Program management'))).toBeTruthy();
});
test('team_overview: header link "Praxora"', async ({ page }) => {
await page.goto('/team/overview/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('team_overview: nav link "Product overviewSimplify produ"', async ({ page }) => {
await page.goto('/team/overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewSimplify product development' || t.startsWith('Product overviewSimplify product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('team_overview: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/team/overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to plans' || t.startsWith('Praxora RoadmapsConnect strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('team_overview: nav link "Praxora DiscoveryOrganize cust"', async ({ page }) => {
await page.goto('/team/overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryOrganize customer interviews' || t.startsWith('Praxora DiscoveryOrganize customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - team_product_management', () => {
test('team_product_management: title matches GT', async ({ page }) => {
await page.goto('/team/product-management/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora software');
});
test('team_product_management: h1 "Create products customers love"', async ({ page }) => {
await page.goto('/team/product-management/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Create products customers love' || t.startsWith('Create products customers love'))).toBeTruthy();
});
test('team_product_management: h3 "Core capabilities for product "', async ({ page }) => {
await page.goto('/team/product-management/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core capabilities for product management teams' || t.startsWith('Core capabilities for product management teams'))).toBeTruthy();
});
test('team_product_management: h3 "Ready to get started?"', async ({ page }) => {
await page.goto('/team/product-management/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to get started?' || t.startsWith('Ready to get started?'))).toBeTruthy();
});
test('team_product_management: h3 "See more ways Praxora software"', async ({ page }) => {
await page.goto('/team/product-management/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more ways Praxora software can help' || t.startsWith('See more ways Praxora software can help'))).toBeTruthy();
});
test('team_product_management: header link "Praxora"', async ({ page }) => {
await page.goto('/team/product-management/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('team_product_management: nav link "Product overviewAccelerate pro"', async ({ page }) => {
await page.goto('/team/product-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewAccelerate product development' || t.startsWith('Product overviewAccelerate product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('team_product_management: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/team/product-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to plans' || t.startsWith('Praxora RoadmapsConnect strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('team_product_management: nav link "Praxora DiscoveryOrganize cust"', async ({ page }) => {
await page.goto('/team/product-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryOrganize customer interviews' || t.startsWith('Praxora DiscoveryOrganize customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - team_product_operations', () => {
test('team_product_operations: title matches GT', async ({ page }) => {
await page.goto('/team/product-operations/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora software');
});
test('team_product_operations: h1 "Deliver product excellence"', async ({ page }) => {
await page.goto('/team/product-operations/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deliver product excellence' || t.startsWith('Deliver product excellence'))).toBeTruthy();
});
test('team_product_operations: h3 "Key capabilities for product o"', async ({ page }) => {
await page.goto('/team/product-operations/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Key capabilities for product operations teams' || t.startsWith('Key capabilities for product operations teams'))).toBeTruthy();
});
test('team_product_operations: h3 "Ready to begin today?"', async ({ page }) => {
await page.goto('/team/product-operations/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to begin today?' || t.startsWith('Ready to begin today?'))).toBeTruthy();
});
test('team_product_operations: h3 "See more ways Praxora software"', async ({ page }) => {
await page.goto('/team/product-operations/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more ways Praxora software can help' || t.startsWith('See more ways Praxora software can help'))).toBeTruthy();
});
test('team_product_operations: header link "Praxora"', async ({ page }) => {
await page.goto('/team/product-operations/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('team_product_operations: nav link "Product overviewStreamline pro"', async ({ page }) => {
await page.goto('/team/product-operations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewStreamline product development' || t.startsWith('Product overviewStreamline product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('team_product_operations: nav link "Praxora RoadmapsLink strategy "', async ({ page }) => {
await page.goto('/team/product-operations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsLink strategy to plans' || t.startsWith('Praxora RoadmapsLink strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('team_product_operations: nav link "Praxora DiscoveryManage custom"', async ({ page }) => {
await page.goto('/team/product-operations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryManage customer interviews' || t.startsWith('Praxora DiscoveryManage customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - team_program_management', () => {
test('team_program_management: title matches GT', async ({ page }) => {
await page.goto('/team/program-management/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora software use cases');
});
test('team_program_management: h1 "Steer work across your portfol"', async ({ page }) => {
await page.goto('/team/program-management/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Steer work across your portfolio' || t.startsWith('Steer work across your portfolio'))).toBeTruthy();
});
test('team_program_management: h3 "Core capabilities for program "', async ({ page }) => {
await page.goto('/team/program-management/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core capabilities for program management teams' || t.startsWith('Core capabilities for program management teams'))).toBeTruthy();
});
test('team_program_management: h3 "Ready to get going?"', async ({ page }) => {
await page.goto('/team/program-management/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to get going?' || t.startsWith('Ready to get going?'))).toBeTruthy();
});
test('team_program_management: h3 "See more ways Praxora software"', async ({ page }) => {
await page.goto('/team/program-management/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more ways Praxora software can help' || t.startsWith('See more ways Praxora software can help'))).toBeTruthy();
});
test('team_program_management: header link "Praxora"', async ({ page }) => {
await page.goto('/team/program-management/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('team_program_management: nav link "Product overviewStreamline pro"', async ({ page }) => {
await page.goto('/team/program-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewStreamline product development' || t.startsWith('Product overviewStreamline product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('team_program_management: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/team/program-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to work' || t.startsWith('Praxora RoadmapsConnect strategy to work')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('team_program_management: nav link "Praxora DiscoveryManage user i"', async ({ page }) => {
await page.goto('/team/program-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryManage user interviews' || t.startsWith('Praxora DiscoveryManage user interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - team_project_management', () => {
test('team_project_management: title matches GT', async ({ page }) => {
await page.goto('/team/project-management/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora software use case');
});
test('team_project_management: h1 "Deliver every project on time"', async ({ page }) => {
await page.goto('/team/project-management/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deliver every project on time' || t.startsWith('Deliver every project on time'))).toBeTruthy();
});
test('team_project_management: h3 "Core capabilities for project "', async ({ page }) => {
await page.goto('/team/project-management/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core capabilities for project management teams' || t.startsWith('Core capabilities for project management teams'))).toBeTruthy();
});
test('team_project_management: h3 "Ready to get started?"', async ({ page }) => {
await page.goto('/team/project-management/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to get started?' || t.startsWith('Ready to get started?'))).toBeTruthy();
});
test('team_project_management: h3 "See more ways Praxora software"', async ({ page }) => {
await page.goto('/team/project-management/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more ways Praxora software can help' || t.startsWith('See more ways Praxora software can help'))).toBeTruthy();
});
test('team_project_management: header link "Praxora"', async ({ page }) => {
await page.goto('/team/project-management/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('team_project_management: nav link "Platform overviewAccelerate pr"', async ({ page }) => {
await page.goto('/team/project-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform overviewAccelerate product development' || t.startsWith('Platform overviewAccelerate product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('team_project_management: nav link "Praxora RoadmapsTie strategy t"', async ({ page }) => {
await page.goto('/team/project-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsTie strategy to delivery' || t.startsWith('Praxora RoadmapsTie strategy to delivery')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('team_project_management: nav link "Praxora DiscoveryRun customer "', async ({ page }) => {
await page.goto('/team/project-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryRun customer interviews' || t.startsWith('Praxora DiscoveryRun customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - team_ux', () => {
test('team_ux: title matches GT', async ({ page }) => {
await page.goto('/team/ux/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('praxora software use case');
});
test('team_ux: h1 "Craft lovable experiences"', async ({ page }) => {
await page.goto('/team/ux/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Craft lovable experiences' || t.startsWith('Craft lovable experiences'))).toBeTruthy();
});
test('team_ux: h3 "Core capabilities for UX teams"', async ({ page }) => {
await page.goto('/team/ux/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core capabilities for UX teams' || t.startsWith('Core capabilities for UX teams'))).toBeTruthy();
});
test('team_ux: h3 "Ready to get started?"', async ({ page }) => {
await page.goto('/team/ux/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to get started?' || t.startsWith('Ready to get started?'))).toBeTruthy();
});
test('team_ux: h3 "See more ways Praxora software"', async ({ page }) => {
await page.goto('/team/ux/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more ways Praxora software can help' || t.startsWith('See more ways Praxora software can help'))).toBeTruthy();
});
test('team_ux: header link "Praxora"', async ({ page }) => {
await page.goto('/team/ux/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('team_ux: nav link "Product overviewAccelerate pro"', async ({ page }) => {
await page.goto('/team/ux/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewAccelerate product development' || t.startsWith('Product overviewAccelerate product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('team_ux: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/team/ux/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to plans' || t.startsWith('Praxora RoadmapsConnect strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('team_ux: nav link "Praxora DiscoveryRun your cust"', async ({ page }) => {
await page.goto('/team/ux/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryRun your customer interviews' || t.startsWith('Praxora DiscoveryRun your customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_overview', () => {
test('use_cases_overview: title matches GT', async ({ page }) => {
await page.goto('/use-cases/overview/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('explore praxora product management use c');
});
test('use_cases_overview: h1 "Take control of product develo"', async ({ page }) => {
await page.goto('/use-cases/overview/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Take control of product development' || t.startsWith('Take control of product development'))).toBeTruthy();
});
test('use_cases_overview: h2 "Strategize"', async ({ page }) => {
await page.goto('/use-cases/overview/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Strategize' || t.startsWith('Strategize'))).toBeTruthy();
});
test('use_cases_overview: h2 "Discover"', async ({ page }) => {
await page.goto('/use-cases/overview/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Discover' || t.startsWith('Discover'))).toBeTruthy();
});
test('use_cases_overview: h2 "Capture"', async ({ page }) => {
await page.goto('/use-cases/overview/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capture' || t.startsWith('Capture'))).toBeTruthy();
});
test('use_cases_overview: header link "Praxora"', async ({ page }) => {
await page.goto('/use-cases/overview/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('use_cases_overview: nav link "Product overviewStreamline pro"', async ({ page }) => {
await page.goto('/use-cases/overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewStreamline product development' || t.startsWith('Product overviewStreamline product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('use_cases_overview: nav link "Praxora RoadmapsLink strategy "', async ({ page }) => {
await page.goto('/use-cases/overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsLink strategy to plans' || t.startsWith('Praxora RoadmapsLink strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('use_cases_overview: nav link "Praxora DiscoveryManage custom"', async ({ page }) => {
await page.goto('/use-cases/overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryManage customer interviews' || t.startsWith('Praxora DiscoveryManage customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - roadmapping_guide_dictionary', () => {
test('roadmapping_guide_dictionary: title matches GT', async ({ page }) => {
await page.goto('/roadmapping/guide/dictionary/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('product development definitions');
});
test('roadmapping_guide_dictionary: h1 "Product development dictionary"', async ({ page }) => {
await page.goto('/roadmapping/guide/dictionary/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product development dictionary' || t.startsWith('Product development dictionary'))).toBeTruthy();
});
test('roadmapping_guide_dictionary: h2 "Read next"', async ({ page }) => {
await page.goto('/roadmapping/guide/dictionary/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Read next' || t.startsWith('Read next'))).toBeTruthy();
});
test('roadmapping_guide_dictionary: h5 "How to build a standout roadma"', async ({ page }) => {
await page.goto('/roadmapping/guide/dictionary/');
const texts = (await page.locator('h5').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How to build a standout roadmap' || t.startsWith('How to build a standout roadmap'))).toBeTruthy();
});
test('roadmapping_guide_dictionary: h5 "Latest functionality in Praxor"', async ({ page }) => {
await page.goto('/roadmapping/guide/dictionary/');
const texts = (await page.locator('h5').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Latest functionality in Praxora Roadmaps' || t.startsWith('Latest functionality in Praxora Roadmaps'))).toBeTruthy();
});
test('roadmapping_guide_dictionary: header link "Praxora"', async ({ page }) => {
await page.goto('/roadmapping/guide/dictionary/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('roadmapping_guide_dictionary: nav link "Product overviewStreamline pro"', async ({ page }) => {
await page.goto('/roadmapping/guide/dictionary/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewStreamline product development' || t.startsWith('Product overviewStreamline product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('roadmapping_guide_dictionary: nav link "Praxora RoadmapsLink strategy "', async ({ page }) => {
await page.goto('/roadmapping/guide/dictionary/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsLink strategy to plans' || t.startsWith('Praxora RoadmapsLink strategy to plans')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('roadmapping_guide_dictionary: nav link "Praxora DiscoveryManage custom"', async ({ page }) => {
await page.goto('/roadmapping/guide/dictionary/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryManage customer interviews' || t.startsWith('Praxora DiscoveryManage customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - roadmapping_guide_product_templates', () => {
test('roadmapping_guide_product_templates: title matches GT', async ({ page }) => {
await page.goto('/roadmapping/guide/product-templates/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('guided template collection');
});
test('roadmapping_guide_product_templates: h1 "Curated templates"', async ({ page }) => {
await page.goto('/roadmapping/guide/product-templates/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Curated templates' || t.startsWith('Curated templates'))).toBeTruthy();
});
test('roadmapping_guide_product_templates: h3 "Get answers from product exper"', async ({ page }) => {
await page.goto('/roadmapping/guide/product-templates/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get answers from product experts' || t.startsWith('Get answers from product experts'))).toBeTruthy();
});
test('roadmapping_guide_product_templates: h5 "10Ps marketing matrix"', async ({ page }) => {
await page.goto('/roadmapping/guide/product-templates/');
const texts = (await page.locator('h5').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '10Ps marketing matrix' || t.startsWith('10Ps marketing matrix'))).toBeTruthy();
});
test('roadmapping_guide_product_templates: h5 "2026 monthly calendar"', async ({ page }) => {
await page.goto('/roadmapping/guide/product-templates/');
const texts = (await page.locator('h5').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '2026 monthly calendar' || t.startsWith('2026 monthly calendar'))).toBeTruthy();
});
test('roadmapping_guide_product_templates: header link "Praxora"', async ({ page }) => {
await page.goto('/roadmapping/guide/product-templates/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora' || t.startsWith('Praxora')), 'link text in header').toBeTruthy();
});
test('roadmapping_guide_product_templates: nav link "Product overviewStreamline pro"', async ({ page }) => {
await page.goto('/roadmapping/guide/product-templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product overviewStreamline product development' || t.startsWith('Product overviewStreamline product development')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('suite-overview')), 'href fragment present').toBeTruthy();
});
test('roadmapping_guide_product_templates: nav link "Praxora RoadmapsConnect strate"', async ({ page }) => {
await page.goto('/roadmapping/guide/product-templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora RoadmapsConnect strategy to work' || t.startsWith('Praxora RoadmapsConnect strategy to work')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
test('roadmapping_guide_product_templates: nav link "Praxora DiscoveryRun customer "', async ({ page }) => {
await page.goto('/roadmapping/guide/product-templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Praxora DiscoveryRun customer interviews' || t.startsWith('Praxora DiscoveryRun customer interviews')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('overview')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - Routing', () => {
test('navigate to signup via "PM coding tool to build truste"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="signup"]').first();
expect(await link.count(), 'nav link to signup exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('signup');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Begin your free trial');
});
test('navigate to suite_overview via "Platform overviewSpeed up prod"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="suite-overview"]').first();
expect(await link.count(), 'nav link to suite_overview exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('suite-overview');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Rethink how you build products');
});
test('navigate to team_overview via "Praxora RoadmapsAlign strategy"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="overview"]').first();
expect(await link.count(), 'nav link to team_overview exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('overview');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Equip every team across your company');
});
});