RecreationBench / web /quorvex.example /tests /static /content.scripted.spec.ts
VoyagerXHF's picture
Upload folder using huggingface_hub (part 57)
d3b0536 verified
Raw History Blame Contribute Delete
155 kB
import { test, expect } from '@playwright/test';
test.describe('Functional - homepage', () => {
test('homepage: h2 "Quorvex\'s CEO breaks down Q1 r"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex\'s CEO breaks down Q1 results and the AI road ahead in a live fireside chat' || t.startsWith('Quorvex\'s CEO breaks down Q1 results and the AI road ahead in a live fireside chat'))).toBeTruthy();
});
test('homepage: h2 "Quorvex Cloud"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Cloud' || t.startsWith('Quorvex Cloud'))).toBeTruthy();
});
test('homepage: h2 "Quorvex Security"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Security' || t.startsWith('Quorvex Security'))).toBeTruthy();
});
test('homepage: header link "Get details"', async ({ page }) => {
await page.goto('/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Sales"', 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 === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Support"', 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 === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Under Attack?"', 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 === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cloud', () => {
test('cloud: title matches GT', async ({ page }) => {
await page.goto('/cloud/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('quorvex cloud');
});
test('cloud: h1 "Quorvex Cloud"', async ({ page }) => {
await page.goto('/cloud/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Cloud' || t.startsWith('Quorvex Cloud'))).toBeTruthy();
});
test('cloud: h2 "Tap into Nuvex GX PRO™ 6000 Ri"', async ({ page }) => {
await page.goto('/cloud/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tap into Nuvex GX PRO™ 6000 Ridgeline GPUs tuned for distributed AI inference at scale.' || t.startsWith('Tap into Nuvex GX PRO™ 6000 Ridgeline GPUs tuned for distributed AI inference at scale.'))).toBeTruthy();
});
test('cloud: h2 "New at Quorvex Cloud"', async ({ page }) => {
await page.goto('/cloud/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'New at Quorvex Cloud' || t.startsWith('New at Quorvex Cloud'))).toBeTruthy();
});
test('cloud: h2 "Field Note: The Dawn of Distri"', async ({ page }) => {
await page.goto('/cloud/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Field Note: The Dawn of Distributed AI' || t.startsWith('Field Note: The Dawn of Distributed AI'))).toBeTruthy();
});
test('cloud: header link "Get details"', async ({ page }) => {
await page.goto('/cloud/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('cloud: nav link "Sales"', async ({ page }) => {
await page.goto('/cloud/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('cloud: nav link "Support"', async ({ page }) => {
await page.goto('/cloud/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('cloud: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/cloud/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - global_services', () => {
test('global_services: title matches GT', async ({ page }) => {
await page.goto('/global-services/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('global services');
});
test('global_services: h1 "Quorvex Global Services"', async ({ page }) => {
await page.goto('/global-services/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Global Services' || t.startsWith('Quorvex Global Services'))).toBeTruthy();
});
test('global_services: h2 "Security Offerings"', async ({ page }) => {
await page.goto('/global-services/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Security Offerings' || t.startsWith('Security Offerings'))).toBeTruthy();
});
test('global_services: h2 "Cloud Services"', async ({ page }) => {
await page.goto('/global-services/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cloud Services' || t.startsWith('Cloud Services'))).toBeTruthy();
});
test('global_services: h2 "Content Delivery Services"', async ({ page }) => {
await page.goto('/global-services/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Content Delivery Services' || t.startsWith('Content Delivery Services'))).toBeTruthy();
});
test('global_services: header link "Get details"', async ({ page }) => {
await page.goto('/global-services/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('global_services: nav link "Sales"', async ({ page }) => {
await page.goto('/global-services/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('global_services: nav link "Support"', async ({ page }) => {
await page.goto('/global-services/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('global_services: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/global-services/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products', () => {
test('products: title matches GT', async ({ page }) => {
await page.goto('/products/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('explore all quorvex products and trials');
});
test('products: h1 "Discover all Quorvex products "', async ({ page }) => {
await page.goto('/products/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Discover all Quorvex products and trials' || t.startsWith('Discover all Quorvex products and trials'))).toBeTruthy();
});
test('products: h3 "Quorvex Adaptive Segmentation"', async ({ page }) => {
await page.goto('/products/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Adaptive Segmentation' || t.startsWith('Quorvex Adaptive Segmentation'))).toBeTruthy();
});
test('products: h3 "App & API Guardian"', async ({ page }) => {
await page.goto('/products/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'App & API Guardian' || t.startsWith('App & API Guardian'))).toBeTruthy();
});
test('products: h3 "Guardrail for AI"', async ({ page }) => {
await page.goto('/products/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Guardrail for AI' || t.startsWith('Guardrail for AI'))).toBeTruthy();
});
test('products: header link "Get details"', async ({ page }) => {
await page.goto('/products/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products: nav link "Sales"', async ({ page }) => {
await page.goto('/products/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products: nav link "Support"', async ({ page }) => {
await page.goto('/products/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - security', () => {
test('security: title matches GT', async ({ page }) => {
await page.goto('/security/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('network security and threat defense plat');
});
test('security: h1 "Quorvex security for apps, API"', async ({ page }) => {
await page.goto('/security/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex security for apps, APIs, and networks' || t.startsWith('Quorvex security for apps, APIs, and networks'))).toBeTruthy();
});
test('security: h2 "Cybersecurity built to defend "', async ({ page }) => {
await page.goto('/security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cybersecurity built to defend every customer interaction' || t.startsWith('Cybersecurity built to defend every customer interaction'))).toBeTruthy();
});
test('security: h2 "Recent Security News"', async ({ page }) => {
await page.goto('/security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Recent Security News' || t.startsWith('Recent Security News'))).toBeTruthy();
});
test('security: h2 "Independent Reviewers Name Quo"', async ({ page }) => {
await page.goto('/security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Independent Reviewers Name Quorvex Adaptive Segmentation a Customers\' Choice' || t.startsWith('Independent Reviewers Name Quorvex Adaptive Segmentation a Customers\' Choice'))).toBeTruthy();
});
test('security: header link "Get details"', async ({ page }) => {
await page.goto('/security/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('security: nav link "Sales"', async ({ page }) => {
await page.goto('/security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('security: nav link "Support"', async ({ page }) => {
await page.goto('/security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('security: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cloud_pricing', () => {
test('cloud_pricing: title matches GT', async ({ page }) => {
await page.goto('/cloud/pricing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cloud computing costs and pricing');
});
test('cloud_pricing: h1 "Quorvex Cloud Transparent Pric"', async ({ page }) => {
await page.goto('/cloud/pricing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Cloud Transparent Pricing' || t.startsWith('Quorvex Cloud Transparent Pricing'))).toBeTruthy();
});
test('cloud_pricing: h2 "Compute"', async ({ page }) => {
await page.goto('/cloud/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Compute' || t.startsWith('Compute'))).toBeTruthy();
});
test('cloud_pricing: h2 "Storage"', async ({ page }) => {
await page.goto('/cloud/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Storage' || t.startsWith('Storage'))).toBeTruthy();
});
test('cloud_pricing: h2 "Databases"', async ({ page }) => {
await page.goto('/cloud/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Databases' || t.startsWith('Databases'))).toBeTruthy();
});
test('cloud_pricing: header link "Get details"', async ({ page }) => {
await page.goto('/cloud/pricing/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('cloud_pricing: nav link "Sales"', async ({ page }) => {
await page.goto('/cloud/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('cloud_pricing: nav link "Support"', async ({ page }) => {
await page.goto('/cloud/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('cloud_pricing: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/cloud/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - global_services_support', () => {
test('global_services_support: title matches GT', async ({ page }) => {
await page.goto('/global-services/support/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('support contacts');
});
test('global_services_support: h2 "Global Technical Support, Avai"', async ({ page }) => {
await page.goto('/global-services/support/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Global Technical Support, Available 24/7' || t.startsWith('Global Technical Support, Available 24/7'))).toBeTruthy();
});
test('global_services_support: h2 "Have a quick question? Rather "', async ({ page }) => {
await page.goto('/global-services/support/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Have a quick question? Rather DIY? See our Self-Service Guide' || t.startsWith('Have a quick question? Rather DIY? See our Self-Service Guide'))).toBeTruthy();
});
test('global_services_support: h2 "Further Resources"', async ({ page }) => {
await page.goto('/global-services/support/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Further Resources' || t.startsWith('Further Resources'))).toBeTruthy();
});
test('global_services_support: header link "Get details"', async ({ page }) => {
await page.goto('/global-services/support/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('global_services_support: nav link "Sales"', async ({ page }) => {
await page.goto('/global-services/support/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('global_services_support: nav link "Support"', async ({ page }) => {
await page.goto('/global-services/support/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('global_services_support: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/global-services/support/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_accelerated_compute', () => {
test('products_accelerated_compute: title matches GT', async ({ page }) => {
await page.goto('/products/accelerated-compute/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('accelerated compute');
});
test('products_accelerated_compute: h2 "Unlock faster, lower-cost tran"', async ({ page }) => {
await page.goto('/products/accelerated-compute/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unlock faster, lower-cost transcoding efficiency with VPUs in the cloud' || t.startsWith('Unlock faster, lower-cost transcoding efficiency with VPUs in the cloud'))).toBeTruthy();
});
test('products_accelerated_compute: h2 "Scalable, high-throughput VPUs"', async ({ page }) => {
await page.goto('/products/accelerated-compute/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scalable, high-throughput VPUs' || t.startsWith('Scalable, high-throughput VPUs'))).toBeTruthy();
});
test('products_accelerated_compute: h2 "Core features"', async ({ page }) => {
await page.goto('/products/accelerated-compute/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core features' || t.startsWith('Core features'))).toBeTruthy();
});
test('products_accelerated_compute: nav link "Sales"', async ({ page }) => {
await page.goto('/products/accelerated-compute/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_accelerated_compute: nav link "Support"', async ({ page }) => {
await page.goto('/products/accelerated-compute/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_accelerated_compute: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/accelerated-compute/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
test('products_accelerated_compute: nav link "See cloud computing"', async ({ page }) => {
await page.goto('/products/accelerated-compute/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See cloud computing' || t.startsWith('See cloud computing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cloud')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_account_protector', () => {
test('products_account_protector: title matches GT', async ({ page }) => {
await page.goto('/products/account-protector/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('account fraud and identity abuse defense');
});
test('products_account_protector: h1 "Account Protector"', async ({ page }) => {
await page.goto('/products/account-protector/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Account Protector' || t.startsWith('Account Protector'))).toBeTruthy();
});
test('products_account_protector: h2 "Stop account abuse with smarte"', async ({ page }) => {
await page.goto('/products/account-protector/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Stop account abuse with smarter detections' || t.startsWith('Stop account abuse with smarter detections'))).toBeTruthy();
});
test('products_account_protector: h2 "Trust is the whole game. Shiel"', async ({ page }) => {
await page.goto('/products/account-protector/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trust is the whole game. Shield your customers from account abuse.' || t.startsWith('Trust is the whole game. Shield your customers from account abuse.'))).toBeTruthy();
});
test('products_account_protector: h2 "How Account Protector works"', async ({ page }) => {
await page.goto('/products/account-protector/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Account Protector works' || t.startsWith('How Account Protector works'))).toBeTruthy();
});
test('products_account_protector: header link "Get details"', async ({ page }) => {
await page.goto('/products/account-protector/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_account_protector: nav link "Sales"', async ({ page }) => {
await page.goto('/products/account-protector/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_account_protector: nav link "Support"', async ({ page }) => {
await page.goto('/products/account-protector/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_account_protector: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/account-protector/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_ai_brand_presence', () => {
test('products_ai_brand_presence: title matches GT', async ({ page }) => {
await page.goto('/products/ai-brand-presence/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('ai brand presence');
});
test('products_ai_brand_presence: h2 "Amplify your AI readiness and "', async ({ page }) => {
await page.goto('/products/ai-brand-presence/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Amplify your AI readiness and unlock the insights to lead every AI-driven search' || t.startsWith('Amplify your AI readiness and unlock the insights to lead every AI-driven search'))).toBeTruthy();
});
test('products_ai_brand_presence: h2 "Govern and refine how your bra"', async ({ page }) => {
await page.goto('/products/ai-brand-presence/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Govern and refine how your brand is surfaced across every AI platform' || t.startsWith('Govern and refine how your brand is surfaced across every AI platform'))).toBeTruthy();
});
test('products_ai_brand_presence: h2 "Features"', async ({ page }) => {
await page.goto('/products/ai-brand-presence/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Features' || t.startsWith('Features'))).toBeTruthy();
});
test('products_ai_brand_presence: nav link "Sales"', async ({ page }) => {
await page.goto('/products/ai-brand-presence/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_ai_brand_presence: nav link "Support"', async ({ page }) => {
await page.goto('/products/ai-brand-presence/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_ai_brand_presence: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/ai-brand-presence/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
test('products_ai_brand_presence: nav link "View cloud computing"', async ({ page }) => {
await page.goto('/products/ai-brand-presence/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'View cloud computing' || t.startsWith('View cloud computing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cloud')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_quorvex_functions', () => {
test('products_quorvex_functions: title matches GT', async ({ page }) => {
await page.goto('/products/quorvex-functions/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('quorvex functions');
});
test('products_quorvex_functions: h2 "Modern apps and AI depend on s"', async ({ page }) => {
await page.goto('/products/quorvex-functions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Modern apps and AI depend on speed' || t.startsWith('Modern apps and AI depend on speed'))).toBeTruthy();
});
test('products_quorvex_functions: h2 "Why choose Quorvex"', async ({ page }) => {
await page.goto('/products/quorvex-functions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why choose Quorvex' || t.startsWith('Why choose Quorvex'))).toBeTruthy();
});
test('products_quorvex_functions: h2 "How Quorvex Functions works"', async ({ page }) => {
await page.goto('/products/quorvex-functions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Quorvex Functions works' || t.startsWith('How Quorvex Functions works'))).toBeTruthy();
});
test('products_quorvex_functions: header link "Get details"', async ({ page }) => {
await page.goto('/products/quorvex-functions/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_quorvex_functions: nav link "Sales"', async ({ page }) => {
await page.goto('/products/quorvex-functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_quorvex_functions: nav link "Support"', async ({ page }) => {
await page.goto('/products/quorvex-functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_quorvex_functions: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/quorvex-functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_quorvex_guardicore_segmentation', () => {
test('products_quorvex_guardicore_segmentation: title matches GT', async ({ page }) => {
await page.goto('/products/quorvex-guardicore-segmentation/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('adaptive segmentation');
});
test('products_quorvex_guardicore_segmentation: h1 "Quorvex Adaptive Segmentation"', async ({ page }) => {
await page.goto('/products/quorvex-guardicore-segmentation/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Adaptive Segmentation' || t.startsWith('Quorvex Adaptive Segmentation'))).toBeTruthy();
});
test('products_quorvex_guardicore_segmentation: h2 "Shut down threats at machine s"', async ({ page }) => {
await page.goto('/products/quorvex-guardicore-segmentation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Shut down threats at machine speed using AI-assisted enforcement' || t.startsWith('Shut down threats at machine speed using AI-assisted enforcement'))).toBeTruthy();
});
test('products_quorvex_guardicore_segmentation: h2 "Lower your risk with a platfor"', async ({ page }) => {
await page.goto('/products/quorvex-guardicore-segmentation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Lower your risk with a platform that keeps on learning' || t.startsWith('Lower your risk with a platform that keeps on learning'))).toBeTruthy();
});
test('products_quorvex_guardicore_segmentation: h2 "How Quorvex Adaptive Segmentat"', async ({ page }) => {
await page.goto('/products/quorvex-guardicore-segmentation/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Quorvex Adaptive Segmentation works' || t.startsWith('How Quorvex Adaptive Segmentation works'))).toBeTruthy();
});
test('products_quorvex_guardicore_segmentation: header link "See the details"', async ({ page }) => {
await page.goto('/products/quorvex-guardicore-segmentation/');
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 === 'See the details' || t.startsWith('See the details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_quorvex_guardicore_segmentation: nav link "Sales"', async ({ page }) => {
await page.goto('/products/quorvex-guardicore-segmentation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_quorvex_guardicore_segmentation: nav link "Support"', async ({ page }) => {
await page.goto('/products/quorvex-guardicore-segmentation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_quorvex_guardicore_segmentation: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/quorvex-guardicore-segmentation/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_quorvex_inference_cloud_platform', () => {
test('products_quorvex_inference_cloud_platform: title matches GT', async ({ page }) => {
await page.goto('/products/quorvex-inference-cloud-platform/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('ai inference cloud platform');
});
test('products_quorvex_inference_cloud_platform: h1 "Quorvex Inference Cloud"', async ({ page }) => {
await page.goto('/products/quorvex-inference-cloud-platform/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Inference Cloud' || t.startsWith('Quorvex Inference Cloud'))).toBeTruthy();
});
test('products_quorvex_inference_cloud_platform: h2 "Tap into Nuvex GX PRO™ 6000 Ri"', async ({ page }) => {
await page.goto('/products/quorvex-inference-cloud-platform/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tap into Nuvex GX PRO™ 6000 Ridgeline GPUs tuned for distributed AI inference.' || t.startsWith('Tap into Nuvex GX PRO™ 6000 Ridgeline GPUs tuned for distributed AI inference.'))).toBeTruthy();
});
test('products_quorvex_inference_cloud_platform: h2 "Inference is where AI pays off"', async ({ page }) => {
await page.goto('/products/quorvex-inference-cloud-platform/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Inference is where AI pays off' || t.startsWith('Inference is where AI pays off'))).toBeTruthy();
});
test('products_quorvex_inference_cloud_platform: h2 "Without inference, AI stays me"', async ({ page }) => {
await page.goto('/products/quorvex-inference-cloud-platform/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Without inference, AI stays mere promise' || t.startsWith('Without inference, AI stays mere promise'))).toBeTruthy();
});
test('products_quorvex_inference_cloud_platform: header link "Get details"', async ({ page }) => {
await page.goto('/products/quorvex-inference-cloud-platform/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_quorvex_inference_cloud_platform: nav link "Sales"', async ({ page }) => {
await page.goto('/products/quorvex-inference-cloud-platform/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_quorvex_inference_cloud_platform: nav link "Support"', async ({ page }) => {
await page.goto('/products/quorvex-inference-cloud-platform/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_quorvex_inference_cloud_platform: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/quorvex-inference-cloud-platform/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_api_security', () => {
test('products_api_security: title matches GT', async ({ page }) => {
await page.goto('/products/api-security/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('api security');
});
test('products_api_security: h2 "Safeguard the APIs behind GenA"', async ({ page }) => {
await page.goto('/products/api-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Safeguard the APIs behind GenAI' || t.startsWith('Safeguard the APIs behind GenAI'))).toBeTruthy();
});
test('products_api_security: h2 "Uncover and remove buried API "', async ({ page }) => {
await page.goto('/products/api-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Uncover and remove buried API security gaps' || t.startsWith('Uncover and remove buried API security gaps'))).toBeTruthy();
});
test('products_api_security: h2 "The way API Security works"', async ({ page }) => {
await page.goto('/products/api-security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The way API Security works' || t.startsWith('The way API Security works'))).toBeTruthy();
});
test('products_api_security: header link "View details"', async ({ page }) => {
await page.goto('/products/api-security/');
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 === 'View details' || t.startsWith('View details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_api_security: nav link "Sales"', async ({ page }) => {
await page.goto('/products/api-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_api_security: nav link "Support"', async ({ page }) => {
await page.goto('/products/api-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_api_security: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/api-security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_app_and_api_protector', () => {
test('products_app_and_api_protector: title matches GT', async ({ page }) => {
await page.goto('/products/app-and-api-protector/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('app & api defender');
});
test('products_app_and_api_protector: h1 "App & API Defender"', async ({ page }) => {
await page.goto('/products/app-and-api-protector/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'App & API Defender' || t.startsWith('App & API Defender'))).toBeTruthy();
});
test('products_app_and_api_protector: h2 "Claim up to 9 months free on A"', async ({ page }) => {
await page.goto('/products/app-and-api-protector/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Claim up to 9 months free on App & API Defender — plus add-ons and dedicated support, offered to fir' || t.startsWith('Claim up to 9 months free on App & API Defender — plus add-ons and dedicated support, offered to fir'))).toBeTruthy();
});
test('products_app_and_api_protector: h2 "Comprehensive application secu"', async ({ page }) => {
await page.goto('/products/app-and-api-protector/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Comprehensive application security and API defenses, unified' || t.startsWith('Comprehensive application security and API defenses, unified'))).toBeTruthy();
});
test('products_app_and_api_protector: h2 "Tougher application and API se"', async ({ page }) => {
await page.goto('/products/app-and-api-protector/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tougher application and API security with far less effort' || t.startsWith('Tougher application and API security with far less effort'))).toBeTruthy();
});
test('products_app_and_api_protector: nav link "Sales"', async ({ page }) => {
await page.goto('/products/app-and-api-protector/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_app_and_api_protector: nav link "Support"', async ({ page }) => {
await page.goto('/products/app-and-api-protector/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_app_and_api_protector: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/app-and-api-protector/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
test('products_app_and_api_protector: nav link "See cloud computing"', async ({ page }) => {
await page.goto('/products/app-and-api-protector/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See cloud computing' || t.startsWith('See cloud computing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cloud')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_app_platform', () => {
test('products_app_platform: title matches GT', async ({ page }) => {
await page.goto('/products/app-platform/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('app platform');
});
test('products_app_platform: h1 "App Platform: A Ready-Built Pl"', async ({ page }) => {
await page.goto('/products/app-platform/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'App Platform: A Ready-Built Platform for K8s' || t.startsWith('App Platform: A Ready-Built Platform for K8s'))).toBeTruthy();
});
test('products_app_platform: h2 "Ready-made open source platfor"', async ({ page }) => {
await page.goto('/products/app-platform/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready-made open source platform: integrated and production-ready' || t.startsWith('Ready-made open source platform: integrated and production-ready'))).toBeTruthy();
});
test('products_app_platform: h2 "Cut months of integration with"', async ({ page }) => {
await page.goto('/products/app-platform/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cut months of integration with an extensible platform' || t.startsWith('Cut months of integration with an extensible platform'))).toBeTruthy();
});
test('products_app_platform: h2 "Demo: App Platform for QKE"', async ({ page }) => {
await page.goto('/products/app-platform/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Demo: App Platform for QKE' || t.startsWith('Demo: App Platform for QKE'))).toBeTruthy();
});
test('products_app_platform: header link "View details"', async ({ page }) => {
await page.goto('/products/app-platform/');
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 === 'View details' || t.startsWith('View details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_app_platform: nav link "Sales"', async ({ page }) => {
await page.goto('/products/app-platform/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_app_platform: nav link "Support"', async ({ page }) => {
await page.goto('/products/app-platform/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_app_platform: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/app-platform/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_backups', () => {
test('products_backups: title matches GT', async ({ page }) => {
await page.goto('/products/backups/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('instance backups');
});
test('products_backups: h1 "Backups"', async ({ page }) => {
await page.goto('/products/backups/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Backups' || t.startsWith('Backups'))).toBeTruthy();
});
test('products_backups: h2 "Scheduled cloud backups for de"', async ({ page }) => {
await page.goto('/products/backups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scheduled cloud backups for dependable data protection' || t.startsWith('Scheduled cloud backups for dependable data protection'))).toBeTruthy();
});
test('products_backups: h2 "Features"', async ({ page }) => {
await page.goto('/products/backups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Features' || t.startsWith('Features'))).toBeTruthy();
});
test('products_backups: h2 "Quorvex Backups pricing plan"', async ({ page }) => {
await page.goto('/products/backups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Backups pricing plan' || t.startsWith('Quorvex Backups pricing plan'))).toBeTruthy();
});
test('products_backups: header link "Get details"', async ({ page }) => {
await page.goto('/products/backups/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_backups: nav link "Sales"', async ({ page }) => {
await page.goto('/products/backups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_backups: nav link "Support"', async ({ page }) => {
await page.goto('/products/backups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_backups: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/backups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_block_storage', () => {
test('products_block_storage: title matches GT', async ({ page }) => {
await page.goto('/products/block-storage/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('block storage');
});
test('products_block_storage: h2 "Fast, elastic block storage bu"', async ({ page }) => {
await page.goto('/products/block-storage/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fast, elastic block storage built for the cloud' || t.startsWith('Fast, elastic block storage built for the cloud'))).toBeTruthy();
});
test('products_block_storage: h2 "On-demand block storage that s"', async ({ page }) => {
await page.goto('/products/block-storage/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'On-demand block storage that scales instantly' || t.startsWith('On-demand block storage that scales instantly'))).toBeTruthy();
});
test('products_block_storage: h2 "Durable, fault-tolerant cloud "', async ({ page }) => {
await page.goto('/products/block-storage/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Durable, fault-tolerant cloud block storage' || t.startsWith('Durable, fault-tolerant cloud block storage'))).toBeTruthy();
});
test('products_block_storage: header link "See details"', async ({ page }) => {
await page.goto('/products/block-storage/');
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 === 'See details' || t.startsWith('See details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_block_storage: nav link "Sales"', async ({ page }) => {
await page.goto('/products/block-storage/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_block_storage: nav link "Support"', async ({ page }) => {
await page.goto('/products/block-storage/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_block_storage: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/block-storage/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_bot_manager', () => {
test('products_bot_manager: title matches GT', async ({ page }) => {
await page.goto('/products/bot-manager/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('bot manager');
});
test('products_bot_manager: h2 "Verify Your Bot or AI Agent wi"', async ({ page }) => {
await page.goto('/products/bot-manager/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verify Your Bot or AI Agent with Quorvex' || t.startsWith('Verify Your Bot or AI Agent with Quorvex'))).toBeTruthy();
});
test('products_bot_manager: h2 "Bot defense engineered to elev"', async ({ page }) => {
await page.goto('/products/bot-manager/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bot defense engineered to elevate every user experience' || t.startsWith('Bot defense engineered to elevate every user experience'))).toBeTruthy();
});
test('products_bot_manager: h2 "Defend your most vulnerable as"', async ({ page }) => {
await page.goto('/products/bot-manager/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Defend your most vulnerable asset: customer trust' || t.startsWith('Defend your most vulnerable asset: customer trust'))).toBeTruthy();
});
test('products_bot_manager: header link "Get details"', async ({ page }) => {
await page.goto('/products/bot-manager/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_bot_manager: nav link "Sales"', async ({ page }) => {
await page.goto('/products/bot-manager/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_bot_manager: nav link "Support"', async ({ page }) => {
await page.goto('/products/bot-manager/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_bot_manager: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/bot-manager/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_client_side_protection_compliance', () => {
test('products_client_side_protection_compliance: title matches GT', async ({ page }) => {
await page.goto('/products/client-side-protection-compliance/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('client');
});
test('products_client_side_protection_compliance: h1 "Client-Side Protection & Compl"', async ({ page }) => {
await page.goto('/products/client-side-protection-compliance/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Client-Side Protection & Compliance' || t.startsWith('Client-Side Protection & Compliance'))).toBeTruthy();
});
test('products_client_side_protection_compliance: h2 "Reinforce your web page integr"', async ({ page }) => {
await page.goto('/products/client-side-protection-compliance/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reinforce your web page integrity' || t.startsWith('Reinforce your web page integrity'))).toBeTruthy();
});
test('products_client_side_protection_compliance: h2 "Uncover the hidden client-side"', async ({ page }) => {
await page.goto('/products/client-side-protection-compliance/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Uncover the hidden client-side threats you can’t detect' || t.startsWith('Uncover the hidden client-side threats you can’t detect'))).toBeTruthy();
});
test('products_client_side_protection_compliance: h2 "How Client-Side Protection & C"', async ({ page }) => {
await page.goto('/products/client-side-protection-compliance/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Client-Side Protection & Compliance works' || t.startsWith('How Client-Side Protection & Compliance works'))).toBeTruthy();
});
test('products_client_side_protection_compliance: header link "Get details"', async ({ page }) => {
await page.goto('/products/client-side-protection-compliance/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_client_side_protection_compliance: nav link "Sales"', async ({ page }) => {
await page.goto('/products/client-side-protection-compliance/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_client_side_protection_compliance: nav link "Support"', async ({ page }) => {
await page.goto('/products/client-side-protection-compliance/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_client_side_protection_compliance: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/client-side-protection-compliance/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_cloud_firewall', () => {
test('products_cloud_firewall: title matches GT', async ({ page }) => {
await page.goto('/products/cloud-firewall/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cloud firewall');
});
test('products_cloud_firewall: h2 "Shield your network using Clou"', async ({ page }) => {
await page.goto('/products/cloud-firewall/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Shield your network using Cloud Firewall protection' || t.startsWith('Shield your network using Cloud Firewall protection'))).toBeTruthy();
});
test('products_cloud_firewall: h2 "Easily oversee your network tr"', async ({ page }) => {
await page.goto('/products/cloud-firewall/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Easily oversee your network traffic' || t.startsWith('Easily oversee your network traffic'))).toBeTruthy();
});
test('products_cloud_firewall: h2 "Features"', async ({ page }) => {
await page.goto('/products/cloud-firewall/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Features' || t.startsWith('Features'))).toBeTruthy();
});
test('products_cloud_firewall: header link "Read more"', async ({ page }) => {
await page.goto('/products/cloud-firewall/');
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 === 'Read more' || t.startsWith('Read more')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_cloud_firewall: nav link "Sales"', async ({ page }) => {
await page.goto('/products/cloud-firewall/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_cloud_firewall: nav link "Support"', async ({ page }) => {
await page.goto('/products/cloud-firewall/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_cloud_firewall: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/cloud-firewall/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_content_protector', () => {
test('products_content_protector: title matches GT', async ({ page }) => {
await page.goto('/products/content-protector/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('content guardian');
});
test('products_content_protector: h1 "Content Sentinel"', async ({ page }) => {
await page.goto('/products/content-protector/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Content Sentinel' || t.startsWith('Content Sentinel'))).toBeTruthy();
});
test('products_content_protector: h2 "Verify Your Bot or AI Agent wi"', async ({ page }) => {
await page.goto('/products/content-protector/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verify Your Bot or AI Agent with Quorvex' || t.startsWith('Verify Your Bot or AI Agent with Quorvex'))).toBeTruthy();
});
test('products_content_protector: h2 "Don’t let scrapers seize your "', async ({ page }) => {
await page.goto('/products/content-protector/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Don’t let scrapers seize your content and drag down your conversion rates' || t.startsWith('Don’t let scrapers seize your content and drag down your conversion rates'))).toBeTruthy();
});
test('products_content_protector: h2 "Make security a business advan"', async ({ page }) => {
await page.goto('/products/content-protector/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Make security a business advantage' || t.startsWith('Make security a business advantage'))).toBeTruthy();
});
test('products_content_protector: header link "Get details"', async ({ page }) => {
await page.goto('/products/content-protector/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_content_protector: nav link "Sales"', async ({ page }) => {
await page.goto('/products/content-protector/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_content_protector: nav link "Support"', async ({ page }) => {
await page.goto('/products/content-protector/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_content_protector: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/content-protector/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_cpu', () => {
test('products_cpu: title matches GT', async ({ page }) => {
await page.goto('/products/cpu/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('compute');
});
test('products_cpu: h1 "CPU"', async ({ page }) => {
await page.goto('/products/cpu/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CPU' || t.startsWith('CPU'))).toBeTruthy();
});
test('products_cpu: h2 "Transparent pricing paired wit"', async ({ page }) => {
await page.goto('/products/cpu/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Transparent pricing paired with built-in private networking for compute infrastructure' || t.startsWith('Transparent pricing paired with built-in private networking for compute infrastructure'))).toBeTruthy();
});
test('products_cpu: h2 "Strike the ideal balance betwe"', async ({ page }) => {
await page.goto('/products/cpu/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Strike the ideal balance between price and performance' || t.startsWith('Strike the ideal balance between price and performance'))).toBeTruthy();
});
test('products_cpu: h2 "Cut egress costs by up to 90%"', async ({ page }) => {
await page.goto('/products/cpu/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cut egress costs by up to 90%' || t.startsWith('Cut egress costs by up to 90%'))).toBeTruthy();
});
test('products_cpu: header link "View details"', async ({ page }) => {
await page.goto('/products/cpu/');
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 === 'View details' || t.startsWith('View details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_cpu: nav link "Sales"', async ({ page }) => {
await page.goto('/products/cpu/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_cpu: nav link "Support"', async ({ page }) => {
await page.goto('/products/cpu/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_cpu: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/cpu/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_databases', () => {
test('products_databases: title matches GT', async ({ page }) => {
await page.goto('/products/databases/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('managed databases');
});
test('products_databases: h2 "Spin up fast, resilient databa"', async ({ page }) => {
await page.goto('/products/databases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Spin up fast, resilient database clusters in minutes' || t.startsWith('Spin up fast, resilient database clusters in minutes'))).toBeTruthy();
});
test('products_databases: h2 "Adaptable rollouts paired with"', async ({ page }) => {
await page.goto('/products/databases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Adaptable rollouts paired with security and daily backups' || t.startsWith('Adaptable rollouts paired with security and daily backups'))).toBeTruthy();
});
test('products_databases: h2 "Features"', async ({ page }) => {
await page.goto('/products/databases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Features' || t.startsWith('Features'))).toBeTruthy();
});
test('products_databases: header link "Get details"', async ({ page }) => {
await page.goto('/products/databases/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_databases: nav link "Sales"', async ({ page }) => {
await page.goto('/products/databases/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_databases: nav link "Support"', async ({ page }) => {
await page.goto('/products/databases/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_databases: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/databases/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_dns_manager', () => {
test('products_dns_manager: title matches GT', async ({ page }) => {
await page.goto('/products/dns-manager/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('dns records management');
});
test('products_dns_manager: h1 "DNS Manager"', async ({ page }) => {
await page.goto('/products/dns-manager/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'DNS Manager' || t.startsWith('DNS Manager'))).toBeTruthy();
});
test('products_dns_manager: h2 "Handle your domain’s DNS recor"', async ({ page }) => {
await page.goto('/products/dns-manager/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Handle your domain’s DNS records with zero friction' || t.startsWith('Handle your domain’s DNS records with zero friction'))).toBeTruthy();
});
test('products_dns_manager: h2 "Rapid DNS resolution with effo"', async ({ page }) => {
await page.goto('/products/dns-manager/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rapid DNS resolution with effortless integration' || t.startsWith('Rapid DNS resolution with effortless integration'))).toBeTruthy();
});
test('products_dns_manager: h2 "Features"', async ({ page }) => {
await page.goto('/products/dns-manager/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Features' || t.startsWith('Features'))).toBeTruthy();
});
test('products_dns_manager: header link "Get details"', async ({ page }) => {
await page.goto('/products/dns-manager/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_dns_manager: nav link "Sales"', async ({ page }) => {
await page.goto('/products/dns-manager/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_dns_manager: nav link "Support"', async ({ page }) => {
await page.goto('/products/dns-manager/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_dns_manager: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/dns-manager/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_enterprise_application_access', () => {
test('products_enterprise_application_access: title matches GT', async ({ page }) => {
await page.goto('/products/enterprise-application-access/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('zero trust network access');
});
test('products_enterprise_application_access: h1 "Enterprise Access Guard"', async ({ page }) => {
await page.goto('/products/enterprise-application-access/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Enterprise Access Guard' || t.startsWith('Enterprise Access Guard'))).toBeTruthy();
});
test('products_enterprise_application_access: h2 "Give each user precisely the r"', async ({ page }) => {
await page.goto('/products/enterprise-application-access/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Give each user precisely the right level of access to all of your applications' || t.startsWith('Give each user precisely the right level of access to all of your applications'))).toBeTruthy();
});
test('products_enterprise_application_access: h2 "Scale application access with "', async ({ page }) => {
await page.goto('/products/enterprise-application-access/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scale application access with fast, intelligent security in place of VPNs' || t.startsWith('Scale application access with fast, intelligent security in place of VPNs'))).toBeTruthy();
});
test('products_enterprise_application_access: h2 "How Enterprise Access Guard wo"', async ({ page }) => {
await page.goto('/products/enterprise-application-access/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Enterprise Access Guard works' || t.startsWith('How Enterprise Access Guard works'))).toBeTruthy();
});
test('products_enterprise_application_access: header link "See the news"', async ({ page }) => {
await page.goto('/products/enterprise-application-access/');
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 === 'See the news' || t.startsWith('See the news')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_enterprise_application_access: nav link "Sales"', async ({ page }) => {
await page.goto('/products/enterprise-application-access/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_enterprise_application_access: nav link "Support"', async ({ page }) => {
await page.goto('/products/enterprise-application-access/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_enterprise_application_access: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/enterprise-application-access/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_firewall_for_ai', () => {
test('products_firewall_for_ai: title matches GT', async ({ page }) => {
await page.goto('/products/firewall-for-ai/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('protection and security for ai and llm a');
});
test('products_firewall_for_ai: h1 "Firewall for AI"', async ({ page }) => {
await page.goto('/products/firewall-for-ai/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Firewall for AI' || t.startsWith('Firewall for AI'))).toBeTruthy();
});
test('products_firewall_for_ai: h2 "AI-first protection engineered"', async ({ page }) => {
await page.goto('/products/firewall-for-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI-first protection engineered for the modern digital era' || t.startsWith('AI-first protection engineered for the modern digital era'))).toBeTruthy();
});
test('products_firewall_for_ai: h2 "Defend AI interactions against"', async ({ page }) => {
await page.goto('/products/firewall-for-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Defend AI interactions against emerging threats' || t.startsWith('Defend AI interactions against emerging threats'))).toBeTruthy();
});
test('products_firewall_for_ai: h2 "How Firewall for AI works"', async ({ page }) => {
await page.goto('/products/firewall-for-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Firewall for AI works' || t.startsWith('How Firewall for AI works'))).toBeTruthy();
});
test('products_firewall_for_ai: header link "See details"', async ({ page }) => {
await page.goto('/products/firewall-for-ai/');
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 === 'See details' || t.startsWith('See details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_firewall_for_ai: nav link "Sales"', async ({ page }) => {
await page.goto('/products/firewall-for-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_firewall_for_ai: nav link "Support"', async ({ page }) => {
await page.goto('/products/firewall-for-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_firewall_for_ai: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/firewall-for-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_gpu', () => {
test('products_gpu: title matches GT', async ({ page }) => {
await page.goto('/products/gpu/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cloud ai infrastructure');
});
test('products_gpu: h1 "GPU on Quorvex Cloud"', async ({ page }) => {
await page.goto('/products/gpu/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'GPU on Quorvex Cloud' || t.startsWith('GPU on Quorvex Cloud'))).toBeTruthy();
});
test('products_gpu: h2 "Tap into Nuvex GX PRO™ 6000 Ri"', async ({ page }) => {
await page.goto('/products/gpu/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tap into Nuvex GX PRO™ 6000 Ridgeline GPUs, tuned for distributed AI inference at scale.' || t.startsWith('Tap into Nuvex GX PRO™ 6000 Ridgeline GPUs, tuned for distributed AI inference at scale.'))).toBeTruthy();
});
test('products_gpu: h2 "Provision the ideal cloud GPU "', async ({ page }) => {
await page.goto('/products/gpu/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Provision the ideal cloud GPU for your workload and budget' || t.startsWith('Provision the ideal cloud GPU for your workload and budget'))).toBeTruthy();
});
test('products_gpu: h2 "Fueling your AI strategy with "', async ({ page }) => {
await page.goto('/products/gpu/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fueling your AI strategy with Quorvex GPUs' || t.startsWith('Fueling your AI strategy with Quorvex GPUs'))).toBeTruthy();
});
test('products_gpu: nav link "Sales"', async ({ page }) => {
await page.goto('/products/gpu/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_gpu: nav link "Support"', async ({ page }) => {
await page.goto('/products/gpu/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_gpu: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/gpu/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
test('products_gpu: nav link "See cloud computing"', async ({ page }) => {
await page.goto('/products/gpu/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See cloud computing' || t.startsWith('See cloud computing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cloud')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_kubernetes', () => {
test('products_kubernetes: title matches GT', async ({ page }) => {
await page.goto('/products/kubernetes/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('managed kubernetes');
});
test('products_kubernetes: h1 "QKE: Managed Kubernetes Servic"', async ({ page }) => {
await page.goto('/products/kubernetes/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'QKE: Managed Kubernetes Service' || t.startsWith('QKE: Managed Kubernetes Service'))).toBeTruthy();
});
test('products_kubernetes: h2 "Run Kubernetes, skip the contr"', async ({ page }) => {
await page.goto('/products/kubernetes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Run Kubernetes, skip the control plane.' || t.startsWith('Run Kubernetes, skip the control plane.'))).toBeTruthy();
});
test('products_kubernetes: h2 "QKE is made for builders"', async ({ page }) => {
await page.goto('/products/kubernetes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'QKE is made for builders' || t.startsWith('QKE is made for builders'))).toBeTruthy();
});
test('products_kubernetes: h2 "How it works: Choose a tier"', async ({ page }) => {
await page.goto('/products/kubernetes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How it works: Choose a tier' || t.startsWith('How it works: Choose a tier'))).toBeTruthy();
});
test('products_kubernetes: header link "Get details"', async ({ page }) => {
await page.goto('/products/kubernetes/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_kubernetes: nav link "Sales"', async ({ page }) => {
await page.goto('/products/kubernetes/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_kubernetes: nav link "Support"', async ({ page }) => {
await page.goto('/products/kubernetes/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_kubernetes: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/kubernetes/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_nodebalancers', () => {
test('products_nodebalancers: title matches GT', async ({ page }) => {
await page.goto('/products/nodebalancers/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('nodebalancers');
});
test('products_nodebalancers: h2 "Grow effortlessly with clear, "', async ({ page }) => {
await page.goto('/products/nodebalancers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Grow effortlessly with clear, predictable routing' || t.startsWith('Grow effortlessly with clear, predictable routing'))).toBeTruthy();
});
test('products_nodebalancers: h2 "Route traffic safely and effor"', async ({ page }) => {
await page.goto('/products/nodebalancers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Route traffic safely and effortlessly' || t.startsWith('Route traffic safely and effortlessly'))).toBeTruthy();
});
test('products_nodebalancers: h2 "Features"', async ({ page }) => {
await page.goto('/products/nodebalancers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Features' || t.startsWith('Features'))).toBeTruthy();
});
test('products_nodebalancers: header link "Read details"', async ({ page }) => {
await page.goto('/products/nodebalancers/');
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 === 'Read details' || t.startsWith('Read details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_nodebalancers: nav link "Sales"', async ({ page }) => {
await page.goto('/products/nodebalancers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_nodebalancers: nav link "Support"', async ({ page }) => {
await page.goto('/products/nodebalancers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_nodebalancers: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/nodebalancers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_object_storage', () => {
test('products_object_storage: title matches GT', async ({ page }) => {
await page.goto('/products/object-storage/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('object storage');
});
test('products_object_storage: h2 "Fast, budget-friendly S3–compa"', async ({ page }) => {
await page.goto('/products/object-storage/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fast, budget-friendly S3–compatible object storage at scale' || t.startsWith('Fast, budget-friendly S3–compatible object storage at scale'))).toBeTruthy();
});
test('products_object_storage: h2 "Features"', async ({ page }) => {
await page.goto('/products/object-storage/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Features' || t.startsWith('Features'))).toBeTruthy();
});
test('products_object_storage: h2 "Claim up to US\$5,000 in cloud "', async ({ page }) => {
await page.goto('/products/object-storage/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Claim up to US\$5,000 in cloud credits*' || t.startsWith('Claim up to US\$5,000 in cloud credits*'))).toBeTruthy();
});
test('products_object_storage: header link "See details"', async ({ page }) => {
await page.goto('/products/object-storage/');
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 === 'See details' || t.startsWith('See details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_object_storage: nav link "Sales"', async ({ page }) => {
await page.goto('/products/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 === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_object_storage: nav link "Support"', async ({ page }) => {
await page.goto('/products/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 === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_object_storage: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/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 === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - products_secure_internet_access_enterprise', () => {
test('products_secure_internet_access_enterprise: title matches GT', async ({ page }) => {
await page.goto('/products/secure-internet-access-enterprise/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('secure internet access enterprise');
});
test('products_secure_internet_access_enterprise: h1 "Enterprise Secure Internet Gat"', async ({ page }) => {
await page.goto('/products/secure-internet-access-enterprise/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Enterprise Secure Internet Gateway' || t.startsWith('Enterprise Secure Internet Gateway'))).toBeTruthy();
});
test('products_secure_internet_access_enterprise: h2 "Stop attacker movement with gr"', async ({ page }) => {
await page.goto('/products/secure-internet-access-enterprise/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Stop attacker movement with granular access' || t.startsWith('Stop attacker movement with granular access'))).toBeTruthy();
});
test('products_secure_internet_access_enterprise: h2 "Actively defend against malwar"', async ({ page }) => {
await page.goto('/products/secure-internet-access-enterprise/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Actively defend against malware, ransomware, and phishing' || t.startsWith('Actively defend against malware, ransomware, and phishing'))).toBeTruthy();
});
test('products_secure_internet_access_enterprise: h2 "How it works"', async ({ page }) => {
await page.goto('/products/secure-internet-access-enterprise/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How it works' || t.startsWith('How it works'))).toBeTruthy();
});
test('products_secure_internet_access_enterprise: header link "View details"', async ({ page }) => {
await page.goto('/products/secure-internet-access-enterprise/');
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 === 'View details' || t.startsWith('View details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('products_secure_internet_access_enterprise: nav link "Sales"', async ({ page }) => {
await page.goto('/products/secure-internet-access-enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('products_secure_internet_access_enterprise: nav link "Support"', async ({ page }) => {
await page.goto('/products/secure-internet-access-enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('products_secure_internet_access_enterprise: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/products/secure-internet-access-enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - why_quorvex_global_infrastructure', () => {
test('why_quorvex_global_infrastructure: title matches GT', async ({ page }) => {
await page.goto('/why-quorvex/global-infrastructure/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('quorvex global infrastructure');
});
test('why_quorvex_global_infrastructure: h2 "Wherever your business operate"', async ({ page }) => {
await page.goto('/why-quorvex/global-infrastructure/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Wherever your business operates, Quorvex is' || t.startsWith('Wherever your business operates, Quorvex is'))).toBeTruthy();
});
test('why_quorvex_global_infrastructure: h2 "Explore the Quorvex global inf"', async ({ page }) => {
await page.goto('/why-quorvex/global-infrastructure/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Explore the Quorvex global infrastructure map' || t.startsWith('Explore the Quorvex global infrastructure map'))).toBeTruthy();
});
test('why_quorvex_global_infrastructure: h2 "Quorvex Cloud continuum for wo"', async ({ page }) => {
await page.goto('/why-quorvex/global-infrastructure/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Cloud continuum for workload placement and data residency' || t.startsWith('Quorvex Cloud continuum for workload placement and data residency'))).toBeTruthy();
});
test('why_quorvex_global_infrastructure: header link "View details"', async ({ page }) => {
await page.goto('/why-quorvex/global-infrastructure/');
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 === 'View details' || t.startsWith('View details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('why_quorvex_global_infrastructure: nav link "Sales"', async ({ page }) => {
await page.goto('/why-quorvex/global-infrastructure/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('why_quorvex_global_infrastructure: nav link "Support"', async ({ page }) => {
await page.goto('/why-quorvex/global-infrastructure/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('why_quorvex_global_infrastructure: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/why-quorvex/global-infrastructure/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - why_quorvex_stop_cyberthreats', () => {
test('why_quorvex_stop_cyberthreats: title matches GT', async ({ page }) => {
await page.goto('/why-quorvex/stop-cyberthreats/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('stop ransomware & ddos attacks');
});
test('why_quorvex_stop_cyberthreats: h1 "Cyberthreat? Our team is stand"', async ({ page }) => {
await page.goto('/why-quorvex/stop-cyberthreats/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cyberthreat? Our team is standing by.' || t.startsWith('Cyberthreat? Our team is standing by.'))).toBeTruthy();
});
test('why_quorvex_stop_cyberthreats: h2 "Request rapid protection"', async ({ page }) => {
await page.goto('/why-quorvex/stop-cyberthreats/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Request rapid protection' || t.startsWith('Request rapid protection'))).toBeTruthy();
});
test('why_quorvex_stop_cyberthreats: h2 "Defense against the most damag"', async ({ page }) => {
await page.goto('/why-quorvex/stop-cyberthreats/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Defense against the most damaging attacks' || t.startsWith('Defense against the most damaging attacks'))).toBeTruthy();
});
test('why_quorvex_stop_cyberthreats: h3 "We\'re here 24/7"', async ({ page }) => {
await page.goto('/why-quorvex/stop-cyberthreats/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'We\'re here 24/7' || t.startsWith('We\'re here 24/7'))).toBeTruthy();
});
test('why_quorvex_stop_cyberthreats: header link "Get details"', async ({ page }) => {
await page.goto('/why-quorvex/stop-cyberthreats/');
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 === 'Get details' || t.startsWith('Get details')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('why_quorvex_stop_cyberthreats: nav link "Sales"', async ({ page }) => {
await page.goto('/why-quorvex/stop-cyberthreats/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('why_quorvex_stop_cyberthreats: nav link "Support"', async ({ page }) => {
await page.goto('/why-quorvex/stop-cyberthreats/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('why_quorvex_stop_cyberthreats: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/why-quorvex/stop-cyberthreats/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control', () => {
test('newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control: title matches GT', async ({ page }) => {
await page.goto('/newsroom/press-release/quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('quorvex announces intent to acquire brig');
});
test('newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control: h1 "Quorvex Technologies to Acquir"', async ({ page }) => {
await page.goto('/newsroom/press-release/quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Technologies to Acquire Brightwall, Strengthening Its Workforce Security Strategy Through AI' || t.startsWith('Quorvex Technologies to Acquire Brightwall, Strengthening Its Workforce Security Strategy Through AI'))).toBeTruthy();
});
test('newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control: h2 "About Quorvex"', async ({ page }) => {
await page.goto('/newsroom/press-release/quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Quorvex' || t.startsWith('About Quorvex'))).toBeTruthy();
});
test('newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control: h3 "Quorvex Statement Under the Pr"', async ({ page }) => {
await page.goto('/newsroom/press-release/quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Statement Under the Private Securities Litigation Reform Act' || t.startsWith('Quorvex Statement Under the Private Securities Litigation Reform Act'))).toBeTruthy();
});
test('newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control: h5 "Quorvex Cloud"', async ({ page }) => {
await page.goto('/newsroom/press-release/quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control/');
const texts = (await page.locator('h5').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quorvex Cloud' || t.startsWith('Quorvex Cloud'))).toBeTruthy();
});
test('newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control: nav link "Sales"', async ({ page }) => {
await page.goto('/newsroom/press-release/quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control: nav link "Support"', async ({ page }) => {
await page.goto('/newsroom/press-release/quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/newsroom/press-release/quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
test('newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control: nav link "See cloud computing"', async ({ page }) => {
await page.goto('/newsroom/press-release/quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See cloud computing' || t.startsWith('See cloud computing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cloud')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - why_quorvex_contact_us_contact_sales', () => {
test('why_quorvex_contact_us_contact_sales: title matches GT', async ({ page }) => {
await page.goto('/why-quorvex/contact-us/contact-sales/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('contact sales');
});
test('why_quorvex_contact_us_contact_sales: h1 "Talk to Sales"', async ({ page }) => {
await page.goto('/why-quorvex/contact-us/contact-sales/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Talk to Sales' || t.startsWith('Talk to Sales'))).toBeTruthy();
});
test('why_quorvex_contact_us_contact_sales: h2 "Phone our team"', async ({ page }) => {
await page.goto('/why-quorvex/contact-us/contact-sales/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Phone our team' || t.startsWith('Phone our team'))).toBeTruthy();
});
test('why_quorvex_contact_us_contact_sales: h2 "Locate a nearby office"', async ({ page }) => {
await page.goto('/why-quorvex/contact-us/contact-sales/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Locate a nearby office' || t.startsWith('Locate a nearby office'))).toBeTruthy();
});
test('why_quorvex_contact_us_contact_sales: h3 "Ask for a call"', async ({ page }) => {
await page.goto('/why-quorvex/contact-us/contact-sales/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ask for a call' || t.startsWith('Ask for a call'))).toBeTruthy();
});
test('why_quorvex_contact_us_contact_sales: header link "Read more"', async ({ page }) => {
await page.goto('/why-quorvex/contact-us/contact-sales/');
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 === 'Read more' || t.startsWith('Read more')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control')), 'href fragment present').toBeTruthy();
});
test('why_quorvex_contact_us_contact_sales: nav link "Sales"', async ({ page }) => {
await page.goto('/why-quorvex/contact-us/contact-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales' || t.startsWith('Sales')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('contact-sales')), 'href fragment present').toBeTruthy();
});
test('why_quorvex_contact_us_contact_sales: nav link "Support"', async ({ page }) => {
await page.goto('/why-quorvex/contact-us/contact-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Support' || t.startsWith('Support')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('support')), 'href fragment present').toBeTruthy();
});
test('why_quorvex_contact_us_contact_sales: nav link "Under Attack?"', async ({ page }) => {
await page.goto('/why-quorvex/contact-us/contact-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Under Attack?' || t.startsWith('Under Attack?')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('stop-cyberthreats')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - Routing', () => {
test('navigate to newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control via "Get details"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control"]').first();
expect(await link.count(), 'nav link to newsroom_press_release_quorvex_technologies_announces_intent_to_acquire_layerx_advancing_its_workforce_security_strategy_with_ai_usage_control exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('quorvex-technologies-announces-intent-to-acquire-layerx-advancing-its-workforce-security-strategy-with-ai-usage-control');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Quorvex Technologies to Acquire Brightwall, Strengthening It');
});
test('navigate to why_quorvex_contact_us_contact_sales via "Sales"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="contact-sales"]').first();
expect(await link.count(), 'nav link to why_quorvex_contact_us_contact_sales exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('contact-sales');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Talk to Sales');
});
test('navigate to global_services_support via "Support"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="support"]').first();
expect(await link.count(), 'nav link to global_services_support exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('support');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Support Contacts');
});
});