RecreationBench / web /obseron.example /tests /static /content.scripted.spec.ts
VoyagerXHF's picture
Upload folder using huggingface_hub (part 54)
6493056 verified
Raw History Blame Contribute Delete
470 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('cloud observability as a service');
});
test('homepage: h2 "Define and measure the KPIs fo" [dup#2]', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Define and measure the KPIs for a smooth migration of your data and apps to Stratus' || t.startsWith('Define and measure the KPIs for a smooth migration of your data and apps to Stratus'))).toBeTruthy();
});
test('homepage: h2 "Define and measure the KPIs fo" [dup#3]', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Define and measure the KPIs for a smooth migration of your data and apps to Cirro' || t.startsWith('Define and measure the KPIs for a smooth migration of your data and apps to Cirro'))).toBeTruthy();
});
test('homepage: nav link "View pricing"', 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 === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Infrastructure Monitoring"', 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 === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Metrics"', 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 === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), '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('signal');
});
test('blog: h1 "The Signal"', 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 === 'The Signal' || t.startsWith('The Signal'))).toBeTruthy();
});
test('blog: h2 "Featured Articles"', 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 === 'Featured Articles' || t.startsWith('Featured Articles'))).toBeTruthy();
});
test('blog: h2 "Offline evaluation for AI agen"', 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 === 'Offline evaluation for AI agents: A practical guide' || t.startsWith('Offline evaluation for AI agents: A practical guide'))).toBeTruthy();
});
test('blog: h2 "Send OTel data from AI apps in"', 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 === 'Send OTel data from AI apps into ClickHouse and Obseron with Observability Pipelines' || t.startsWith('Send OTel data from AI apps into ClickHouse and Obseron with Observability Pipelines'))).toBeTruthy();
});
test('blog: nav link "View pricing"', 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 === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Infrastructure Monitoring"', 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 === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Metrics"', 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 === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), '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('customers');
});
test('customers: h2 "Meridian Automotive accelerate"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meridian Automotive accelerates the Nordvik Group\'s digital transformation with help from Obseron' || t.startsWith('Meridian Automotive accelerates the Nordvik Group\'s digital transformation with help from Obseron'))).toBeTruthy();
});
test('customers: h2 "Certa strengthens resiliency a"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Certa strengthens resiliency and service reliability with Obseron' || t.startsWith('Certa strengthens resiliency and service reliability with Obseron'))).toBeTruthy();
});
test('customers: h2 "How Verado delivers a premium "', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Verado delivers a premium digital experience with Obseron' || t.startsWith('How Verado delivers a premium digital experience with Obseron'))).toBeTruthy();
});
test('customers: h2 "Nyx powers trusted, AI-driven "', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nyx powers trusted, AI-driven analytics at scale with Obseron unified observability' || t.startsWith('Nyx powers trusted, AI-driven analytics at scale with Obseron unified observability'))).toBeTruthy();
});
test('customers: nav link "View pricing"', 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 === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "Infrastructure Monitoring"', 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 === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "Metrics"', 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 === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - esg_report', () => {
test('esg_report: title matches GT', async ({ page }) => {
await page.goto('/esg-report/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('environmental, social, and governance re');
});
test('esg_report: h2 "~5,000"', async ({ page }) => {
await page.goto('/esg-report/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '~5,000' || t.startsWith('~5,000'))).toBeTruthy();
});
test('esg_report: h2 ">\$1M"', async ({ page }) => {
await page.goto('/esg-report/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '>\$1M' || t.startsWith('>\$1M'))).toBeTruthy();
});
test('esg_report: h2 ">80%"', async ({ page }) => {
await page.goto('/esg-report/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '>80%' || t.startsWith('>80%'))).toBeTruthy();
});
test('esg_report: h2 "Giving Back"', async ({ page }) => {
await page.goto('/esg-report/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Giving Back' || t.startsWith('Giving Back'))).toBeTruthy();
});
test('esg_report: nav link "View pricing"', async ({ page }) => {
await page.goto('/esg-report/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('esg_report: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/esg-report/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('esg_report: nav link "Metrics"', async ({ page }) => {
await page.goto('/esg-report/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ja', () => {
test('ja: title matches GT', async ({ page }) => {
await page.goto('/ja/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('あらゆるクラウドを支える監視 & 分析プラットフォーム');
});
test('ja: h1 "次世代のモニタリングとセキュリティ"', async ({ page }) => {
await page.goto('/ja/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '次世代のモニタリングとセキュリティ' || t.startsWith('次世代のモニタリングとセキュリティ'))).toBeTruthy();
});
test('ja: h2 "Obseron とは?"', async ({ page }) => {
await page.goto('/ja/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron とは?' || t.startsWith('Obseron とは?'))).toBeTruthy();
});
test('ja: h2 "2万5千社以上のお客様がObseronを利用し、信頼を寄せて"', async ({ page }) => {
await page.goto('/ja/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '2万5千社以上のお客様がObseronを利用し、信頼を寄せている理由をぜひご覧ください。' || t.startsWith('2万5千社以上のお客様がObseronを利用し、信頼を寄せている理由をぜひご覧ください。'))).toBeTruthy();
});
test('ja: h2 "Obseron による効果"', async ({ page }) => {
await page.goto('/ja/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron による効果' || t.startsWith('Obseron による効果'))).toBeTruthy();
});
test('ja: nav link "製品"', async ({ page }) => {
await page.goto('/ja/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '製品' || t.startsWith('製品')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('ja: nav link "料金プランを確認"', async ({ page }) => {
await page.goto('/ja/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '料金プランを確認' || t.startsWith('料金プランを確認')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('ja: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/ja/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('ja: nav link "Metrics"', async ({ page }) => {
await page.goto('/ja/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - knowledge_center', () => {
test('knowledge_center: title matches GT', async ({ page }) => {
await page.goto('/knowledge-center/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('knowledge center');
});
test('knowledge_center: h2 "Topics"', async ({ page }) => {
await page.goto('/knowledge-center/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Topics' || t.startsWith('Topics'))).toBeTruthy();
});
test('knowledge_center: h3 "Filter Topics"', async ({ page }) => {
await page.goto('/knowledge-center/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Filter Topics' || t.startsWith('Filter Topics'))).toBeTruthy();
});
test('knowledge_center: h3 "knowledge center"', async ({ page }) => {
await page.goto('/knowledge-center/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'knowledge center' || t.startsWith('knowledge center'))).toBeTruthy();
});
test('knowledge_center: nav link "Obseron"', async ({ page }) => {
await page.goto('/knowledge-center/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron' || t.startsWith('Obseron')), 'link text in nav').toBeTruthy();
});
test('knowledge_center: footer link "TERMS"', async ({ page }) => {
await page.goto('/knowledge-center/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'TERMS' || t.startsWith('TERMS')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('terms')), 'href fragment present').toBeTruthy();
});
test('knowledge_center: footer link "PRIVACY"', async ({ page }) => {
await page.goto('/knowledge-center/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PRIVACY' || t.startsWith('PRIVACY')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('privacy')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ko', () => {
test('ko: title matches GT', async ({ page }) => {
await page.goto('/ko/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('unified observability platform');
});
test('ko: h1 "AI가 이끄는 옵저버빌리티 & 보안"', async ({ page }) => {
await page.goto('/ko/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI가 이끄는 옵저버빌리티 & 보안' || t.startsWith('AI가 이끄는 옵저버빌리티 & 보안'))).toBeTruthy();
});
test('ko: h2 "Zephyr 마이그레이션을 성공으로 이끄는 KPI 설계"', async ({ page }) => {
await page.goto('/ko/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Zephyr 마이그레이션을 성공으로 이끄는 KPI 설계와 모니터링 방법' || t.startsWith('Zephyr 마이그레이션을 성공으로 이끄는 KPI 설계와 모니터링 방법'))).toBeTruthy();
});
test('ko: h2 "LCP 마이그레이션을 성공으로 이끄는 KPI 설계와 모"', async ({ page }) => {
await page.goto('/ko/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'LCP 마이그레이션을 성공으로 이끄는 KPI 설계와 모니터링 방법' || t.startsWith('LCP 마이그레이션을 성공으로 이끄는 KPI 설계와 모니터링 방법'))).toBeTruthy();
});
test('ko: h2 "Vantiq Leadership Grid™ Observ"', async ({ page }) => {
await page.goto('/ko/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vantiq Leadership Grid™ Observability Platforms 부문에서 Obseron이 리더로 인정받았습니다' || t.startsWith('Vantiq Leadership Grid™ Observability Platforms 부문에서 Obseron이 리더로 인정받았습니다'))).toBeTruthy();
});
test('ko: nav link "제품"', async ({ page }) => {
await page.goto('/ko/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '제품' || t.startsWith('제품')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('ko: nav link "요금 보기"', async ({ page }) => {
await page.goto('/ko/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '요금 보기' || t.startsWith('요금 보기')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('ko: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/ko/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('ko: nav link "Metrics"', async ({ page }) => {
await page.goto('/ko/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - learn', () => {
test('learn: title matches GT', async ({ page }) => {
await page.goto('/learn/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('learn');
});
test('learn: h1 "Obseron Learning Resources"', async ({ page }) => {
await page.goto('/learn/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron Learning Resources' || t.startsWith('Obseron Learning Resources'))).toBeTruthy();
});
test('learn: h6 "Book a tailored walkthrough wi"', async ({ page }) => {
await page.goto('/learn/');
const texts = (await page.locator('h6').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a tailored walkthrough with an Obseron engineer' || t.startsWith('Book a tailored walkthrough with an Obseron engineer'))).toBeTruthy();
});
test('learn: nav link "View pricing"', async ({ page }) => {
await page.goto('/learn/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('learn: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/learn/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('learn: nav link "Metrics"', async ({ page }) => {
await page.goto('/learn/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - legal', () => {
test('legal: title matches GT', async ({ page }) => {
await page.goto('/legal/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('legal');
});
test('legal: h2 "Service Agreement"', async ({ page }) => {
await page.goto('/legal/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Service Agreement' || t.startsWith('Service Agreement'))).toBeTruthy();
});
test('legal: h2 "Data Use"', async ({ page }) => {
await page.goto('/legal/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Data Use' || t.startsWith('Data Use'))).toBeTruthy();
});
test('legal: h2 "Standards"', async ({ page }) => {
await page.goto('/legal/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Standards' || t.startsWith('Standards'))).toBeTruthy();
});
test('legal: h2 "Additional Links"', async ({ page }) => {
await page.goto('/legal/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Additional Links' || t.startsWith('Additional Links'))).toBeTruthy();
});
test('legal: nav link "See pricing"', async ({ page }) => {
await page.goto('/legal/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('legal: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/legal/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('legal: nav link "Metrics"', async ({ page }) => {
await page.goto('/legal/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - marketplacepartners', () => {
test('marketplacepartners: title matches GT', async ({ page }) => {
await page.goto('/marketplacepartners/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('obseron marketplace for technology partn');
});
test('marketplacepartners: h2 "Your business belongs in the M"', async ({ page }) => {
await page.goto('/marketplacepartners/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Your business belongs in the Marketplace' || t.startsWith('Your business belongs in the Marketplace'))).toBeTruthy();
});
test('marketplacepartners: h2 "A streamlined path from develo"', async ({ page }) => {
await page.goto('/marketplacepartners/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A streamlined path from development to launch' || t.startsWith('A streamlined path from development to launch'))).toBeTruthy();
});
test('marketplacepartners: h2 "Partner with us on joint go-to"', async ({ page }) => {
await page.goto('/marketplacepartners/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Partner with us on joint go-to-market' || t.startsWith('Partner with us on joint go-to-market'))).toBeTruthy();
});
test('marketplacepartners: header link "Onboarding Steps"', async ({ page }) => {
await page.goto('/marketplacepartners/');
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 === 'Onboarding Steps' || t.startsWith('Onboarding Steps')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('technology-partner-program-guide')), 'href fragment present').toBeTruthy();
});
test('marketplacepartners: footer link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/marketplacepartners/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('marketplacepartners: footer link "Network Monitoring"', async ({ page }) => {
await page.goto('/marketplacepartners/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Network Monitoring' || t.startsWith('Network Monitoring')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('network-monitoring')), 'href fragment present').toBeTruthy();
});
test('marketplacepartners: footer link "Container Monitoring"', async ({ page }) => {
await page.goto('/marketplacepartners/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Container Monitoring' || t.startsWith('Container Monitoring')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('container-monitoring')), '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('pricing');
});
test('pricing: h1 "Pricing"', 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' || t.startsWith('Pricing'))).toBeTruthy();
});
test('pricing: h2 "Simple, predictable pricing bu"', 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 === 'Simple, predictable pricing built to grow alongside your teams' || t.startsWith('Simple, predictable pricing built to grow alongside your teams'))).toBeTruthy();
});
test('pricing: h2 "Code Coverage"', 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 === 'Code Coverage' || t.startsWith('Code Coverage'))).toBeTruthy();
});
test('pricing: h2 "Log Management"', 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 === 'Log Management' || t.startsWith('Log Management'))).toBeTruthy();
});
test('pricing: nav link "View pricing"', 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 === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Infrastructure Monitoring"', 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 === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Metrics"', 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 === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - privacy', () => {
test('privacy: title matches GT', async ({ page }) => {
await page.goto('/privacy/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('privacy at obseron');
});
test('privacy: h2 "Our Core Privacy Beliefs"', async ({ page }) => {
await page.goto('/privacy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Core Privacy Beliefs' || t.startsWith('Our Core Privacy Beliefs'))).toBeTruthy();
});
test('privacy: h2 "Data Practices"', async ({ page }) => {
await page.goto('/privacy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Data Practices' || t.startsWith('Data Practices'))).toBeTruthy();
});
test('privacy: h2 "Privacy by Locale"', async ({ page }) => {
await page.goto('/privacy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Privacy by Locale' || t.startsWith('Privacy by Locale'))).toBeTruthy();
});
test('privacy: nav link "Platform"', async ({ page }) => {
await page.goto('/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform' || t.startsWith('Platform')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('privacy: nav link "View pricing"', async ({ page }) => {
await page.goto('/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('privacy: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('privacy: nav link "Metrics"', async ({ page }) => {
await page.goto('/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product', () => {
test('product: title matches GT', async ({ page }) => {
await page.goto('/product/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('full');
});
test('product: h1 "One view for everything"', async ({ page }) => {
await page.goto('/product/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'One view for everything' || t.startsWith('One view for everything'))).toBeTruthy();
});
test('product: h2 "One lens across systems and se"', async ({ page }) => {
await page.goto('/product/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'One lens across systems and services' || t.startsWith('One lens across systems and services'))).toBeTruthy();
});
test('product: h2 "Total insight into today\'s app"', async ({ page }) => {
await page.goto('/product/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Total insight into today\'s applications' || t.startsWith('Total insight into today\'s applications'))).toBeTruthy();
});
test('product: h2 "Search and understand log data"', async ({ page }) => {
await page.goto('/product/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Search and understand log data in full' || t.startsWith('Search and understand log data in full'))).toBeTruthy();
});
test('product: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_infrastructure_monitoring', () => {
test('product_infrastructure_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/infrastructure-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('infrastructure monitoring');
});
test('product_infrastructure_monitoring: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/infrastructure-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_infrastructure_monitoring: h2 "Complete coverage of any stack"', async ({ page }) => {
await page.goto('/product/infrastructure-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Complete coverage of any stack' || t.startsWith('Complete coverage of any stack'))).toBeTruthy();
});
test('product_infrastructure_monitoring: h2 "Monitoring that’s simple to de"', async ({ page }) => {
await page.goto('/product/infrastructure-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Monitoring that’s simple to deploy and effortless to manage' || t.startsWith('Monitoring that’s simple to deploy and effortless to manage'))).toBeTruthy();
});
test('product_infrastructure_monitoring: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/infrastructure-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_infrastructure_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/infrastructure-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_infrastructure_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/infrastructure-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_internal_developer_portal', () => {
test('product_internal_developer_portal: title matches GT', async ({ page }) => {
await page.goto('/product/internal-developer-portal/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('internal developer portal');
});
test('product_internal_developer_portal: h1 "Internal Developer Platform"', async ({ page }) => {
await page.goto('/product/internal-developer-portal/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Internal Developer Platform' || t.startsWith('Internal Developer Platform'))).toBeTruthy();
});
test('product_internal_developer_portal: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/internal-developer-portal/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_internal_developer_portal: h2 "Take the friction out of shipp"', async ({ page }) => {
await page.goto('/product/internal-developer-portal/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Take the friction out of shipping code to production' || t.startsWith('Take the friction out of shipping code to production'))).toBeTruthy();
});
test('product_internal_developer_portal: h2 "Bring observability, ownership"', async ({ page }) => {
await page.goto('/product/internal-developer-portal/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring observability, ownership, and engineering know-how together' || t.startsWith('Bring observability, ownership, and engineering know-how together'))).toBeTruthy();
});
test('product_internal_developer_portal: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/internal-developer-portal/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_internal_developer_portal: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/internal-developer-portal/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_internal_developer_portal: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/internal-developer-portal/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_kubernetes_autoscaling', () => {
test('product_kubernetes_autoscaling: title matches GT', async ({ page }) => {
await page.goto('/product/kubernetes-autoscaling/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('kubernetes autoscaling');
});
test('product_kubernetes_autoscaling: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/kubernetes-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_kubernetes_autoscaling: h2 "Spot idle Kubernetes resources"', async ({ page }) => {
await page.goto('/product/kubernetes-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Spot idle Kubernetes resources and eliminate wasted spend' || t.startsWith('Spot idle Kubernetes resources and eliminate wasted spend'))).toBeTruthy();
});
test('product_kubernetes_autoscaling: h2 "Automate Kubernetes rightsizin"', async ({ page }) => {
await page.goto('/product/kubernetes-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automate Kubernetes rightsizing with confident guardrails' || t.startsWith('Automate Kubernetes rightsizing with confident guardrails'))).toBeTruthy();
});
test('product_kubernetes_autoscaling: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/kubernetes-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_kubernetes_autoscaling: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/kubernetes-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_kubernetes_autoscaling: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/kubernetes-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_log_management', () => {
test('product_log_management: title matches GT', async ({ page }) => {
await page.goto('/product/log-management/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('log management & analytics');
});
test('product_log_management: h1 "Intelligent Log Management"', async ({ page }) => {
await page.goto('/product/log-management/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Intelligent Log Management' || t.startsWith('Intelligent Log Management'))).toBeTruthy();
});
test('product_log_management: h1 "Rated a top choice for Log Ana"', async ({ page }) => {
await page.goto('/product/log-management/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rated a top choice for Log Analysis and Log Monitoring by users.' || t.startsWith('Rated a top choice for Log Analysis and Log Monitoring by users.'))).toBeTruthy();
});
test('product_log_management: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/log-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_log_management: h2 "Dig into your logs without a c"', async ({ page }) => {
await page.goto('/product/log-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Dig into your logs without a complex query language.' || t.startsWith('Dig into your logs without a complex query language.'))).toBeTruthy();
});
test('product_log_management: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/log-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_log_management: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/log-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_log_management: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/log-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_metrics', () => {
test('product_metrics: title matches GT', async ({ page }) => {
await page.goto('/product/metrics/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('metrics');
});
test('product_metrics: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/metrics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_metrics: h2 "Watch every metric across your"', async ({ page }) => {
await page.goto('/product/metrics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Watch every metric across your stack in a matter of seconds' || t.startsWith('Watch every metric across your stack in a matter of seconds'))).toBeTruthy();
});
test('product_metrics: h2 "Remove blind spots and resolve"', async ({ page }) => {
await page.goto('/product/metrics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Remove blind spots and resolve incidents faster on one unified platform' || t.startsWith('Remove blind spots and resolve incidents faster on one unified platform'))).toBeTruthy();
});
test('product_metrics: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/metrics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_metrics: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/metrics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_metrics: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/metrics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_mobile_app_testing', () => {
test('product_mobile_app_testing: title matches GT', async ({ page }) => {
await page.goto('/product/mobile-app-testing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('mobile app testing and monitoring');
});
test('product_mobile_app_testing: h1 "Mobile App Test Suite"', async ({ page }) => {
await page.goto('/product/mobile-app-testing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Mobile App Test Suite' || t.startsWith('Mobile App Test Suite'))).toBeTruthy();
});
test('product_mobile_app_testing: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/mobile-app-testing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_mobile_app_testing: h2 "Continuously watch critical us"', async ({ page }) => {
await page.goto('/product/mobile-app-testing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Continuously watch critical user journeys with mobile tests' || t.startsWith('Continuously watch critical user journeys with mobile tests'))).toBeTruthy();
});
test('product_mobile_app_testing: h2 "Achieve full coverage with tes"', async ({ page }) => {
await page.goto('/product/mobile-app-testing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Achieve full coverage with tests that watch all your key interfaces' || t.startsWith('Achieve full coverage with tests that watch all your key interfaces'))).toBeTruthy();
});
test('product_mobile_app_testing: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/mobile-app-testing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_mobile_app_testing: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/mobile-app-testing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_mobile_app_testing: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/mobile-app-testing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_network_monitoring', () => {
test('product_network_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/network-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('network monitoring');
});
test('product_network_monitoring: h2 "Capabilities at a Glance"', async ({ page }) => {
await page.goto('/product/network-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capabilities at a Glance' || t.startsWith('Capabilities at a Glance'))).toBeTruthy();
});
test('product_network_monitoring: h2 "Network Monitoring Capability "', async ({ page }) => {
await page.goto('/product/network-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Network Monitoring Capability Map' || t.startsWith('Network Monitoring Capability Map'))).toBeTruthy();
});
test('product_network_monitoring: h2 "Connect applications, infrastr"', async ({ page }) => {
await page.goto('/product/network-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Connect applications, infrastructure, and networks in less time' || t.startsWith('Connect applications, infrastructure, and networks in less time'))).toBeTruthy();
});
test('product_network_monitoring: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/network-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_network_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/network-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_network_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/network-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_observability_pipelines', () => {
test('product_observability_pipelines: title matches GT', async ({ page }) => {
await page.goto('/product/observability-pipelines/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('observability pipelines');
});
test('product_observability_pipelines: h2 "Platform Overview"', async ({ page }) => {
await page.goto('/product/observability-pipelines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform Overview' || t.startsWith('Platform Overview'))).toBeTruthy();
});
test('product_observability_pipelines: h2 "Tame data volume and noise dir"', async ({ page }) => {
await page.goto('/product/observability-pipelines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tame data volume and noise directly in-stream' || t.startsWith('Tame data volume and noise directly in-stream'))).toBeTruthy();
});
test('product_observability_pipelines: h2 "Move to new SIEMs while preser"', async ({ page }) => {
await page.goto('/product/observability-pipelines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Move to new SIEMs while preserving full visibility' || t.startsWith('Move to new SIEMs while preserving full visibility'))).toBeTruthy();
});
test('product_observability_pipelines: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/observability-pipelines/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_observability_pipelines: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/observability-pipelines/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_observability_pipelines: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/observability-pipelines/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_platform_alerts', () => {
test('product_platform_alerts: title matches GT', async ({ page }) => {
await page.goto('/product/platform/alerts/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('proactive alerting');
});
test('product_platform_alerts: h1 "Alerts You Can Act On"', async ({ page }) => {
await page.goto('/product/platform/alerts/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Alerts You Can Act On' || t.startsWith('Alerts You Can Act On'))).toBeTruthy();
});
test('product_platform_alerts: h2 "How Alerting Works"', async ({ page }) => {
await page.goto('/product/platform/alerts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Alerting Works' || t.startsWith('How Alerting Works'))).toBeTruthy();
});
test('product_platform_alerts: h2 "Track short-lived systems with"', async ({ page }) => {
await page.goto('/product/platform/alerts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Track short-lived systems without the noise' || t.startsWith('Track short-lived systems without the noise'))).toBeTruthy();
});
test('product_platform_alerts: h2 "Keep performance sharp with al"', async ({ page }) => {
await page.goto('/product/platform/alerts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Keep performance sharp with alerts powered by machine learning' || t.startsWith('Keep performance sharp with alerts powered by machine learning'))).toBeTruthy();
});
test('product_platform_alerts: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/platform/alerts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_platform_alerts: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/platform/alerts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_platform_alerts: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/platform/alerts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_platform_dashboards', () => {
test('product_platform_dashboards: title matches GT', async ({ page }) => {
await page.goto('/product/platform/dashboards/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('interactive, live data dashboards');
});
test('product_platform_dashboards: h1 "Live Interactive Dashboards"', async ({ page }) => {
await page.goto('/product/platform/dashboards/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Live Interactive Dashboards' || t.startsWith('Live Interactive Dashboards'))).toBeTruthy();
});
test('product_platform_dashboards: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/platform/dashboards/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_platform_dashboards: h2 "Bring every signal together wi"', async ({ page }) => {
await page.goto('/product/platform/dashboards/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring every signal together with a single click' || t.startsWith('Bring every signal together with a single click'))).toBeTruthy();
});
test('product_platform_dashboards: h2 "Spin up new dashboards in seco"', async ({ page }) => {
await page.goto('/product/platform/dashboards/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Spin up new dashboards in seconds' || t.startsWith('Spin up new dashboards in seconds'))).toBeTruthy();
});
test('product_platform_dashboards: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/platform/dashboards/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_platform_dashboards: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/platform/dashboards/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_platform_dashboards: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/platform/dashboards/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_platform_dora_metrics', () => {
test('product_platform_dora_metrics: title matches GT', async ({ page }) => {
await page.goto('/product/platform/dora-metrics/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('dora metrics');
});
test('product_platform_dora_metrics: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/platform/dora-metrics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_platform_dora_metrics: h2 "Capture DORA metrics with no a"', async ({ page }) => {
await page.goto('/product/platform/dora-metrics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capture DORA metrics with no additional instrumentation' || t.startsWith('Capture DORA metrics with no additional instrumentation'))).toBeTruthy();
});
test('product_platform_dora_metrics: h2 "Surface and eliminate bottlene"', async ({ page }) => {
await page.goto('/product/platform/dora-metrics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Surface and eliminate bottlenecks in your delivery workflow' || t.startsWith('Surface and eliminate bottlenecks in your delivery workflow'))).toBeTruthy();
});
test('product_platform_dora_metrics: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/platform/dora-metrics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_platform_dora_metrics: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/platform/dora-metrics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_platform_dora_metrics: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/platform/dora-metrics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_platform_integrations', () => {
test('product_platform_integrations: title matches GT', async ({ page }) => {
await page.goto('/product/platform/integrations/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('obseron integrations');
});
test('product_platform_integrations: h1 "Full-stack visibility powered "', async ({ page }) => {
await page.goto('/product/platform/integrations/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Full-stack visibility powered by Obseron\'s 1,000+ built-in integrations' || t.startsWith('Full-stack visibility powered by Obseron\'s 1,000+ built-in integrations'))).toBeTruthy();
});
test('product_platform_integrations: h2 "Built into every corner of the"', async ({ page }) => {
await page.goto('/product/platform/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Built into every corner of the platform' || t.startsWith('Built into every corner of the platform'))).toBeTruthy();
});
test('product_platform_integrations: h2 "Popular Categories"', async ({ page }) => {
await page.goto('/product/platform/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Popular Categories' || t.startsWith('Popular Categories'))).toBeTruthy();
});
test('product_platform_integrations: h2 "Blog"', async ({ page }) => {
await page.goto('/product/platform/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Blog' || t.startsWith('Blog'))).toBeTruthy();
});
test('product_platform_integrations: nav link "See pricing"', async ({ page }) => {
await page.goto('/product/platform/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_platform_integrations: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/platform/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_platform_integrations: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/platform/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_platform_watchdog', () => {
test('product_platform_watchdog: title matches GT', async ({ page }) => {
await page.goto('/product/platform/watchdog/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('sentinel');
});
test('product_platform_watchdog: h1 "Sentinel™"', async ({ page }) => {
await page.goto('/product/platform/watchdog/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sentinel™' || t.startsWith('Sentinel™'))).toBeTruthy();
});
test('product_platform_watchdog: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/platform/watchdog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_platform_watchdog: h2 "Automatically detect performan"', async ({ page }) => {
await page.goto('/product/platform/watchdog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automatically detect performance anomalies' || t.startsWith('Automatically detect performance anomalies'))).toBeTruthy();
});
test('product_platform_watchdog: h2 "Resolve issues quickly with au"', async ({ page }) => {
await page.goto('/product/platform/watchdog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resolve issues quickly with automated root cause analysis' || t.startsWith('Resolve issues quickly with automated root cause analysis'))).toBeTruthy();
});
test('product_platform_watchdog: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/platform/watchdog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_platform_watchdog: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/platform/watchdog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_platform_watchdog: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/platform/watchdog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_product_analytics', () => {
test('product_product_analytics: title matches GT', async ({ page }) => {
await page.goto('/product/product-analytics/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('product analytics');
});
test('product_product_analytics: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/product-analytics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_product_analytics: h2 "Prioritize product development"', async ({ page }) => {
await page.goto('/product/product-analytics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Prioritize product development decisions with confidence' || t.startsWith('Prioritize product development decisions with confidence'))).toBeTruthy();
});
test('product_product_analytics: h2 "Record genuine user behavior a"', async ({ page }) => {
await page.goto('/product/product-analytics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Record genuine user behavior and replay full journeys end to end' || t.startsWith('Record genuine user behavior and replay full journeys end to end'))).toBeTruthy();
});
test('product_product_analytics: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/product-analytics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_product_analytics: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/product-analytics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_product_analytics: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/product-analytics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_real_user_monitoring', () => {
test('product_real_user_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/real-user-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('real user monitoring');
});
test('product_real_user_monitoring: h2 "Platform Overview"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform Overview' || t.startsWith('Platform Overview'))).toBeTruthy();
});
test('product_real_user_monitoring: h2 "Catch and fix critical issues "', async ({ page }) => {
await page.goto('/product/real-user-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Catch and fix critical issues sooner' || t.startsWith('Catch and fix critical issues sooner'))).toBeTruthy();
});
test('product_real_user_monitoring: h2 "Speed up troubleshooting with "', async ({ page }) => {
await page.goto('/product/real-user-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Speed up troubleshooting with unified telemetry' || t.startsWith('Speed up troubleshooting with unified telemetry'))).toBeTruthy();
});
test('product_real_user_monitoring: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_real_user_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_real_user_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_real_user_monitoring_mobile_rum', () => {
test('product_real_user_monitoring_mobile_rum: title matches GT', async ({ page }) => {
await page.goto('/product/real-user-monitoring/mobile-rum/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('mobile real user monitoring');
});
test('product_real_user_monitoring_mobile_rum: h1 "Technologies and Platforms Sup"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/mobile-rum/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Technologies and Platforms Supported' || t.startsWith('Technologies and Platforms Supported'))).toBeTruthy();
});
test('product_real_user_monitoring_mobile_rum: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/mobile-rum/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_real_user_monitoring_mobile_rum: h2 "Spot, rank, and squash app cra"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/mobile-rum/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Spot, rank, and squash app crashes in record time' || t.startsWith('Spot, rank, and squash app crashes in record time'))).toBeTruthy();
});
test('product_real_user_monitoring_mobile_rum: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/mobile-rum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_real_user_monitoring_mobile_rum: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/mobile-rum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_real_user_monitoring_mobile_rum: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/mobile-rum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_real_user_monitoring_session_replay', () => {
test('product_real_user_monitoring_session_replay: title matches GT', async ({ page }) => {
await page.goto('/product/real-user-monitoring/session-replay/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('session replay');
});
test('product_real_user_monitoring_session_replay: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/session-replay/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_real_user_monitoring_session_replay: h2 "Video-like replays for visual "', async ({ page }) => {
await page.goto('/product/real-user-monitoring/session-replay/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Video-like replays for visual troubleshooting' || t.startsWith('Video-like replays for visual troubleshooting'))).toBeTruthy();
});
test('product_real_user_monitoring_session_replay: h2 "Understand product usage and i"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/session-replay/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Understand product usage and improve experiences' || t.startsWith('Understand product usage and improve experiences'))).toBeTruthy();
});
test('product_real_user_monitoring_session_replay: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/session-replay/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_real_user_monitoring_session_replay: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/session-replay/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_real_user_monitoring_session_replay: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/real-user-monitoring/session-replay/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_sast', () => {
test('product_sast: title matches GT', async ({ page }) => {
await page.goto('/product/sast/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('static code analysis (sast)');
});
test('product_sast: h1 "Static Source Scanning (SAST)"', async ({ page }) => {
await page.goto('/product/sast/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Static Source Scanning (SAST)' || t.startsWith('Static Source Scanning (SAST)'))).toBeTruthy();
});
test('product_sast: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/sast/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_sast: h2 "Harden your code the moment it"', async ({ page }) => {
await page.goto('/product/sast/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Harden your code the moment it\'s written, right in your IDE' || t.startsWith('Harden your code the moment it\'s written, right in your IDE'))).toBeTruthy();
});
test('product_sast: h2 "Find and remediate vulnerabili"', async ({ page }) => {
await page.goto('/product/sast/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Find and remediate vulnerabilities right in the middle of your workflow' || t.startsWith('Find and remediate vulnerabilities right in the middle of your workflow'))).toBeTruthy();
});
test('product_sast: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/sast/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_sast: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/sast/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_sast: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/sast/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_secret_scanning', () => {
test('product_secret_scanning: title matches GT', async ({ page }) => {
await page.goto('/product/secret-scanning/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('secret scanning');
});
test('product_secret_scanning: h1 "Secret Detection"', async ({ page }) => {
await page.goto('/product/secret-scanning/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Secret Detection' || t.startsWith('Secret Detection'))).toBeTruthy();
});
test('product_secret_scanning: h2 "Platform Overview"', async ({ page }) => {
await page.goto('/product/secret-scanning/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform Overview' || t.startsWith('Platform Overview'))).toBeTruthy();
});
test('product_secret_scanning: h2 "Stop credential leaks long bef"', async ({ page }) => {
await page.goto('/product/secret-scanning/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Stop credential leaks long before they ever hit production' || t.startsWith('Stop credential leaks long before they ever hit production'))).toBeTruthy();
});
test('product_secret_scanning: h2 "Keep AI-generated code protect"', async ({ page }) => {
await page.goto('/product/secret-scanning/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Keep AI-generated code protected' || t.startsWith('Keep AI-generated code protected'))).toBeTruthy();
});
test('product_secret_scanning: nav link "Platform"', async ({ page }) => {
await page.goto('/product/secret-scanning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform' || t.startsWith('Platform')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('product_secret_scanning: nav link "See pricing"', async ({ page }) => {
await page.goto('/product/secret-scanning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_secret_scanning: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/secret-scanning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_secret_scanning: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/secret-scanning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_sensitive_data_scanner', () => {
test('product_sensitive_data_scanner: title matches GT', async ({ page }) => {
await page.goto('/product/sensitive-data-scanner/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('sensitive data scanner');
});
test('product_sensitive_data_scanner: h1 "Honored by ClarityScore for Lo"', async ({ page }) => {
await page.goto('/product/sensitive-data-scanner/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Honored by ClarityScore for Log Analysis and Log Monitoring' || t.startsWith('Honored by ClarityScore for Log Analysis and Log Monitoring'))).toBeTruthy();
});
test('product_sensitive_data_scanner: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/sensitive-data-scanner/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_sensitive_data_scanner: h2 "Build a scalable, end-to-end d"', async ({ page }) => {
await page.goto('/product/sensitive-data-scanner/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build a scalable, end-to-end data security and compliance program for your sensitive data' || t.startsWith('Build a scalable, end-to-end data security and compliance program for your sensitive data'))).toBeTruthy();
});
test('product_sensitive_data_scanner: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/sensitive-data-scanner/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_sensitive_data_scanner: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/sensitive-data-scanner/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_sensitive_data_scanner: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/sensitive-data-scanner/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_serverless_monitoring', () => {
test('product_serverless_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/serverless-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('serverless monitoring & observability');
});
test('product_serverless_monitoring: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/serverless-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_serverless_monitoring: h2 "Every function in a single vie"', async ({ page }) => {
await page.goto('/product/serverless-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Every function in a single view' || t.startsWith('Every function in a single view'))).toBeTruthy();
});
test('product_serverless_monitoring: h2 "Trace across any environment"', async ({ page }) => {
await page.goto('/product/serverless-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trace across any environment' || t.startsWith('Trace across any environment'))).toBeTruthy();
});
test('product_serverless_monitoring: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/serverless-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_serverless_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/serverless-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_serverless_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/serverless-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_service_level_objectives', () => {
test('product_service_level_objectives: title matches GT', async ({ page }) => {
await page.goto('/product/service-level-objectives/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('service level objectives (slos)');
});
test('product_service_level_objectives: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/service-level-objectives/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_service_level_objectives: h2 "Stand up SLOs for every servic"', async ({ page }) => {
await page.goto('/product/service-level-objectives/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Stand up SLOs for every service in just a few minutes' || t.startsWith('Stand up SLOs for every service in just a few minutes'))).toBeTruthy();
});
test('product_service_level_objectives: h2 "Dig into SLOs with high burn r"', async ({ page }) => {
await page.goto('/product/service-level-objectives/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Dig into SLOs with high burn rates using deep, correlated observability data' || t.startsWith('Dig into SLOs with high burn rates using deep, correlated observability data'))).toBeTruthy();
});
test('product_service_level_objectives: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/service-level-objectives/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_service_level_objectives: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/service-level-objectives/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_service_level_objectives: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/service-level-objectives/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_software_catalog', () => {
test('product_software_catalog: title matches GT', async ({ page }) => {
await page.goto('/product/software-catalog/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('software catalog');
});
test('product_software_catalog: h1 "Service Catalog"', async ({ page }) => {
await page.goto('/product/software-catalog/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Service Catalog' || t.startsWith('Service Catalog'))).toBeTruthy();
});
test('product_software_catalog: h2 "Feature Snapshot"', async ({ page }) => {
await page.goto('/product/software-catalog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Snapshot' || t.startsWith('Feature Snapshot'))).toBeTruthy();
});
test('product_software_catalog: h2 "Break down silos with instant "', async ({ page }) => {
await page.goto('/product/software-catalog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Break down silos with instant access to a complete snapshot of your systems' || t.startsWith('Break down silos with instant access to a complete snapshot of your systems'))).toBeTruthy();
});
test('product_software_catalog: h2 "Speed up incident response wit"', async ({ page }) => {
await page.goto('/product/software-catalog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Speed up incident response with shared context' || t.startsWith('Speed up incident response with shared context'))).toBeTruthy();
});
test('product_software_catalog: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/software-catalog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_software_catalog: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/software-catalog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_software_catalog: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/software-catalog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_software_composition_analysis', () => {
test('product_software_composition_analysis: title matches GT', async ({ page }) => {
await page.goto('/product/software-composition-analysis/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('software composition analysis');
});
test('product_software_composition_analysis: h1 "Software Composition Analysis "', async ({ page }) => {
await page.goto('/product/software-composition-analysis/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Software Composition Analysis (SCA)' || t.startsWith('Software Composition Analysis (SCA)'))).toBeTruthy();
});
test('product_software_composition_analysis: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/software-composition-analysis/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_software_composition_analysis: h2 "Pinpoint open source security "', async ({ page }) => {
await page.goto('/product/software-composition-analysis/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pinpoint open source security exposure across your applications' || t.startsWith('Pinpoint open source security exposure across your applications'))).toBeTruthy();
});
test('product_software_composition_analysis: h2 "Focus on the vulnerabilities t"', async ({ page }) => {
await page.goto('/product/software-composition-analysis/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Focus on the vulnerabilities that carry active risk' || t.startsWith('Focus on the vulnerabilities that carry active risk'))).toBeTruthy();
});
test('product_software_composition_analysis: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/software-composition-analysis/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_software_composition_analysis: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/software-composition-analysis/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_software_composition_analysis: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/software-composition-analysis/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_storage_management', () => {
test('product_storage_management: title matches GT', async ({ page }) => {
await page.goto('/product/storage-management/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('storage management');
});
test('product_storage_management: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/storage-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_storage_management: h2 "Pinpoint what drives cost insi"', async ({ page }) => {
await page.goto('/product/storage-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pinpoint what drives cost inside your storage' || t.startsWith('Pinpoint what drives cost inside your storage'))).toBeTruthy();
});
test('product_storage_management: h2 "Shift cold data to cheaper sto"', async ({ page }) => {
await page.goto('/product/storage-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Shift cold data to cheaper storage classes with confidence' || t.startsWith('Shift cold data to cheaper storage classes with confidence'))).toBeTruthy();
});
test('product_storage_management: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/storage-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_storage_management: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/storage-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_storage_management: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/storage-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_synthetic_monitoring', () => {
test('product_synthetic_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/synthetic-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('api and browser testing with synthetic m');
});
test('product_synthetic_monitoring: h1 "Synthetic Monitoring"', async ({ page }) => {
await page.goto('/product/synthetic-monitoring/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Synthetic Monitoring' || t.startsWith('Synthetic Monitoring'))).toBeTruthy();
});
test('product_synthetic_monitoring: h2 "Platform Overview"', async ({ page }) => {
await page.goto('/product/synthetic-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform Overview' || t.startsWith('Platform Overview'))).toBeTruthy();
});
test('product_synthetic_monitoring: h2 "Watch complete user journeys e"', async ({ page }) => {
await page.goto('/product/synthetic-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Watch complete user journeys end-to-end using browser tests' || t.startsWith('Watch complete user journeys end-to-end using browser tests'))).toBeTruthy();
});
test('product_synthetic_monitoring: h2 "Monitor endpoint health and pe"', async ({ page }) => {
await page.goto('/product/synthetic-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Monitor endpoint health and performance using API tests' || t.startsWith('Monitor endpoint health and performance using API tests'))).toBeTruthy();
});
test('product_synthetic_monitoring: nav link "Platform"', async ({ page }) => {
await page.goto('/product/synthetic-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform' || t.startsWith('Platform')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('product_synthetic_monitoring: nav link "See pricing"', async ({ page }) => {
await page.goto('/product/synthetic-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_synthetic_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/synthetic-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_synthetic_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/synthetic-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_test_optimization', () => {
test('product_test_optimization: title matches GT', async ({ page }) => {
await page.goto('/product/test-optimization/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('test optimization');
});
test('product_test_optimization: h1 "Supported Languages"', async ({ page }) => {
await page.goto('/product/test-optimization/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Supported Languages' || t.startsWith('Supported Languages'))).toBeTruthy();
});
test('product_test_optimization: h1 "Supported Frameworks"', async ({ page }) => {
await page.goto('/product/test-optimization/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Supported Frameworks' || t.startsWith('Supported Frameworks'))).toBeTruthy();
});
test('product_test_optimization: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/test-optimization/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_test_optimization: nav link "See pricing"', async ({ page }) => {
await page.goto('/product/test-optimization/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_test_optimization: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/test-optimization/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_test_optimization: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/test-optimization/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_universal_service_monitoring', () => {
test('product_universal_service_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/universal-service-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('universal service monitoring');
});
test('product_universal_service_monitoring: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/universal-service-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_universal_service_monitoring: h2 "Automatically discover and map"', async ({ page }) => {
await page.goto('/product/universal-service-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automatically discover and map every service' || t.startsWith('Automatically discover and map every service'))).toBeTruthy();
});
test('product_universal_service_monitoring: h2 "Track the health of every serv"', async ({ page }) => {
await page.goto('/product/universal-service-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Track the health of every service with consistency' || t.startsWith('Track the health of every service with consistency'))).toBeTruthy();
});
test('product_universal_service_monitoring: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/universal-service-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_universal_service_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/universal-service-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_universal_service_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/universal-service-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_workflow_automation', () => {
test('product_workflow_automation: title matches GT', async ({ page }) => {
await page.goto('/product/workflow-automation/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('workflow automation');
});
test('product_workflow_automation: h1 "Automated Workflows"', async ({ page }) => {
await page.goto('/product/workflow-automation/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automated Workflows' || t.startsWith('Automated Workflows'))).toBeTruthy();
});
test('product_workflow_automation: h2 "What It Delivers"', async ({ page }) => {
await page.goto('/product/workflow-automation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What It Delivers' || t.startsWith('What It Delivers'))).toBeTruthy();
});
test('product_workflow_automation: h2 "Trigger remediation actions au"', async ({ page }) => {
await page.goto('/product/workflow-automation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trigger remediation actions automatically' || t.startsWith('Trigger remediation actions automatically'))).toBeTruthy();
});
test('product_workflow_automation: h2 "Design complete workflows visu"', async ({ page }) => {
await page.goto('/product/workflow-automation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Design complete workflows visually' || t.startsWith('Design complete workflows visually'))).toBeTruthy();
});
test('product_workflow_automation: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/workflow-automation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_workflow_automation: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/workflow-automation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_workflow_automation: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/workflow-automation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_workload_protection', () => {
test('product_workload_protection: title matches GT', async ({ page }) => {
await page.goto('/product/workload-protection/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('workload protection');
});
test('product_workload_protection: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/workload-protection/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_workload_protection: h2 "Deep workload activity monitor"', async ({ page }) => {
await page.goto('/product/workload-protection/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deep workload activity monitoring' || t.startsWith('Deep workload activity monitoring'))).toBeTruthy();
});
test('product_workload_protection: h2 "Turn-key workload threat detec"', async ({ page }) => {
await page.goto('/product/workload-protection/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Turn-key workload threat detection' || t.startsWith('Turn-key workload threat detection'))).toBeTruthy();
});
test('product_workload_protection: nav link "Platform"', async ({ page }) => {
await page.goto('/product/workload-protection/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform' || t.startsWith('Platform')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('product_workload_protection: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/workload-protection/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_workload_protection: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/workload-protection/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_workload_protection: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/workload-protection/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_education', () => {
test('solutions_education: title matches GT', async ({ page }) => {
await page.goto('/solutions/education/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('campus it monitoring solutions');
});
test('solutions_education: h2 "How Lernova prevents IT issues"', async ({ page }) => {
await page.goto('/solutions/education/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Lernova prevents IT issues from becoming outages' || t.startsWith('How Lernova prevents IT issues from becoming outages'))).toBeTruthy();
});
test('solutions_education: h2 "A recognized leader in observa"', async ({ page }) => {
await page.goto('/solutions/education/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A recognized leader in observability' || t.startsWith('A recognized leader in observability'))).toBeTruthy();
});
test('solutions_education: h2 "Transform IT operations to dee"', async ({ page }) => {
await page.goto('/solutions/education/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Transform IT operations to deepen engagement with students and educators' || t.startsWith('Transform IT operations to deepen engagement with students and educators'))).toBeTruthy();
});
test('solutions_education: h2 "Gain a holistic view of your d"', async ({ page }) => {
await page.goto('/solutions/education/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Gain a holistic view of your data platform' || t.startsWith('Gain a holistic view of your data platform'))).toBeTruthy();
});
test('solutions_education: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/education/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_education: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/education/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_education: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/education/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_financial_services', () => {
test('solutions_financial_services: title matches GT', async ({ page }) => {
await page.goto('/solutions/financial-services/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('monitoring solutions for financial servi');
});
test('solutions_financial_services: h2 "Unified observability for the "', async ({ page }) => {
await page.goto('/solutions/financial-services/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unified observability for the financial services industry' || t.startsWith('Unified observability for the financial services industry'))).toBeTruthy();
});
test('solutions_financial_services: h2 "Our Customers"', async ({ page }) => {
await page.goto('/solutions/financial-services/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Customers' || t.startsWith('Our Customers'))).toBeTruthy();
});
test('solutions_financial_services: h2 "Real results from Obseron cust"', async ({ page }) => {
await page.goto('/solutions/financial-services/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Real results from Obseron customers' || t.startsWith('Real results from Obseron customers'))).toBeTruthy();
});
test('solutions_financial_services: h2 "How Obseron helps you cut cost"', async ({ page }) => {
await page.goto('/solutions/financial-services/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Obseron helps you cut costs, reduce risk, and improve efficiency' || t.startsWith('How Obseron helps you cut costs, reduce risk, and improve efficiency'))).toBeTruthy();
});
test('solutions_financial_services: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/financial-services/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_financial_services: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/financial-services/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_financial_services: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/financial-services/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_finops', () => {
test('solutions_finops: title matches GT', async ({ page }) => {
await page.goto('/solutions/finops/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('reinvent your organization’s finops prac');
});
test('solutions_finops: h2 "How Meridian optimized costs w"', async ({ page }) => {
await page.goto('/solutions/finops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Meridian optimized costs with Obseron Cloud Cost Management' || t.startsWith('How Meridian optimized costs with Obseron Cloud Cost Management'))).toBeTruthy();
});
test('solutions_finops: h2 "Real customer results from Obs"', async ({ page }) => {
await page.goto('/solutions/finops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Real customer results from Obseron adoption' || t.startsWith('Real customer results from Obseron adoption'))).toBeTruthy();
});
test('solutions_finops: h2 "Allocate, enable, and optimize"', async ({ page }) => {
await page.goto('/solutions/finops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Allocate, enable, and optimize' || t.startsWith('Allocate, enable, and optimize'))).toBeTruthy();
});
test('solutions_finops: h2 "Lower IT costs through observa"', async ({ page }) => {
await page.goto('/solutions/finops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Lower IT costs through observability' || t.startsWith('Lower IT costs through observability'))).toBeTruthy();
});
test('solutions_finops: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/finops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_finops: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/finops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_finops: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/finops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_gaming', () => {
test('solutions_gaming: title matches GT', async ({ page }) => {
await page.goto('/solutions/gaming/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('monitoring solutions for gaming industry');
});
test('solutions_gaming: h2 "Real results from Obseron cust"', async ({ page }) => {
await page.goto('/solutions/gaming/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Real results from Obseron customers' || t.startsWith('Real results from Obseron customers'))).toBeTruthy();
});
test('solutions_gaming: h2 "Build inventive, high-performi"', async ({ page }) => {
await page.goto('/solutions/gaming/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build inventive, high-performing, and secure gaming experiences' || t.startsWith('Build inventive, high-performing, and secure gaming experiences'))).toBeTruthy();
});
test('solutions_gaming: h2 "Refine experiences for 10M+ pl"', async ({ page }) => {
await page.goto('/solutions/gaming/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Refine experiences for 10M+ players, all from a single pane of glass' || t.startsWith('Refine experiences for 10M+ players, all from a single pane of glass'))).toBeTruthy();
});
test('solutions_gaming: h2 "Lower IT spend through observa"', async ({ page }) => {
await page.goto('/solutions/gaming/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Lower IT spend through observability' || t.startsWith('Lower IT spend through observability'))).toBeTruthy();
});
test('solutions_gaming: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/gaming/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_gaming: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/gaming/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_gaming: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/gaming/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_government', () => {
test('solutions_government: title matches GT', async ({ page }) => {
await page.goto('/solutions/government/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('public sector observability & security');
});
test('solutions_government: h2 "Transforming Public Sector IT:"', async ({ page }) => {
await page.goto('/solutions/government/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Transforming Public Sector IT: Observability, Security & Cost Efficiency with Obseron' || t.startsWith('Transforming Public Sector IT: Observability, Security & Cost Efficiency with Obseron'))).toBeTruthy();
});
test('solutions_government: h2 "A guide for IT leaders buildin"', async ({ page }) => {
await page.goto('/solutions/government/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A guide for IT leaders building secure, compliant, and resilient public sector infrastructure.' || t.startsWith('A guide for IT leaders building secure, compliant, and resilient public sector infrastructure.'))).toBeTruthy();
});
test('solutions_government: h2 "Who We Help"', async ({ page }) => {
await page.goto('/solutions/government/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Who We Help' || t.startsWith('Who We Help'))).toBeTruthy();
});
test('solutions_government: h2 "Our Partners"', async ({ page }) => {
await page.goto('/solutions/government/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Partners' || t.startsWith('Our Partners'))).toBeTruthy();
});
test('solutions_government: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/government/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_government: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/government/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_government: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/government/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_manufacturing_logistics', () => {
test('solutions_manufacturing_logistics: title matches GT', async ({ page }) => {
await page.goto('/solutions/manufacturing-logistics/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('manufacturing & logistics monitoring');
});
test('solutions_manufacturing_logistics: h2 "How Latch7 modernizes IT capab"', async ({ page }) => {
await page.goto('/solutions/manufacturing-logistics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Latch7 modernizes IT capabilities' || t.startsWith('How Latch7 modernizes IT capabilities'))).toBeTruthy();
});
test('solutions_manufacturing_logistics: h2 "Real results from Obseron cust"', async ({ page }) => {
await page.goto('/solutions/manufacturing-logistics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Real results from Obseron customers' || t.startsWith('Real results from Obseron customers'))).toBeTruthy();
});
test('solutions_manufacturing_logistics: h2 "Modernize the core technologie"', async ({ page }) => {
await page.goto('/solutions/manufacturing-logistics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Modernize the core technologies running your business' || t.startsWith('Modernize the core technologies running your business'))).toBeTruthy();
});
test('solutions_manufacturing_logistics: h2 "Monitoring thousands of missio"', async ({ page }) => {
await page.goto('/solutions/manufacturing-logistics/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Monitoring thousands of mission-critical systems' || t.startsWith('Monitoring thousands of mission-critical systems'))).toBeTruthy();
});
test('solutions_manufacturing_logistics: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/manufacturing-logistics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_manufacturing_logistics: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/manufacturing-logistics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_manufacturing_logistics: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/manufacturing-logistics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_media_entertainment', () => {
test('solutions_media_entertainment: title matches GT', async ({ page }) => {
await page.goto('/solutions/media-entertainment/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('media & entertainment observability');
});
test('solutions_media_entertainment: h2 "Real results from Obseron cust"', async ({ page }) => {
await page.goto('/solutions/media-entertainment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Real results from Obseron customers' || t.startsWith('Real results from Obseron customers'))).toBeTruthy();
});
test('solutions_media_entertainment: h2 "AI operations, performance, re"', async ({ page }) => {
await page.goto('/solutions/media-entertainment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI operations, performance, reliability, and security for today\'s streaming platforms' || t.startsWith('AI operations, performance, reliability, and security for today\'s streaming platforms'))).toBeTruthy();
});
test('solutions_media_entertainment: h2 "Optimized live streaming servi"', async ({ page }) => {
await page.goto('/solutions/media-entertainment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Optimized live streaming services for 60M+ viewers on the Streamora platform' || t.startsWith('Optimized live streaming services for 60M+ viewers on the Streamora platform'))).toBeTruthy();
});
test('solutions_media_entertainment: h2 "Cut IT costs through observabi"', async ({ page }) => {
await page.goto('/solutions/media-entertainment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cut IT costs through observability' || t.startsWith('Cut IT costs through observability'))).toBeTruthy();
});
test('solutions_media_entertainment: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/media-entertainment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_media_entertainment: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/media-entertainment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_media_entertainment: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/media-entertainment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_monitoring_consolidation', () => {
test('solutions_monitoring_consolidation: title matches GT', async ({ page }) => {
await page.goto('/solutions/monitoring-consolidation/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('unified monitoring');
});
test('solutions_monitoring_consolidation: h2 "Tool overload"', async ({ page }) => {
await page.goto('/solutions/monitoring-consolidation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tool overload' || t.startsWith('Tool overload'))).toBeTruthy();
});
test('solutions_monitoring_consolidation: h2 "Customer showcase"', async ({ page }) => {
await page.goto('/solutions/monitoring-consolidation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Customer showcase' || t.startsWith('Customer showcase'))).toBeTruthy();
});
test('solutions_monitoring_consolidation: h2 "Why unify tools?"', async ({ page }) => {
await page.goto('/solutions/monitoring-consolidation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why unify tools?' || t.startsWith('Why unify tools?'))).toBeTruthy();
});
test('solutions_monitoring_consolidation: h2 "Platform strengths"', async ({ page }) => {
await page.goto('/solutions/monitoring-consolidation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform strengths' || t.startsWith('Platform strengths'))).toBeTruthy();
});
test('solutions_monitoring_consolidation: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/monitoring-consolidation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_monitoring_consolidation: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/monitoring-consolidation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_monitoring_consolidation: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/monitoring-consolidation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_opentelemetry', () => {
test('solutions_opentelemetry: title matches GT', async ({ page }) => {
await page.goto('/solutions/opentelemetry/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('opentelemetry');
});
test('solutions_opentelemetry: h2 "Obseron’s Commitment to OpenTe"', async ({ page }) => {
await page.goto('/solutions/opentelemetry/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron’s Commitment to OpenTelemetry' || t.startsWith('Obseron’s Commitment to OpenTelemetry'))).toBeTruthy();
});
test('solutions_opentelemetry: h2 "Integrations with popular OSS"', async ({ page }) => {
await page.goto('/solutions/opentelemetry/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Integrations with popular OSS' || t.startsWith('Integrations with popular OSS'))).toBeTruthy();
});
test('solutions_opentelemetry: h2 "Community engagement"', async ({ page }) => {
await page.goto('/solutions/opentelemetry/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Community engagement' || t.startsWith('Community engagement'))).toBeTruthy();
});
test('solutions_opentelemetry: h2 "Our open source work"', async ({ page }) => {
await page.goto('/solutions/opentelemetry/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our open source work' || t.startsWith('Our open source work'))).toBeTruthy();
});
test('solutions_opentelemetry: nav link "Platform"', async ({ page }) => {
await page.goto('/solutions/opentelemetry/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform' || t.startsWith('Platform')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('solutions_opentelemetry: nav link "See pricing"', async ({ page }) => {
await page.goto('/solutions/opentelemetry/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_opentelemetry: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/opentelemetry/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_opentelemetry: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/opentelemetry/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_retail_ecommerce', () => {
test('solutions_retail_ecommerce: title matches GT', async ({ page }) => {
await page.goto('/solutions/retail-ecommerce/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('retail & e');
});
test('solutions_retail_ecommerce: h2 "How Harbor Market delivers a s"', async ({ page }) => {
await page.goto('/solutions/retail-ecommerce/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Harbor Market delivers a seamless peak-weekend shopping experience with Obseron' || t.startsWith('How Harbor Market delivers a seamless peak-weekend shopping experience with Obseron'))).toBeTruthy();
});
test('solutions_retail_ecommerce: h2 "Real results from Obseron cust"', async ({ page }) => {
await page.goto('/solutions/retail-ecommerce/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Real results from Obseron customers' || t.startsWith('Real results from Obseron customers'))).toBeTruthy();
});
test('solutions_retail_ecommerce: h2 "Defend revenue. Boost performa"', async ({ page }) => {
await page.goto('/solutions/retail-ecommerce/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Defend revenue. Boost performance. Grow with full end-to-end visibility' || t.startsWith('Defend revenue. Boost performance. Grow with full end-to-end visibility'))).toBeTruthy();
});
test('solutions_retail_ecommerce: h2 "Obseron has been named a Leade"', async ({ page }) => {
await page.goto('/solutions/retail-ecommerce/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron has been named a Leader in the Vantage Market Matrix™ for Observability Platforms across the' || t.startsWith('Obseron has been named a Leader in the Vantage Market Matrix™ for Observability Platforms across the'))).toBeTruthy();
});
test('solutions_retail_ecommerce: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/retail-ecommerce/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_retail_ecommerce: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/retail-ecommerce/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_retail_ecommerce: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/retail-ecommerce/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_soar', () => {
test('solutions_soar: title matches GT', async ({ page }) => {
await page.goto('/solutions/soar/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('soar');
});
test('solutions_soar: h2 "The Challenge"', async ({ page }) => {
await page.goto('/solutions/soar/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Challenge' || t.startsWith('The Challenge'))).toBeTruthy();
});
test('solutions_soar: h2 "Why SOAR?"', async ({ page }) => {
await page.goto('/solutions/soar/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why SOAR?' || t.startsWith('Why SOAR?'))).toBeTruthy();
});
test('solutions_soar: h2 "The SOAR advantage"', async ({ page }) => {
await page.goto('/solutions/soar/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The SOAR advantage' || t.startsWith('The SOAR advantage'))).toBeTruthy();
});
test('solutions_soar: h2 "Customer Testimonials"', async ({ page }) => {
await page.goto('/solutions/soar/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Customer Testimonials' || t.startsWith('Customer Testimonials'))).toBeTruthy();
});
test('solutions_soar: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/soar/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_soar: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/soar/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_soar: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/soar/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - solutions_technology', () => {
test('solutions_technology: title matches GT', async ({ page }) => {
await page.goto('/solutions/technology/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('monitoring solutions for technology comp');
});
test('solutions_technology: h2 "How Larkspur Systems boosts de"', async ({ page }) => {
await page.goto('/solutions/technology/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Larkspur Systems boosts developer productivity with Obseron' || t.startsWith('How Larkspur Systems boosts developer productivity with Obseron'))).toBeTruthy();
});
test('solutions_technology: h2 "Real outcomes from Obseron cus"', async ({ page }) => {
await page.goto('/solutions/technology/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Real outcomes from Obseron customers' || t.startsWith('Real outcomes from Obseron customers'))).toBeTruthy();
});
test('solutions_technology: h2 "Boost IT efficiency and unlock"', async ({ page }) => {
await page.goto('/solutions/technology/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Boost IT efficiency and unlock new revenue streams' || t.startsWith('Boost IT efficiency and unlock new revenue streams'))).toBeTruthy();
});
test('solutions_technology: h2 "90% reduction in processing ti"', async ({ page }) => {
await page.goto('/solutions/technology/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '90% reduction in processing time on Nimbdrift\'s email rendering service' || t.startsWith('90% reduction in processing time on Nimbdrift\'s email rendering service'))).toBeTruthy();
});
test('solutions_technology: nav link "View pricing"', async ({ page }) => {
await page.goto('/solutions/technology/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('solutions_technology: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/solutions/technology/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('solutions_technology: nav link "Metrics"', async ({ page }) => {
await page.goto('/solutions/technology/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - about_contact', () => {
test('about_contact: title matches GT', async ({ page }) => {
await page.goto('/about/contact/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('contact');
});
test('about_contact: h1 "Contact Obseron"', async ({ page }) => {
await page.goto('/about/contact/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Contact Obseron' || t.startsWith('Contact Obseron'))).toBeTruthy();
});
test('about_contact: h2 "Build With Us"', async ({ page }) => {
await page.goto('/about/contact/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build With Us' || t.startsWith('Build With Us'))).toBeTruthy();
});
test('about_contact: h3 "As a business with worldwide r"', async ({ page }) => {
await page.goto('/about/contact/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'As a business with worldwide reach, we make our home in New York City and keep offices across the gl' || t.startsWith('As a business with worldwide reach, we make our home in New York City and keep offices across the gl'))).toBeTruthy();
});
test('about_contact: h3 "Global Headquarters"', async ({ page }) => {
await page.goto('/about/contact/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Global Headquarters' || t.startsWith('Global Headquarters'))).toBeTruthy();
});
test('about_contact: nav link "See our pricing"', async ({ page }) => {
await page.goto('/about/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See our pricing' || t.startsWith('See our pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('about_contact: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/about/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('about_contact: nav link "Metrics"', async ({ page }) => {
await page.goto('/about/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - about_leadership', () => {
test('about_leadership: title matches GT', async ({ page }) => {
await page.goto('/about/leadership/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('leadership');
});
test('about_leadership: h1 "About"', async ({ page }) => {
await page.goto('/about/leadership/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About'))).toBeTruthy();
});
test('about_leadership: h1 "Board of Directors"', async ({ page }) => {
await page.goto('/about/leadership/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Board of Directors' || t.startsWith('Board of Directors'))).toBeTruthy();
});
test('about_leadership: h2 "Marcus Devlin"', async ({ page }) => {
await page.goto('/about/leadership/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Marcus Devlin' || t.startsWith('Marcus Devlin'))).toBeTruthy();
});
test('about_leadership: nav link "View pricing"', async ({ page }) => {
await page.goto('/about/leadership/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('about_leadership: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/about/leadership/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('about_leadership: nav link "Metrics"', async ({ page }) => {
await page.goto('/about/leadership/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - architecture_network_observability_sd_wan_reference_architecture', () => {
test('architecture_network_observability_sd_wan_reference_architecture: h2 "Introduction"', async ({ page }) => {
await page.goto('/architecture/network-observability-sd-wan-reference-architecture/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introduction' || t.startsWith('Introduction'))).toBeTruthy();
});
test('architecture_network_observability_sd_wan_reference_architecture: h2 "How the architecture is built"', async ({ page }) => {
await page.goto('/architecture/network-observability-sd-wan-reference-architecture/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How the architecture is built' || t.startsWith('How the architecture is built'))).toBeTruthy();
});
test('architecture_network_observability_sd_wan_reference_architecture: h2 "Takeaways"', async ({ page }) => {
await page.goto('/architecture/network-observability-sd-wan-reference-architecture/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Takeaways' || t.startsWith('Takeaways'))).toBeTruthy();
});
test('architecture_network_observability_sd_wan_reference_architecture: nav link "See pricing"', async ({ page }) => {
await page.goto('/architecture/network-observability-sd-wan-reference-architecture/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('architecture_network_observability_sd_wan_reference_architecture: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/architecture/network-observability-sd-wan-reference-architecture/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('architecture_network_observability_sd_wan_reference_architecture: nav link "Metrics"', async ({ page }) => {
await page.goto('/architecture/network-observability-sd-wan-reference-architecture/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_ai', () => {
test('blog_ai: h2 "Featured Articles"', async ({ page }) => {
await page.goto('/blog/ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Featured Articles' || t.startsWith('Featured Articles'))).toBeTruthy();
});
test('blog_ai: h2 "Closing the trust gap: Observa"', async ({ page }) => {
await page.goto('/blog/ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Closing the trust gap: Observability-driven harnesses for building reliable agents' || t.startsWith('Closing the trust gap: Observability-driven harnesses for building reliable agents'))).toBeTruthy();
});
test('blog_ai: h2 "Closing the trust gap, Part 2:"', async ({ page }) => {
await page.goto('/blog/ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Closing the trust gap, Part 2: Fully autonomous performance optimization' || t.startsWith('Closing the trust gap, Part 2: Fully autonomous performance optimization'))).toBeTruthy();
});
test('blog_ai: h2 "Designing MCP tools for agents"', async ({ page }) => {
await page.goto('/blog/ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Designing MCP tools for agents: Lessons from building Obseron\'s MCP server' || t.startsWith('Designing MCP tools for agents: Lessons from building Obseron\'s MCP server'))).toBeTruthy();
});
test('blog_ai: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_ai: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_ai: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_ai_integrations', () => {
test('blog_ai_integrations: title matches GT', async ({ page }) => {
await page.goto('/blog/ai-integrations/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('integration roundup');
});
test('blog_ai_integrations: h1 "Integration guide: watching ov"', async ({ page }) => {
await page.goto('/blog/ai-integrations/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Integration guide: watching over your AI stack' || t.startsWith('Integration guide: watching over your AI stack'))).toBeTruthy();
});
test('blog_ai_integrations: h2 "Infrastructure and compute: Vi"', async ({ page }) => {
await page.goto('/blog/ai-integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure and compute: Vireon GPU Metrics Exporter, Fluxcore, Volta, Slurm' || t.startsWith('Infrastructure and compute: Vireon GPU Metrics Exporter, Fluxcore, Volta, Slurm'))).toBeTruthy();
});
test('blog_ai_integrations: h2 "Data storage and management: V"', async ({ page }) => {
await page.goto('/blog/ai-integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Data storage and management: Vectorly, Conifer, Airflux, DocBase Atlas' || t.startsWith('Data storage and management: Vectorly, Conifer, Airflux, DocBase Atlas'))).toBeTruthy();
});
test('blog_ai_integrations: h2 "Serving and deploying models: "', async ({ page }) => {
await page.goto('/blog/ai-integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Serving and deploying models: Cirrus AI, Nimbus SageForge, TensoraServe, Vireon Nexus Inference Serv' || t.startsWith('Serving and deploying models: Cirrus AI, Nimbus SageForge, TensoraServe, Vireon Nexus Inference Serv'))).toBeTruthy();
});
test('blog_ai_integrations: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/ai-integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_ai_integrations: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/ai-integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_ai_integrations: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/ai-integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_bits_ai_kubernetes_remediation', () => {
test('blog_bits_ai_kubernetes_remediation: title matches GT', async ({ page }) => {
await page.goto('/blog/bits-ai-kubernetes-remediation/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('diagnose and fix kubernetes problems fas');
});
test('blog_bits_ai_kubernetes_remediation: h1 "Detect, investigate, and repai"', async ({ page }) => {
await page.goto('/blog/bits-ai-kubernetes-remediation/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Detect, investigate, and repair Kubernetes incidents with AI-guided remediation' || t.startsWith('Detect, investigate, and repair Kubernetes incidents with AI-guided remediation'))).toBeTruthy();
});
test('blog_bits_ai_kubernetes_remediation: h2 "Resolve Kubernetes issues with"', async ({ page }) => {
await page.goto('/blog/bits-ai-kubernetes-remediation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resolve Kubernetes issues with greater efficiency' || t.startsWith('Resolve Kubernetes issues with greater efficiency'))).toBeTruthy();
});
test('blog_bits_ai_kubernetes_remediation: h2 "Bring your environment back to"', async ({ page }) => {
await page.goto('/blog/bits-ai-kubernetes-remediation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your environment back to stable faster with guided actions' || t.startsWith('Bring your environment back to stable faster with guided actions'))).toBeTruthy();
});
test('blog_bits_ai_kubernetes_remediation: h2 "Roll out faster, smarter issue"', async ({ page }) => {
await page.goto('/blog/bits-ai-kubernetes-remediation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Roll out faster, smarter issue detection and response starting today' || t.startsWith('Roll out faster, smarter issue detection and response starting today'))).toBeTruthy();
});
test('blog_bits_ai_kubernetes_remediation: nav link "See pricing"', async ({ page }) => {
await page.goto('/blog/bits-ai-kubernetes-remediation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_bits_ai_kubernetes_remediation: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/bits-ai-kubernetes-remediation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_bits_ai_kubernetes_remediation: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/bits-ai-kubernetes-remediation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_change_tracking', () => {
test('blog_change_tracking: title matches GT', async ({ page }) => {
await page.goto('/blog/change-tracking/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('unify visibility into changes to your se');
});
test('blog_change_tracking: h1 "See every change across your s"', async ({ page }) => {
await page.goto('/blog/change-tracking/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See every change across your services and dependencies in one place with Obseron Change Tracking' || t.startsWith('See every change across your services and dependencies in one place with Obseron Change Tracking'))).toBeTruthy();
});
test('blog_change_tracking: h2 "Surface changes to your servic"', async ({ page }) => {
await page.goto('/blog/change-tracking/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Surface changes to your services and dependencies right where you work' || t.startsWith('Surface changes to your services and dependencies right where you work'))).toBeTruthy();
});
test('blog_change_tracking: h2 "Connect recent changes to disr"', async ({ page }) => {
await page.goto('/blog/change-tracking/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Connect recent changes to disruptions in the health and performance of your services' || t.startsWith('Connect recent changes to disruptions in the health and performance of your services'))).toBeTruthy();
});
test('blog_change_tracking: h2 "Access detailed change insight"', async ({ page }) => {
await page.goto('/blog/change-tracking/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Access detailed change insights and take next steps within Obseron' || t.startsWith('Access detailed change insights and take next steps within Obseron'))).toBeTruthy();
});
test('blog_change_tracking: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/change-tracking/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_change_tracking: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/change-tracking/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_change_tracking: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/change-tracking/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_cloud_cost_management_finops', () => {
test('blog_cloud_cost_management_finops: title matches GT', async ({ page }) => {
await page.goto('/blog/cloud-cost-management-finops/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('unite your finops and engineering teams ');
});
test('blog_cloud_cost_management_finops: h1 "Unify your FinOps and engineer"', async ({ page }) => {
await page.goto('/blog/cloud-cost-management-finops/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unify your FinOps and engineering workflows in Obseron Cloud Cost Management' || t.startsWith('Unify your FinOps and engineering workflows in Obseron Cloud Cost Management'))).toBeTruthy();
});
test('blog_cloud_cost_management_finops: h2 "Allocate shared costs precisel"', async ({ page }) => {
await page.goto('/blog/cloud-cost-management-finops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Allocate shared costs precisely with custom allocation rules' || t.startsWith('Allocate shared costs precisely with custom allocation rules'))).toBeTruthy();
});
test('blog_cloud_cost_management_finops: h2 "Surface cost and usage pattern"', async ({ page }) => {
await page.goto('/blog/cloud-cost-management-finops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Surface cost and usage patterns for each team' || t.startsWith('Surface cost and usage patterns for each team'))).toBeTruthy();
});
test('blog_cloud_cost_management_finops: h2 "Give engineering teams live bu"', async ({ page }) => {
await page.goto('/blog/cloud-cost-management-finops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Give engineering teams live budget insight' || t.startsWith('Give engineering teams live budget insight'))).toBeTruthy();
});
test('blog_cloud_cost_management_finops: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/cloud-cost-management-finops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_cloud_cost_management_finops: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/cloud-cost-management-finops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_cloud_cost_management_finops: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/cloud-cost-management-finops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_composite_monitors', () => {
test('blog_composite_monitors: title matches GT', async ({ page }) => {
await page.goto('/blog/composite-monitors/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cut alert noise with composite monitors');
});
test('blog_composite_monitors: h1 "Introducing composite monitors"', async ({ page }) => {
await page.goto('/blog/composite-monitors/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introducing composite monitors' || t.startsWith('Introducing composite monitors'))).toBeTruthy();
});
test('blog_composite_monitors: h2 "Smarter alerting with less noi"', async ({ page }) => {
await page.goto('/blog/composite-monitors/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Smarter alerting with less noise' || t.startsWith('Smarter alerting with less noise'))).toBeTruthy();
});
test('blog_composite_monitors: h2 "Get started"', async ({ page }) => {
await page.goto('/blog/composite-monitors/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get started' || t.startsWith('Get started'))).toBeTruthy();
});
test('blog_composite_monitors: h2 "Related Articles"', async ({ page }) => {
await page.goto('/blog/composite-monitors/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Related Articles' || t.startsWith('Related Articles'))).toBeTruthy();
});
test('blog_composite_monitors: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/composite-monitors/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_composite_monitors: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/composite-monitors/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_composite_monitors: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/composite-monitors/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_continuous_profiler_timeline_view', () => {
test('blog_continuous_profiler_timeline_view: title matches GT', async ({ page }) => {
await page.goto('/blog/continuous-profiler-timeline-view/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('pinpoint costly runtime and code hotspot');
});
test('blog_continuous_profiler_timeline_view: h1 "Pinpoint runtime and code inef"', async ({ page }) => {
await page.goto('/blog/continuous-profiler-timeline-view/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pinpoint runtime and code inefficiencies in your production services using the profiler\'s timeline v' || t.startsWith('Pinpoint runtime and code inefficiencies in your production services using the profiler\'s timeline v'))).toBeTruthy();
});
test('blog_continuous_profiler_timeline_view: h2 "Boost your application through"', async ({ page }) => {
await page.goto('/blog/continuous-profiler-timeline-view/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Boost your application throughput' || t.startsWith('Boost your application throughput'))).toBeTruthy();
});
test('blog_continuous_profiler_timeline_view: h2 "Lower p99 latency"', async ({ page }) => {
await page.goto('/blog/continuous-profiler-timeline-view/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Lower p99 latency' || t.startsWith('Lower p99 latency'))).toBeTruthy();
});
test('blog_continuous_profiler_timeline_view: h2 "Gauge the impact of garbage co"', async ({ page }) => {
await page.goto('/blog/continuous-profiler-timeline-view/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Gauge the impact of garbage collection' || t.startsWith('Gauge the impact of garbage collection'))).toBeTruthy();
});
test('blog_continuous_profiler_timeline_view: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/continuous-profiler-timeline-view/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_continuous_profiler_timeline_view: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/continuous-profiler-timeline-view/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_continuous_profiler_timeline_view: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/continuous-profiler-timeline-view/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_obseron_cluster_autoscaling', () => {
test('blog_obseron_cluster_autoscaling: title matches GT', async ({ page }) => {
await page.goto('/blog/obseron-cluster-autoscaling/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cut kubernetes cluster spend with the ob');
});
test('blog_obseron_cluster_autoscaling: h1 "Optimize Kubernetes cluster co"', async ({ page }) => {
await page.goto('/blog/obseron-cluster-autoscaling/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Optimize Kubernetes cluster cost with Obseron Cluster Autoscaler' || t.startsWith('Optimize Kubernetes cluster cost with Obseron Cluster Autoscaler'))).toBeTruthy();
});
test('blog_obseron_cluster_autoscaling: h2 "Find idle cluster spend and th"', async ({ page }) => {
await page.goto('/blog/obseron-cluster-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Find idle cluster spend and the workloads it affects' || t.startsWith('Find idle cluster spend and the workloads it affects'))).toBeTruthy();
});
test('blog_obseron_cluster_autoscaling: h2 "Automatically update node conf"', async ({ page }) => {
await page.goto('/blog/obseron-cluster-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automatically update node configurations and migrate workloads' || t.startsWith('Automatically update node configurations and migrate workloads'))).toBeTruthy();
});
test('blog_obseron_cluster_autoscaling: h2 "Start optimizing your cloud co"', async ({ page }) => {
await page.goto('/blog/obseron-cluster-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Start optimizing your cloud compute spend today' || t.startsWith('Start optimizing your cloud compute spend today'))).toBeTruthy();
});
test('blog_obseron_cluster_autoscaling: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/obseron-cluster-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_obseron_cluster_autoscaling: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/obseron-cluster-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_obseron_cluster_autoscaling: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/obseron-cluster-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_obseron_continuous_profiler', () => {
test('blog_obseron_continuous_profiler: title matches GT', async ({ page }) => {
await page.goto('/blog/obseron-continuous-profiler/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('pinpoint code');
});
test('blog_obseron_continuous_profiler: h1 "Analyze code performance in pr"', async ({ page }) => {
await page.goto('/blog/obseron-continuous-profiler/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Analyze code performance in production with Obseron Continuous Profiler' || t.startsWith('Analyze code performance in production with Obseron Continuous Profiler'))).toBeTruthy();
});
test('blog_obseron_continuous_profiler: h2 "See all your stack traces in a"', async ({ page }) => {
await page.goto('/blog/obseron-continuous-profiler/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See all your stack traces in a single view' || t.startsWith('See all your stack traces in a single view'))).toBeTruthy();
});
test('blog_obseron_continuous_profiler: h2 "Spot bottlenecks across your c"', async ({ page }) => {
await page.goto('/blog/obseron-continuous-profiler/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Spot bottlenecks across your code at a glance' || t.startsWith('Spot bottlenecks across your code at a glance'))).toBeTruthy();
});
test('blog_obseron_continuous_profiler: h2 "Filter profiles with custom ta"', async ({ page }) => {
await page.goto('/blog/obseron-continuous-profiler/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Filter profiles with custom tags' || t.startsWith('Filter profiles with custom tags'))).toBeTruthy();
});
test('blog_obseron_continuous_profiler: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/obseron-continuous-profiler/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_obseron_continuous_profiler: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/obseron-continuous-profiler/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_obseron_continuous_profiler: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/obseron-continuous-profiler/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_obseron_kubernetes_autoscaling', () => {
test('blog_obseron_kubernetes_autoscaling: title matches GT', async ({ page }) => {
await page.goto('/blog/obseron-kubernetes-autoscaling/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('rightsize workloads and reduce costs wit');
});
test('blog_obseron_kubernetes_autoscaling: h1 "Rightsize workloads and reduce"', async ({ page }) => {
await page.goto('/blog/obseron-kubernetes-autoscaling/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rightsize workloads and reduce costs with Obseron Kubernetes Autoscaling' || t.startsWith('Rightsize workloads and reduce costs with Obseron Kubernetes Autoscaling'))).toBeTruthy();
});
test('blog_obseron_kubernetes_autoscaling: h2 "Rank clusters and workloads to"', async ({ page }) => {
await page.goto('/blog/obseron-kubernetes-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rank clusters and workloads to target for optimization' || t.startsWith('Rank clusters and workloads to target for optimization'))).toBeTruthy();
});
test('blog_obseron_kubernetes_autoscaling: h2 "Rightsize workloads quickly in"', async ({ page }) => {
await page.goto('/blog/obseron-kubernetes-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rightsize workloads quickly inside Obseron or via GitOps' || t.startsWith('Rightsize workloads quickly inside Obseron or via GitOps'))).toBeTruthy();
});
test('blog_obseron_kubernetes_autoscaling: h2 "Begin scaling your Kubernetes "', async ({ page }) => {
await page.goto('/blog/obseron-kubernetes-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Begin scaling your Kubernetes workloads efficiently today' || t.startsWith('Begin scaling your Kubernetes workloads efficiently today'))).toBeTruthy();
});
test('blog_obseron_kubernetes_autoscaling: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/obseron-kubernetes-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_obseron_kubernetes_autoscaling: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/obseron-kubernetes-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_obseron_kubernetes_autoscaling: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/obseron-kubernetes-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_obseron_network_path_monitoring', () => {
test('blog_obseron_network_path_monitoring: title matches GT', async ({ page }) => {
await page.goto('/blog/obseron-network-path-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('gain end');
});
test('blog_obseron_network_path_monitoring: h1 "Gain full hop-by-hop network v"', async ({ page }) => {
await page.goto('/blog/obseron-network-path-monitoring/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Gain full hop-by-hop network visibility with Obseron Network Path and SD-WAN monitoring' || t.startsWith('Gain full hop-by-hop network visibility with Obseron Network Path and SD-WAN monitoring'))).toBeTruthy();
});
test('blog_obseron_network_path_monitoring: h2 "Trace the route your applicati"', async ({ page }) => {
await page.goto('/blog/obseron-network-path-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trace the route your application traffic follows across distinct network segments' || t.startsWith('Trace the route your application traffic follows across distinct network segments'))).toBeTruthy();
});
test('blog_obseron_network_path_monitoring: h2 "Jump to NDM devices to diagnos"', async ({ page }) => {
await page.goto('/blog/obseron-network-path-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Jump to NDM devices to diagnose issues across your physical network' || t.startsWith('Jump to NDM devices to diagnose issues across your physical network'))).toBeTruthy();
});
test('blog_obseron_network_path_monitoring: h2 "Get thorough monitoring of you"', async ({ page }) => {
await page.goto('/blog/obseron-network-path-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get thorough monitoring of your entire SD-WAN deployment' || t.startsWith('Get thorough monitoring of your entire SD-WAN deployment'))).toBeTruthy();
});
test('blog_obseron_network_path_monitoring: nav link "See pricing"', async ({ page }) => {
await page.goto('/blog/obseron-network-path-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_obseron_network_path_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/obseron-network-path-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_obseron_network_path_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/obseron-network-path-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_dynamic_instrumentation_application_logging', () => {
test('blog_dynamic_instrumentation_application_logging: title matches GT', async ({ page }) => {
await page.goto('/blog/dynamic-instrumentation-application-logging/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('add application logs at runtime with obs');
});
test('blog_dynamic_instrumentation_application_logging: h1 "Capture new application logs a"', async ({ page }) => {
await page.goto('/blog/dynamic-instrumentation-application-logging/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capture new application logs at runtime with Obseron Dynamic Instrumentation' || t.startsWith('Capture new application logs at runtime with Obseron Dynamic Instrumentation'))).toBeTruthy();
});
test('blog_dynamic_instrumentation_application_logging: h2 "Capture the data you need at r"', async ({ page }) => {
await page.goto('/blog/dynamic-instrumentation-application-logging/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capture the data you need at runtime' || t.startsWith('Capture the data you need at runtime'))).toBeTruthy();
});
test('blog_dynamic_instrumentation_application_logging: h2 "Understand app performance wit"', async ({ page }) => {
await page.goto('/blog/dynamic-instrumentation-application-logging/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Understand app performance with richer context' || t.startsWith('Understand app performance with richer context'))).toBeTruthy();
});
test('blog_dynamic_instrumentation_application_logging: h2 "Start capturing logs with Dyna"', async ({ page }) => {
await page.goto('/blog/dynamic-instrumentation-application-logging/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Start capturing logs with Dynamic Instrumentation now' || t.startsWith('Start capturing logs with Dynamic Instrumentation now'))).toBeTruthy();
});
test('blog_dynamic_instrumentation_application_logging: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/dynamic-instrumentation-application-logging/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_dynamic_instrumentation_application_logging: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/dynamic-instrumentation-application-logging/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_dynamic_instrumentation_application_logging: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/dynamic-instrumentation-application-logging/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_engineering', () => {
test('blog_engineering: title matches GT', async ({ page }) => {
await page.goto('/blog/engineering/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('engineering');
});
test('blog_engineering: h1 "Engineering"', async ({ page }) => {
await page.goto('/blog/engineering/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Engineering' || t.startsWith('Engineering'))).toBeTruthy();
});
test('blog_engineering: h2 "Featured Articles"', async ({ page }) => {
await page.goto('/blog/engineering/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Featured Articles' || t.startsWith('Featured Articles'))).toBeTruthy();
});
test('blog_engineering: h2 "Inside the real-world evaluati"', async ({ page }) => {
await page.goto('/blog/engineering/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Inside the real-world evaluation platform we built for autonomous SRE agents at scale' || t.startsWith('Inside the real-world evaluation platform we built for autonomous SRE agents at scale'))).toBeTruthy();
});
test('blog_engineering: h2 "Why upserts wrote to disk with"', async ({ page }) => {
await page.goto('/blog/engineering/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why upserts wrote to disk without updating: Debugging Postgres performance at scale' || t.startsWith('Why upserts wrote to disk without updating: Debugging Postgres performance at scale'))).toBeTruthy();
});
test('blog_engineering: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/engineering/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_engineering: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/engineering/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_engineering: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/engineering/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_introducing_cloudcraft', () => {
test('blog_introducing_cloudcraft: title matches GT', async ({ page }) => {
await page.goto('/blog/introducing-cloudcraft/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('build rich, always');
});
test('blog_introducing_cloudcraft: h1 "Build rich, always-current vis"', async ({ page }) => {
await page.goto('/blog/introducing-cloudcraft/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build rich, always-current visualizations of your cloud infrastructure with Stackscape in Obseron' || t.startsWith('Build rich, always-current visualizations of your cloud infrastructure with Stackscape in Obseron'))).toBeTruthy();
});
test('blog_introducing_cloudcraft: h2 "Generate cloud architecture di"', async ({ page }) => {
await page.goto('/blog/introducing-cloudcraft/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Generate cloud architecture diagrams automatically' || t.startsWith('Generate cloud architecture diagrams automatically'))).toBeTruthy();
});
test('blog_introducing_cloudcraft: h2 "Detect Agent-less hosts and cl"', async ({ page }) => {
await page.goto('/blog/introducing-cloudcraft/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Detect Agent-less hosts and close observability gaps' || t.startsWith('Detect Agent-less hosts and close observability gaps'))).toBeTruthy();
});
test('blog_introducing_cloudcraft: h2 "Catch security misconfiguratio"', async ({ page }) => {
await page.goto('/blog/introducing-cloudcraft/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Catch security misconfigurations' || t.startsWith('Catch security misconfigurations'))).toBeTruthy();
});
test('blog_introducing_cloudcraft: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/introducing-cloudcraft/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_introducing_cloudcraft: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/introducing-cloudcraft/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_introducing_cloudcraft: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/introducing-cloudcraft/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_key_metrics_for_monitoring_aws_lambda', () => {
test('blog_key_metrics_for_monitoring_aws_lambda: title matches GT', async ({ page }) => {
await page.goto('/blog/key-metrics-for-monitoring-aws-lambda/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('essential metrics for serverless monitor');
});
test('blog_key_metrics_for_monitoring_aws_lambda: h1 "Core metrics for monitoring Ni"', async ({ page }) => {
await page.goto('/blog/key-metrics-for-monitoring-aws-lambda/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core metrics for monitoring Nimbus Lambda' || t.startsWith('Core metrics for monitoring Nimbus Lambda'))).toBeTruthy();
});
test('blog_key_metrics_for_monitoring_aws_lambda: h2 "How Nimbus Lambda works"', async ({ page }) => {
await page.goto('/blog/key-metrics-for-monitoring-aws-lambda/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Nimbus Lambda works' || t.startsWith('How Nimbus Lambda works'))).toBeTruthy();
});
test('blog_key_metrics_for_monitoring_aws_lambda: h2 "Key Nimbus Lambda metrics to m"', async ({ page }) => {
await page.goto('/blog/key-metrics-for-monitoring-aws-lambda/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Key Nimbus Lambda metrics to monitor' || t.startsWith('Key Nimbus Lambda metrics to monitor'))).toBeTruthy();
});
test('blog_key_metrics_for_monitoring_aws_lambda: h2 "Next up: Collect the metrics"', async ({ page }) => {
await page.goto('/blog/key-metrics-for-monitoring-aws-lambda/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Next up: Collect the metrics' || t.startsWith('Next up: Collect the metrics'))).toBeTruthy();
});
test('blog_key_metrics_for_monitoring_aws_lambda: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/key-metrics-for-monitoring-aws-lambda/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_key_metrics_for_monitoring_aws_lambda: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/key-metrics-for-monitoring-aws-lambda/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_key_metrics_for_monitoring_aws_lambda: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/key-metrics-for-monitoring-aws-lambda/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_kubernetes_autoscaling_obseron', () => {
test('blog_kubernetes_autoscaling_obseron: title matches GT', async ({ page }) => {
await page.goto('/blog/kubernetes-autoscaling-obseron/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('kubernetes autoscaling guide');
});
test('blog_kubernetes_autoscaling_obseron: h1 "The Kubernetes autoscaling pla"', async ({ page }) => {
await page.goto('/blog/kubernetes-autoscaling-obseron/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Kubernetes autoscaling playbook: how to choose the right approach for your team' || t.startsWith('The Kubernetes autoscaling playbook: how to choose the right approach for your team'))).toBeTruthy();
});
test('blog_kubernetes_autoscaling_obseron: h2 "Adopt the Horizontal Pod Autos"', async ({ page }) => {
await page.goto('/blog/kubernetes-autoscaling-obseron/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Adopt the Horizontal Pod Autoscaler to match pod replica count to demand' || t.startsWith('Adopt the Horizontal Pod Autoscaler to match pod replica count to demand'))).toBeTruthy();
});
test('blog_kubernetes_autoscaling_obseron: h2 "Rely on the Vertical Pod Autos"', async ({ page }) => {
await page.goto('/blog/kubernetes-autoscaling-obseron/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rely on the Vertical Pod Autoscaler to dynamically tune cluster resources' || t.startsWith('Rely on the Vertical Pod Autoscaler to dynamically tune cluster resources'))).toBeTruthy();
});
test('blog_kubernetes_autoscaling_obseron: h2 "Running the HPA and VPA togeth"', async ({ page }) => {
await page.goto('/blog/kubernetes-autoscaling-obseron/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Running the HPA and VPA together' || t.startsWith('Running the HPA and VPA together'))).toBeTruthy();
});
test('blog_kubernetes_autoscaling_obseron: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/kubernetes-autoscaling-obseron/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_kubernetes_autoscaling_obseron: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/kubernetes-autoscaling-obseron/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_kubernetes_autoscaling_obseron: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/kubernetes-autoscaling-obseron/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_kubernetes_custom_query_autoscaling', () => {
test('blog_kubernetes_custom_query_autoscaling: title matches GT', async ({ page }) => {
await page.goto('/blog/kubernetes-custom-query-autoscaling/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('right');
});
test('blog_kubernetes_custom_query_autoscaling: h1 "Tune Kubernetes Workloads with"', async ({ page }) => {
await page.goto('/blog/kubernetes-custom-query-autoscaling/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tune Kubernetes Workloads with Custom Query Autoscaling' || t.startsWith('Tune Kubernetes Workloads with Custom Query Autoscaling'))).toBeTruthy();
});
test('blog_kubernetes_custom_query_autoscaling: h2 "Scale Kubernetes workloads on "', async ({ page }) => {
await page.goto('/blog/kubernetes-custom-query-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scale Kubernetes workloads on any Obseron metric' || t.startsWith('Scale Kubernetes workloads on any Obseron metric'))).toBeTruthy();
});
test('blog_kubernetes_custom_query_autoscaling: h2 "Define precise scaling policie"', async ({ page }) => {
await page.goto('/blog/kubernetes-custom-query-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Define precise scaling policies with custom queries' || t.startsWith('Define precise scaling policies with custom queries'))).toBeTruthy();
});
test('blog_kubernetes_custom_query_autoscaling: h2 "Streamline autoscaling using b"', async ({ page }) => {
await page.goto('/blog/kubernetes-custom-query-autoscaling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streamline autoscaling using built-in application metrics' || t.startsWith('Streamline autoscaling using built-in application metrics'))).toBeTruthy();
});
test('blog_kubernetes_custom_query_autoscaling: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/kubernetes-custom-query-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_kubernetes_custom_query_autoscaling: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/kubernetes-custom-query-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_kubernetes_custom_query_autoscaling: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/kubernetes-custom-query-autoscaling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_llm_experiments', () => {
test('blog_llm_experiments: title matches GT', async ({ page }) => {
await page.goto('/blog/llm-experiments/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('build and observe llm experiments with o');
});
test('blog_llm_experiments: h2 "Use Playground to test new ide"', async ({ page }) => {
await page.goto('/blog/llm-experiments/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Use Playground to test new ideas without setup' || t.startsWith('Use Playground to test new ideas without setup'))).toBeTruthy();
});
test('blog_llm_experiments: h2 "Assemble datasets for your exp"', async ({ page }) => {
await page.goto('/blog/llm-experiments/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Assemble datasets for your experiments' || t.startsWith('Assemble datasets for your experiments'))).toBeTruthy();
});
test('blog_llm_experiments: h2 "Track experiment runs and unco"', async ({ page }) => {
await page.goto('/blog/llm-experiments/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Track experiment runs and uncover insights' || t.startsWith('Track experiment runs and uncover insights'))).toBeTruthy();
});
test('blog_llm_experiments: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/llm-experiments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_llm_experiments: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/llm-experiments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_llm_experiments: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/llm-experiments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_llm_observability_hallucination_detection', () => {
test('blog_llm_observability_hallucination_detection: title matches GT', async ({ page }) => {
await page.goto('/blog/llm-observability-hallucination-detection/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('catch hallucinations across your rag llm');
});
test('blog_llm_observability_hallucination_detection: h1 "Detect hallucinations in your "', async ({ page }) => {
await page.goto('/blog/llm-observability-hallucination-detection/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Detect hallucinations in your RAG LLM applications with Obseron LLM Observability' || t.startsWith('Detect hallucinations in your RAG LLM applications with Obseron LLM Observability'))).toBeTruthy();
});
test('blog_llm_observability_hallucination_detection: h2 "Spot hallucinations in LLM res"', async ({ page }) => {
await page.goto('/blog/llm-observability-hallucination-detection/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Spot hallucinations in LLM responses automatically' || t.startsWith('Spot hallucinations in LLM responses automatically'))).toBeTruthy();
});
test('blog_llm_observability_hallucination_detection: h2 "Tune hallucination detection t"', async ({ page }) => {
await page.goto('/blog/llm-observability-hallucination-detection/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tune hallucination detection to your needs' || t.startsWith('Tune hallucination detection to your needs'))).toBeTruthy();
});
test('blog_llm_observability_hallucination_detection: h2 "Pinpoint where and why halluci"', async ({ page }) => {
await page.goto('/blog/llm-observability-hallucination-detection/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pinpoint where and why hallucinations happen' || t.startsWith('Pinpoint where and why hallucinations happen'))).toBeTruthy();
});
test('blog_llm_observability_hallucination_detection: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/llm-observability-hallucination-detection/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_llm_observability_hallucination_detection: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/llm-observability-hallucination-detection/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_llm_observability_hallucination_detection: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/llm-observability-hallucination-detection/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_request_latency_profiling', () => {
test('blog_request_latency_profiling: title matches GT', async ({ page }) => {
await page.goto('/blog/request-latency-profiling/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how profiling reveals request latency bo');
});
test('blog_request_latency_profiling: h1 "Profiling to Uncover Request L"', async ({ page }) => {
await page.goto('/blog/request-latency-profiling/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Profiling to Uncover Request Latency Issues' || t.startsWith('Profiling to Uncover Request Latency Issues'))).toBeTruthy();
});
test('blog_request_latency_profiling: h2 "From metrics to profiles"', async ({ page }) => {
await page.goto('/blog/request-latency-profiling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'From metrics to profiles' || t.startsWith('From metrics to profiles'))).toBeTruthy();
});
test('blog_request_latency_profiling: h2 "Async-profiler"', async ({ page }) => {
await page.goto('/blog/request-latency-profiling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Async-profiler' || t.startsWith('Async-profiler'))).toBeTruthy();
});
test('blog_request_latency_profiling: h2 "Wallclock profiling"', async ({ page }) => {
await page.goto('/blog/request-latency-profiling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Wallclock profiling' || t.startsWith('Wallclock profiling'))).toBeTruthy();
});
test('blog_request_latency_profiling: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/request-latency-profiling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_request_latency_profiling: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/request-latency-profiling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_request_latency_profiling: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/request-latency-profiling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_search_logs_obseron_log_management', () => {
test('blog_search_logs_obseron_log_management: title matches GT', async ({ page }) => {
await page.goto('/blog/search-logs-obseron-log-management/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('search your logs efficiently with obsero');
});
test('blog_search_logs_obseron_log_management: h2 "Speed up query building"', async ({ page }) => {
await page.goto('/blog/search-logs-obseron-log-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Speed up query building' || t.startsWith('Speed up query building'))).toBeTruthy();
});
test('blog_search_logs_obseron_log_management: h2 "Read and debug intricate queri"', async ({ page }) => {
await page.goto('/blog/search-logs-obseron-log-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Read and debug intricate queries with confidence' || t.startsWith('Read and debug intricate queries with confidence'))).toBeTruthy();
});
test('blog_search_logs_obseron_log_management: h2 "Query your logs with speed and"', async ({ page }) => {
await page.goto('/blog/search-logs-obseron-log-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Query your logs with speed and precision' || t.startsWith('Query your logs with speed and precision'))).toBeTruthy();
});
test('blog_search_logs_obseron_log_management: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/search-logs-obseron-log-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_search_logs_obseron_log_management: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/search-logs-obseron-log-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_search_logs_obseron_log_management: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/search-logs-obseron-log-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_single_step_instrumentation', () => {
test('blog_single_step_instrumentation: title matches GT', async ({ page }) => {
await page.goto('/blog/single-step-instrumentation/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('gain complete app visibility in minutes ');
});
test('blog_single_step_instrumentation: h1 "Get total app visibility in mi"', async ({ page }) => {
await page.goto('/blog/single-step-instrumentation/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get total app visibility in minutes with Single Step Instrumentation' || t.startsWith('Get total app visibility in minutes with Single Step Instrumentation'))).toBeTruthy();
});
test('blog_single_step_instrumentation: h2 "Start tracing every service in"', async ({ page }) => {
await page.goto('/blog/single-step-instrumentation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Start tracing every service in just minutes' || t.startsWith('Start tracing every service in just minutes'))).toBeTruthy();
});
test('blog_single_step_instrumentation: h2 "Begin with One-Command Instrum"', async ({ page }) => {
await page.goto('/blog/single-step-instrumentation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Begin with One-Command Instrumentation and APM right now' || t.startsWith('Begin with One-Command Instrumentation and APM right now'))).toBeTruthy();
});
test('blog_single_step_instrumentation: h2 "Related Reading"', async ({ page }) => {
await page.goto('/blog/single-step-instrumentation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Related Reading' || t.startsWith('Related Reading'))).toBeTruthy();
});
test('blog_single_step_instrumentation: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/single-step-instrumentation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_single_step_instrumentation: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/single-step-instrumentation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_single_step_instrumentation: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/single-step-instrumentation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_visualize_network_device_topology', () => {
test('blog_visualize_network_device_topology: title matches GT', async ({ page }) => {
await page.goto('/blog/visualize-network-device-topology/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('see how every device connects across you');
});
test('blog_visualize_network_device_topology: h1 "See how every device connects "', async ({ page }) => {
await page.goto('/blog/visualize-network-device-topology/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See how every device connects across your on-premises network using the Device Topology Map' || t.startsWith('See how every device connects across your on-premises network using the Device Topology Map'))).toBeTruthy();
});
test('blog_visualize_network_device_topology: h2 "See your entire on-premises ne"', async ({ page }) => {
await page.goto('/blog/visualize-network-device-topology/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See your entire on-premises network infrastructure and its layout at a glance' || t.startsWith('See your entire on-premises network infrastructure and its layout at a glance'))).toBeTruthy();
});
test('blog_visualize_network_device_topology: h2 "Lower mean time to resolution "', async ({ page }) => {
await page.goto('/blog/visualize-network-device-topology/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Lower mean time to resolution (MTTR) by isolating the devices at fault' || t.startsWith('Lower mean time to resolution (MTTR) by isolating the devices at fault'))).toBeTruthy();
});
test('blog_visualize_network_device_topology: h2 "Get started with the Device To"', async ({ page }) => {
await page.goto('/blog/visualize-network-device-topology/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get started with the Device Topology Map today' || t.startsWith('Get started with the Device Topology Map today'))).toBeTruthy();
});
test('blog_visualize_network_device_topology: nav link "View pricing"', async ({ page }) => {
await page.goto('/blog/visualize-network-device-topology/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_visualize_network_device_topology: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/blog/visualize-network-device-topology/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('blog_visualize_network_device_topology: nav link "Metrics"', async ({ page }) => {
await page.goto('/blog/visualize-network-device-topology/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - case_studies_asana', () => {
test('case_studies_asana: title matches GT', async ({ page }) => {
await page.goto('/case-studies/asana/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('volta');
});
test('case_studies_asana: h2 "Volta realizes optimization op"', async ({ page }) => {
await page.goto('/case-studies/asana/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Volta realizes optimization opportunities with Obseron Cloud Cost Management' || t.startsWith('Volta realizes optimization opportunities with Obseron Cloud Cost Management'))).toBeTruthy();
});
test('case_studies_asana: h2 "Trimmed the cloud bill"', async ({ page }) => {
await page.goto('/case-studies/asana/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trimmed the cloud bill' || t.startsWith('Trimmed the cloud bill'))).toBeTruthy();
});
test('case_studies_asana: h2 "Powers proactive cost planning"', async ({ page }) => {
await page.goto('/case-studies/asana/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powers proactive cost planning' || t.startsWith('Powers proactive cost planning'))).toBeTruthy();
});
test('case_studies_asana: h2 "Shifting toward a managed comp"', async ({ page }) => {
await page.goto('/case-studies/asana/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Shifting toward a managed compute platform' || t.startsWith('Shifting toward a managed compute platform'))).toBeTruthy();
});
test('case_studies_asana: nav link "Platform"', async ({ page }) => {
await page.goto('/case-studies/asana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform' || t.startsWith('Platform')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('case_studies_asana: nav link "See pricing"', async ({ page }) => {
await page.goto('/case-studies/asana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('case_studies_asana: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/case-studies/asana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('case_studies_asana: nav link "Metrics"', async ({ page }) => {
await page.goto('/case-studies/asana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - case_studies_mercado_libre', () => {
test('case_studies_mercado_libre: title matches GT', async ({ page }) => {
await page.goto('/case-studies/mercado-libre/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vendora group sustains 100% infrastructu');
});
test('case_studies_mercado_libre: h2 "Vendora Group sustains 100% in"', async ({ page }) => {
await page.goto('/case-studies/mercado-libre/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vendora Group sustains 100% infrastructure uptime through Black Friday peaks using Obseron observabi' || t.startsWith('Vendora Group sustains 100% infrastructure uptime through Black Friday peaks using Obseron observabi'))).toBeTruthy();
});
test('case_studies_mercado_libre: h2 "100% infrastructure uptime"', async ({ page }) => {
await page.goto('/case-studies/mercado-libre/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '100% infrastructure uptime' || t.startsWith('100% infrastructure uptime'))).toBeTruthy();
});
test('case_studies_mercado_libre: h2 "↑20-40% traffic"', async ({ page }) => {
await page.goto('/case-studies/mercado-libre/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '↑20-40% traffic' || t.startsWith('↑20-40% traffic'))).toBeTruthy();
});
test('case_studies_mercado_libre: h2 "Record Gross Merchandise Value"', async ({ page }) => {
await page.goto('/case-studies/mercado-libre/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Record Gross Merchandise Value (GMV) growth' || t.startsWith('Record Gross Merchandise Value (GMV) growth'))).toBeTruthy();
});
test('case_studies_mercado_libre: nav link "View pricing"', async ({ page }) => {
await page.goto('/case-studies/mercado-libre/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('case_studies_mercado_libre: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/case-studies/mercado-libre/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('case_studies_mercado_libre: nav link "Metrics"', async ({ page }) => {
await page.goto('/case-studies/mercado-libre/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - case_studies_olo', () => {
test('case_studies_olo: title matches GT', async ({ page }) => {
await page.goto('/case-studies/olo/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cartwell improves application throughput');
});
test('case_studies_olo: h2 "Zeo improves application throu"', async ({ page }) => {
await page.goto('/case-studies/olo/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Zeo improves application throughput and database query times with Obseron Live Code Profiler' || t.startsWith('Zeo improves application throughput and database query times with Obseron Live Code Profiler'))).toBeTruthy();
});
test('case_studies_olo: h2 "Rebuilding infrastructure to e"', async ({ page }) => {
await page.goto('/case-studies/olo/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rebuilding infrastructure to enable smoother scalability' || t.startsWith('Rebuilding infrastructure to enable smoother scalability'))).toBeTruthy();
});
test('case_studies_olo: h2 "Resources"', async ({ page }) => {
await page.goto('/case-studies/olo/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resources' || t.startsWith('Resources'))).toBeTruthy();
});
test('case_studies_olo: h4 "Surfacing inefficiencies and t"', async ({ page }) => {
await page.goto('/case-studies/olo/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Surfacing inefficiencies and their root causes in an instant' || t.startsWith('Surfacing inefficiencies and their root causes in an instant'))).toBeTruthy();
});
test('case_studies_olo: nav link "View pricing"', async ({ page }) => {
await page.goto('/case-studies/olo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('case_studies_olo: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/case-studies/olo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('case_studies_olo: nav link "Metrics"', async ({ page }) => {
await page.goto('/case-studies/olo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - certification_overview', () => {
test('certification_overview: title matches GT', async ({ page }) => {
await page.goto('/certification/overview/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('certification');
});
test('certification_overview: h1 "Obseron Certification"', async ({ page }) => {
await page.goto('/certification/overview/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron Certification' || t.startsWith('Obseron Certification'))).toBeTruthy();
});
test('certification_overview: h2 "Summary"', async ({ page }) => {
await page.goto('/certification/overview/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Summary' || t.startsWith('Summary'))).toBeTruthy();
});
test('certification_overview: h2 "Common FAQs"', async ({ page }) => {
await page.goto('/certification/overview/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Common FAQs' || t.startsWith('Common FAQs'))).toBeTruthy();
});
test('certification_overview: h6 "Book a guided walkthrough with"', async ({ page }) => {
await page.goto('/certification/overview/');
const texts = (await page.locator('h6').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a guided walkthrough with an Obseron solutions' || t.startsWith('Book a guided walkthrough with an Obseron solutions'))).toBeTruthy();
});
test('certification_overview: nav link "View pricing"', async ({ page }) => {
await page.goto('/certification/overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('certification_overview: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/certification/overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('certification_overview: nav link "Metrics"', async ({ page }) => {
await page.goto('/certification/overview/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ebook_ecommerce_metrics_dsc', () => {
test('ebook_ecommerce_metrics_dsc: title matches GT', async ({ page }) => {
await page.goto('/ebook/ecommerce-metrics-dsc/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how to prioritize the metrics that matte');
});
test('ebook_ecommerce_metrics_dsc: h1 "Choosing the Right Metrics as "', async ({ page }) => {
await page.goto('/ebook/ecommerce-metrics-dsc/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Choosing the Right Metrics as an E-commerce CTO' || t.startsWith('Choosing the Right Metrics as an E-commerce CTO'))).toBeTruthy();
});
test('ebook_ecommerce_metrics_dsc: h3 "Build a practical framework fo"', async ({ page }) => {
await page.goto('/ebook/ecommerce-metrics-dsc/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build a practical framework for thinking about the e-commerce metrics that matter, shared by a veter' || t.startsWith('Build a practical framework for thinking about the e-commerce metrics that matter, shared by a veter'))).toBeTruthy();
});
test('ebook_ecommerce_metrics_dsc: h6 "Book a tailored walkthrough le"', async ({ page }) => {
await page.goto('/ebook/ecommerce-metrics-dsc/');
const texts = (await page.locator('h6').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a tailored walkthrough led by an Obseron engineer' || t.startsWith('Book a tailored walkthrough led by an Obseron engineer'))).toBeTruthy();
});
test('ebook_ecommerce_metrics_dsc: footer link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/ebook/ecommerce-metrics-dsc/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('ebook_ecommerce_metrics_dsc: footer link "Network Monitoring"', async ({ page }) => {
await page.goto('/ebook/ecommerce-metrics-dsc/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Network Monitoring' || t.startsWith('Network Monitoring')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('network-monitoring')), 'href fragment present').toBeTruthy();
});
test('ebook_ecommerce_metrics_dsc: footer link "Container Monitoring"', async ({ page }) => {
await page.goto('/ebook/ecommerce-metrics-dsc/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Container Monitoring' || t.startsWith('Container Monitoring')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('container-monitoring')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - event_networkmonitoring_webinar_24', () => {
test('event_networkmonitoring_webinar_24: title matches GT', async ({ page }) => {
await page.goto('/event/networkmonitoring-webinar-24/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('correlate application and network signal');
});
test('event_networkmonitoring_webinar_24: h1 "Unify Application and Network "', async ({ page }) => {
await page.goto('/event/networkmonitoring-webinar-24/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unify Application and Network Insight Across the Hybrid Multi-Cloud World' || t.startsWith('Unify Application and Network Insight Across the Hybrid Multi-Cloud World'))).toBeTruthy();
});
test('event_networkmonitoring_webinar_24: h1 "Unite Application and Network "', async ({ page }) => {
await page.goto('/event/networkmonitoring-webinar-24/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unite Application and Network Insight Across the Hybrid Multi-Cloud World' || t.startsWith('Unite Application and Network Insight Across the Hybrid Multi-Cloud World'))).toBeTruthy();
});
test('event_networkmonitoring_webinar_24: h2 "Obseron\'s deep Network Monitor"', async ({ page }) => {
await page.goto('/event/networkmonitoring-webinar-24/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron\'s deep Network Monitoring delivers one unified view for total network and application clarit' || t.startsWith('Obseron\'s deep Network Monitoring delivers one unified view for total network and application clarit'))).toBeTruthy();
});
test('event_networkmonitoring_webinar_24: h2 "Obseron Network Monitoring Web"', async ({ page }) => {
await page.goto('/event/networkmonitoring-webinar-24/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron Network Monitoring Webinar' || t.startsWith('Obseron Network Monitoring Webinar'))).toBeTruthy();
});
test('event_networkmonitoring_webinar_24: nav link "White modal up arrow Looking f"', async ({ page }) => {
await page.goto('/event/networkmonitoring-webinar-24/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'White modal up arrow Looking for Obseron logos?Our full bran' || t.startsWith('White modal up arrow Looking for Obseron logos?Our full bran')), 'link text in nav').toBeTruthy();
});
});
test.describe('Functional - legal_cookies', () => {
test('legal_cookies: title matches GT', async ({ page }) => {
await page.goto('/legal/cookies/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cookie policy');
});
test('legal_cookies: h2 "Cookie Policy"', async ({ page }) => {
await page.goto('/legal/cookies/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cookie Policy' || t.startsWith('Cookie Policy'))).toBeTruthy();
});
test('legal_cookies: h2 "Cookies Explained"', async ({ page }) => {
await page.goto('/legal/cookies/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cookies Explained' || t.startsWith('Cookies Explained'))).toBeTruthy();
});
test('legal_cookies: h2 "How Obseron Uses Cookies"', async ({ page }) => {
await page.goto('/legal/cookies/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Obseron Uses Cookies' || t.startsWith('How Obseron Uses Cookies'))).toBeTruthy();
});
test('legal_cookies: h2 "Cookies Used by Third Parties"', async ({ page }) => {
await page.goto('/legal/cookies/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cookies Used by Third Parties' || t.startsWith('Cookies Used by Third Parties'))).toBeTruthy();
});
test('legal_cookies: nav link "See pricing"', async ({ page }) => {
await page.goto('/legal/cookies/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('legal_cookies: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/legal/cookies/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('legal_cookies: nav link "Metrics"', async ({ page }) => {
await page.goto('/legal/cookies/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - legal_privacy', () => {
test('legal_privacy: title matches GT', async ({ page }) => {
await page.goto('/legal/privacy/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('privacy policy');
});
test('legal_privacy: h2 "Privacy Policy"', async ({ page }) => {
await page.goto('/legal/privacy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Privacy Policy' || t.startsWith('Privacy Policy'))).toBeTruthy();
});
test('legal_privacy: h2 "Personal Information We Gather"', async ({ page }) => {
await page.goto('/legal/privacy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Personal Information We Gather' || t.startsWith('Personal Information We Gather'))).toBeTruthy();
});
test('legal_privacy: h2 "How We Use Your Personal Data"', async ({ page }) => {
await page.goto('/legal/privacy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How We Use Your Personal Data' || t.startsWith('How We Use Your Personal Data'))).toBeTruthy();
});
test('legal_privacy: h2 "How We Share Your Personal Dat"', async ({ page }) => {
await page.goto('/legal/privacy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How We Share Your Personal Data' || t.startsWith('How We Share Your Personal Data'))).toBeTruthy();
});
test('legal_privacy: nav link "See pricing"', async ({ page }) => {
await page.goto('/legal/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('legal_privacy: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/legal/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('legal_privacy: nav link "Metrics"', async ({ page }) => {
await page.goto('/legal/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - legal_terms', () => {
test('legal_terms: title matches GT', async ({ page }) => {
await page.goto('/legal/terms/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('website terms of use');
});
test('legal_terms: h2 "Website Terms of Use"', async ({ page }) => {
await page.goto('/legal/terms/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Website Terms of Use' || t.startsWith('Website Terms of Use'))).toBeTruthy();
});
test('legal_terms: h2 "Obseron Content"', async ({ page }) => {
await page.goto('/legal/terms/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron Content' || t.startsWith('Obseron Content'))).toBeTruthy();
});
test('legal_terms: h2 "Trademarks"', async ({ page }) => {
await page.goto('/legal/terms/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trademarks' || t.startsWith('Trademarks'))).toBeTruthy();
});
test('legal_terms: h2 "Third-Party Services"', async ({ page }) => {
await page.goto('/legal/terms/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Third-Party Services' || t.startsWith('Third-Party Services'))).toBeTruthy();
});
test('legal_terms: nav link "View pricing"', async ({ page }) => {
await page.goto('/legal/terms/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('legal_terms: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/legal/terms/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('legal_terms: nav link "Metrics"', async ({ page }) => {
await page.goto('/legal/terms/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partner_network', () => {
test('partner_network: title matches GT', async ({ page }) => {
await page.goto('/partner/network/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('obseron partner network program');
});
test('partner_network: h1 "Obseron Global Partner Program"', async ({ page }) => {
await page.goto('/partner/network/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron Global Partner Program' || t.startsWith('Obseron Global Partner Program'))).toBeTruthy();
});
test('partner_network: h2 "The Obseron Partner Network is"', async ({ page }) => {
await page.goto('/partner/network/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Obseron Partner Network is just getting off the ground' || t.startsWith('The Obseron Partner Network is just getting off the ground'))).toBeTruthy();
});
test('partner_network: h2 "Dedicated partner benefits and"', async ({ page }) => {
await page.goto('/partner/network/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Dedicated partner benefits and programs' || t.startsWith('Dedicated partner benefits and programs'))).toBeTruthy();
});
test('partner_network: h2 "OPN Partner Spotlight"', async ({ page }) => {
await page.goto('/partner/network/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OPN Partner Spotlight' || t.startsWith('OPN Partner Spotlight'))).toBeTruthy();
});
test('partner_network: header link "Start Today"', async ({ page }) => {
await page.goto('/partner/network/');
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 === 'Start Today' || t.startsWith('Start Today')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('partners.obseronhq.com')), 'href fragment present').toBeTruthy();
});
test('partner_network: footer link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/partner/network/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('partner_network: footer link "Network Monitoring"', async ({ page }) => {
await page.goto('/partner/network/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Network Monitoring' || t.startsWith('Network Monitoring')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('network-monitoring')), 'href fragment present').toBeTruthy();
});
test('partner_network: footer link "Container Monitoring"', async ({ page }) => {
await page.goto('/partner/network/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Container Monitoring' || t.startsWith('Container Monitoring')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('container-monitoring')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - pricing_allotments', () => {
test('pricing_allotments: title matches GT', async ({ page }) => {
await page.goto('/pricing/allotments/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('obseron product allotments');
});
test('pricing_allotments: h2 "Allotment Calculator"', async ({ page }) => {
await page.goto('/pricing/allotments/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Allotment Calculator' || t.startsWith('Allotment Calculator'))).toBeTruthy();
});
test('pricing_allotments: h3 "1. Browse every product"', async ({ page }) => {
await page.goto('/pricing/allotments/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '1. Browse every product' || t.startsWith('1. Browse every product'))).toBeTruthy();
});
test('pricing_allotments: h3 "2. Choose your amount"', async ({ page }) => {
await page.goto('/pricing/allotments/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '2. Choose your amount' || t.startsWith('2. Choose your amount'))).toBeTruthy();
});
test('pricing_allotments: h3 "Estimated Total"', async ({ page }) => {
await page.goto('/pricing/allotments/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Estimated Total' || t.startsWith('Estimated Total'))).toBeTruthy();
});
test('pricing_allotments: nav link "View pricing"', async ({ page }) => {
await page.goto('/pricing/allotments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('pricing_allotments: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/pricing/allotments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('pricing_allotments: nav link "Metrics"', async ({ page }) => {
await page.goto('/pricing/allotments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - pricing_list', () => {
test('pricing_list: title matches GT', async ({ page }) => {
await page.goto('/pricing/list/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('obseron pricing comparison');
});
test('pricing_list: h6 "Book a personalized walkthroug"', async ({ page }) => {
await page.goto('/pricing/list/');
const texts = (await page.locator('h6').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a personalized walkthrough with an Obseron engineer' || t.startsWith('Book a personalized walkthrough with an Obseron engineer'))).toBeTruthy();
});
test('pricing_list: nav link "View pricing"', async ({ page }) => {
await page.goto('/pricing/list/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('pricing_list: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/pricing/list/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('pricing_list: nav link "Metrics"', async ({ page }) => {
await page.goto('/pricing/list/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_apm', () => {
test('product_apm: title matches GT', async ({ page }) => {
await page.goto('/product/apm/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('application performance monitoring (apm)');
});
test('product_apm: h1 "Real-Time Application Performa"', async ({ page }) => {
await page.goto('/product/apm/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Real-Time Application Performance Monitoring (APM)' || t.startsWith('Real-Time Application Performance Monitoring (APM)'))).toBeTruthy();
});
test('product_apm: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/apm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_apm: h2 "Locate the origin of problems "', async ({ page }) => {
await page.goto('/product/apm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Locate the origin of problems using thread-level distributed tracing' || t.startsWith('Locate the origin of problems using thread-level distributed tracing'))).toBeTruthy();
});
test('product_apm: h2 "Boost service performance with"', async ({ page }) => {
await page.goto('/product/apm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Boost service performance with all telemetry kept in one context' || t.startsWith('Boost service performance with all telemetry kept in one context'))).toBeTruthy();
});
test('product_apm: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/apm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_apm: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/apm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_apm: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/apm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_app_and_api_protection', () => {
test('product_app_and_api_protection: title matches GT', async ({ page }) => {
await page.goto('/product/app-and-api-protection/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('app and api protection');
});
test('product_app_and_api_protection: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/app-and-api-protection/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_app_and_api_protection: h2 "Comprehensive API Security"', async ({ page }) => {
await page.goto('/product/app-and-api-protection/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Comprehensive API Security' || t.startsWith('Comprehensive API Security'))).toBeTruthy();
});
test('product_app_and_api_protection: h2 "Protect Against Runtime Threat"', async ({ page }) => {
await page.goto('/product/app-and-api-protection/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Protect Against Runtime Threats' || t.startsWith('Protect Against Runtime Threats'))).toBeTruthy();
});
test('product_app_and_api_protection: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/app-and-api-protection/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_app_and_api_protection: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/app-and-api-protection/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_app_and_api_protection: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/app-and-api-protection/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_app_builder', () => {
test('product_app_builder: title matches GT', async ({ page }) => {
await page.goto('/product/app-builder/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('app builder');
});
test('product_app_builder: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/app-builder/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_app_builder: h2 "Ship apps quickly with ready-m"', async ({ page }) => {
await page.goto('/product/app-builder/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ship apps quickly with ready-made UI components and actions' || t.startsWith('Ship apps quickly with ready-made UI components and actions'))).toBeTruthy();
});
test('product_app_builder: h2 "Build apps faster using Nova A"', async ({ page }) => {
await page.goto('/product/app-builder/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build apps faster using Nova AI' || t.startsWith('Build apps faster using Nova AI'))).toBeTruthy();
});
test('product_app_builder: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/app-builder/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_app_builder: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/app-builder/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_app_builder: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/app-builder/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_audit_trail', () => {
test('product_audit_trail: title matches GT', async ({ page }) => {
await page.goto('/product/audit-trail/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('audit trail');
});
test('product_audit_trail: h1 "Honored by industry reviewers "', async ({ page }) => {
await page.goto('/product/audit-trail/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Honored by industry reviewers for Log Analysis and Log Management' || t.startsWith('Honored by industry reviewers for Log Analysis and Log Management'))).toBeTruthy();
});
test('product_audit_trail: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/audit-trail/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_audit_trail: h2 "Compliance Readiness made easy"', async ({ page }) => {
await page.goto('/product/audit-trail/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Compliance Readiness made easy' || t.startsWith('Compliance Readiness made easy'))).toBeTruthy();
});
test('product_audit_trail: nav link "See pricing"', async ({ page }) => {
await page.goto('/product/audit-trail/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_audit_trail: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/audit-trail/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_audit_trail: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/audit-trail/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_case_management', () => {
test('product_case_management: title matches GT', async ({ page }) => {
await page.goto('/product/case-management/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('case management');
});
test('product_case_management: h1 "Case Operations"', async ({ page }) => {
await page.goto('/product/case-management/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Case Operations' || t.startsWith('Case Operations'))).toBeTruthy();
});
test('product_case_management: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/case-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_case_management: h2 "Fast, organized ticket triage "', async ({ page }) => {
await page.goto('/product/case-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fast, organized ticket triage and tracking' || t.startsWith('Fast, organized ticket triage and tracking'))).toBeTruthy();
});
test('product_case_management: h2 "Speed up how work moves betwee"', async ({ page }) => {
await page.goto('/product/case-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Speed up how work moves between your teams' || t.startsWith('Speed up how work moves between your teams'))).toBeTruthy();
});
test('product_case_management: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/case-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_case_management: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/case-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_case_management: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/case-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_ci_cd_monitoring', () => {
test('product_ci_cd_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/ci-cd-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('ci/cd pipeline insights');
});
test('product_ci_cd_monitoring: h1 "CI Pipeline Insight"', async ({ page }) => {
await page.goto('/product/ci-cd-monitoring/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CI Pipeline Insight' || t.startsWith('CI Pipeline Insight'))).toBeTruthy();
});
test('product_ci_cd_monitoring: h1 "Get up and running in minutes "', async ({ page }) => {
await page.goto('/product/ci-cd-monitoring/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get up and running in minutes by connecting:' || t.startsWith('Get up and running in minutes by connecting:'))).toBeTruthy();
});
test('product_ci_cd_monitoring: h2 "Platform Overview"', async ({ page }) => {
await page.goto('/product/ci-cd-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform Overview' || t.startsWith('Platform Overview'))).toBeTruthy();
});
test('product_ci_cd_monitoring: h2 "Strengthen the speed and relia"', async ({ page }) => {
await page.goto('/product/ci-cd-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Strengthen the speed and reliability of your CI pipelines' || t.startsWith('Strengthen the speed and reliability of your CI pipelines'))).toBeTruthy();
});
test('product_ci_cd_monitoring: nav link "See pricing"', async ({ page }) => {
await page.goto('/product/ci-cd-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_ci_cd_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/ci-cd-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_ci_cd_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/ci-cd-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_cloud_cost_management', () => {
test('product_cloud_cost_management: title matches GT', async ({ page }) => {
await page.goto('/product/cloud-cost-management/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cloud cost management');
});
test('product_cloud_cost_management: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/cloud-cost-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_cloud_cost_management: h2 "Give engineers cost visibility"', async ({ page }) => {
await page.goto('/product/cloud-cost-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Give engineers cost visibility right inside their daily workflows' || t.startsWith('Give engineers cost visibility right inside their daily workflows'))).toBeTruthy();
});
test('product_cloud_cost_management: h2 "Speed up optimization with aut"', async ({ page }) => {
await page.goto('/product/cloud-cost-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Speed up optimization with automated cost recommendations' || t.startsWith('Speed up optimization with automated cost recommendations'))).toBeTruthy();
});
test('product_cloud_cost_management: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/cloud-cost-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_cloud_cost_management: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/cloud-cost-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_cloud_cost_management: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/cloud-cost-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_cloud_security', () => {
test('product_cloud_security: title matches GT', async ({ page }) => {
await page.goto('/product/cloud-security/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cloud security');
});
test('product_cloud_security: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/cloud-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_cloud_security: h2 "Protect your entire cloud in m"', async ({ page }) => {
await page.goto('/product/cloud-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Protect your entire cloud in minutes with safe, agentless scanning' || t.startsWith('Protect your entire cloud in minutes with safe, agentless scanning'))).toBeTruthy();
});
test('product_cloud_security: h2 "Remediate the highest-priority"', async ({ page }) => {
await page.goto('/product/cloud-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Remediate the highest-priority vulnerabilities throughout your cloud' || t.startsWith('Remediate the highest-priority vulnerabilities throughout your cloud'))).toBeTruthy();
});
test('product_cloud_security: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/cloud-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_cloud_security: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/cloud-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_cloud_security: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/cloud-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_cloud_siem', () => {
test('product_cloud_siem: title matches GT', async ({ page }) => {
await page.goto('/product/cloud-siem/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cloud siem');
});
test('product_cloud_siem: h2 "Platform Overview"', async ({ page }) => {
await page.goto('/product/cloud-siem/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform Overview' || t.startsWith('Platform Overview'))).toBeTruthy();
});
test('product_cloud_siem: h2 "Streamline threat investigatio"', async ({ page }) => {
await page.goto('/product/cloud-siem/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streamline threat investigations with agentic AI' || t.startsWith('Streamline threat investigations with agentic AI'))).toBeTruthy();
});
test('product_cloud_siem: h2 "Rank and visualize the securit"', async ({ page }) => {
await page.goto('/product/cloud-siem/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rank and visualize the security insights hidden in your logs' || t.startsWith('Rank and visualize the security insights hidden in your logs'))).toBeTruthy();
});
test('product_cloud_siem: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/cloud-siem/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_cloud_siem: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/cloud-siem/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_cloud_siem: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/cloud-siem/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_cloudcraft', () => {
test('product_cloudcraft: title matches GT', async ({ page }) => {
await page.goto('/product/cloudcraft/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('stackscape');
});
test('product_cloudcraft: h1 "Blueprint"', async ({ page }) => {
await page.goto('/product/cloudcraft/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Blueprint' || t.startsWith('Blueprint'))).toBeTruthy();
});
test('product_cloudcraft: h2 "Product Overview"', async ({ page }) => {
await page.goto('/product/cloudcraft/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product Overview' || t.startsWith('Product Overview'))).toBeTruthy();
});
test('product_cloudcraft: h2 "Gain clarity through automated"', async ({ page }) => {
await page.goto('/product/cloudcraft/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Gain clarity through automated diagrams' || t.startsWith('Gain clarity through automated diagrams'))).toBeTruthy();
});
test('product_cloudcraft: h2 "Govern your infrastructure res"', async ({ page }) => {
await page.goto('/product/cloudcraft/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Govern your infrastructure resources proactively' || t.startsWith('Govern your infrastructure resources proactively'))).toBeTruthy();
});
test('product_cloudcraft: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/cloudcraft/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_cloudcraft: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/cloudcraft/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_cloudcraft: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/cloudcraft/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_cloudprem', () => {
test('product_cloudprem: title matches GT', async ({ page }) => {
await page.goto('/product/cloudprem/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('selfstore');
});
test('product_cloudprem: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/cloudprem/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_cloudprem: h2 "Get full-context visibility wi"', async ({ page }) => {
await page.goto('/product/cloudprem/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get full-context visibility without switching tools' || t.startsWith('Get full-context visibility without switching tools'))).toBeTruthy();
});
test('product_cloudprem: h2 "Keep and analyze petabytes of "', async ({ page }) => {
await page.goto('/product/cloudprem/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Keep and analyze petabytes of logs cost-effectively inside your environment' || t.startsWith('Keep and analyze petabytes of logs cost-effectively inside your environment'))).toBeTruthy();
});
test('product_cloudprem: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/cloudprem/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_cloudprem: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/cloudprem/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_cloudprem: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/cloudprem/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_code_coverage', () => {
test('product_code_coverage: title matches GT', async ({ page }) => {
await page.goto('/product/code-coverage/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('code coverage');
});
test('product_code_coverage: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/code-coverage/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_code_coverage: h2 "See test coverage clearly acro"', async ({ page }) => {
await page.goto('/product/code-coverage/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See test coverage clearly across each and every repository in your org' || t.startsWith('See test coverage clearly across each and every repository in your org'))).toBeTruthy();
});
test('product_code_coverage: h2 "Hold every team to the same te"', async ({ page }) => {
await page.goto('/product/code-coverage/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hold every team to the same testing bar using automatic PR quality gates' || t.startsWith('Hold every team to the same testing bar using automatic PR quality gates'))).toBeTruthy();
});
test('product_code_coverage: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/code-coverage/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_code_coverage: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/code-coverage/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_code_coverage: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/code-coverage/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_code_profiling', () => {
test('product_code_profiling: title matches GT', async ({ page }) => {
await page.goto('/product/code-profiling/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('continuous profiler');
});
test('product_code_profiling: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/code-profiling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_code_profiling: h2 "Clear production performance b"', async ({ page }) => {
await page.goto('/product/code-profiling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Clear production performance bottlenecks fast with continuous, code-level insight into every service' || t.startsWith('Clear production performance bottlenecks fast with continuous, code-level insight into every service'))).toBeTruthy();
});
test('product_code_profiling: h2 "Empower every engineer to expo"', async ({ page }) => {
await page.goto('/product/code-profiling/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Empower every engineer to expose hidden problems in how code behaves, holds up, and performs over' || t.startsWith('Empower every engineer to expose hidden problems in how code behaves, holds up, and performs over'))).toBeTruthy();
});
test('product_code_profiling: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/code-profiling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_code_profiling: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/code-profiling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_code_profiling: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/code-profiling/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_code_security', () => {
test('product_code_security: title matches GT', async ({ page }) => {
await page.goto('/product/code-security/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('code security platform');
});
test('product_code_security: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/code-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_code_security: h2 "Catch and repair code vulnerab"', async ({ page }) => {
await page.goto('/product/code-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Catch and repair code vulnerabilities the moment they appear with Static Code Analysis' || t.startsWith('Catch and repair code vulnerabilities the moment they appear with Static Code Analysis'))).toBeTruthy();
});
test('product_code_security: h2 "Protect your software supply c"', async ({ page }) => {
await page.goto('/product/code-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Protect your software supply chain and open source dependencies from development all the way to prod' || t.startsWith('Protect your software supply chain and open source dependencies from development all the way to prod'))).toBeTruthy();
});
test('product_code_security: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/code-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_code_security: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/code-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_code_security: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/code-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_container_monitoring', () => {
test('product_container_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/container-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('container monitoring');
});
test('product_container_monitoring: h2 "Platform Overview"', async ({ page }) => {
await page.goto('/product/container-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform Overview' || t.startsWith('Platform Overview'))).toBeTruthy();
});
test('product_container_monitoring: h2 "See past cluster complexity to"', async ({ page }) => {
await page.goto('/product/container-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See past cluster complexity to stay secure, compliant, and cost-efficient.' || t.startsWith('See past cluster complexity to stay secure, compliant, and cost-efficient.'))).toBeTruthy();
});
test('product_container_monitoring: h2 "Detect and fix issues with Obs"', async ({ page }) => {
await page.goto('/product/container-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Detect and fix issues with Obseron AI Kubernetes Remediation' || t.startsWith('Detect and fix issues with Obseron AI Kubernetes Remediation'))).toBeTruthy();
});
test('product_container_monitoring: nav link "See pricing"', async ({ page }) => {
await page.goto('/product/container-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_container_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/container-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_container_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/container-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_continuous_testing', () => {
test('product_continuous_testing: title matches GT', async ({ page }) => {
await page.goto('/product/continuous-testing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('continuous testing for devops');
});
test('product_continuous_testing: h2 "What You Get"', async ({ page }) => {
await page.goto('/product/continuous-testing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What You Get' || t.startsWith('What You Get'))).toBeTruthy();
});
test('product_continuous_testing: h2 "Test quickly and simply"', async ({ page }) => {
await page.goto('/product/continuous-testing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Test quickly and simply' || t.startsWith('Test quickly and simply'))).toBeTruthy();
});
test('product_continuous_testing: h2 "Make your tests dependable"', async ({ page }) => {
await page.goto('/product/continuous-testing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Make your tests dependable' || t.startsWith('Make your tests dependable'))).toBeTruthy();
});
test('product_continuous_testing: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/continuous-testing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_continuous_testing: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/continuous-testing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_continuous_testing: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/continuous-testing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_coscreen', () => {
test('product_coscreen: title matches GT', async ({ page }) => {
await page.goto('/product/coscreen/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('copane');
});
test('product_coscreen: h2 "Platform Overview"', async ({ page }) => {
await page.goto('/product/coscreen/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform Overview' || t.startsWith('Platform Overview'))).toBeTruthy();
});
test('product_coscreen: h2 "Remove friction from collabora"', async ({ page }) => {
await page.goto('/product/coscreen/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Remove friction from collaborative software development' || t.startsWith('Remove friction from collaborative software development'))).toBeTruthy();
});
test('product_coscreen: h2 "Effortless multi-user screen s"', async ({ page }) => {
await page.goto('/product/coscreen/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Effortless multi-user screen sharing' || t.startsWith('Effortless multi-user screen sharing'))).toBeTruthy();
});
test('product_coscreen: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/coscreen/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_coscreen: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/coscreen/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_coscreen: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/coscreen/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_data_streams_monitoring', () => {
test('product_data_streams_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/data-streams-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('data streams monitoring');
});
test('product_data_streams_monitoring: h2 "What It Does"', async ({ page }) => {
await page.goto('/product/data-streams-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What It Does' || t.startsWith('What It Does'))).toBeTruthy();
});
test('product_data_streams_monitoring: h2 "Spot slowdowns wherever they h"', async ({ page }) => {
await page.goto('/product/data-streams-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Spot slowdowns wherever they hide in your event-driven applications' || t.startsWith('Spot slowdowns wherever they hide in your event-driven applications'))).toBeTruthy();
});
test('product_data_streams_monitoring: h2 "Pinpoint and clear the bottlen"', async ({ page }) => {
await page.goto('/product/data-streams-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pinpoint and clear the bottlenecks and failures inside your data streams' || t.startsWith('Pinpoint and clear the bottlenecks and failures inside your data streams'))).toBeTruthy();
});
test('product_data_streams_monitoring: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/data-streams-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_data_streams_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/data-streams-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_data_streams_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/data-streams-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_database_monitoring', () => {
test('product_database_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/database-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('database monitoring');
});
test('product_database_monitoring: h1 "Technologies and Platforms Sup"', async ({ page }) => {
await page.goto('/product/database-monitoring/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Technologies and Platforms Supported' || t.startsWith('Technologies and Platforms Supported'))).toBeTruthy();
});
test('product_database_monitoring: h2 "Capabilities at a Glance"', async ({ page }) => {
await page.goto('/product/database-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capabilities at a Glance' || t.startsWith('Capabilities at a Glance'))).toBeTruthy();
});
test('product_database_monitoring: h2 "Troubleshoot database host and"', async ({ page }) => {
await page.goto('/product/database-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Troubleshoot database host and query inefficiencies' || t.startsWith('Troubleshoot database host and query inefficiencies'))).toBeTruthy();
});
test('product_database_monitoring: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/database-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_database_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/database-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_database_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/database-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_dynamic_instrumentation', () => {
test('product_dynamic_instrumentation: title matches GT', async ({ page }) => {
await page.goto('/product/dynamic-instrumentation/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('dynamic instrumentation');
});
test('product_dynamic_instrumentation: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/dynamic-instrumentation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_dynamic_instrumentation: h2 "Debug application issues by ad"', async ({ page }) => {
await page.goto('/product/dynamic-instrumentation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Debug application issues by adding log lines without redeployment' || t.startsWith('Debug application issues by adding log lines without redeployment'))).toBeTruthy();
});
test('product_dynamic_instrumentation: h2 "Modify and enrich distributed "', async ({ page }) => {
await page.goto('/product/dynamic-instrumentation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Modify and enrich distributed traces for deeper analysis without changing code' || t.startsWith('Modify and enrich distributed traces for deeper analysis without changing code'))).toBeTruthy();
});
test('product_dynamic_instrumentation: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/dynamic-instrumentation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_dynamic_instrumentation: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/dynamic-instrumentation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_dynamic_instrumentation: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/dynamic-instrumentation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_error_tracking', () => {
test('product_error_tracking: title matches GT', async ({ page }) => {
await page.goto('/product/error-tracking/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('error tracking');
});
test('product_error_tracking: h2 "Fix faster, build more"', async ({ page }) => {
await page.goto('/product/error-tracking/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fix faster, build more' || t.startsWith('Fix faster, build more'))).toBeTruthy();
});
test('product_error_tracking: h2 "Be up and running fast"', async ({ page }) => {
await page.goto('/product/error-tracking/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Be up and running fast' || t.startsWith('Be up and running fast'))).toBeTruthy();
});
test('product_error_tracking: h2 "Error Tracking works with 10+ "', async ({ page }) => {
await page.goto('/product/error-tracking/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Error Tracking works with 10+ languages and frameworks' || t.startsWith('Error Tracking works with 10+ languages and frameworks'))).toBeTruthy();
});
test('product_error_tracking: nav link "Obseron"', async ({ page }) => {
await page.goto('/product/error-tracking/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron' || t.startsWith('Obseron')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('error-tracking')), 'href fragment present').toBeTruthy();
});
test('product_error_tracking: footer link "TERMS"', async ({ page }) => {
await page.goto('/product/error-tracking/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'TERMS' || t.startsWith('TERMS')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('terms')), 'href fragment present').toBeTruthy();
});
test('product_error_tracking: footer link "PRIVACY"', async ({ page }) => {
await page.goto('/product/error-tracking/');
const links = page.locator('footer a, [role="contentinfo"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PRIVACY' || t.startsWith('PRIVACY')), 'link text in footer').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('privacy')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_event_management', () => {
test('product_event_management: title matches GT', async ({ page }) => {
await page.goto('/product/event-management/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('aiops & event management platform');
});
test('product_event_management: h1 "Event Correlation"', async ({ page }) => {
await page.goto('/product/event-management/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Event Correlation' || t.startsWith('Event Correlation'))).toBeTruthy();
});
test('product_event_management: h2 "Platform Overview"', async ({ page }) => {
await page.goto('/product/event-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Platform Overview' || t.startsWith('Platform Overview'))).toBeTruthy();
});
test('product_event_management: h2 "Bring alerts and change events"', async ({ page }) => {
await page.goto('/product/event-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring alerts and change events from any source together into one unified case view' || t.startsWith('Bring alerts and change events from any source together into one unified case view'))).toBeTruthy();
});
test('product_event_management: h2 "Enrich alerts with deep servic"', async ({ page }) => {
await page.goto('/product/event-management/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Enrich alerts with deep service knowledge and clear ownership' || t.startsWith('Enrich alerts with deep service knowledge and clear ownership'))).toBeTruthy();
});
test('product_event_management: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/event-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_event_management: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/event-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_event_management: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/event-management/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_experiments', () => {
test('product_experiments: title matches GT', async ({ page }) => {
await page.goto('/product/experiments/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('obseron experiments');
});
test('product_experiments: h1 "Experiments"', async ({ page }) => {
await page.goto('/product/experiments/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Experiments' || t.startsWith('Experiments'))).toBeTruthy();
});
test('product_experiments: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/experiments/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_experiments: h2 "Accelerate learning with self-"', async ({ page }) => {
await page.goto('/product/experiments/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Accelerate learning with self-serve experiment analysis' || t.startsWith('Accelerate learning with self-serve experiment analysis'))).toBeTruthy();
});
test('product_experiments: h2 "Prevent experiment restarts wi"', async ({ page }) => {
await page.goto('/product/experiments/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Prevent experiment restarts with built-in guardrails' || t.startsWith('Prevent experiment restarts with built-in guardrails'))).toBeTruthy();
});
test('product_experiments: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/experiments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_experiments: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/experiments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_experiments: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/experiments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_feature_flags', () => {
test('product_feature_flags: title matches GT', async ({ page }) => {
await page.goto('/product/feature-flags/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('feature flags');
});
test('product_feature_flags: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/feature-flags/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_feature_flags: h2 "Accelerate troubleshooting by "', async ({ page }) => {
await page.goto('/product/feature-flags/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Accelerate troubleshooting by correlating flags with observability data' || t.startsWith('Accelerate troubleshooting by correlating flags with observability data'))).toBeTruthy();
});
test('product_feature_flags: h2 "Automate data-driven rollouts "', async ({ page }) => {
await page.goto('/product/feature-flags/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automate data-driven rollouts and rollbacks' || t.startsWith('Automate data-driven rollouts and rollbacks'))).toBeTruthy();
});
test('product_feature_flags: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/feature-flags/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_feature_flags: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/feature-flags/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_feature_flags: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/feature-flags/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_fleet_automation', () => {
test('product_fleet_automation: title matches GT', async ({ page }) => {
await page.goto('/product/fleet-automation/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('fleet automation');
});
test('product_fleet_automation: h2 "Product Overview"', async ({ page }) => {
await page.goto('/product/fleet-automation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product Overview' || t.startsWith('Product Overview'))).toBeTruthy();
});
test('product_fleet_automation: h2 "Keep Agent health in full view"', async ({ page }) => {
await page.goto('/product/fleet-automation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Keep Agent health in full view' || t.startsWith('Keep Agent health in full view'))).toBeTruthy();
});
test('product_fleet_automation: h2 "Scale Agent upgrades"', async ({ page }) => {
await page.goto('/product/fleet-automation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scale Agent upgrades' || t.startsWith('Scale Agent upgrades'))).toBeTruthy();
});
test('product_fleet_automation: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/fleet-automation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_fleet_automation: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/fleet-automation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_fleet_automation: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/fleet-automation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_governance_console', () => {
test('product_governance_console: title matches GT', async ({ page }) => {
await page.goto('/product/governance-console/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('governance console');
});
test('product_governance_console: h1 "Governance Center"', async ({ page }) => {
await page.goto('/product/governance-console/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Governance Center' || t.startsWith('Governance Center'))).toBeTruthy();
});
test('product_governance_console: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/governance-console/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_governance_console: h2 "A single view for governance"', async ({ page }) => {
await page.goto('/product/governance-console/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A single view for governance' || t.startsWith('A single view for governance'))).toBeTruthy();
});
test('product_governance_console: h2 "Roll out best practices"', async ({ page }) => {
await page.goto('/product/governance-console/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Roll out best practices' || t.startsWith('Roll out best practices'))).toBeTruthy();
});
test('product_governance_console: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/governance-console/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_governance_console: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/governance-console/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_governance_console: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/governance-console/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_iac_security', () => {
test('product_iac_security: title matches GT', async ({ page }) => {
await page.goto('/product/iac-security/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('iac security');
});
test('product_iac_security: h1 "IaC Security"', async ({ page }) => {
await page.goto('/product/iac-security/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'IaC Security' || t.startsWith('IaC Security'))).toBeTruthy();
});
test('product_iac_security: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/iac-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_iac_security: h2 "Spot risky cloud configuration"', async ({ page }) => {
await page.goto('/product/iac-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Spot risky cloud configuration changes long before they ship' || t.startsWith('Spot risky cloud configuration changes long before they ship'))).toBeTruthy();
});
test('product_iac_security: h2 "Give developers everything the"', async ({ page }) => {
await page.goto('/product/iac-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Give developers everything they need to ship secure infrastructure while keeping delivery fast' || t.startsWith('Give developers everything they need to ship secure infrastructure while keeping delivery fast'))).toBeTruthy();
});
test('product_iac_security: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/iac-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_iac_security: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/iac-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_iac_security: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/iac-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_iast', () => {
test('product_iast: title matches GT', async ({ page }) => {
await page.goto('/product/iast/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('runtime code analysis (iast)');
});
test('product_iast: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/iast/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_iast: h2 "Detect vulnerabilities in your"', async ({ page }) => {
await page.goto('/product/iast/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Detect vulnerabilities in your production code' || t.startsWith('Detect vulnerabilities in your production code'))).toBeTruthy();
});
test('product_iast: h2 "Prioritize critical vulnerabil"', async ({ page }) => {
await page.goto('/product/iast/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Prioritize critical vulnerabilities with observability context' || t.startsWith('Prioritize critical vulnerabilities with observability context'))).toBeTruthy();
});
test('product_iast: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/iast/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_iast: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/iast/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_iast: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/iast/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_incident_response', () => {
test('product_incident_response: title matches GT', async ({ page }) => {
await page.goto('/product/incident-response/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('obseron incident response');
});
test('product_incident_response: h1 "Incident Response"', async ({ page }) => {
await page.goto('/product/incident-response/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Incident Response' || t.startsWith('Incident Response'))).toBeTruthy();
});
test('product_incident_response: h2 "What You Get"', async ({ page }) => {
await page.goto('/product/incident-response/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What You Get' || t.startsWith('What You Get'))).toBeTruthy();
});
test('product_incident_response: h2 "A single platform from first a"', async ({ page }) => {
await page.goto('/product/incident-response/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A single platform from first alert to full resolution' || t.startsWith('A single platform from first alert to full resolution'))).toBeTruthy();
});
test('product_incident_response: h2 "Calmer, more manageable on-cal"', async ({ page }) => {
await page.goto('/product/incident-response/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Calmer, more manageable on-call' || t.startsWith('Calmer, more manageable on-call'))).toBeTruthy();
});
test('product_incident_response: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/incident-response/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_incident_response: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/incident-response/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_incident_response: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/incident-response/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_ai_agent_directory', () => {
test('product_ai_agent_directory: title matches GT', async ({ page }) => {
await page.goto('/product/ai/agent-directory/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('ai agent directory');
});
test('product_ai_agent_directory: h1 "Hook up your AI agents"', async ({ page }) => {
await page.goto('/product/ai/agent-directory/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hook up your AI agents' || t.startsWith('Hook up your AI agents'))).toBeTruthy();
});
test('product_ai_agent_directory: h2 "Next Steps"', async ({ page }) => {
await page.goto('/product/ai/agent-directory/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Next Steps' || t.startsWith('Next Steps'))).toBeTruthy();
});
test('product_ai_agent_directory: h3 "Quill"', async ({ page }) => {
await page.goto('/product/ai/agent-directory/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quill' || t.startsWith('Quill'))).toBeTruthy();
});
test('product_ai_agent_directory: h3 "Cael Code"', async ({ page }) => {
await page.goto('/product/ai/agent-directory/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cael Code' || t.startsWith('Cael Code'))).toBeTruthy();
});
test('product_ai_agent_directory: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/ai/agent-directory/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_ai_agent_directory: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/ai/agent-directory/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_ai_agent_directory: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/ai/agent-directory/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_ai_bits_ai_security_analyst', () => {
test('product_ai_bits_ai_security_analyst: title matches GT', async ({ page }) => {
await page.goto('/product/ai/bits-ai-security-analyst/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('sentinel ai security analyst');
});
test('product_ai_bits_ai_security_analyst: h1 "Nova AI Security Analyst"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-security-analyst/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nova AI Security Analyst' || t.startsWith('Nova AI Security Analyst'))).toBeTruthy();
});
test('product_ai_bits_ai_security_analyst: h2 "Product Overview"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-security-analyst/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product Overview' || t.startsWith('Product Overview'))).toBeTruthy();
});
test('product_ai_bits_ai_security_analyst: h2 "Find and neutralize security t"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-security-analyst/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Find and neutralize security threats faster with self-driving investigations' || t.startsWith('Find and neutralize security threats faster with self-driving investigations'))).toBeTruthy();
});
test('product_ai_bits_ai_security_analyst: h2 "Rapidly review agent reasoning"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-security-analyst/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rapidly review agent reasoning using proven human expert techniques, but at machine scale' || t.startsWith('Rapidly review agent reasoning using proven human expert techniques, but at machine scale'))).toBeTruthy();
});
test('product_ai_bits_ai_security_analyst: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-security-analyst/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_ai_bits_ai_security_analyst: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-security-analyst/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_ai_bits_ai_security_analyst: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-security-analyst/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_ai_bits_ai_sre', () => {
test('product_ai_bits_ai_sre: title matches GT', async ({ page }) => {
await page.goto('/product/ai/bits-ai-sre/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('nova ai sre');
});
test('product_ai_bits_ai_sre: h2 "What It Delivers"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-sre/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What It Delivers' || t.startsWith('What It Delivers'))).toBeTruthy();
});
test('product_ai_bits_ai_sre: h2 "Shorten incident resolution wi"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-sre/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Shorten incident resolution with self-directed triage' || t.startsWith('Shorten incident resolution with self-directed triage'))).toBeTruthy();
});
test('product_ai_bits_ai_sre: h2 "Think like your sharpest on-ca"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-sre/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Think like your sharpest on-call engineer, at machine scale' || t.startsWith('Think like your sharpest on-call engineer, at machine scale'))).toBeTruthy();
});
test('product_ai_bits_ai_sre: nav link "See our pricing"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-sre/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See our pricing' || t.startsWith('See our pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_ai_bits_ai_sre: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-sre/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_ai_bits_ai_sre: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/ai/bits-ai-sre/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_ai_llm_observability', () => {
test('product_ai_llm_observability: title matches GT', async ({ page }) => {
await page.goto('/product/ai/llm-observability/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('llm observability');
});
test('product_ai_llm_observability: h1 "Setup in seconds with our SDK:"', async ({ page }) => {
await page.goto('/product/ai/llm-observability/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Setup in seconds with our SDK:' || t.startsWith('Setup in seconds with our SDK:'))).toBeTruthy();
});
test('product_ai_llm_observability: h2 "Capability Overview"', async ({ page }) => {
await page.goto('/product/ai/llm-observability/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capability Overview' || t.startsWith('Capability Overview'))).toBeTruthy();
});
test('product_ai_llm_observability: h2 "Sharpen AI agent behavior and "', async ({ page }) => {
await page.goto('/product/ai/llm-observability/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sharpen AI agent behavior and day-to-day performance' || t.startsWith('Sharpen AI agent behavior and day-to-day performance'))).toBeTruthy();
});
test('product_ai_llm_observability: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/ai/llm-observability/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_ai_llm_observability: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/ai/llm-observability/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_ai_llm_observability: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/ai/llm-observability/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_ai_mcp_server', () => {
test('product_ai_mcp_server: title matches GT', async ({ page }) => {
await page.goto('/product/ai/mcp-server/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('mcp server');
});
test('product_ai_mcp_server: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/ai/mcp-server/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_ai_mcp_server: h2 "Debug within AI coding agents "', async ({ page }) => {
await page.goto('/product/ai/mcp-server/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Debug within AI coding agents using live production data' || t.startsWith('Debug within AI coding agents using live production data'))).toBeTruthy();
});
test('product_ai_mcp_server: h2 "Wire custom AI agents directly"', async ({ page }) => {
await page.goto('/product/ai/mcp-server/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Wire custom AI agents directly into your real-time observability data' || t.startsWith('Wire custom AI agents directly into your real-time observability data'))).toBeTruthy();
});
test('product_ai_mcp_server: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/ai/mcp-server/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_ai_mcp_server: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/ai/mcp-server/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_ai_mcp_server: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/ai/mcp-server/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_data_observability_jobs_monitoring', () => {
test('product_data_observability_jobs_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/data-observability/jobs-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('jobs monitoring');
});
test('product_data_observability_jobs_monitoring: h1 "Jobs Monitoring"', async ({ page }) => {
await page.goto('/product/data-observability/jobs-monitoring/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Jobs Monitoring' || t.startsWith('Jobs Monitoring'))).toBeTruthy();
});
test('product_data_observability_jobs_monitoring: h1 "Supported Technologies and Pla"', async ({ page }) => {
await page.goto('/product/data-observability/jobs-monitoring/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Supported Technologies and Platforms' || t.startsWith('Supported Technologies and Platforms'))).toBeTruthy();
});
test('product_data_observability_jobs_monitoring: h2 "Feature Highlights"', async ({ page }) => {
await page.goto('/product/data-observability/jobs-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Highlights' || t.startsWith('Feature Highlights'))).toBeTruthy();
});
test('product_data_observability_jobs_monitoring: h2 "Catch job failures and latency"', async ({ page }) => {
await page.goto('/product/data-observability/jobs-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Catch job failures and latency spikes at any point across your data pipelines' || t.startsWith('Catch job failures and latency spikes at any point across your data pipelines'))).toBeTruthy();
});
test('product_data_observability_jobs_monitoring: nav link "View pricing"', async ({ page }) => {
await page.goto('/product/data-observability/jobs-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View pricing' || t.startsWith('View pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_data_observability_jobs_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/data-observability/jobs-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_data_observability_jobs_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/data-observability/jobs-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_data_observability_quality_monitoring', () => {
test('product_data_observability_quality_monitoring: title matches GT', async ({ page }) => {
await page.goto('/product/data-observability/quality-monitoring/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('data quality monitoring');
});
test('product_data_observability_quality_monitoring: h1 "Quality Monitoring"', async ({ page }) => {
await page.goto('/product/data-observability/quality-monitoring/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quality Monitoring' || t.startsWith('Quality Monitoring'))).toBeTruthy();
});
test('product_data_observability_quality_monitoring: h2 "Feature Overview"', async ({ page }) => {
await page.goto('/product/data-observability/quality-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Feature Overview' || t.startsWith('Feature Overview'))).toBeTruthy();
});
test('product_data_observability_quality_monitoring: h2 "Keep a constant watch on data "', async ({ page }) => {
await page.goto('/product/data-observability/quality-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Keep a constant watch on data quality inside the lakes and warehouses that feed your analytics and A' || t.startsWith('Keep a constant watch on data quality inside the lakes and warehouses that feed your analytics and A'))).toBeTruthy();
});
test('product_data_observability_quality_monitoring: h2 "Instantly pinpoint the downstr"', async ({ page }) => {
await page.goto('/product/data-observability/quality-monitoring/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Instantly pinpoint the downstream assets, BI tools, and AI models that a data failure puts at risk' || t.startsWith('Instantly pinpoint the downstream assets, BI tools, and AI models that a data failure puts at risk'))).toBeTruthy();
});
test('product_data_observability_quality_monitoring: nav link "See pricing"', async ({ page }) => {
await page.goto('/product/data-observability/quality-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('product_data_observability_quality_monitoring: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/product/data-observability/quality-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('product_data_observability_quality_monitoring: nav link "Metrics"', async ({ page }) => {
await page.goto('/product/data-observability/quality-monitoring/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - about_latest_news_press_releases_obseron_launches_storage_management_to_help_teams_eliminate_unnecessary_cloud_object_storage', () => {
test('about_latest_news_press_releases_obseron_launches_storage_management_to_help_teams_eliminate_unnecessary_cloud_object_storage: title matches GT', async ({ page }) => {
await page.goto('/about/latest-news/press-releases/obseron-launches-storage-management-to-help-teams-eliminate-unnecessary-cloud-object-storage/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('obseron introduces storage management to');
});
test('about_latest_news_press_releases_obseron_launches_storage_management_to_help_teams_eliminate_unnecessary_cloud_object_storage: h2 "Obseron Launches Storage Manag"', async ({ page }) => {
await page.goto('/about/latest-news/press-releases/obseron-launches-storage-management-to-help-teams-eliminate-unnecessary-cloud-object-storage/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Obseron Launches Storage Management to Help Teams Eliminate Unnecessary Cloud Object Storage' || t.startsWith('Obseron Launches Storage Management to Help Teams Eliminate Unnecessary Cloud Object Storage'))).toBeTruthy();
});
test('about_latest_news_press_releases_obseron_launches_storage_management_to_help_teams_eliminate_unnecessary_cloud_object_storage: h4 "About Obseron"', async ({ page }) => {
await page.goto('/about/latest-news/press-releases/obseron-launches-storage-management-to-help-teams-eliminate-unnecessary-cloud-object-storage/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Obseron' || t.startsWith('About Obseron'))).toBeTruthy();
});
test('about_latest_news_press_releases_obseron_launches_storage_management_to_help_teams_eliminate_unnecessary_cloud_object_storage: h4 "Forward-Looking Statements"', async ({ page }) => {
await page.goto('/about/latest-news/press-releases/obseron-launches-storage-management-to-help-teams-eliminate-unnecessary-cloud-object-storage/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Forward-Looking Statements' || t.startsWith('Forward-Looking Statements'))).toBeTruthy();
});
test('about_latest_news_press_releases_obseron_launches_storage_management_to_help_teams_eliminate_unnecessary_cloud_object_storage: h6 "Book a personalized walkthroug"', async ({ page }) => {
await page.goto('/about/latest-news/press-releases/obseron-launches-storage-management-to-help-teams-eliminate-unnecessary-cloud-object-storage/');
const texts = (await page.locator('h6').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a personalized walkthrough with an Obseron engineer' || t.startsWith('Book a personalized walkthrough with an Obseron engineer'))).toBeTruthy();
});
test('about_latest_news_press_releases_obseron_launches_storage_management_to_help_teams_eliminate_unnecessary_cloud_object_storage: nav link "See pricing"', async ({ page }) => {
await page.goto('/about/latest-news/press-releases/obseron-launches-storage-management-to-help-teams-eliminate-unnecessary-cloud-object-storage/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See pricing' || t.startsWith('See pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('about_latest_news_press_releases_obseron_launches_storage_management_to_help_teams_eliminate_unnecessary_cloud_object_storage: nav link "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/about/latest-news/press-releases/obseron-launches-storage-management-to-help-teams-eliminate-unnecessary-cloud-object-storage/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Infrastructure Monitoring' || t.startsWith('Infrastructure Monitoring')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('infrastructure-monitoring')), 'href fragment present').toBeTruthy();
});
test('about_latest_news_press_releases_obseron_launches_storage_management_to_help_teams_eliminate_unnecessary_cloud_object_storage: nav link "Metrics"', async ({ page }) => {
await page.goto('/about/latest-news/press-releases/obseron-launches-storage-management-to-help-teams-eliminate-unnecessary-cloud-object-storage/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Metrics' || t.startsWith('Metrics')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('metrics')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - Routing', () => {
test('navigate to product via "Product"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="product"]').first();
expect(await link.count(), 'nav link to product exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('product');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('One view for everything');
});
test('navigate to product_infrastructure_monitoring via "Infrastructure Monitoring"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="infrastructure-monitoring"]').first();
expect(await link.count(), 'nav link to product_infrastructure_monitoring exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('infrastructure-monitoring');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Infrastructure Monitoring');
});
});