RecreationBench / web /cascora.example /tests /static /content.scripted.spec.ts
VoyagerXHF's picture
Upload folder using huggingface_hub (part 26)
5115c57 verified
Raw History Blame Contribute Delete
247 kB
import { test, expect } from '@playwright/test';
test.describe('Functional - homepage', () => {
test('homepage: title matches GT', async ({ page }) => {
await page.goto('/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora');
});
test('homepage: h2 "Create and scale context-aware"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Create and scale context-aware AI agents, and ship GTM workflows with ease.' || t.startsWith('Create and scale context-aware AI agents, and ship GTM workflows with ease.'))).toBeTruthy();
});
test('homepage: h2 "Unite enrichments, intent sign"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unite enrichments, intent signals, and CRM data, decide which accounts to chase, and trigger action' || t.startsWith('Unite enrichments, intent signals, and CRM data, decide which accounts to chase, and trigger action'))).toBeTruthy();
});
test('homepage: nav link "PricingPricing"', 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 === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Get a demo"', 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 === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "CoragentsResearch target accou"', 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 === 'CoragentsResearch target accounts and people using AI' || t.startsWith('CoragentsResearch target accounts and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "WaterfallBlend multiple data p"', 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 === 'WaterfallBlend multiple data providers to reach the best cov' || t.startsWith('WaterfallBlend multiple data providers to reach the best cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - about', () => {
test('about: title matches GT', async ({ page }) => {
await page.goto('/about/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('about');
});
test('about: h1 "Hi, we\'re Cascora"', async ({ page }) => {
await page.goto('/about/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hi, we\'re Cascora' || t.startsWith('Hi, we\'re Cascora'))).toBeTruthy();
});
test('about: h2 "Cascora makes powerful tools t"', async ({ page }) => {
await page.goto('/about/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora makes powerful tools to help people grow their businesses.' || t.startsWith('Cascora makes powerful tools to help people grow their businesses.'))).toBeTruthy();
});
test('about: h2 "We help teams build the strong"', async ({ page }) => {
await page.goto('/about/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'We help teams build the strongest data foundation possible to reach their ideal customers.' || t.startsWith('We help teams build the strongest data foundation possible to reach their ideal customers.'))).toBeTruthy();
});
test('about: h2 "Our people"', async ({ page }) => {
await page.goto('/about/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our people' || t.startsWith('Our people'))).toBeTruthy();
});
test('about: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('about: nav link "Get a demo"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('about: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and people using AI' || t.startsWith('CoragentsResearch target accounts and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('about: nav link "WaterfallChain multiple data v"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain multiple data vendors together for full cover' || t.startsWith('WaterfallChain multiple data vendors together for full cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ads', () => {
test('ads: title matches GT', async ({ page }) => {
await page.goto('/ads/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('create ad audiences from crm records and');
});
test('ads: h1 "Concentrate ad spend on your t"', async ({ page }) => {
await page.goto('/ads/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Concentrate ad spend on your top CRM accounts' || t.startsWith('Concentrate ad spend on your top CRM accounts'))).toBeTruthy();
});
test('ads: h2 "Activate your audiences across"', async ({ page }) => {
await page.goto('/ads/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Activate your audiences across Linkora, Reachly and Searchgrid' || t.startsWith('Activate your audiences across Linkora, Reachly and Searchgrid'))).toBeTruthy();
});
test('ads: h2 "Boost match rates on Reachly"', async ({ page }) => {
await page.goto('/ads/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Boost match rates on Reachly' || t.startsWith('Boost match rates on Reachly'))).toBeTruthy();
});
test('ads: h2 "Make ads a dependable engine f"', async ({ page }) => {
await page.goto('/ads/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Make ads a dependable engine for pipeline' || t.startsWith('Make ads a dependable engine for pipeline'))).toBeTruthy();
});
test('ads: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/ads/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('ads: nav link "Get a demo"', async ({ page }) => {
await page.goto('/ads/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('ads: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/ads/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and people using AI' || t.startsWith('CoragentsResearch target accounts and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('ads: nav link "WaterfallCombine several data "', async ({ page }) => {
await page.goto('/ads/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallCombine several data providers for the widest cover' || t.startsWith('WaterfallCombine several data providers for the widest cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ai_formula', () => {
test('ai_formula: title matches GT', async ({ page }) => {
await page.goto('/ai-formula/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('run any workflow dynamically using condi');
});
test('ai_formula: h1 "Trigger any workflow condition"', async ({ page }) => {
await page.goto('/ai-formula/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trigger any workflow conditionally with AI formulas' || t.startsWith('Trigger any workflow conditionally with AI formulas'))).toBeTruthy();
});
test('ai_formula: h2 "Trusted by 500,000 leading GTM"', async ({ page }) => {
await page.goto('/ai-formula/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trusted by 500,000 leading GTM teams of every size' || t.startsWith('Trusted by 500,000 leading GTM teams of every size'))).toBeTruthy();
});
test('ai_formula: h2 "Orchestrate every workflow wit"', async ({ page }) => {
await page.goto('/ai-formula/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Orchestrate every workflow with the freedom of doing it your way' || t.startsWith('Orchestrate every workflow with the freedom of doing it your way'))).toBeTruthy();
});
test('ai_formula: h2 "Capabilities"', async ({ page }) => {
await page.goto('/ai-formula/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capabilities' || t.startsWith('Capabilities'))).toBeTruthy();
});
test('ai_formula: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/ai-formula/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('ai_formula: nav link "Get a demo"', async ({ page }) => {
await page.goto('/ai-formula/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('ai_formula: nav link "CascentsInvestigate accounts a"', async ({ page }) => {
await page.goto('/ai-formula/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsInvestigate accounts and prospects using AI' || t.startsWith('CascentsInvestigate accounts and prospects using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('ai_formula: nav link "WaterfallLayer several data pr"', async ({ page }) => {
await page.goto('/ai-formula/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data providers together for full cove' || t.startsWith('WaterfallLayer several data providers together for full cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - audiences', () => {
test('audiences: title matches GT', async ({ page }) => {
await page.goto('/audiences/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('audiences, centralize your gtm data');
});
test('audiences: h1 "Unify all your GTM data"', async ({ page }) => {
await page.goto('/audiences/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unify all your GTM data' || t.startsWith('Unify all your GTM data'))).toBeTruthy();
});
test('audiences: h2 "Vantra"', async ({ page }) => {
await page.goto('/audiences/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vantra' || t.startsWith('Vantra'))).toBeTruthy();
});
test('audiences: h2 "Marcus Feld"', async ({ page }) => {
await page.goto('/audiences/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Marcus Feld' || t.startsWith('Marcus Feld'))).toBeTruthy();
});
test('audiences: h2 "Core features"', async ({ page }) => {
await page.goto('/audiences/');
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('audiences: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('audiences: nav link "Get a demo"', async ({ page }) => {
await page.goto('/audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('audiences: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and prospects with AI' || t.startsWith('CoragentsResearch target accounts and prospects with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('audiences: nav link "WaterfallChain multiple data p"', async ({ page }) => {
await page.goto('/audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain multiple data providers together for the best' || t.startsWith('WaterfallChain multiple data providers together for the best')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog', () => {
test('blog: title matches GT', async ({ page }) => {
await page.goto('/blog/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('the cascora gtm blog');
});
test('blog: h1 "Go-to-market with Cascora"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Go-to-market with Cascora' || t.startsWith('Go-to-market with Cascora'))).toBeTruthy();
});
test('blog: h2 "Best of the Signal"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Best of the Signal' || t.startsWith('Best of the Signal'))).toBeTruthy();
});
test('blog: h2 "Industry Insights"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Industry Insights' || t.startsWith('Industry Insights'))).toBeTruthy();
});
test('blog: h2 "Case Studies"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Case Studies' || t.startsWith('Case Studies'))).toBeTruthy();
});
test('blog: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Get a demo"', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and buyers with AI' || t.startsWith('CoragentsResearch target accounts and buyers with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "WaterfallLayer multiple data v"', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data vendors for the highest coverag' || t.startsWith('WaterfallLayer multiple data vendors for the highest coverag')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - careers', () => {
test('careers: title matches GT', async ({ page }) => {
await page.goto('/careers/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('join the cascora crew');
});
test('careers: h1 "Join the Cascora crew"', async ({ page }) => {
await page.goto('/careers/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the Cascora crew' || t.startsWith('Join the Cascora crew'))).toBeTruthy();
});
test('careers: h2 "Any of these catch your eye?"', async ({ page }) => {
await page.goto('/careers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Any of these catch your eye?' || t.startsWith('Any of these catch your eye?'))).toBeTruthy();
});
test('careers: h2 "Marketing"', async ({ page }) => {
await page.goto('/careers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Marketing' || t.startsWith('Marketing'))).toBeTruthy();
});
test('careers: h2 "What drives us forward"', async ({ page }) => {
await page.goto('/careers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What drives us forward' || t.startsWith('What drives us forward'))).toBeTruthy();
});
test('careers: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/careers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('careers: nav link "Get a demo"', async ({ page }) => {
await page.goto('/careers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('careers: nav link "Log in"', async ({ page }) => {
await page.goto('/careers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('careers: nav link "Explore target accounts and pe"', async ({ page }) => {
await page.goto('/careers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Explore target accounts and people using AIWaterfall' || t.startsWith('Explore target accounts and people using AIWaterfall')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - changelog', () => {
test('changelog: title matches GT', async ({ page }) => {
await page.goto('/changelog/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('what\'s new at cascora');
});
test('changelog: h1 "What\'s new"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What\'s new' || t.startsWith('What\'s new'))).toBeTruthy();
});
test('changelog: h2 "Featured highlights"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Featured highlights' || t.startsWith('Featured highlights'))).toBeTruthy();
});
test('changelog: h2 "Functions"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Functions' || t.startsWith('Functions'))).toBeTruthy();
});
test('changelog: h2 "Corva"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Corva' || t.startsWith('Corva'))).toBeTruthy();
});
test('changelog: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/changelog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('changelog: nav link "Get a demo"', async ({ page }) => {
await page.goto('/changelog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('changelog: nav link "CoragentsEnrich accounts and c"', async ({ page }) => {
await page.goto('/changelog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich accounts and contacts using AI agents' || t.startsWith('CoragentsEnrich accounts and contacts using AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('changelog: nav link "WaterfallChain several data ve"', async ({ page }) => {
await page.goto('/changelog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data vendors together for full covera' || t.startsWith('WaterfallChain several data vendors together for full covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascora_cup', () => {
test('cascora_cup: title matches GT', async ({ page }) => {
await page.goto('/cascora-cup/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora cup 26');
});
test('cascora_cup: h1 "Be first to hear about Cascora"', async ({ page }) => {
await page.goto('/cascora-cup/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Be first to hear about Cascora Cup' || t.startsWith('Be first to hear about Cascora Cup'))).toBeTruthy();
});
test('cascora_cup: h2 "An electric atmosphere"', async ({ page }) => {
await page.goto('/cascora-cup/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'An electric atmosphere' || t.startsWith('An electric atmosphere'))).toBeTruthy();
});
test('cascora_cup: h2 "BOLD GTM PLAYS"', async ({ page }) => {
await page.goto('/cascora-cup/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'BOLD GTM PLAYS' || t.startsWith('BOLD GTM PLAYS'))).toBeTruthy();
});
test('cascora_cup: h2 "onstage and streamed live"', async ({ page }) => {
await page.goto('/cascora-cup/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'onstage and streamed live' || t.startsWith('onstage and streamed live'))).toBeTruthy();
});
});
test.describe('Functional - cascora_for_gtm_ops', () => {
test('cascora_for_gtm_ops: title matches GT', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for gtm ops teams');
});
test('cascora_for_gtm_ops: h1 "Create the data foundation tha"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Create the data foundation that makes any GTM idea real' || t.startsWith('Create the data foundation that makes any GTM idea real'))).toBeTruthy();
});
test('cascora_for_gtm_ops: h2 "Trusted by the world’s leading"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trusted by the world’s leading GTM Ops and RevOps teams' || t.startsWith('Trusted by the world’s leading GTM Ops and RevOps teams'))).toBeTruthy();
});
test('cascora_for_gtm_ops: h2 "Pull data from 150+ sources to"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pull data from 150+ sources together across every system' || t.startsWith('Pull data from 150+ sources together across every system'))).toBeTruthy();
});
test('cascora_for_gtm_ops: h2 "Fill rates and accuracy no one"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fill rates and accuracy no one can match' || t.startsWith('Fill rates and accuracy no one can match'))).toBeTruthy();
});
test('cascora_for_gtm_ops: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascora_for_gtm_ops: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascora_for_gtm_ops: nav link "ScoutbotsResearch target accou"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ScoutbotsResearch target accounts and contacts using AI' || t.startsWith('ScoutbotsResearch target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascora_for_gtm_ops: nav link "WaterfallBlend several data ve"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data vendors to maximize match covera' || t.startsWith('WaterfallBlend several data vendors to maximize match covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascora_for_marketing', () => {
test('cascora_for_marketing: title matches GT', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for marketing teams');
});
test('cascora_for_marketing: h1 "Turn detailed prospect data in"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Turn detailed prospect data into campaigns that perform better' || t.startsWith('Turn detailed prospect data into campaigns that perform better'))).toBeTruthy();
});
test('cascora_for_marketing: h2 "Trusted by the best Marketing "', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trusted by the best Marketing teams worldwide' || t.startsWith('Trusted by the best Marketing teams worldwide'))).toBeTruthy();
});
test('cascora_for_marketing: h2 "Bring 1:1 personalization to s"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring 1:1 personalization to scale in every channel' || t.startsWith('Bring 1:1 personalization to scale in every channel'))).toBeTruthy();
});
test('cascora_for_marketing: h2 "Answer qualified inbounds in a"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Answer qualified inbounds in an instant' || t.startsWith('Answer qualified inbounds in an instant'))).toBeTruthy();
});
test('cascora_for_marketing: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascora_for_marketing: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascora_for_marketing: nav link "ScoutbotsResearch target accou"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ScoutbotsResearch target accounts and buyers with AI' || t.startsWith('ScoutbotsResearch target accounts and buyers with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascora_for_marketing: nav link "WaterfallBlend several data ve"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data vendors for the widest coverage' || t.startsWith('WaterfallBlend several data vendors for the widest coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascora_for_private_equity', () => {
test('cascora_for_private_equity: title matches GT', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for private equity');
});
test('cascora_for_private_equity: h1 "Value Creation Teams in Privat"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Value Creation Teams in Private Equity' || t.startsWith('Value Creation Teams in Private Equity'))).toBeTruthy();
});
test('cascora_for_private_equity: h2 "The Cascora Portfolio EBITDA G"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Cascora Portfolio EBITDA Growth Engine' || t.startsWith('The Cascora Portfolio EBITDA Growth Engine'))).toBeTruthy();
});
test('cascora_for_private_equity: h2 "Show EBITDA impact inside 100 "', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Show EBITDA impact inside 100 days' || t.startsWith('Show EBITDA impact inside 100 days'))).toBeTruthy();
});
test('cascora_for_private_equity: h2 "Roll out with vetted implement"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Roll out with vetted implementation partners' || t.startsWith('Roll out with vetted implementation partners'))).toBeTruthy();
});
test('cascora_for_private_equity: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascora_for_private_equity: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascora_for_private_equity: nav link "CoragentsResearch prospective "', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch prospective firms and contacts using AI' || t.startsWith('CoragentsResearch prospective firms and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascora_for_private_equity: nav link "WaterfallChain several data ve"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data vendors together for maximum cov' || t.startsWith('WaterfallChain several data vendors together for maximum cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascora_for_sales', () => {
test('cascora_for_sales: title matches GT', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for sales teams');
});
test('cascora_for_sales: h1 "Make each sales outreach swift"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Make each sales outreach swift and truly personal' || t.startsWith('Make each sales outreach swift and truly personal'))).toBeTruthy();
});
test('cascora_for_sales: h2 "Relied on by the planet\'s best"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Relied on by the planet\'s best sales teams' || t.startsWith('Relied on by the planet\'s best sales teams'))).toBeTruthy();
});
test('cascora_for_sales: h2 "Deliver prospect data your sel"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deliver prospect data your sellers can genuinely trust and act on' || t.startsWith('Deliver prospect data your sellers can genuinely trust and act on'))).toBeTruthy();
});
test('cascora_for_sales: h2 "Personalize every outbound tou"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Personalize every outbound touch' || t.startsWith('Personalize every outbound touch'))).toBeTruthy();
});
test('cascora_for_sales: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascora_for_sales: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascora_for_sales: nav link "CascentsResearch accounts and "', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch accounts and contacts using AI agents' || t.startsWith('CascentsResearch accounts and contacts using AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascora_for_sales: nav link "WaterfallLayer several enrichm"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several enrichment sources to maximize match ' || t.startsWith('WaterfallLayer several enrichment sources to maximize match ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascora_for_startups', () => {
test('cascora_for_startups: title matches GT', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('validate your icp, hit pmf faster');
});
test('cascora_for_startups: h2 "Cascora lets team members sell"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora lets team members sell shares at a \$5b valuation.' || t.startsWith('Cascora lets team members sell shares at a \$5b valuation.'))).toBeTruthy();
});
test('cascora_for_startups: h2 "Driving the growth engines of "', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Driving the growth engines of the fastest-scaling startups on earth' || t.startsWith('Driving the growth engines of the fastest-scaling startups on earth'))).toBeTruthy();
});
test('cascora_for_startups: h2 "See what converts and what doe"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See what converts and what doesn’t' || t.startsWith('See what converts and what doesn’t'))).toBeTruthy();
});
test('cascora_for_startups: h2 "Ignite is Cascora\'s virtual GT"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ignite is Cascora\'s virtual GTM acceleration program for the fastest-growing, venture-backed startup' || t.startsWith('Ignite is Cascora\'s virtual GTM acceleration program for the fastest-growing, venture-backed startup'))).toBeTruthy();
});
test('cascora_for_startups: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascora_for_startups: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascora_for_startups: nav link "CascentsResearch accounts and "', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch accounts and contacts with built-in AI' || t.startsWith('CascentsResearch accounts and contacts with built-in AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascora_for_startups: nav link "WaterfallChain several data pr"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data providers for the best coverage' || t.startsWith('WaterfallChain several data providers for the best coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascoragent', () => {
test('cascoragent: title matches GT', async ({ page }) => {
await page.goto('/cascoragent/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascents');
});
test('cascoragent: h1 "Grow your market advantage wit"', async ({ page }) => {
await page.goto('/cascoragent/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Grow your market advantage with AI agents for GTM' || t.startsWith('Grow your market advantage with AI agents for GTM'))).toBeTruthy();
});
test('cascoragent: h2 "Nathan Rourke"', async ({ page }) => {
await page.goto('/cascoragent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nathan Rourke' || t.startsWith('Nathan Rourke'))).toBeTruthy();
});
test('cascoragent: h2 "Built where your entire GTM co"', async ({ page }) => {
await page.goto('/cascoragent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Built where your entire GTM context lives' || t.startsWith('Built where your entire GTM context lives'))).toBeTruthy();
});
test('cascoragent: h2 "The data other providers can\'t"', async ({ page }) => {
await page.goto('/cascoragent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The data other providers can\'t find, but Cascents can' || t.startsWith('The data other providers can\'t find, but Cascents can'))).toBeTruthy();
});
test('cascoragent: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascoragent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascoragent: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascoragent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascoragent: nav link "CascentsInvestigate key accoun"', async ({ page }) => {
await page.goto('/cascoragent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsInvestigate key accounts and prospects with AI' || t.startsWith('CascentsInvestigate key accounts and prospects with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascoragent: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/cascoragent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for wider cover' || t.startsWith('WaterfallLayer several data vendors together for wider cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers', () => {
test('customers: title matches GT', async ({ page }) => {
await page.goto('/customers/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('customer stories');
});
test('customers: h1 "How top teams find GTM alpha w"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How top teams find GTM alpha with Cascora' || t.startsWith('How top teams find GTM alpha with Cascora'))).toBeTruthy();
});
test('customers: h2 "You\'re in great company"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'You\'re in great company' || t.startsWith('You\'re in great company'))).toBeTruthy();
});
test('customers: h2 "How teams like yours use Casco"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How teams like yours use Cascora' || t.startsWith('How teams like yours use Cascora'))).toBeTruthy();
});
test('customers: h2 "Loved by teams"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Loved by teams' || t.startsWith('Loved by teams'))).toBeTruthy();
});
test('customers: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "ScoutbotsResearch target accou"', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ScoutbotsResearch target accounts and prospects with AI' || t.startsWith('ScoutbotsResearch target accounts and prospects with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "WaterfallBlend several data pr"', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data providers to maximize match cove' || t.startsWith('WaterfallBlend several data providers to maximize match cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - demo', () => {
test('demo: title matches GT', async ({ page }) => {
await page.goto('/demo/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('talk to a cascora gtm engineer');
});
test('demo: h1 "See Cascora live"', async ({ page }) => {
await page.goto('/demo/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See Cascora live' || t.startsWith('See Cascora live'))).toBeTruthy();
});
test('demo: h1 "How may we help? (Optional)"', async ({ page }) => {
await page.goto('/demo/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How may we help? (Optional)' || t.startsWith('How may we help? (Optional)'))).toBeTruthy();
});
test('demo: h3 "Nuvex"', async ({ page }) => {
await page.goto('/demo/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nuvex' || t.startsWith('Nuvex'))).toBeTruthy();
});
test('demo: h3 "Corely"', async ({ page }) => {
await page.goto('/demo/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Corely' || t.startsWith('Corely'))).toBeTruthy();
});
test('demo: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/demo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('demo: nav link "Get a demo"', async ({ page }) => {
await page.goto('/demo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('demo: nav link "AI AgentsEnrich target account"', async ({ page }) => {
await page.goto('/demo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI AgentsEnrich target accounts and contacts using AI' || t.startsWith('AI AgentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('demo: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/demo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors to maximize match covera' || t.startsWith('WaterfallLayer several data vendors to maximize match covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - enterprise', () => {
test('enterprise: title matches GT', async ({ page }) => {
await page.goto('/enterprise/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for enterprise teams');
});
test('enterprise: h1 "Unify and act on your data for"', async ({ page }) => {
await page.goto('/enterprise/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unify and act on your data for any GTM workflow' || t.startsWith('Unify and act on your data for any GTM workflow'))).toBeTruthy();
});
test('enterprise: h2 "Distinct, comprehensive data c"', async ({ page }) => {
await page.goto('/enterprise/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Distinct, comprehensive data coverage tuned to your ICP' || t.startsWith('Distinct, comprehensive data coverage tuned to your ICP'))).toBeTruthy();
});
test('enterprise: h2 "Launch any GTM workflow quickl"', async ({ page }) => {
await page.goto('/enterprise/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch any GTM workflow quickly' || t.startsWith('Launch any GTM workflow quickly'))).toBeTruthy();
});
test('enterprise: h2 "Cut vendor sprawl and overhead"', async ({ page }) => {
await page.goto('/enterprise/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cut vendor sprawl and overhead' || t.startsWith('Cut vendor sprawl and overhead'))).toBeTruthy();
});
test('enterprise: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('enterprise: nav link "Get a demo"', async ({ page }) => {
await page.goto('/enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('enterprise: nav link "CoragentsResearch accounts and"', async ({ page }) => {
await page.goto('/enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch accounts and contacts using AI agents' || t.startsWith('CoragentsResearch accounts and contacts using AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('enterprise: nav link "WaterfallLayer several data pr"', async ({ page }) => {
await page.goto('/enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data providers together for maximum c' || t.startsWith('WaterfallLayer several data providers together for maximum c')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - experts', () => {
test('experts: title matches GT', async ({ page }) => {
await page.goto('/experts/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora solutions partner directory');
});
test('experts: h1 "Scale faster with Cascora cert"', async ({ page }) => {
await page.goto('/experts/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scale faster with Cascora certified partners' || t.startsWith('Scale faster with Cascora certified partners'))).toBeTruthy();
});
test('experts: h2 "Make your growth ideas real st"', async ({ page }) => {
await page.goto('/experts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Make your growth ideas real starting today' || t.startsWith('Make your growth ideas real starting today'))).toBeTruthy();
});
test('experts: h2 "Launch to market with data oth"', async ({ page }) => {
await page.goto('/experts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch to market with data others can\'t reach—and act on it' || t.startsWith('Launch to market with data others can\'t reach—and act on it'))).toBeTruthy();
});
test('experts: h3 "Solutions"', async ({ page }) => {
await page.goto('/experts/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Solutions' || t.startsWith('Solutions'))).toBeTruthy();
});
test('experts: nav link "Pricing Pricing"', async ({ page }) => {
await page.goto('/experts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pricing Pricing' || t.startsWith('Pricing Pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('experts: nav link "Get a demo"', async ({ page }) => {
await page.goto('/experts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('experts: nav link "Cascents Profile accounts and "', async ({ page }) => {
await page.goto('/experts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascents Profile accounts and prospects with AI agents' || t.startsWith('Cascents Profile accounts and prospects with AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('experts: nav link "Waterfall Chain many data vend"', async ({ page }) => {
await page.goto('/experts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Waterfall Chain many data vendors together for the widest co' || t.startsWith('Waterfall Chain many data vendors together for the widest co')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - functions', () => {
test('functions: title matches GT', async ({ page }) => {
await page.goto('/functions/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('functions, design a workflow one time an');
});
test('functions: h1 "Design your workflows once—run"', async ({ page }) => {
await page.goto('/functions/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Design your workflows once—run them everywhere' || t.startsWith('Design your workflows once—run them everywhere'))).toBeTruthy();
});
test('functions: h2 "Theo Marchetti"', async ({ page }) => {
await page.goto('/functions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Theo Marchetti' || t.startsWith('Theo Marchetti'))).toBeTruthy();
});
test('functions: h2 "Centrally managed workflows"', async ({ page }) => {
await page.goto('/functions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Centrally managed workflows' || t.startsWith('Centrally managed workflows'))).toBeTruthy();
});
test('functions: h2 "Capabilities"', async ({ page }) => {
await page.goto('/functions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capabilities' || t.startsWith('Capabilities'))).toBeTruthy();
});
test('functions: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('functions: nav link "Get a demo"', async ({ page }) => {
await page.goto('/functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('functions: nav link "CoragentsStudy target accounts"', async ({ page }) => {
await page.goto('/functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsStudy target accounts and people using AI' || t.startsWith('CoragentsStudy target accounts and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('functions: nav link "WaterfallMerge many data provi"', async ({ page }) => {
await page.goto('/functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallMerge many data providers to reach the widest cover' || t.startsWith('WaterfallMerge many data providers to reach the widest cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - integrations', () => {
test('integrations: title matches GT', async ({ page }) => {
await page.goto('/integrations/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('integrations');
});
test('integrations: h1 "Dive into our expanding integr"', async ({ page }) => {
await page.goto('/integrations/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Dive into our expanding integration catalog' || t.startsWith('Dive into our expanding integration catalog'))).toBeTruthy();
});
test('integrations: h2 "Every integration provider"', async ({ page }) => {
await page.goto('/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Every integration provider' || t.startsWith('Every integration provider'))).toBeTruthy();
});
test('integrations: h2 "Bring your revenue vision to l"', async ({ page }) => {
await page.goto('/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your revenue vision to life today' || t.startsWith('Bring your revenue vision to life today'))).toBeTruthy();
});
test('integrations: h2 "Reach your market with data yo"', async ({ page }) => {
await page.goto('/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reach your market with data you own—and the power to use it' || t.startsWith('Reach your market with data you own—and the power to use it'))).toBeTruthy();
});
test('integrations: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('integrations: nav link "Get a demo"', async ({ page }) => {
await page.goto('/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('integrations: nav link "CascentsEnrich target accounts"', async ({ page }) => {
await page.goto('/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsEnrich target accounts and contacts using AI' || t.startsWith('CascentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('integrations: nav link "LayeringBlend multiple data pr"', async ({ page }) => {
await page.goto('/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'LayeringBlend multiple data providers to maximize your cover' || t.startsWith('LayeringBlend multiple data providers to maximize your cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - job_board', () => {
test('job_board: title matches GT', async ({ page }) => {
await page.goto('/job-board/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('gtm job board');
});
test('job_board: h1 "Top GTM roles for Cascora pros"', async ({ page }) => {
await page.goto('/job-board/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Top GTM roles for Cascora pros' || t.startsWith('Top GTM roles for Cascora pros'))).toBeTruthy();
});
test('job_board: h2 "GTM Engineer"', async ({ page }) => {
await page.goto('/job-board/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'GTM Engineer' || t.startsWith('GTM Engineer'))).toBeTruthy();
});
test('job_board: h2 "Manager, GTM Engineering"', async ({ page }) => {
await page.goto('/job-board/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Manager, GTM Engineering' || t.startsWith('Manager, GTM Engineering'))).toBeTruthy();
});
test('job_board: h2 "RevOps Manager"', async ({ page }) => {
await page.goto('/job-board/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'RevOps Manager' || t.startsWith('RevOps Manager'))).toBeTruthy();
});
test('job_board: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/job-board/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('job_board: nav link "Get a demo"', async ({ page }) => {
await page.goto('/job-board/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('job_board: nav link "CoragentsInvestigate target ac"', async ({ page }) => {
await page.goto('/job-board/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsInvestigate target accounts and people with AI' || t.startsWith('CoragentsInvestigate target accounts and people with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('job_board: nav link "WaterfallBlend several data pr"', async ({ page }) => {
await page.goto('/job-board/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data providers for the best coverage' || t.startsWith('WaterfallBlend several data providers for the best coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - jobs', () => {
test('jobs: title matches GT', async ({ page }) => {
await page.goto('/jobs/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('roles at cascora');
});
test('jobs: h1 "Careers at Cascora"', async ({ page }) => {
await page.goto('/jobs/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Careers at Cascora' || t.startsWith('Careers at Cascora'))).toBeTruthy();
});
test('jobs: h2 "Engineering"', async ({ page }) => {
await page.goto('/jobs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Engineering' || t.startsWith('Engineering'))).toBeTruthy();
});
test('jobs: h2 "Go-to-Market"', async ({ page }) => {
await page.goto('/jobs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Go-to-Market' || t.startsWith('Go-to-Market'))).toBeTruthy();
});
test('jobs: h2 "Design & Product"', async ({ page }) => {
await page.goto('/jobs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Design & Product' || t.startsWith('Design & Product'))).toBeTruthy();
});
test('jobs: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/jobs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('jobs: nav link "Get a demo"', async ({ page }) => {
await page.goto('/jobs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('jobs: nav link "CascentsResearch target accoun"', async ({ page }) => {
await page.goto('/jobs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch target accounts and buyers using AI' || t.startsWith('CascentsResearch target accounts and buyers using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('jobs: nav link "WaterfallLayer multiple data v"', async ({ page }) => {
await page.goto('/jobs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data vendors to maximize match cover' || t.startsWith('WaterfallLayer multiple data vendors to maximize match cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - livestreams', () => {
test('livestreams: title matches GT', async ({ page }) => {
await page.goto('/livestreams/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('gtm livestreams');
});
test('livestreams: h1 "Live GTM streams"', async ({ page }) => {
await page.goto('/livestreams/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Live GTM streams' || t.startsWith('Live GTM streams'))).toBeTruthy();
});
test('livestreams: h2 "Accelerate data enrichment"', async ({ page }) => {
await page.goto('/livestreams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Accelerate data enrichment' || t.startsWith('Accelerate data enrichment'))).toBeTruthy();
});
test('livestreams: h2 "Bring your growth experiments "', async ({ page }) => {
await page.goto('/livestreams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your growth experiments to life today' || t.startsWith('Bring your growth experiments to life today'))).toBeTruthy();
});
test('livestreams: h2 "Go to market with data no one "', async ({ page }) => {
await page.goto('/livestreams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Go to market with data no one else has—and the power to use it' || t.startsWith('Go to market with data no one else has—and the power to use it'))).toBeTruthy();
});
test('livestreams: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/livestreams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('livestreams: nav link "Get a demo"', async ({ page }) => {
await page.goto('/livestreams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('livestreams: nav link "CoragentsEnrich target account"', async ({ page }) => {
await page.goto('/livestreams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich target accounts and contacts using AI' || t.startsWith('CoragentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('livestreams: nav link "CascadeChain multiple data ven"', async ({ page }) => {
await page.goto('/livestreams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascadeChain multiple data vendors together for full coverag' || t.startsWith('CascadeChain multiple data vendors together for full coverag')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - mcp', () => {
test('mcp: title matches GT', async ({ page }) => {
await page.goto('/mcp/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora mcp prospect target accounts ins');
});
test('mcp: h1 "Work your target accounts in C"', async ({ page }) => {
await page.goto('/mcp/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Work your target accounts in ChatMate and Verse' || t.startsWith('Work your target accounts in ChatMate and Verse'))).toBeTruthy();
});
test('mcp: h2 "Give reps Cascora access via M"', async ({ page }) => {
await page.goto('/mcp/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Give reps Cascora access via MCP' || t.startsWith('Give reps Cascora access via MCP'))).toBeTruthy();
});
test('mcp: h2 "Nadia Kerr"', async ({ page }) => {
await page.goto('/mcp/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nadia Kerr' || t.startsWith('Nadia Kerr'))).toBeTruthy();
});
test('mcp: h2 "Give every rep your ops team\'s"', async ({ page }) => {
await page.goto('/mcp/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Give every rep your ops team\'s most powerful workflows' || t.startsWith('Give every rep your ops team\'s most powerful workflows'))).toBeTruthy();
});
test('mcp: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/mcp/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('mcp: nav link "Get a demo"', async ({ page }) => {
await page.goto('/mcp/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('mcp: nav link "CoremindsInvestigate target co"', async ({ page }) => {
await page.goto('/mcp/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoremindsInvestigate target companies and people with AI' || t.startsWith('CoremindsInvestigate target companies and people with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('mcp: nav link "WaterfallStack multiple data v"', async ({ page }) => {
await page.goto('/mcp/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallStack multiple data vendors to maximize match cover' || t.startsWith('WaterfallStack multiple data vendors to maximize match cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners', () => {
test('partners: title matches GT', async ({ page }) => {
await page.goto('/partners/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('partner programs');
});
test('partners: h1 "Become a Cascora Partner"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Become a Cascora Partner' || t.startsWith('Become a Cascora Partner'))).toBeTruthy();
});
test('partners: h2 "Cascora helps companies expand"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora helps companies expand by supporting and championing partners through programs engineered to' || t.startsWith('Cascora helps companies expand by supporting and championing partners through programs engineered to'))).toBeTruthy();
});
test('partners: h2 "Find the partner track that fi"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Find the partner track that fits you best' || t.startsWith('Find the partner track that fits you best'))).toBeTruthy();
});
test('partners: h2 "What our partners say"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What our partners say' || t.startsWith('What our partners say'))).toBeTruthy();
});
test('partners: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('partners: nav link "Get a demo"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('partners: nav link "CascentsResearch target accoun"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch target accounts and prospects using AI' || t.startsWith('CascentsResearch target accounts and prospects using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('partners: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for maximum cov' || t.startsWith('WaterfallLayer several data vendors together for maximum cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - press', () => {
test('press: title matches GT', async ({ page }) => {
await page.goto('/press/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('brand guidelines & logo asset downloads,');
});
test('press: h1 "Cascora Newsroom"', async ({ page }) => {
await page.goto('/press/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora Newsroom' || t.startsWith('Cascora Newsroom'))).toBeTruthy();
});
test('press: h2 "In the headlines"', async ({ page }) => {
await page.goto('/press/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'In the headlines' || t.startsWith('In the headlines'))).toBeTruthy();
});
test('press: h2 "We exist to help people grow t"', async ({ page }) => {
await page.goto('/press/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'We exist to help people grow their businesses' || t.startsWith('We exist to help people grow their businesses'))).toBeTruthy();
});
test('press: h2 "Media kit"', async ({ page }) => {
await page.goto('/press/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Media kit' || t.startsWith('Media kit'))).toBeTruthy();
});
test('press: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/press/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('press: nav link "Get a demo"', async ({ page }) => {
await page.goto('/press/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('press: nav link "CoragentsUncover target accoun"', async ({ page }) => {
await page.goto('/press/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsUncover target accounts and prospects using AI' || t.startsWith('CoragentsUncover target accounts and prospects using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('press: nav link "WaterfallBlend several data ve"', async ({ page }) => {
await page.goto('/press/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data vendors together for the widest ' || t.startsWith('WaterfallBlend several data vendors together for the widest ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - pricing', () => {
test('pricing: title matches GT', async ({ page }) => {
await page.goto('/pricing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('compare plans, features & costs');
});
test('pricing: h1 "Pricing built to fit your team"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pricing built to fit your team' || t.startsWith('Pricing built to fit your team'))).toBeTruthy();
});
test('pricing: h2 "Plans"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Plans' || t.startsWith('Plans'))).toBeTruthy();
});
test('pricing: h2 "Our users"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our users' || t.startsWith('Our users'))).toBeTruthy();
});
test('pricing: h2 "Built on enterprise-grade secu"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Built on enterprise-grade security and scale' || t.startsWith('Built on enterprise-grade security and scale'))).toBeTruthy();
});
test('pricing: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Get a demo"', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "AI AgentsResearch your target "', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI AgentsResearch your target accounts and buyers with AI' || t.startsWith('AI AgentsResearch your target accounts and buyers with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "WaterfallLayer many data vendo"', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer many data vendors together for the widest rea' || t.startsWith('WaterfallLayer many data vendors together for the widest rea')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - sculptor', () => {
test('sculptor: title matches GT', async ({ page }) => {
await page.goto('/sculptor/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('composer');
});
test('sculptor: h1 "Meet Sculptor"', async ({ page }) => {
await page.goto('/sculptor/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meet Sculptor' || t.startsWith('Meet Sculptor'))).toBeTruthy();
});
test('sculptor: h2 "Who\'s your ideal buyer? Just a"', async ({ page }) => {
await page.goto('/sculptor/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Who\'s your ideal buyer? Just ask Sculptor.' || t.startsWith('Who\'s your ideal buyer? Just ask Sculptor.'))).toBeTruthy();
});
test('sculptor: h2 "What it can do"', async ({ page }) => {
await page.goto('/sculptor/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What it can do' || t.startsWith('What it can do'))).toBeTruthy();
});
test('sculptor: h2 "Launch GTM campaigns rooted in"', async ({ page }) => {
await page.goto('/sculptor/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch GTM campaigns rooted in your context' || t.startsWith('Launch GTM campaigns rooted in your context'))).toBeTruthy();
});
test('sculptor: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/sculptor/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('sculptor: nav link "Get a demo"', async ({ page }) => {
await page.goto('/sculptor/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('sculptor: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/sculptor/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and buyers using AI' || t.startsWith('CoragentsResearch target accounts and buyers using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('sculptor: nav link "WaterfallLayer multiple data p"', async ({ page }) => {
await page.goto('/sculptor/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data providers for full coverage' || t.startsWith('WaterfallLayer multiple data providers for full coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - sdr', () => {
test('sdr: title matches GT', async ({ page }) => {
await page.goto('/sdr/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for sdrs');
});
test('sdr: h1 "Run prospecting and enrichment"', async ({ page }) => {
await page.goto('/sdr/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Run prospecting and enrichment on autopilot—right inside Corvex' || t.startsWith('Run prospecting and enrichment on autopilot—right inside Corvex'))).toBeTruthy();
});
test('sdr: h2 "Powering more than 300,000 lea"', async ({ page }) => {
await page.goto('/sdr/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powering more than 300,000 leading GTM teams of every size' || t.startsWith('Powering more than 300,000 leading GTM teams of every size'))).toBeTruthy();
});
test('sdr: h2 "See the Corvex CRM package in "', async ({ page }) => {
await page.goto('/sdr/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See the Corvex CRM package in action' || t.startsWith('See the Corvex CRM package in action'))).toBeTruthy();
});
test('sdr: h2 "1-click in Corvex to enrich co"', async ({ page }) => {
await page.goto('/sdr/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '1-click in Corvex to enrich contacts with ANY research you can imagine' || t.startsWith('1-click in Corvex to enrich contacts with ANY research you can imagine'))).toBeTruthy();
});
test('sdr: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/sdr/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('sdr: nav link "Get a demo"', async ({ page }) => {
await page.goto('/sdr/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('sdr: nav link "CascentsResearch accounts and "', async ({ page }) => {
await page.goto('/sdr/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch accounts and contacts using AI agents' || t.startsWith('CascentsResearch accounts and contacts using AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('sdr: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/sdr/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors to maximize match covera' || t.startsWith('WaterfallLayer several data vendors to maximize match covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - sequencer', () => {
test('sequencer: title matches GT', async ({ page }) => {
await page.goto('/sequencer/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('sequencer');
});
test('sequencer: h1 "Turn prospects into pipeline w"', async ({ page }) => {
await page.goto('/sequencer/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Turn prospects into pipeline with deeply tailored outbound' || t.startsWith('Turn prospects into pipeline with deeply tailored outbound'))).toBeTruthy();
});
test('sequencer: h2 "The native campaign engine ins"', async ({ page }) => {
await page.goto('/sequencer/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The native campaign engine inside Cascora' || t.startsWith('The native campaign engine inside Cascora'))).toBeTruthy();
});
test('sequencer: h2 "Sequencer turns outbound conve"', async ({ page }) => {
await page.goto('/sequencer/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sequencer turns outbound conversion into a science' || t.startsWith('Sequencer turns outbound conversion into a science'))).toBeTruthy();
});
test('sequencer: h2 "What you get"', async ({ page }) => {
await page.goto('/sequencer/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What you get' || t.startsWith('What you get'))).toBeTruthy();
});
test('sequencer: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/sequencer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('sequencer: nav link "Get a demo"', async ({ page }) => {
await page.goto('/sequencer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('sequencer: nav link "CascentsEnrich accounts and co"', async ({ page }) => {
await page.goto('/sequencer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsEnrich accounts and contacts automatically with AI' || t.startsWith('CascentsEnrich accounts and contacts automatically with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('sequencer: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/sequencer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for maximum cov' || t.startsWith('WaterfallLayer several data vendors together for maximum cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - signals', () => {
test('signals: title matches GT', async ({ page }) => {
await page.goto('/signals/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('custom signals');
});
test('signals: h1 "Surface the buying signals you"', async ({ page }) => {
await page.goto('/signals/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Surface the buying signals your rivals haven\'t found yet' || t.startsWith('Surface the buying signals your rivals haven\'t found yet'))).toBeTruthy();
});
test('signals: h2 "Convert site visitors into rev"', async ({ page }) => {
await page.goto('/signals/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Convert site visitors into revenue' || t.startsWith('Convert site visitors into revenue'))).toBeTruthy();
});
test('signals: h2 "Signals in practice"', async ({ page }) => {
await page.goto('/signals/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Signals in practice' || t.startsWith('Signals in practice'))).toBeTruthy();
});
test('signals: h2 "Build a custom, multi-signal a"', async ({ page }) => {
await page.goto('/signals/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build a custom, multi-signal approach to capture what matters most to you' || t.startsWith('Build a custom, multi-signal approach to capture what matters most to you'))).toBeTruthy();
});
test('signals: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/signals/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('signals: nav link "Get a demo"', async ({ page }) => {
await page.goto('/signals/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('signals: nav link "CoragentsUncover insights on t"', async ({ page }) => {
await page.goto('/signals/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsUncover insights on target accounts with AI' || t.startsWith('CoragentsUncover insights on target accounts with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('signals: nav link "WaterfallBlend multiple data v"', async ({ page }) => {
await page.goto('/signals/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend multiple data vendors for the highest coverag' || t.startsWith('WaterfallBlend multiple data vendors for the highest coverag')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - slack_community', () => {
test('slack_community: title matches GT', async ({ page }) => {
await page.goto('/slack-community/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('join the cascora community');
});
test('slack_community: h1 "Join the Cascora community"', async ({ page }) => {
await page.goto('/slack-community/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the Cascora community' || t.startsWith('Join the Cascora community'))).toBeTruthy();
});
test('slack_community: h2 "Bring your pipeline ambitions "', async ({ page }) => {
await page.goto('/slack-community/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your pipeline ambitions to life now' || t.startsWith('Bring your pipeline ambitions to life now'))).toBeTruthy();
});
test('slack_community: h2 "Launch campaigns with rare dat"', async ({ page }) => {
await page.goto('/slack-community/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch campaigns with rare data—and the power to act on it' || t.startsWith('Launch campaigns with rare data—and the power to act on it'))).toBeTruthy();
});
test('slack_community: h3 "Workflows"', async ({ page }) => {
await page.goto('/slack-community/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Workflows' || t.startsWith('Workflows'))).toBeTruthy();
});
test('slack_community: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/slack-community/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('slack_community: nav link "Get a demo"', async ({ page }) => {
await page.goto('/slack-community/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('slack_community: nav link "AI AgentsEnrich target account"', async ({ page }) => {
await page.goto('/slack-community/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI AgentsEnrich target accounts and contacts using AI' || t.startsWith('AI AgentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('slack_community: nav link "WaterfallLayer several data pr"', async ({ page }) => {
await page.goto('/slack-community/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data providers together for maximum c' || t.startsWith('WaterfallLayer several data providers together for maximum c')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - talent', () => {
test('talent: title matches GT', async ({ page }) => {
await page.goto('/talent/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('talent hub');
});
test('talent: h1 "Expert hub"', async ({ page }) => {
await page.goto('/talent/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Expert hub' || t.startsWith('Expert hub'))).toBeTruthy();
});
test('talent: h2 "Talent"', async ({ page }) => {
await page.goto('/talent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Talent' || t.startsWith('Talent'))).toBeTruthy();
});
test('talent: h2 "The next wave of companies is "', async ({ page }) => {
await page.goto('/talent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The next wave of companies is powered by GTM engineers' || t.startsWith('The next wave of companies is powered by GTM engineers'))).toBeTruthy();
});
test('talent: h2 "FAQ"', async ({ page }) => {
await page.goto('/talent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'FAQ' || t.startsWith('FAQ'))).toBeTruthy();
});
test('talent: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/talent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('talent: nav link "Get a demo"', async ({ page }) => {
await page.goto('/talent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('talent: nav link "CoragentsInvestigate target ac"', async ({ page }) => {
await page.goto('/talent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsInvestigate target accounts and contacts with AI' || t.startsWith('CoragentsInvestigate target accounts and contacts with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('talent: nav link "WaterfallBlend many data provi"', async ({ page }) => {
await page.goto('/talent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend many data providers together for maximum cove' || t.startsWith('WaterfallBlend many data providers together for maximum cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - templates', () => {
test('templates: title matches GT', async ({ page }) => {
await page.goto('/templates/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('launch outbound campaigns faster with ou');
});
test('templates: h1 "Browse free Cascora templates"', async ({ page }) => {
await page.goto('/templates/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Browse free Cascora templates' || t.startsWith('Browse free Cascora templates'))).toBeTruthy();
});
test('templates: h2 "Every template"', async ({ page }) => {
await page.goto('/templates/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Every template' || t.startsWith('Every template'))).toBeTruthy();
});
test('templates: h2 "Bring your growth playbook to "', async ({ page }) => {
await page.goto('/templates/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your growth playbook to life today' || t.startsWith('Bring your growth playbook to life today'))).toBeTruthy();
});
test('templates: h2 "Reach market with distinctive "', async ({ page }) => {
await page.goto('/templates/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reach market with distinctive data—and the power to use it' || t.startsWith('Reach market with distinctive data—and the power to use it'))).toBeTruthy();
});
test('templates: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('templates: nav link "Get a demo"', async ({ page }) => {
await page.goto('/templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('templates: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and prospects using AI' || t.startsWith('CoragentsResearch target accounts and prospects using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('templates: nav link "WaterfallBlend several data pr"', async ({ page }) => {
await page.goto('/templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data providers together for maximum c' || t.startsWith('WaterfallBlend several data providers together for maximum c')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - waterfall_enrichment', () => {
test('waterfall_enrichment: title matches GT', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora waterfall');
});
test('waterfall_enrichment: h1 "Why rely on one contact databa"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why rely on one contact database when you can use them all?' || t.startsWith('Why rely on one contact database when you can use them all?'))).toBeTruthy();
});
test('waterfall_enrichment: h2 "The way waterfall enrichment w"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The way waterfall enrichment works' || t.startsWith('The way waterfall enrichment works'))).toBeTruthy();
});
test('waterfall_enrichment: h2 "Locate work emails"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Locate work emails' || t.startsWith('Locate work emails'))).toBeTruthy();
});
test('waterfall_enrichment: h2 "Locate personal emails"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Locate personal emails' || t.startsWith('Locate personal emails'))).toBeTruthy();
});
test('waterfall_enrichment: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('waterfall_enrichment: nav link "Get a demo"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('waterfall_enrichment: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and buyers with AI agents' || t.startsWith('CoragentsResearch target accounts and buyers with AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('waterfall_enrichment: nav link "WaterfallChain several data ve"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data vendors together for full covera' || t.startsWith('WaterfallChain several data vendors together for full covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_sandra_uche', () => {
test('blog_sandra_uche: title matches GT', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('in kenya, she built a career where doubt');
});
test('blog_sandra_uche: h1 "In a coastal town, she built a"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'In a coastal town, she built a life where fear wouldn\'t lead' || t.startsWith('In a coastal town, she built a life where fear wouldn\'t lead'))).toBeTruthy();
});
test('blog_sandra_uche: h2 "That is when she made her vow:"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'That is when she made her vow: no matter where life took her, money would never again decide somethi' || t.startsWith('That is when she made her vow: no matter where life took her, money would never again decide somethi'))).toBeTruthy();
});
test('blog_sandra_uche: h2 "In Lagos, Cascora\'s community "', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'In Lagos, Cascora\'s community of users was starting to form.' || t.startsWith('In Lagos, Cascora\'s community of users was starting to form.'))).toBeTruthy();
});
test('blog_sandra_uche: h2 "Further Reading"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Further Reading' || t.startsWith('Further Reading'))).toBeTruthy();
});
test('blog_sandra_uche: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_sandra_uche: nav link "Get a demo"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('blog_sandra_uche: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and prospects with AI' || t.startsWith('CoragentsResearch target accounts and prospects with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('blog_sandra_uche: nav link "WaterfallLayer multiple data p"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data providers for the fullest cover' || t.startsWith('WaterfallLayer multiple data providers for the fullest cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_figma', () => {
test('customers_figma: title matches GT', async ({ page }) => {
await page.goto('/customers/figma/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how vireo built a living data foundation');
});
test('customers_figma: h1 "How Vireo built a unified data"', async ({ page }) => {
await page.goto('/customers/figma/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Vireo built a unified data core to power every GTM motion at scale' || t.startsWith('How Vireo built a unified data core to power every GTM motion at scale'))).toBeTruthy();
});
test('customers_figma: h2 "See more customer wins"', async ({ page }) => {
await page.goto('/customers/figma/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more customer wins' || t.startsWith('See more customer wins'))).toBeTruthy();
});
test('customers_figma: h2 "Simplify every enrichment"', async ({ page }) => {
await page.goto('/customers/figma/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Simplify every enrichment' || t.startsWith('Simplify every enrichment'))).toBeTruthy();
});
test('customers_figma: h2 "Bring your growth plans to lif"', async ({ page }) => {
await page.goto('/customers/figma/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your growth plans to life right now' || t.startsWith('Bring your growth plans to life right now'))).toBeTruthy();
});
test('customers_figma: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/figma/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers_figma: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/figma/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers_figma: nav link "CascentsUncover target account"', async ({ page }) => {
await page.goto('/customers/figma/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsUncover target accounts and buyers with AI' || t.startsWith('CascentsUncover target accounts and buyers with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers_figma: nav link "WaterfallLayer many data vendo"', async ({ page }) => {
await page.goto('/customers/figma/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer many data vendors together for maximum covera' || t.startsWith('WaterfallLayer many data vendors together for maximum covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_intercom', () => {
test('customers_intercom: title matches GT', async ({ page }) => {
await page.goto('/customers/intercom/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how beaconly used cascora to build trust');
});
test('customers_intercom: h1 "How Beaconly used Cascora to b"', async ({ page }) => {
await page.goto('/customers/intercom/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Beaconly used Cascora to build trust in GTM data and accelerate outbound execution' || t.startsWith('How Beaconly used Cascora to build trust in GTM data and accelerate outbound execution'))).toBeTruthy();
});
test('customers_intercom: h2 "How Beaconly\'s work with Casco"', async ({ page }) => {
await page.goto('/customers/intercom/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Beaconly\'s work with Cascora built trust with sales' || t.startsWith('How Beaconly\'s work with Cascora built trust with sales'))).toBeTruthy();
});
test('customers_intercom: h2 "The end result"', async ({ page }) => {
await page.goto('/customers/intercom/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The end result' || t.startsWith('The end result'))).toBeTruthy();
});
test('customers_intercom: h2 "Browse more customers"', async ({ page }) => {
await page.goto('/customers/intercom/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Browse more customers' || t.startsWith('Browse more customers'))).toBeTruthy();
});
test('customers_intercom: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/intercom/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers_intercom: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/intercom/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers_intercom: nav link "CoragentsEnrich accounts and c"', async ({ page }) => {
await page.goto('/customers/intercom/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich accounts and contacts automatically with AI' || t.startsWith('CoragentsEnrich accounts and contacts automatically with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers_intercom: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/customers/intercom/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for maximum cov' || t.startsWith('WaterfallLayer several data vendors together for maximum cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_mistral_ai', () => {
test('customers_mistral_ai: title matches GT', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how lumaris ai built a global gtm engine');
});
test('customers_mistral_ai: h1 "How Lumaris AI built a global "', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Lumaris AI built a global GTM engine with Cascora' || t.startsWith('How Lumaris AI built a global GTM engine with Cascora'))).toBeTruthy();
});
test('customers_mistral_ai: h2 "Cascora has helped us bring ou"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '"Cascora has helped us bring our GTM organization to world-class maturity and deliver meaningful val' || t.startsWith('"Cascora has helped us bring our GTM organization to world-class maturity and deliver meaningful val'))).toBeTruthy();
});
test('customers_mistral_ai: h2 "Browse more customers"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Browse more customers' || t.startsWith('Browse more customers'))).toBeTruthy();
});
test('customers_mistral_ai: h2 "Automate your data enrichment"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automate your data enrichment' || t.startsWith('Automate your data enrichment'))).toBeTruthy();
});
test('customers_mistral_ai: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers_mistral_ai: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers_mistral_ai: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and contacts using AI' || t.startsWith('CoragentsResearch target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers_mistral_ai: nav link "CascadeLayer several data vend"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascadeLayer several data vendors together for the widest re' || t.startsWith('CascadeLayer several data vendors together for the widest re')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_sana', () => {
test('customers_sana: title matches GT', async ({ page }) => {
await page.goto('/customers/sana/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how vela gives 140 sales reps stronger b');
});
test('customers_sana: h1 "How Vela arms 140 sales reps w"', async ({ page }) => {
await page.goto('/customers/sana/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Vela arms 140 sales reps with stronger books of business' || t.startsWith('How Vela arms 140 sales reps with stronger books of business'))).toBeTruthy();
});
test('customers_sana: h2 "See more customer stories"', async ({ page }) => {
await page.goto('/customers/sana/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more customer stories' || t.startsWith('See more customer stories'))).toBeTruthy();
});
test('customers_sana: h2 "Streamline data enrichment"', async ({ page }) => {
await page.goto('/customers/sana/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streamline data enrichment' || t.startsWith('Streamline data enrichment'))).toBeTruthy();
});
test('customers_sana: h2 "Bring your go-to-market vision"', async ({ page }) => {
await page.goto('/customers/sana/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your go-to-market vision to life today' || t.startsWith('Bring your go-to-market vision to life today'))).toBeTruthy();
});
test('customers_sana: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/sana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers_sana: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/sana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers_sana: nav link "CoragentsEnrich target account"', async ({ page }) => {
await page.goto('/customers/sana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich target accounts and contacts using AI' || t.startsWith('CoragentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers_sana: nav link "MultipassBlend several data ve"', async ({ page }) => {
await page.goto('/customers/sana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'MultipassBlend several data vendors to maximize match rates' || t.startsWith('MultipassBlend several data vendors to maximize match rates')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_verkada', () => {
test('customers_verkada: title matches GT', async ({ page }) => {
await page.goto('/customers/verkada/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how vantera\'s growth team uses cascora t');
});
test('customers_verkada: h1 "How Vantera’s growth team uses"', async ({ page }) => {
await page.goto('/customers/verkada/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Vantera’s growth team uses Cascora to launch targeted ABM campaigns across Linkbase, email, and' || t.startsWith('How Vantera’s growth team uses Cascora to launch targeted ABM campaigns across Linkbase, email, and'))).toBeTruthy();
});
test('customers_verkada: h2 "“Cascora has helped us dramati"', async ({ page }) => {
await page.goto('/customers/verkada/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '“Cascora has helped us dramatically automate and streamline the data enrichment process across our w' || t.startsWith('“Cascora has helped us dramatically automate and streamline the data enrichment process across our w'))).toBeTruthy();
});
test('customers_verkada: h2 "Find prospects\' Linkbase profi"', async ({ page }) => {
await page.goto('/customers/verkada/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Find prospects\' Linkbase profiles to sharpen ad campaign targeting' || t.startsWith('Find prospects\' Linkbase profiles to sharpen ad campaign targeting'))).toBeTruthy();
});
test('customers_verkada: h2 "Scrape local business websites"', async ({ page }) => {
await page.goto('/customers/verkada/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scrape local business websites to reach niche industries in ad campaigns' || t.startsWith('Scrape local business websites to reach niche industries in ad campaigns'))).toBeTruthy();
});
test('customers_verkada: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/verkada/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers_verkada: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/verkada/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers_verkada: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/customers/verkada/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and prospects using AI' || t.startsWith('CoragentsResearch target accounts and prospects using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers_verkada: nav link "WaterfallBlend many data provi"', async ({ page }) => {
await page.goto('/customers/verkada/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend many data providers together for maximum cove' || t.startsWith('WaterfallBlend many data providers together for maximum cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - livestreams_how_cascora_uses_cascora_ads_audiences', () => {
test('livestreams_how_cascora_uses_cascora_ads_audiences: title matches GT', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('livestream');
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: h1 "How Cascora Uses Cascora: Paid"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Cascora Uses Cascora: Paid Social Ads on Autopilot' || t.startsWith('How Cascora Uses Cascora: Paid Social Ads on Autopilot'))).toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: h2 "Bring your growth experiments "', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your growth experiments to life today' || t.startsWith('Bring your growth experiments to life today'))).toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: h2 "Reach the market with rare dat"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reach the market with rare data—and the power to act on it' || t.startsWith('Reach the market with rare data—and the power to act on it'))).toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: h3 "Use cases"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Use cases' || t.startsWith('Use cases'))).toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: nav link "Get a demo"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: nav link "CoragentsEnrich target account"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich target accounts and contacts using AI' || t.startsWith('CoragentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: nav link "WaterfallChain several data ve"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data vendors together for maximum cov' || t.startsWith('WaterfallChain several data vendors together for maximum cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners_creators', () => {
test('partners_creators: title matches GT', async ({ page }) => {
await page.goto('/partners/creators/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('creators program');
});
test('partners_creators: h1 "Join other top users creating "', async ({ page }) => {
await page.goto('/partners/creators/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join other top users creating standout Cascora content' || t.startsWith('Join other top users creating standout Cascora content'))).toBeTruthy();
});
test('partners_creators: h2 "Join the Cascora ecosystem and"', async ({ page }) => {
await page.goto('/partners/creators/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the Cascora ecosystem and unlock new benefits' || t.startsWith('Join the Cascora ecosystem and unlock new benefits'))).toBeTruthy();
});
test('partners_creators: h2 "Meeting new creators has never"', async ({ page }) => {
await page.goto('/partners/creators/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meeting new creators has never been simpler' || t.startsWith('Meeting new creators has never been simpler'))).toBeTruthy();
});
test('partners_creators: h2 "What our partners say"', async ({ page }) => {
await page.goto('/partners/creators/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What our partners say' || t.startsWith('What our partners say'))).toBeTruthy();
});
test('partners_creators: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/partners/creators/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('partners_creators: nav link "Book a demo"', async ({ page }) => {
await page.goto('/partners/creators/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a demo' || t.startsWith('Book a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('partners_creators: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/partners/creators/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and contacts using AI' || t.startsWith('CoragentsResearch target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('partners_creators: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/partners/creators/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for the best co' || t.startsWith('WaterfallLayer several data vendors together for the best co')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners_integrations', () => {
test('partners_integrations: title matches GT', async ({ page }) => {
await page.goto('/partners/integrations/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('integration partners');
});
test('partners_integrations: h1 "Become a Cascora integrations "', async ({ page }) => {
await page.goto('/partners/integrations/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Become a Cascora integrations partner' || t.startsWith('Become a Cascora integrations partner'))).toBeTruthy();
});
test('partners_integrations: h2 "Join the Cascora ecosystem and"', async ({ page }) => {
await page.goto('/partners/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the Cascora ecosystem and unlock fresh benefits' || t.startsWith('Join the Cascora ecosystem and unlock fresh benefits'))).toBeTruthy();
});
test('partners_integrations: h2 "Launch in just 3 simple steps"', async ({ page }) => {
await page.goto('/partners/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch in just 3 simple steps' || t.startsWith('Launch in just 3 simple steps'))).toBeTruthy();
});
test('partners_integrations: h2 "Core benefits"', async ({ page }) => {
await page.goto('/partners/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core benefits' || t.startsWith('Core benefits'))).toBeTruthy();
});
test('partners_integrations: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/partners/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('partners_integrations: nav link "Get a demo"', async ({ page }) => {
await page.goto('/partners/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('partners_integrations: nav link "CascentsDiscover target accoun"', async ({ page }) => {
await page.goto('/partners/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsDiscover target accounts and contacts using AI' || t.startsWith('CascentsDiscover target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('partners_integrations: nav link "CascadeChain multiple data pro"', async ({ page }) => {
await page.goto('/partners/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascadeChain multiple data providers to maximize your covera' || t.startsWith('CascadeChain multiple data providers to maximize your covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners_solutions', () => {
test('partners_solutions: title matches GT', async ({ page }) => {
await page.goto('/partners/solutions/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('solutions partner program');
});
test('partners_solutions: h1 "Solutions on the Leading Edge"', async ({ page }) => {
await page.goto('/partners/solutions/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Solutions on the Leading Edge' || t.startsWith('Solutions on the Leading Edge'))).toBeTruthy();
});
test('partners_solutions: h1 "Pick your partner track"', async ({ page }) => {
await page.goto('/partners/solutions/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pick your partner track' || t.startsWith('Pick your partner track'))).toBeTruthy();
});
test('partners_solutions: h2 "Why build with Cascora"', async ({ page }) => {
await page.goto('/partners/solutions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why build with Cascora' || t.startsWith('Why build with Cascora'))).toBeTruthy();
});
test('partners_solutions: h2 "Crafter"', async ({ page }) => {
await page.goto('/partners/solutions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Crafter' || t.startsWith('Crafter'))).toBeTruthy();
});
test('partners_solutions: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/partners/solutions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('partners_solutions: nav link "Get a demo"', async ({ page }) => {
await page.goto('/partners/solutions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('partners_solutions: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/partners/solutions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and people using AI' || t.startsWith('CoragentsResearch target accounts and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('partners_solutions: nav link "WaterfallBlend many data provi"', async ({ page }) => {
await page.goto('/partners/solutions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend many data providers together for maximum cove' || t.startsWith('WaterfallBlend many data providers together for maximum cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners_startup_partner_program', () => {
test('partners_startup_partner_program: title matches GT', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('startup partner program');
});
test('partners_startup_partner_program: h1 "Founder partner program"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Founder partner program' || t.startsWith('Founder partner program'))).toBeTruthy();
});
test('partners_startup_partner_program: h2 "Cascora for Startups"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora for Startups' || t.startsWith('Cascora for Startups'))).toBeTruthy();
});
test('partners_startup_partner_program: h2 "Perks designed to help your st"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Perks designed to help your startups scale their GTM' || t.startsWith('Perks designed to help your startups scale their GTM'))).toBeTruthy();
});
test('partners_startup_partner_program: h2 "Apply to join our close-knit n"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Apply to join our close-knit network of startup program partners' || t.startsWith('Apply to join our close-knit network of startup program partners'))).toBeTruthy();
});
test('partners_startup_partner_program: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('partners_startup_partner_program: nav link "Get a demo"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('partners_startup_partner_program: nav link "CoragentsFind and enrich accou"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsFind and enrich accounts and people with AI' || t.startsWith('CoragentsFind and enrich accounts and people with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('partners_startup_partner_program: nav link "WaterfallLayer multiple data v"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data vendors for the widest coverage' || t.startsWith('WaterfallLayer multiple data vendors for the widest coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_abm', () => {
test('use_cases_abm: title matches GT', async ({ page }) => {
await page.goto('/use-cases/abm/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('abm');
});
test('use_cases_abm: h1 "Cover all your ABM accounts"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cover all your ABM accounts' || t.startsWith('Cover all your ABM accounts'))).toBeTruthy();
});
test('use_cases_abm: h2 "Strong ABM runs on strong data"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Strong ABM runs on strong data' || t.startsWith('Strong ABM runs on strong data'))).toBeTruthy();
});
test('use_cases_abm: h2 "Sentira"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sentira' || t.startsWith('Sentira'))).toBeTruthy();
});
test('use_cases_abm: h2 "Replenix"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Replenix' || t.startsWith('Replenix'))).toBeTruthy();
});
test('use_cases_abm: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_abm: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_abm: nav link "CascentsResearch target accoun"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch target accounts and contacts with AI' || t.startsWith('CascentsResearch target accounts and contacts with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_abm: nav link "CascadeBlend several data prov"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascadeBlend several data providers together for the best co' || t.startsWith('CascadeBlend several data providers together for the best co')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_account_research', () => {
test('use_cases_account_research: title matches GT', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('automated account research that powers s');
});
test('use_cases_account_research: h1 "Automate account research end "', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automate account research end to end' || t.startsWith('Automate account research end to end'))).toBeTruthy();
});
test('use_cases_account_research: h2 "Uncover precisely what your re"', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Uncover precisely what your reps need to know' || t.startsWith('Uncover precisely what your reps need to know'))).toBeTruthy();
});
test('use_cases_account_research: h2 "Cascora in ChatMate — run acco"', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora in ChatMate — run account research in plain language' || t.startsWith('Cascora in ChatMate — run account research in plain language'))).toBeTruthy();
});
test('use_cases_account_research: h2 "Enrich with 150+ data sources "', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Enrich with 150+ data sources & AI' || t.startsWith('Enrich with 150+ data sources & AI'))).toBeTruthy();
});
test('use_cases_account_research: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_account_research: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_account_research: nav link "CoragentsEnrich the companies "', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich the companies and people you target with AI' || t.startsWith('CoragentsEnrich the companies and people you target with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_account_research: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for the widest ' || t.startsWith('WaterfallLayer several data vendors together for the widest ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_crm_enrichment', () => {
test('use_cases_crm_enrichment: title matches GT', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('crm enrichment');
});
test('use_cases_crm_enrichment: h1 "Keep your CRM spotless with th"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Keep your CRM spotless with the most accurate data available' || t.startsWith('Keep your CRM spotless with the most accurate data available'))).toBeTruthy();
});
test('use_cases_crm_enrichment: h2 "The widest data coverage in GT"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The widest data coverage in GTM' || t.startsWith('The widest data coverage in GTM'))).toBeTruthy();
});
test('use_cases_crm_enrichment: h2 "Nyvex"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nyvex' || t.startsWith('Nyvex'))).toBeTruthy();
});
test('use_cases_crm_enrichment: h2 "Verralane"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verralane' || t.startsWith('Verralane'))).toBeTruthy();
});
test('use_cases_crm_enrichment: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_crm_enrichment: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_crm_enrichment: nav link "CascentsResearch target accoun"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch target accounts and prospects with AI' || t.startsWith('CascentsResearch target accounts and prospects with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_crm_enrichment: nav link "WaterfallBlend multiple data p"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend multiple data providers to reach the best cov' || t.startsWith('WaterfallBlend multiple data providers to reach the best cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_inbound_enrichment', () => {
test('use_cases_inbound_enrichment: title matches GT', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('inbound enrichment');
});
test('use_cases_inbound_enrichment: h1 "Enrich each inbound lead and a"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Enrich each inbound lead and act on it in real time' || t.startsWith('Enrich each inbound lead and act on it in real time'))).toBeTruthy();
});
test('use_cases_inbound_enrichment: h2 "Deep buyer context from 150+ d"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deep buyer context from 150+ data sources' || t.startsWith('Deep buyer context from 150+ data sources'))).toBeTruthy();
});
test('use_cases_inbound_enrichment: h2 "Northwind"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Northwind' || t.startsWith('Northwind'))).toBeTruthy();
});
test('use_cases_inbound_enrichment: h2 "Uncover rare data with AI"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Uncover rare data with AI' || t.startsWith('Uncover rare data with AI'))).toBeTruthy();
});
test('use_cases_inbound_enrichment: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_inbound_enrichment: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_inbound_enrichment: nav link "CoragentsUncover key accounts "', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsUncover key accounts and buyers with AI research' || t.startsWith('CoragentsUncover key accounts and buyers with AI research')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_inbound_enrichment: nav link "WaterfallChain several data ve"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data vendors together for full covera' || t.startsWith('WaterfallChain several data vendors together for full covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_outbound', () => {
test('use_cases_outbound: title matches GT', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('ai outbound');
});
test('use_cases_outbound: h1 "AI outbound that scales your t"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI outbound that scales your top rep’s personal touch' || t.startsWith('AI outbound that scales your top rep’s personal touch'))).toBeTruthy();
});
test('use_cases_outbound: h2 "A full-cycle outbound engine"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A full-cycle outbound engine' || t.startsWith('A full-cycle outbound engine'))).toBeTruthy();
});
test('use_cases_outbound: h2 "Parcelo"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Parcelo' || t.startsWith('Parcelo'))).toBeTruthy();
});
test('use_cases_outbound: h2 "Meridian"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meridian' || t.startsWith('Meridian'))).toBeTruthy();
});
test('use_cases_outbound: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_outbound: nav link "Book a demo"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a demo' || t.startsWith('Book a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_outbound: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and buyers using AI' || t.startsWith('CoragentsResearch target accounts and buyers using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_outbound: nav link "WaterfallLayer many data provi"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer many data providers together for maximum cove' || t.startsWith('WaterfallLayer many data providers together for maximum cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_plg_assist', () => {
test('use_cases_plg_assist: title matches GT', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('turn plg signups into enterprise revenue');
});
test('use_cases_plg_assist: h1 "Grow PLG signups into enterpri"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Grow PLG signups into enterprise pipeline' || t.startsWith('Grow PLG signups into enterprise pipeline'))).toBeTruthy();
});
test('use_cases_plg_assist: h2 "Tie PLG users to their company"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tie PLG users to their company' || t.startsWith('Tie PLG users to their company'))).toBeTruthy();
});
test('use_cases_plg_assist: h2 "Rank the users most ready to c"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rank the users most ready to convert' || t.startsWith('Rank the users most ready to convert'))).toBeTruthy();
});
test('use_cases_plg_assist: h2 "Send your top accounts straigh"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Send your top accounts straight to reps' || t.startsWith('Send your top accounts straight to reps'))).toBeTruthy();
});
test('use_cases_plg_assist: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_plg_assist: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_plg_assist: nav link "ScoutletsUncover target accoun"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ScoutletsUncover target accounts and buyers using AI' || t.startsWith('ScoutletsUncover target accounts and buyers using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_plg_assist: nav link "WaterfallLayer many data vendo"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer many data vendors together for maximum covera' || t.startsWith('WaterfallLayer many data vendors together for maximum covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_rep_assist', () => {
test('use_cases_rep_assist: title matches GT', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('rep boost bundle');
});
test('use_cases_rep_assist: h1 "Give sales reps their selling "', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Give sales reps their selling hours back again' || t.startsWith('Give sales reps their selling hours back again'))).toBeTruthy();
});
test('use_cases_rep_assist: h2 "Get intent alerts and digests"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get intent alerts and digests' || t.startsWith('Get intent alerts and digests'))).toBeTruthy();
});
test('use_cases_rep_assist: h2 "Prepare pre-meeting notes"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Prepare pre-meeting notes' || t.startsWith('Prepare pre-meeting notes'))).toBeTruthy();
});
test('use_cases_rep_assist: h2 "Personalize pitches"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Personalize pitches' || t.startsWith('Personalize pitches'))).toBeTruthy();
});
test('use_cases_rep_assist: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_assist: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_assist: nav link "CascentsResearch target accoun"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch target accounts and contacts using AI' || t.startsWith('CascentsResearch target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_assist: nav link "CascadesBlend many data provid"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascadesBlend many data providers to reach the best coverage' || t.startsWith('CascadesBlend many data providers to reach the best coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_rep_prospecting', () => {
test('use_cases_rep_prospecting: title matches GT', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('rep prospecting');
});
test('use_cases_rep_prospecting: h1 "Arm every rep with reliable co"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Arm every rep with reliable contact data for prospects across the web' || t.startsWith('Arm every rep with reliable contact data for prospects across the web'))).toBeTruthy();
});
test('use_cases_rep_prospecting: h2 "Prospecting built around your "', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Prospecting built around your sales motion' || t.startsWith('Prospecting built around your sales motion'))).toBeTruthy();
});
test('use_cases_rep_prospecting: h2 "How Linguava scaled Cascora pr"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Linguava scaled Cascora prospecting to 120 sales reps with Syncbar' || t.startsWith('How Linguava scaled Cascora prospecting to 120 sales reps with Syncbar'))).toBeTruthy();
});
test('use_cases_rep_prospecting: h2 "Discover prospects anywhere on"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Discover prospects anywhere on the web' || t.startsWith('Discover prospects anywhere on the web'))).toBeTruthy();
});
test('use_cases_rep_prospecting: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_prospecting: nav link "Book a demo"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a demo' || t.startsWith('Book a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_prospecting: nav link "ScoutbotsResearch target accou"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ScoutbotsResearch target accounts and contacts with AI' || t.startsWith('ScoutbotsResearch target accounts and contacts with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_prospecting: nav link "WaterfallBlend many data provi"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend many data providers to reach the best coverag' || t.startsWith('WaterfallBlend many data providers to reach the best coverag')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_reverse_etl', () => {
test('use_cases_reverse_etl: title matches GT', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('reverse etl');
});
test('use_cases_reverse_etl: h1 "Rep support"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rep support' || t.startsWith('Rep support'))).toBeTruthy();
});
test('use_cases_reverse_etl: h2 "CRM enhancement"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CRM enhancement' || t.startsWith('CRM enhancement'))).toBeTruthy();
});
test('use_cases_reverse_etl: h2 "Core use cases"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core use cases' || t.startsWith('Core use cases'))).toBeTruthy();
});
test('use_cases_reverse_etl: h2 "Orbita replaced \$500k in consu"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Orbita replaced \$500k in consultants with Cascora' || t.startsWith('Orbita replaced \$500k in consultants with Cascora'))).toBeTruthy();
});
test('use_cases_reverse_etl: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_reverse_etl: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_reverse_etl: nav link "CoragentsUncover accounts and "', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsUncover accounts and buyers using AI research' || t.startsWith('CoragentsUncover accounts and buyers using AI research')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_reverse_etl: nav link "WaterfallBlend many data vendo"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend many data vendors together for full coverage' || t.startsWith('WaterfallBlend many data vendors together for full coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_tam_sourcing', () => {
test('use_cases_tam_sourcing: title matches GT', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('tam sourcing');
});
test('use_cases_tam_sourcing: h1 "Bring every account in your TA"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring every account in your TAM into one view' || t.startsWith('Bring every account in your TAM into one view'))).toBeTruthy();
});
test('use_cases_tam_sourcing: h2 "Slot into your list-building w"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Slot into your list-building workflow and see stronger outcomes' || t.startsWith('Slot into your list-building workflow and see stronger outcomes'))).toBeTruthy();
});
test('use_cases_tam_sourcing: h2 "Discover enterprise and SMB le"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Discover enterprise and SMB leads across Cascora\'s database and many data sources. Apply advanced IC' || t.startsWith('Discover enterprise and SMB leads across Cascora\'s database and many data sources. Apply advanced IC'))).toBeTruthy();
});
test('use_cases_tam_sourcing: h2 "Perklyft"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Perklyft' || t.startsWith('Perklyft'))).toBeTruthy();
});
test('use_cases_tam_sourcing: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_tam_sourcing: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_tam_sourcing: nav link "AI AgentsDiscover target compa"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI AgentsDiscover target companies and people using AI' || t.startsWith('AI AgentsDiscover target companies and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_tam_sourcing: nav link "WaterfallLayer multiple data p"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data providers to maximize your cove' || t.startsWith('WaterfallLayer multiple data providers to maximize your cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_territory_planning', () => {
test('use_cases_territory_planning: title matches GT', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('territory planning');
});
test('use_cases_territory_planning: h1 "Build territories you can defe"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build territories you can defend, powered by complete data' || t.startsWith('Build territories you can defend, powered by complete data'))).toBeTruthy();
});
test('use_cases_territory_planning: h2 "Scoring logic you can see, bac"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scoring logic you can see, backed by data' || t.startsWith('Scoring logic you can see, backed by data'))).toBeTruthy();
});
test('use_cases_territory_planning: h2 "Say goodbye to black-box scori"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Say goodbye to black-box scoring' || t.startsWith('Say goodbye to black-box scoring'))).toBeTruthy();
});
test('use_cases_territory_planning: h2 "Uncover every new account in y"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Uncover every new account in your TAM and skip duplicates' || t.startsWith('Uncover every new account in your TAM and skip duplicates'))).toBeTruthy();
});
test('use_cases_territory_planning: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_territory_planning: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_territory_planning: nav link "CascentsResearch the accounts "', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch the accounts and people you target with pre' || t.startsWith('CascentsResearch the accounts and people you target with pre')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_territory_planning: nav link "WaterfallLayer several data pr"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data providers together for the wides' || t.startsWith('WaterfallLayer several data providers together for the wides')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - Routing', () => {
test('navigate to pricing via "PricingPricing"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="pricing"]').first();
expect(await link.count(), 'nav link to pricing exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('pricing');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Pricing built to fit your team');
});
test('navigate to demo via "Get a demo"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="demo"]').first();
expect(await link.count(), 'nav link to demo exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('demo');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('See Cascora live');
});
test('navigate to cascoragent via "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="cascoragent"]').first();
expect(await link.count(), 'nav link to cascoragent exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('cascoragent');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Grow your market advantage with AI agents for GTM');
});
});