RecreationBench / web /fluvica.example /tests /static /content.scripted.spec.ts
VoyagerXHF's picture
Upload folder using huggingface_hub (part 31)
635218a verified
Raw History Blame Contribute Delete
263 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('fluvica');
});
test('homepage: h2 "Why Fluvica"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why Fluvica' || t.startsWith('Why Fluvica'))).toBeTruthy();
});
test('homepage: h2 "Use Cases"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Use Cases' || t.startsWith('Use Cases'))).toBeTruthy();
});
test('homepage: nav link "OverviewLink up your data sour"', 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 === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Robust Stream ProcessingEvery "', 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 === 'Robust Stream ProcessingEvery bit of Flinq\'s power, without ' || t.startsWith('Robust Stream ProcessingEvery bit of Flinq\'s power, without ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Managed for YouA fully managed"', 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 === 'Managed for YouA fully managed cloud service. There\'s nothin' || t.startsWith('Managed for YouA fully managed cloud service. There\'s nothin')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Deployment ChoicesOffered in t"', 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 === 'Deployment ChoicesOffered in two deployment modes: fully hos' || t.startsWith('Deployment ChoicesOffered in two deployment modes: fully hos')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), '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 "Why We Exist"', 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 === 'Why We Exist' || t.startsWith('Why We Exist'))).toBeTruthy();
});
test('about: h2 "How We Began"', 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 === 'How We Began' || t.startsWith('How We Began'))).toBeTruthy();
});
test('about: h2 "In Great Company"', 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 === 'In Great Company' || t.startsWith('In Great Company'))).toBeTruthy();
});
test('about: h2 "The Values We Hold"', 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 === 'The Values We Hold' || t.startsWith('The Values We Hold'))).toBeTruthy();
});
test('about: nav link "OverviewLink to your data sour"', 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 === 'OverviewLink to your data sources, transform the data, and r' || t.startsWith('OverviewLink to your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('about: nav link "Serious Stream ProcessingHarne"', 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 === 'Serious Stream ProcessingHarness the full power of Flinq wit' || t.startsWith('Serious Stream ProcessingHarness the full power of Flinq wit')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('about: nav link "Fully HandledA completely mana"', 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 === 'Fully HandledA completely managed cloud service. There is no' || t.startsWith('Fully HandledA completely managed cloud service. There is no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('about: nav link "Flexible DeploymentChoose betw"', 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 === 'Flexible DeploymentChoose between two deployment modes: full' || t.startsWith('Flexible DeploymentChoose between two deployment modes: full')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog', () => {
test('blog: title matches GT', async ({ page }) => {
await page.goto('/blog/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('blog');
});
test('blog: h1 "Running Flinq Is Tough: What d"', 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 === 'Running Flinq Is Tough: What does that actually involve? And how do you tackle it?' || t.startsWith('Running Flinq Is Tough: What does that actually involve? And how do you tackle it?'))).toBeTruthy();
});
test('blog: h2 "Let\'s start flowing"', 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 === 'Let\'s start flowing' || t.startsWith('Let\'s start flowing'))).toBeTruthy();
});
test('blog: h2 "Attend a virtual hands-on lab"', 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 === 'Attend a virtual hands-on lab' || t.startsWith('Attend a virtual hands-on lab'))).toBeTruthy();
});
test('blog: h3 "The Streaming Digest - July 20"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Streaming Digest - July 2025' || t.startsWith('The Streaming Digest - July 2025'))).toBeTruthy();
});
test('blog: nav link "OverviewLink up your data sour"', 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 === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Robust Stream ProcessingEveryt"', 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 === 'Robust Stream ProcessingEverything Flinq offers, without the' || t.startsWith('Robust Stream ProcessingEverything Flinq offers, without the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Fully ManagedA completely mana"', 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 === 'Fully ManagedA completely managed cloud offering. Nothing to' || t.startsWith('Fully ManagedA completely managed cloud offering. Nothing to')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Deployment ModesOffered in two"', 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 === 'Deployment ModesOffered in two deployment styles: fully host' || t.startsWith('Deployment ModesOffered in two deployment styles: fully host')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), '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('careers');
});
test('careers: h1 "Become A Fluvian"', 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 === 'Become A Fluvian' || t.startsWith('Become A Fluvian'))).toBeTruthy();
});
test('careers: h2 "Perks of being a Fluvian"', 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 === 'Perks of being a Fluvian' || t.startsWith('Perks of being a Fluvian'))).toBeTruthy();
});
test('careers: h2 "Join Our Growing Crew"', 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 === 'Join Our Growing Crew' || t.startsWith('Join Our Growing Crew'))).toBeTruthy();
});
test('careers: h2 "Try a live hands-on workshop"', 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 === 'Try a live hands-on workshop' || t.startsWith('Try a live hands-on workshop'))).toBeTruthy();
});
test('careers: nav link "SummaryLink up your data sourc"', 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 === 'SummaryLink up your data sources, transform the stream, and ' || t.startsWith('SummaryLink up your data sources, transform the stream, and ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('careers: nav link "Robust Stream ProcessingHarnes"', 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 === 'Robust Stream ProcessingHarness the full strength of Flinq w' || t.startsWith('Robust Stream ProcessingHarness the full strength of Flinq w')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('careers: nav link "Hands-Off OpsA completely mana"', 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 === 'Hands-Off OpsA completely managed cloud service. There\'s not' || t.startsWith('Hands-Off OpsA completely managed cloud service. There\'s not')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('careers: nav link "Deployment ChoicesChoose from "', 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 === 'Deployment ChoicesChoose from two deployment modes: fully ho' || t.startsWith('Deployment ChoicesChoose from two deployment modes: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors', () => {
test('connectors: title matches GT', async ({ page }) => {
await page.goto('/connectors/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('connectors');
});
test('connectors: h1 "Connectors"', async ({ page }) => {
await page.goto('/connectors/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Connectors' || t.startsWith('Connectors'))).toBeTruthy();
});
test('connectors: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/connectors/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('connectors: h2 "Reserve a seat in a guided"', async ({ page }) => {
await page.goto('/connectors/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reserve a seat in a guided' || t.startsWith('Reserve a seat in a guided'))).toBeTruthy();
});
test('connectors: h3 "Featured"', async ({ page }) => {
await page.goto('/connectors/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Featured' || t.startsWith('Featured'))).toBeTruthy();
});
test('connectors: nav link "SnapshotPull in data from any "', async ({ page }) => {
await page.goto('/connectors/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'SnapshotPull in data from any source, transform it on the fl' || t.startsWith('SnapshotPull in data from any source, transform it on the fl')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/connectors/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq offers, minus the s' || t.startsWith('Robust Stream ProcessingEverything Flinq offers, minus the s')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors: nav link "Hands-Off OpsA completely mana"', async ({ page }) => {
await page.goto('/connectors/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hands-Off OpsA completely managed cloud service. Nothing to ' || t.startsWith('Hands-Off OpsA completely managed cloud service. Nothing to ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors: nav link "Deployment ChoicesChoose from "', async ({ page }) => {
await page.goto('/connectors/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesChoose from two deployment styles: fully h' || t.startsWith('Deployment ChoicesChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - contact', () => {
test('contact: title matches GT', async ({ page }) => {
await page.goto('/contact/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('contact');
});
test('contact: h1 "What can we do for you?"', async ({ page }) => {
await page.goto('/contact/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What can we do for you?' || t.startsWith('What can we do for you?'))).toBeTruthy();
});
test('contact: h2 "Frequently Asked Questions"', async ({ page }) => {
await page.goto('/contact/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Frequently Asked Questions' || t.startsWith('Frequently Asked Questions'))).toBeTruthy();
});
test('contact: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/contact/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('contact: h2 "Try a live hands-on workshop"', async ({ page }) => {
await page.goto('/contact/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Try a live hands-on workshop' || t.startsWith('Try a live hands-on workshop'))).toBeTruthy();
});
test('contact: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the stream, and' || t.startsWith('OverviewLink up your data sources, transform the stream, and')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('contact: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('contact: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. Nothing to ' || t.startsWith('Fully ManagedA completely managed cloud service. Nothing to ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('contact: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movements', () => {
test('data_movements: title matches GT', async ({ page }) => {
await page.goto('/data-movements/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('data movement');
});
test('data_movements: h1 "Data in Motion"', async ({ page }) => {
await page.goto('/data-movements/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Data in Motion' || t.startsWith('Data in Motion'))).toBeTruthy();
});
test('data_movements: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/data-movements/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('data_movements: h2 "Try a guided hands-on lab"', async ({ page }) => {
await page.goto('/data-movements/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Try a guided hands-on lab' || t.startsWith('Try a guided hands-on lab'))).toBeTruthy();
});
test('data_movements: h3 "API"', async ({ page }) => {
await page.goto('/data-movements/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'API' || t.startsWith('API'))).toBeTruthy();
});
test('data_movements: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/data-movements/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movements: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/data-movements/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq offers, minus the s' || t.startsWith('Robust Stream ProcessingEverything Flinq offers, minus the s')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movements: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/data-movements/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. There\'s not' || t.startsWith('Fully ManagedA completely managed cloud service. There\'s not')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movements: nav link "Deployment OptionsChoose betwe"', async ({ page }) => {
await page.goto('/data-movements/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose between two deployment models: full' || t.startsWith('Deployment OptionsChoose between two deployment models: full')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - debezium', () => {
test('debezium: title matches GT', async ({ page }) => {
await page.goto('/debezium/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('debezia');
});
test('debezium: h1 "Debezia Leads the Way in Chang"', async ({ page }) => {
await page.goto('/debezium/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Debezia Leads the Way in Change Data Capture' || t.startsWith('Debezia Leads the Way in Change Data Capture'))).toBeTruthy();
});
test('debezium: h2 "What is Debezia?"', async ({ page }) => {
await page.goto('/debezium/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What is Debezia?' || t.startsWith('What is Debezia?'))).toBeTruthy();
});
test('debezium: h2 "Popular Use Cases for Debezia"', async ({ page }) => {
await page.goto('/debezium/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Popular Use Cases for Debezia' || t.startsWith('Popular Use Cases for Debezia'))).toBeTruthy();
});
test('debezium: h2 "Advantages of the Debezia Fram"', async ({ page }) => {
await page.goto('/debezium/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Advantages of the Debezia Framework' || t.startsWith('Advantages of the Debezia Framework'))).toBeTruthy();
});
test('debezium: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/debezium/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('debezium: nav link "Serious Stream ProcessingHarne"', async ({ page }) => {
await page.goto('/debezium/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Serious Stream ProcessingHarness the full strength of Flinq ' || t.startsWith('Serious Stream ProcessingHarness the full strength of Flinq ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('debezium: nav link "Fully HostedA completely manag"', async ({ page }) => {
await page.goto('/debezium/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully HostedA completely managed cloud service. There\'s noth' || t.startsWith('Fully HostedA completely managed cloud service. There\'s noth')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('debezium: nav link "Deployment ChoicesChoose from "', async ({ page }) => {
await page.goto('/debezium/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesChoose from two deployment styles: fully h' || t.startsWith('Deployment ChoicesChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - flink', () => {
test('flink: title matches GT', async ({ page }) => {
await page.goto('/flink/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('flinq');
});
test('flink: h1 "Flinq Sets the Standard for Mo"', async ({ page }) => {
await page.goto('/flink/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Flinq Sets the Standard for Modern Stream Processing' || t.startsWith('Flinq Sets the Standard for Modern Stream Processing'))).toBeTruthy();
});
test('flink: h2 "So, What Is Flinq"', async ({ page }) => {
await page.goto('/flink/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'So, What Is Flinq' || t.startsWith('So, What Is Flinq'))).toBeTruthy();
});
test('flink: h2 "Popular Use Cases for Flinq"', async ({ page }) => {
await page.goto('/flink/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Popular Use Cases for Flinq' || t.startsWith('Popular Use Cases for Flinq'))).toBeTruthy();
});
test('flink: h2 "Advantages of the Flinq Framew"', async ({ page }) => {
await page.goto('/flink/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Advantages of the Flinq Framework' || t.startsWith('Advantages of the Flinq Framework'))).toBeTruthy();
});
test('flink: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/flink/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('flink: nav link "Serious Stream ProcessingGet t"', async ({ page }) => {
await page.goto('/flink/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Serious Stream ProcessingGet the full power of Flinq with no' || t.startsWith('Serious Stream ProcessingGet the full power of Flinq with no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('flink: nav link "Hands-Off OpsA completely mana"', async ({ page }) => {
await page.goto('/flink/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hands-Off OpsA completely managed cloud service. Nothing to ' || t.startsWith('Hands-Off OpsA completely managed cloud service. Nothing to ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('flink: nav link "Deployment ChoicesChoose from "', async ({ page }) => {
await page.goto('/flink/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesChoose from two deployment modes: fully ho' || t.startsWith('Deployment ChoicesChoose from two deployment modes: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - kafka', () => {
test('kafka: title matches GT', async ({ page }) => {
await page.goto('/kafka/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('kafnex');
});
test('kafka: h1 "Kafnex Powers Scalable Data Tr"', async ({ page }) => {
await page.goto('/kafka/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Kafnex Powers Scalable Data Transport and Storage' || t.startsWith('Kafnex Powers Scalable Data Transport and Storage'))).toBeTruthy();
});
test('kafka: h2 "What Is Kafnex?"', async ({ page }) => {
await page.goto('/kafka/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What Is Kafnex?' || t.startsWith('What Is Kafnex?'))).toBeTruthy();
});
test('kafka: h2 "Popular Use Cases for Kafnex"', async ({ page }) => {
await page.goto('/kafka/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Popular Use Cases for Kafnex' || t.startsWith('Popular Use Cases for Kafnex'))).toBeTruthy();
});
test('kafka: h2 "Advantages of the Kafnex Frame"', async ({ page }) => {
await page.goto('/kafka/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Advantages of the Kafnex Framework' || t.startsWith('Advantages of the Kafnex Framework'))).toBeTruthy();
});
test('kafka: nav link "OverviewLink your data sources"', async ({ page }) => {
await page.goto('/kafka/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink your data sources, shape the data in flight, an' || t.startsWith('OverviewLink your data sources, shape the data in flight, an')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('kafka: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/kafka/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('kafka: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/kafka/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('kafka: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/kafka/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - legal_privacy_policy', () => {
test('legal_privacy_policy: title matches GT', async ({ page }) => {
await page.goto('/legal/privacy-policy/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('privacy policy');
});
test('legal_privacy_policy: h2 "Introduction"', async ({ page }) => {
await page.goto('/legal/privacy-policy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introduction' || t.startsWith('Introduction'))).toBeTruthy();
});
test('legal_privacy_policy: h2 "How we gather information"', async ({ page }) => {
await page.goto('/legal/privacy-policy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How we gather information' || t.startsWith('How we gather information'))).toBeTruthy();
});
test('legal_privacy_policy: h2 "Cookies"', async ({ page }) => {
await page.goto('/legal/privacy-policy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cookies' || t.startsWith('Cookies'))).toBeTruthy();
});
test('legal_privacy_policy: nav link "OverviewTap into your sources,"', async ({ page }) => {
await page.goto('/legal/privacy-policy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewTap into your sources, shape the data in flight, and' || t.startsWith('OverviewTap into your sources, shape the data in flight, and')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('legal_privacy_policy: nav link "Robust Stream ProcessingEvery "', async ({ page }) => {
await page.goto('/legal/privacy-policy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEvery bit of Flinq\'s muscle, minus t' || t.startsWith('Robust Stream ProcessingEvery bit of Flinq\'s muscle, minus t')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('legal_privacy_policy: nav link "Fully ManagedA completely host"', async ({ page }) => {
await page.goto('/legal/privacy-policy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely hosted cloud service. There is not' || t.startsWith('Fully ManagedA completely hosted cloud service. There is not')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('legal_privacy_policy: nav link "Deployment OptionsPick from tw"', async ({ page }) => {
await page.goto('/legal/privacy-policy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsPick from two deployment modes: fully host' || t.startsWith('Deployment OptionsPick from two deployment modes: fully host')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - legal_tos', () => {
test('legal_tos: title matches GT', async ({ page }) => {
await page.goto('/legal/tos/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('terms of service');
});
test('legal_tos: h2 "Introduction"', async ({ page }) => {
await page.goto('/legal/tos/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introduction' || t.startsWith('Introduction'))).toBeTruthy();
});
test('legal_tos: h2 "1. Definitions"', async ({ page }) => {
await page.goto('/legal/tos/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '1. Definitions' || t.startsWith('1. Definitions'))).toBeTruthy();
});
test('legal_tos: h2 "2. License; Restrictions"', async ({ page }) => {
await page.goto('/legal/tos/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '2. License; Restrictions' || t.startsWith('2. License; Restrictions'))).toBeTruthy();
});
test('legal_tos: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/legal/tos/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the events, and' || t.startsWith('OverviewLink up your data sources, transform the events, and')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('legal_tos: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/legal/tos/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('legal_tos: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/legal/tos/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('legal_tos: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/legal/tos/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two ways to run it: fully host' || t.startsWith('Deployment OptionsChoose from two ways to run it: fully host')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - pricing', () => {
test('pricing: title matches GT', async ({ page }) => {
await page.goto('/pricing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('pricing');
});
test('pricing: h1 "Start Building Now"', 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 === 'Start Building Now' || t.startsWith('Start Building Now'))).toBeTruthy();
});
test('pricing: h2 "Free"', 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 === 'Free' || t.startsWith('Free'))).toBeTruthy();
});
test('pricing: h2 "On Demand"', 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 === 'On Demand' || t.startsWith('On Demand'))).toBeTruthy();
});
test('pricing: h2 "Enterprise"', 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 === 'Enterprise' || t.startsWith('Enterprise'))).toBeTruthy();
});
test('pricing: nav link "OverviewTap into your sources,"', 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 === 'OverviewTap into your sources, shape the data in flight, and' || t.startsWith('OverviewTap into your sources, shape the data in flight, and')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Robust Stream ProcessingEvery "', 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 === 'Robust Stream ProcessingEvery capability of Flinq with none ' || t.startsWith('Robust Stream ProcessingEvery capability of Flinq with none ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Fully ManagedA completely mana"', 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 === 'Fully ManagedA completely managed cloud offering. Nothing to' || t.startsWith('Fully ManagedA completely managed cloud offering. Nothing to')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Deployment OptionsChoose from "', 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 === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product', () => {
test('product: title matches GT', async ({ page }) => {
await page.goto('/product/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('product');
});
test('product: h1 "The real-time data platform bu"', async ({ page }) => {
await page.goto('/product/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The real-time data platform built to be effortless' || t.startsWith('The real-time data platform built to be effortless'))).toBeTruthy();
});
test('product: h2 "Quick, dependable data without"', async ({ page }) => {
await page.goto('/product/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quick, dependable data without the headaches' || t.startsWith('Quick, dependable data without the headaches'))).toBeTruthy();
});
test('product: h2 "How it works"', async ({ page }) => {
await page.goto('/product/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How it works' || t.startsWith('How it works'))).toBeTruthy();
});
test('product: h2 "Flinq + Debezia + All the othe"', async ({ page }) => {
await page.goto('/product/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Flinq + Debezia + All the other stuff you need' || t.startsWith('Flinq + Debezia + All the other stuff you need'))).toBeTruthy();
});
test('product: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/product/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('product: nav link "Effortless Stream ProcessingHa"', async ({ page }) => {
await page.goto('/product/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Effortless Stream ProcessingHarness the full power of Flinq,' || t.startsWith('Effortless Stream ProcessingHarness the full power of Flinq,')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('product: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/product/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. There\'s not' || t.startsWith('Fully ManagedA completely managed cloud service. There\'s not')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('product: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/product/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment modes: fully ho' || t.startsWith('Deployment OptionsChoose from two deployment modes: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_deployment_options', () => {
test('product_deployment_options: title matches GT', async ({ page }) => {
await page.goto('/product/deployment-options/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('deployment options');
});
test('product_deployment_options: h1 "Your Cloud or Ours"', async ({ page }) => {
await page.goto('/product/deployment-options/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Your Cloud or Ours' || t.startsWith('Your Cloud or Ours'))).toBeTruthy();
});
test('product_deployment_options: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/product/deployment-options/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('product_deployment_options: h2 "Join a live hands-on workshop"', async ({ page }) => {
await page.goto('/product/deployment-options/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join a live hands-on workshop' || t.startsWith('Join a live hands-on workshop'))).toBeTruthy();
});
test('product_deployment_options: h3 "Fully Hosted"', async ({ page }) => {
await page.goto('/product/deployment-options/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully Hosted' || t.startsWith('Fully Hosted'))).toBeTruthy();
});
test('product_deployment_options: nav link "OverviewLink your data sources"', async ({ page }) => {
await page.goto('/product/deployment-options/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink your data sources, transform the stream, and ro' || t.startsWith('OverviewLink your data sources, transform the stream, and ro')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('product_deployment_options: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/product/deployment-options/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('product_deployment_options: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/product/deployment-options/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('product_deployment_options: nav link "Deployment OptionsOffered in t"', async ({ page }) => {
await page.goto('/product/deployment-options/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsOffered in two deployment modes: fully hos' || t.startsWith('Deployment OptionsOffered in two deployment modes: fully hos')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_fully_managed', () => {
test('product_fully_managed: title matches GT', async ({ page }) => {
await page.goto('/product/fully-managed/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('fully managed, cloud native');
});
test('product_fully_managed: h1 "Fully Managed, Cloud Native"', async ({ page }) => {
await page.goto('/product/fully-managed/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully Managed, Cloud Native' || t.startsWith('Fully Managed, Cloud Native'))).toBeTruthy();
});
test('product_fully_managed: h2 "We take care of the hard parts"', async ({ page }) => {
await page.goto('/product/fully-managed/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'We take care of the hard parts so your attention stays on your product.' || t.startsWith('We take care of the hard parts so your attention stays on your product.'))).toBeTruthy();
});
test('product_fully_managed: h2 "Secure and Compliant"', async ({ page }) => {
await page.goto('/product/fully-managed/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Secure and Compliant' || t.startsWith('Secure and Compliant'))).toBeTruthy();
});
test('product_fully_managed: h2 "Let\'s start streaming"', async ({ page }) => {
await page.goto('/product/fully-managed/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s start streaming' || t.startsWith('Let\'s start streaming'))).toBeTruthy();
});
test('product_fully_managed: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/product/fully-managed/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('product_fully_managed: nav link "Serious Stream ProcessingEvery"', async ({ page }) => {
await page.goto('/product/fully-managed/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Serious Stream ProcessingEvery bit of Flinq\'s capability, mi' || t.startsWith('Serious Stream ProcessingEvery bit of Flinq\'s capability, mi')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('product_fully_managed: nav link "Fully ManagedA fully managed c"', async ({ page }) => {
await page.goto('/product/fully-managed/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA fully managed cloud offering. Nothing to inst' || t.startsWith('Fully ManagedA fully managed cloud offering. Nothing to inst')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('product_fully_managed: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/product/fully-managed/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - product_powerful_stream_processing', () => {
test('product_powerful_stream_processing: title matches GT', async ({ page }) => {
await page.goto('/product/powerful-stream-processing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('stateful stream processing on fully');
});
test('product_powerful_stream_processing: h1 "Fully managed Flinq for statef"', async ({ page }) => {
await page.goto('/product/powerful-stream-processing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully managed Flinq for stateful stream processing' || t.startsWith('Fully managed Flinq for stateful stream processing'))).toBeTruthy();
});
test('product_powerful_stream_processing: h2 "Robust stream processing power"', async ({ page }) => {
await page.goto('/product/powerful-stream-processing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust stream processing powered by Flinq' || t.startsWith('Robust stream processing powered by Flinq'))).toBeTruthy();
});
test('product_powerful_stream_processing: h2 "Let\'s start flowing"', async ({ page }) => {
await page.goto('/product/powerful-stream-processing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s start flowing' || t.startsWith('Let\'s start flowing'))).toBeTruthy();
});
test('product_powerful_stream_processing: h2 "Sign up for a live workshop"', async ({ page }) => {
await page.goto('/product/powerful-stream-processing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for a live workshop' || t.startsWith('Sign up for a live workshop'))).toBeTruthy();
});
test('product_powerful_stream_processing: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/product/powerful-stream-processing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('product_powerful_stream_processing: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/product/powerful-stream-processing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything great about Flinq, minu' || t.startsWith('Powerful Stream ProcessingEverything great about Flinq, minu')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('product_powerful_stream_processing: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/product/powerful-stream-processing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. Nothing to ' || t.startsWith('Fully ManagedA completely managed cloud service. Nothing to ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('product_powerful_stream_processing: nav link "Deployment OptionsOffered in t"', async ({ page }) => {
await page.goto('/product/powerful-stream-processing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsOffered in two deployment styles: fully ho' || t.startsWith('Deployment OptionsOffered in two deployment styles: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - resources_fluvica_vs_amazon_msf', () => {
test('resources_fluvica_vs_amazon_msf: title matches GT', async ({ page }) => {
await page.goto('/resources/fluvica-vs-amazon-msf/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('fluvica vs managed flinq');
});
test('resources_fluvica_vs_amazon_msf: h1 "Fluvica vs. Managed Flinq"', async ({ page }) => {
await page.goto('/resources/fluvica-vs-amazon-msf/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica vs. Managed Flinq' || t.startsWith('Fluvica vs. Managed Flinq'))).toBeTruthy();
});
test('resources_fluvica_vs_amazon_msf: h2 "Harness the power of streaming"', async ({ page }) => {
await page.goto('/resources/fluvica-vs-amazon-msf/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Harness the power of streaming data' || t.startsWith('Harness the power of streaming data'))).toBeTruthy();
});
test('resources_fluvica_vs_amazon_msf: h2 "Managed Flinq\'s hurdles can ge"', async ({ page }) => {
await page.goto('/resources/fluvica-vs-amazon-msf/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Managed Flinq\'s hurdles can get expensive' || t.startsWith('Managed Flinq\'s hurdles can get expensive'))).toBeTruthy();
});
test('resources_fluvica_vs_amazon_msf: h2 "Move data dependably to any de"', async ({ page }) => {
await page.goto('/resources/fluvica-vs-amazon-msf/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Move data dependably to any destination' || t.startsWith('Move data dependably to any destination'))).toBeTruthy();
});
test('resources_fluvica_vs_amazon_msf: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/resources/fluvica-vs-amazon-msf/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, reshape the data, and rou' || t.startsWith('OverviewLink up your data sources, reshape the data, and rou')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('resources_fluvica_vs_amazon_msf: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/resources/fluvica-vs-amazon-msf/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq can do, minus the c' || t.startsWith('Robust Stream ProcessingEverything Flinq can do, minus the 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('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('resources_fluvica_vs_amazon_msf: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/resources/fluvica-vs-amazon-msf/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. Nothing to' || t.startsWith('Fully ManagedA completely managed cloud offering. Nothing to')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('resources_fluvica_vs_amazon_msf: nav link "Deployment ChoicesOffered in t"', async ({ page }) => {
await page.goto('/resources/fluvica-vs-amazon-msf/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesOffered in two deployment styles: fully ho' || t.startsWith('Deployment ChoicesOffered in two deployment styles: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - resources_events', () => {
test('resources_events: title matches GT', async ({ page }) => {
await page.goto('/resources/events/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('events');
});
test('resources_events: h1 "Events"', async ({ page }) => {
await page.goto('/resources/events/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Events' || t.startsWith('Events'))).toBeTruthy();
});
test('resources_events: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/resources/events/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('resources_events: h2 "Attend a live hands-on lab"', async ({ page }) => {
await page.goto('/resources/events/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Attend a live hands-on lab' || t.startsWith('Attend a live hands-on lab'))).toBeTruthy();
});
test('resources_events: h3 "Streamforge Berlin 2024"', async ({ page }) => {
await page.goto('/resources/events/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streamforge Berlin 2024' || t.startsWith('Streamforge Berlin 2024'))).toBeTruthy();
});
test('resources_events: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/resources/events/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('resources_events: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/resources/events/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything you love about Flinq, min' || t.startsWith('Robust Stream ProcessingEverything you love about Flinq, min')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('resources_events: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/resources/events/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. Nothing to ' || t.startsWith('Fully ManagedA completely managed cloud service. Nothing to ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('resources_events: nav link "Deployment ChoicesOffered in t"', async ({ page }) => {
await page.goto('/resources/events/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesOffered in two deployment modes: fully hos' || t.startsWith('Deployment ChoicesOffered in two deployment modes: fully hos')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - resources_guides', () => {
test('resources_guides: title matches GT', async ({ page }) => {
await page.goto('/resources/guides/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('guides');
});
test('resources_guides: h1 "Fluvica Guides"', async ({ page }) => {
await page.goto('/resources/guides/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica Guides' || t.startsWith('Fluvica Guides'))).toBeTruthy();
});
test('resources_guides: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/resources/guides/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('resources_guides: h2 "Attend a virtual hands-on lab"', async ({ page }) => {
await page.goto('/resources/guides/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Attend a virtual hands-on lab' || t.startsWith('Attend a virtual hands-on lab'))).toBeTruthy();
});
test('resources_guides: h3 "Engineering Smart Agentic AI"', async ({ page }) => {
await page.goto('/resources/guides/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Engineering Smart Agentic AI' || t.startsWith('Engineering Smart Agentic AI'))).toBeTruthy();
});
test('resources_guides: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/resources/guides/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, reshape the data, and del' || t.startsWith('OverviewLink up your data sources, reshape the data, and del')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('resources_guides: nav link "Robust Stream ProcessingEvery "', async ({ page }) => {
await page.goto('/resources/guides/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEvery bit of Flinq\'s power, minus th' || t.startsWith('Robust Stream ProcessingEvery bit of Flinq\'s power, minus th')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('resources_guides: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/resources/guides/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. Nothing to ' || t.startsWith('Fully ManagedA completely managed cloud service. Nothing to ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('resources_guides: nav link "Deployment ChoicesOffered in t"', async ({ page }) => {
await page.goto('/resources/guides/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesOffered in two deployment modes: fully hos' || t.startsWith('Deployment ChoicesOffered in two deployment modes: fully hos')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - resources_news', () => {
test('resources_news: title matches GT', async ({ page }) => {
await page.goto('/resources/news/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('news');
});
test('resources_news: h1 "News and Press Coverage"', async ({ page }) => {
await page.goto('/resources/news/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News and Press Coverage' || t.startsWith('News and Press Coverage'))).toBeTruthy();
});
test('resources_news: h2 "Latest Releases"', async ({ page }) => {
await page.goto('/resources/news/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Latest Releases' || t.startsWith('Latest Releases'))).toBeTruthy();
});
test('resources_news: h2 "Media Mentions"', async ({ page }) => {
await page.goto('/resources/news/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Media Mentions' || t.startsWith('Media Mentions'))).toBeTruthy();
});
test('resources_news: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/resources/news/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('resources_news: nav link "OverviewConnect your sources, "', async ({ page }) => {
await page.goto('/resources/news/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewConnect your sources, process the data, and deliver ' || t.startsWith('OverviewConnect your sources, process the data, and deliver ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('resources_news: nav link "Robust Stream ProcessingEvery "', async ({ page }) => {
await page.goto('/resources/news/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEvery bit of Flinq\'s power, without ' || t.startsWith('Robust Stream ProcessingEvery bit of Flinq\'s power, without ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('resources_news: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/resources/news/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. There is no' || t.startsWith('Fully ManagedA completely managed cloud service. There is no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('resources_news: nav link "Deployment OptionsOffered in t"', async ({ page }) => {
await page.goto('/resources/news/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsOffered in two deployment modes: fully hos' || t.startsWith('Deployment OptionsOffered in two deployment modes: fully hos')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - resources_podcasts', () => {
test('resources_podcasts: title matches GT', async ({ page }) => {
await page.goto('/resources/podcasts/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('podcasts');
});
test('resources_podcasts: h1 "Podcasts"', async ({ page }) => {
await page.goto('/resources/podcasts/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Podcasts' || t.startsWith('Podcasts'))).toBeTruthy();
});
test('resources_podcasts: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/resources/podcasts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('resources_podcasts: h2 "Join a live hands-on lab"', async ({ page }) => {
await page.goto('/resources/podcasts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join a live hands-on lab' || t.startsWith('Join a live hands-on lab'))).toBeTruthy();
});
test('resources_podcasts: h3 "The Debezia Guru on Pinovia, F"', async ({ page }) => {
await page.goto('/resources/podcasts/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Debezia Guru on Pinovia, Flinq, CDC & Fluvica' || t.startsWith('The Debezia Guru on Pinovia, Flinq, CDC & Fluvica'))).toBeTruthy();
});
test('resources_podcasts: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/resources/podcasts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('resources_podcasts: nav link "Advanced Stream ProcessingEver"', async ({ page }) => {
await page.goto('/resources/podcasts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Advanced Stream ProcessingEverything Flinq delivers, minus t' || t.startsWith('Advanced Stream ProcessingEverything Flinq delivers, minus t')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('resources_podcasts: nav link "Hands-Off OpsA completely mana"', async ({ page }) => {
await page.goto('/resources/podcasts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hands-Off OpsA completely managed cloud offering. Nothing to' || t.startsWith('Hands-Off OpsA completely managed cloud offering. Nothing to')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('resources_podcasts: nav link "Deployment ChoicesOffered in t"', async ({ page }) => {
await page.goto('/resources/podcasts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesOffered in two deployment styles: fully ho' || t.startsWith('Deployment ChoicesOffered in two deployment styles: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - resources_tech_talks', () => {
test('resources_tech_talks: title matches GT', async ({ page }) => {
await page.goto('/resources/tech-talks/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('tech talks');
});
test('resources_tech_talks: h1 "Tech Talks"', async ({ page }) => {
await page.goto('/resources/tech-talks/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tech Talks' || t.startsWith('Tech Talks'))).toBeTruthy();
});
test('resources_tech_talks: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/resources/tech-talks/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('resources_tech_talks: h2 "Join a live hands-on workshop"', async ({ page }) => {
await page.goto('/resources/tech-talks/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join a live hands-on workshop' || t.startsWith('Join a live hands-on workshop'))).toBeTruthy();
});
test('resources_tech_talks: h3 "How Norvell Capital Sharpened "', async ({ page }) => {
await page.goto('/resources/tech-talks/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Norvell Capital Sharpened Their Real-Time Data Decisions' || t.startsWith('How Norvell Capital Sharpened Their Real-Time Data Decisions'))).toBeTruthy();
});
test('resources_tech_talks: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/resources/tech-talks/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('resources_tech_talks: nav link "Powerful Stream ProcessingThe "', async ({ page }) => {
await page.goto('/resources/tech-talks/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingThe full strength of Flinq minus t' || t.startsWith('Powerful Stream ProcessingThe full strength of Flinq minus t')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('resources_tech_talks: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/resources/tech-talks/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. Nothing to' || t.startsWith('Fully ManagedA completely managed cloud offering. Nothing to')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('resources_tech_talks: nav link "Deployment OptionsOffered in t"', async ({ page }) => {
await page.goto('/resources/tech-talks/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsOffered in two deployment styles: fully ho' || t.startsWith('Deployment OptionsOffered in two deployment styles: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - resources_videos', () => {
test('resources_videos: title matches GT', async ({ page }) => {
await page.goto('/resources/videos/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('videos');
});
test('resources_videos: h1 "Videos"', async ({ page }) => {
await page.goto('/resources/videos/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Videos' || t.startsWith('Videos'))).toBeTruthy();
});
test('resources_videos: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/resources/videos/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('resources_videos: h2 "Join a live hands-on workshop"', async ({ page }) => {
await page.goto('/resources/videos/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join a live hands-on workshop' || t.startsWith('Join a live hands-on workshop'))).toBeTruthy();
});
test('resources_videos: h3 "Tagging Resources Demo"', async ({ page }) => {
await page.goto('/resources/videos/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tagging Resources Demo' || t.startsWith('Tagging Resources Demo'))).toBeTruthy();
});
test('resources_videos: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/resources/videos/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the stream, and' || t.startsWith('OverviewLink up your data sources, transform the stream, and')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('resources_videos: nav link "Serious Stream ProcessingEvery"', async ({ page }) => {
await page.goto('/resources/videos/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Serious Stream ProcessingEverything Flinq can do, minus the ' || t.startsWith('Serious Stream ProcessingEverything Flinq can do, minus the ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('resources_videos: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/resources/videos/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. Nothing to ' || t.startsWith('Fully ManagedA completely managed cloud service. Nothing to ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('resources_videos: nav link "Deployment OptionsOffered in t"', async ({ page }) => {
await page.goto('/resources/videos/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsOffered in two deployment modes: fully hos' || t.startsWith('Deployment OptionsOffered in two deployment modes: fully hos')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - security', () => {
test('security: title matches GT', async ({ page }) => {
await page.goto('/security/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('security');
});
test('security: h1 "Security at Fluvica"', async ({ page }) => {
await page.goto('/security/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Security at Fluvica' || t.startsWith('Security at Fluvica'))).toBeTruthy();
});
test('security: h2 "SOC2 Type II, HIPAA, and GDPR "', async ({ page }) => {
await page.goto('/security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'SOC2 Type II, HIPAA, and GDPR Compliant Information Security Program' || t.startsWith('SOC2 Type II, HIPAA, and GDPR Compliant Information Security Program'))).toBeTruthy();
});
test('security: h2 "Independent External Audits"', async ({ page }) => {
await page.goto('/security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Independent External Audits' || t.startsWith('Independent External Audits'))).toBeTruthy();
});
test('security: h2 "Third-Party Penetration Testin"', async ({ page }) => {
await page.goto('/security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Third-Party Penetration Testing' || t.startsWith('Third-Party Penetration Testing'))).toBeTruthy();
});
test('security: nav link "OverviewTap into your data sou"', async ({ page }) => {
await page.goto('/security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewTap into your data sources, transform the results, a' || t.startsWith('OverviewTap into your data sources, transform the results, a')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('security: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq offers, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq offers, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('security: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There\'s no' || t.startsWith('Fully ManagedA completely managed cloud offering. There\'s no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('security: nav link "Deployment OptionsOffered in t"', async ({ page }) => {
await page.goto('/security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsOffered in two deployment styles: fully ho' || t.startsWith('Deployment OptionsOffered in two deployment styles: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - technical_use_cases_ai', () => {
test('technical_use_cases_ai: title matches GT', async ({ page }) => {
await page.goto('/technical-use-cases/ai/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('fluvica for agentic ai');
});
test('technical_use_cases_ai: h2 "Defining Agentic AI"', async ({ page }) => {
await page.goto('/technical-use-cases/ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Defining Agentic AI' || t.startsWith('Defining Agentic AI'))).toBeTruthy();
});
test('technical_use_cases_ai: h2 "Context-aware AI begins with r"', async ({ page }) => {
await page.goto('/technical-use-cases/ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Context-aware AI begins with real-time data' || t.startsWith('Context-aware AI begins with real-time data'))).toBeTruthy();
});
test('technical_use_cases_ai: h2 "Why teams choose Fluvica"', async ({ page }) => {
await page.goto('/technical-use-cases/ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why teams choose Fluvica' || t.startsWith('Why teams choose Fluvica'))).toBeTruthy();
});
test('technical_use_cases_ai: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/technical-use-cases/ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, shape the data, and route' || t.startsWith('OverviewLink up your data sources, shape the data, and route')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_ai: nav link "Powerful Stream ProcessingAll "', async ({ page }) => {
await page.goto('/technical-use-cases/ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingAll the capability of Flinq, minus' || t.startsWith('Powerful Stream ProcessingAll the capability of Flinq, minus')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_ai: nav link "Fully ManagedA fully managed c"', async ({ page }) => {
await page.goto('/technical-use-cases/ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA fully managed cloud offering. Nothing to inst' || t.startsWith('Fully ManagedA fully managed cloud offering. Nothing to inst')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_ai: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/technical-use-cases/ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - technical_use_cases_elt', () => {
test('technical_use_cases_elt: title matches GT', async ({ page }) => {
await page.goto('/technical-use-cases/elt/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('fluvica for elt');
});
test('technical_use_cases_elt: h2 "What is ELT?"', async ({ page }) => {
await page.goto('/technical-use-cases/elt/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What is ELT?' || t.startsWith('What is ELT?'))).toBeTruthy();
});
test('technical_use_cases_elt: h2 "Streamlined ELT. One platform."', async ({ page }) => {
await page.goto('/technical-use-cases/elt/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streamlined ELT. One platform.' || t.startsWith('Streamlined ELT. One platform.'))).toBeTruthy();
});
test('technical_use_cases_elt: h2 "What makes Fluvica different?"', async ({ page }) => {
await page.goto('/technical-use-cases/elt/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What makes Fluvica different?' || t.startsWith('What makes Fluvica different?'))).toBeTruthy();
});
test('technical_use_cases_elt: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/technical-use-cases/elt/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the records, an' || t.startsWith('OverviewLink up your data sources, transform the records, an')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_elt: nav link "Robust Stream ProcessingAll th"', async ({ page }) => {
await page.goto('/technical-use-cases/elt/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingAll the capabilities of Flinq minus ' || t.startsWith('Robust Stream ProcessingAll the capabilities of Flinq minus ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_elt: nav link "Fully ManagedA fully managed c"', async ({ page }) => {
await page.goto('/technical-use-cases/elt/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA fully managed cloud service. There is nothing' || t.startsWith('Fully ManagedA fully managed cloud service. There is nothing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_elt: nav link "Deployment OptionsOffered in t"', async ({ page }) => {
await page.goto('/technical-use-cases/elt/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsOffered in two deployment modes: fully hos' || t.startsWith('Deployment OptionsOffered in two deployment modes: fully hos')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - technical_use_cases_etl', () => {
test('technical_use_cases_etl: title matches GT', async ({ page }) => {
await page.goto('/technical-use-cases/etl/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('fluvica for etl');
});
test('technical_use_cases_etl: h2 "Defining ETL"', async ({ page }) => {
await page.goto('/technical-use-cases/etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Defining ETL' || t.startsWith('Defining ETL'))).toBeTruthy();
});
test('technical_use_cases_etl: h2 "ETL made simple. One platform."', async ({ page }) => {
await page.goto('/technical-use-cases/etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ETL made simple. One platform.' || t.startsWith('ETL made simple. One platform.'))).toBeTruthy();
});
test('technical_use_cases_etl: h2 "What makes Fluvica different?"', async ({ page }) => {
await page.goto('/technical-use-cases/etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What makes Fluvica different?' || t.startsWith('What makes Fluvica different?'))).toBeTruthy();
});
test('technical_use_cases_etl: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/technical-use-cases/etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and d' || t.startsWith('OverviewLink up your data sources, transform the data, and d')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_etl: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/technical-use-cases/etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq can do, minus the s' || t.startsWith('Robust Stream ProcessingEverything Flinq can do, minus the s')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_etl: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/technical-use-cases/etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. Nothing to' || t.startsWith('Fully ManagedA completely managed cloud offering. Nothing to')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_etl: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/technical-use-cases/etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - technical_use_cases_reverse_etl', () => {
test('technical_use_cases_reverse_etl: title matches GT', async ({ page }) => {
await page.goto('/technical-use-cases/reverse-etl/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('fluvica for reverse etl');
});
test('technical_use_cases_reverse_etl: h2 "Reverse ETL, Explained"', async ({ page }) => {
await page.goto('/technical-use-cases/reverse-etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reverse ETL, Explained' || t.startsWith('Reverse ETL, Explained'))).toBeTruthy();
});
test('technical_use_cases_reverse_etl: h2 "Simpler reverse ETL. A single "', async ({ page }) => {
await page.goto('/technical-use-cases/reverse-etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Simpler reverse ETL. A single platform.' || t.startsWith('Simpler reverse ETL. A single platform.'))).toBeTruthy();
});
test('technical_use_cases_reverse_etl: h2 "Why teams choose Fluvica"', async ({ page }) => {
await page.goto('/technical-use-cases/reverse-etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why teams choose Fluvica' || t.startsWith('Why teams choose Fluvica'))).toBeTruthy();
});
test('technical_use_cases_reverse_etl: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/technical-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 === 'OverviewLink up your data sources, shape the data, and route' || t.startsWith('OverviewLink up your data sources, shape the data, and route')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_reverse_etl: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/technical-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 === 'Robust Stream ProcessingEverything Flinq offers, minus the s' || t.startsWith('Robust Stream ProcessingEverything Flinq offers, minus the s')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_reverse_etl: nav link "Fully ManagedA fully managed c"', async ({ page }) => {
await page.goto('/technical-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 === 'Fully ManagedA fully managed cloud service. Nothing to insta' || t.startsWith('Fully ManagedA fully managed cloud service. Nothing to insta')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_reverse_etl: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/technical-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 === 'Deployment OptionsChoose from two deployment modes: fully ho' || t.startsWith('Deployment OptionsChoose from two deployment modes: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - technical_use_cases_stream_processing', () => {
test('technical_use_cases_stream_processing: title matches GT', async ({ page }) => {
await page.goto('/technical-use-cases/stream-processing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('fluvica for stream processing');
});
test('technical_use_cases_stream_processing: h2 "So what is stream processing?"', async ({ page }) => {
await page.goto('/technical-use-cases/stream-processing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'So what is stream processing?' || t.startsWith('So what is stream processing?'))).toBeTruthy();
});
test('technical_use_cases_stream_processing: h2 "Stream processing, simplified."', async ({ page }) => {
await page.goto('/technical-use-cases/stream-processing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Stream processing, simplified. One platform.' || t.startsWith('Stream processing, simplified. One platform.'))).toBeTruthy();
});
test('technical_use_cases_stream_processing: h2 "What makes Fluvica stand out?"', async ({ page }) => {
await page.goto('/technical-use-cases/stream-processing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What makes Fluvica stand out?' || t.startsWith('What makes Fluvica stand out?'))).toBeTruthy();
});
test('technical_use_cases_stream_processing: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/technical-use-cases/stream-processing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, shape the records, and ro' || t.startsWith('OverviewLink up your data sources, shape the records, and ro')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_stream_processing: nav link "Powerful Stream ProcessingAll "', async ({ page }) => {
await page.goto('/technical-use-cases/stream-processing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingAll of the power of Flinq without ' || t.startsWith('Powerful Stream ProcessingAll of the power of Flinq without ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_stream_processing: nav link "Fully ManagedA fully managed c"', async ({ page }) => {
await page.goto('/technical-use-cases/stream-processing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA fully managed cloud service. There is nothing' || t.startsWith('Fully ManagedA fully managed cloud service. There is nothing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('technical_use_cases_stream_processing: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/technical-use-cases/stream-processing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment modes: fully ho' || t.startsWith('Deployment OptionsChoose from two deployment modes: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_amazon_redshift', () => {
test('connectors_amazon_redshift: title matches GT', async ({ page }) => {
await page.goto('/connectors/amazon-redshift/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('skyshift connector');
});
test('connectors_amazon_redshift: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/connectors/amazon-redshift/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('connectors_amazon_redshift: h2 "Try our guided hands-on"', async ({ page }) => {
await page.goto('/connectors/amazon-redshift/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Try our guided hands-on' || t.startsWith('Try our guided hands-on'))).toBeTruthy();
});
test('connectors_amazon_redshift: h3 "Skyshift Basics"', async ({ page }) => {
await page.goto('/connectors/amazon-redshift/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Skyshift Basics' || t.startsWith('Skyshift Basics'))).toBeTruthy();
});
test('connectors_amazon_redshift: nav link "OverviewTap into any source, r"', async ({ page }) => {
await page.goto('/connectors/amazon-redshift/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewTap into any source, reshape your data in flight, an' || t.startsWith('OverviewTap into any source, reshape your data in flight, an')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_amazon_redshift: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/connectors/amazon-redshift/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq can do, minus the s' || t.startsWith('Robust Stream ProcessingEverything Flinq can do, minus the s')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_amazon_redshift: nav link "Zero OverheadA completely mana"', async ({ page }) => {
await page.goto('/connectors/amazon-redshift/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Zero OverheadA completely managed cloud service. There is no' || t.startsWith('Zero OverheadA completely managed cloud service. There is no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_amazon_redshift: nav link "Deployment ChoicesChoose from "', async ({ page }) => {
await page.goto('/connectors/amazon-redshift/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesChoose from two ways to run it: fully host' || t.startsWith('Deployment ChoicesChoose from two ways to run it: fully host')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_apache_hudi', () => {
test('connectors_apache_hudi: title matches GT', async ({ page }) => {
await page.goto('/connectors/apache-hudi/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('hudra connector');
});
test('connectors_apache_hudi: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/connectors/apache-hudi/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('connectors_apache_hudi: h2 "Join a live hands-on lab"', async ({ page }) => {
await page.goto('/connectors/apache-hudi/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join a live hands-on lab' || t.startsWith('Join a live hands-on lab'))).toBeTruthy();
});
test('connectors_apache_hudi: h3 "Hudra at a Glance"', async ({ page }) => {
await page.goto('/connectors/apache-hudi/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hudra at a Glance' || t.startsWith('Hudra at a Glance'))).toBeTruthy();
});
test('connectors_apache_hudi: nav link "SummaryTap your sources, shape"', async ({ page }) => {
await page.goto('/connectors/apache-hudi/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'SummaryTap your sources, shape the data as it flows, and rou' || t.startsWith('SummaryTap your sources, shape the data as it flows, and rou')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_apache_hudi: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/connectors/apache-hudi/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq can do, with none o' || t.startsWith('Robust Stream ProcessingEverything Flinq can do, with none o')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_apache_hudi: nav link "Hands-Off OpsA completely mana"', async ({ page }) => {
await page.goto('/connectors/apache-hudi/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hands-Off OpsA completely managed cloud service. There is no' || t.startsWith('Hands-Off OpsA completely managed cloud service. There is no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_apache_hudi: nav link "Flexible HostingChoose from tw"', async ({ page }) => {
await page.goto('/connectors/apache-hudi/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Flexible HostingChoose from two ways to run it: entirely hos' || t.startsWith('Flexible HostingChoose from two ways to run it: entirely hos')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_apache_iceberg', () => {
test('connectors_apache_iceberg: title matches GT', async ({ page }) => {
await page.goto('/connectors/apache-iceberg/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('glacite connector');
});
test('connectors_apache_iceberg: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/connectors/apache-iceberg/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('connectors_apache_iceberg: h2 "Join a live hands-on workshop"', async ({ page }) => {
await page.goto('/connectors/apache-iceberg/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join a live hands-on workshop' || t.startsWith('Join a live hands-on workshop'))).toBeTruthy();
});
test('connectors_apache_iceberg: h3 "Glacite Overview"', async ({ page }) => {
await page.goto('/connectors/apache-iceberg/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Glacite Overview' || t.startsWith('Glacite Overview'))).toBeTruthy();
});
test('connectors_apache_iceberg: nav link "OverviewTap into your sources,"', async ({ page }) => {
await page.goto('/connectors/apache-iceberg/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewTap into your sources, shape the data in flight, and' || t.startsWith('OverviewTap into your sources, shape the data in flight, and')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_apache_iceberg: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/connectors/apache-iceberg/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_apache_iceberg: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/connectors/apache-iceberg/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. There is no' || t.startsWith('Fully ManagedA completely managed cloud service. There is no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_apache_iceberg: nav link "Deployment OptionsOffered in t"', async ({ page }) => {
await page.goto('/connectors/apache-iceberg/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsOffered in two deployment styles: complete' || t.startsWith('Deployment OptionsOffered in two deployment styles: complete')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_astra_streaming', () => {
test('connectors_astra_streaming: title matches GT', async ({ page }) => {
await page.goto('/connectors/astra-streaming/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('datanova pulscade streaming connector');
});
test('connectors_astra_streaming: h2 "Let\'s start flowing"', async ({ page }) => {
await page.goto('/connectors/astra-streaming/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s start flowing' || t.startsWith('Let\'s start flowing'))).toBeTruthy();
});
test('connectors_astra_streaming: h2 "Try our guided hands-on"', async ({ page }) => {
await page.goto('/connectors/astra-streaming/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Try our guided hands-on' || t.startsWith('Try our guided hands-on'))).toBeTruthy();
});
test('connectors_astra_streaming: h3 "DataNova Pulscade Streaming Ov"', async ({ page }) => {
await page.goto('/connectors/astra-streaming/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'DataNova Pulscade Streaming Overview' || t.startsWith('DataNova Pulscade Streaming Overview'))).toBeTruthy();
});
test('connectors_astra_streaming: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/connectors/astra-streaming/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and d' || t.startsWith('OverviewLink up your data sources, transform the data, and d')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_astra_streaming: nav link "Advanced Stream ProcessingEver"', async ({ page }) => {
await page.goto('/connectors/astra-streaming/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Advanced Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Advanced Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_astra_streaming: nav link "Fully HandledA completely mana"', async ({ page }) => {
await page.goto('/connectors/astra-streaming/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully HandledA completely managed cloud offering. There\'s no' || t.startsWith('Fully HandledA completely managed cloud offering. There\'s no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_astra_streaming: nav link "Deployment ChoicesChoose from "', async ({ page }) => {
await page.goto('/connectors/astra-streaming/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesChoose from two deployment styles: fully h' || t.startsWith('Deployment ChoicesChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_aws_dynamodb_cdc', () => {
test('connectors_aws_dynamodb_cdc: title matches GT', async ({ page }) => {
await page.goto('/connectors/aws-dynamodb-cdc/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('skyline dynavault cdc connector');
});
test('connectors_aws_dynamodb_cdc: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/connectors/aws-dynamodb-cdc/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('connectors_aws_dynamodb_cdc: h2 "Sign up for a live hands-on la"', async ({ page }) => {
await page.goto('/connectors/aws-dynamodb-cdc/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for a live hands-on lab' || t.startsWith('Sign up for a live hands-on lab'))).toBeTruthy();
});
test('connectors_aws_dynamodb_cdc: h3 "DynaVault CDC in Brief"', async ({ page }) => {
await page.goto('/connectors/aws-dynamodb-cdc/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'DynaVault CDC in Brief' || t.startsWith('DynaVault CDC in Brief'))).toBeTruthy();
});
test('connectors_aws_dynamodb_cdc: nav link "OverviewPull from your data so"', async ({ page }) => {
await page.goto('/connectors/aws-dynamodb-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewPull from your data sources, shape the data, and rou' || t.startsWith('OverviewPull from your data sources, shape the data, and rou')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_aws_dynamodb_cdc: nav link "Powerful Stream ProcessingThe "', async ({ page }) => {
await page.goto('/connectors/aws-dynamodb-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingThe full power of Flinq, with none' || t.startsWith('Powerful Stream ProcessingThe full power of Flinq, with none')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_aws_dynamodb_cdc: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/connectors/aws-dynamodb-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. There\'s not' || t.startsWith('Fully ManagedA completely managed cloud service. There\'s not')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_aws_dynamodb_cdc: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/connectors/aws-dynamodb-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment modes: fully ho' || t.startsWith('Deployment OptionsChoose from two deployment modes: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_datadog', () => {
test('connectors_datadog: title matches GT', async ({ page }) => {
await page.goto('/connectors/datadog/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('datahound connector');
});
test('connectors_datadog: h2 "Fluvica + Datahound"', async ({ page }) => {
await page.goto('/connectors/datadog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica + Datahound' || t.startsWith('Fluvica + Datahound'))).toBeTruthy();
});
test('connectors_datadog: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/connectors/datadog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('connectors_datadog: h2 "Attend a virtual hands-on lab"', async ({ page }) => {
await page.goto('/connectors/datadog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Attend a virtual hands-on lab' || t.startsWith('Attend a virtual hands-on lab'))).toBeTruthy();
});
test('connectors_datadog: nav link "OverviewPull in data from your"', async ({ page }) => {
await page.goto('/connectors/datadog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewPull in data from your sources, shape it in flight, ' || t.startsWith('OverviewPull in data from your sources, shape it in flight, ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_datadog: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/connectors/datadog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_datadog: nav link "Fully ManagedA cloud service w"', async ({ page }) => {
await page.goto('/connectors/datadog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA cloud service we run for you. Nothing to prov' || t.startsWith('Fully ManagedA cloud service we run for you. Nothing to prov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_datadog: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/connectors/datadog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_delta_lake', () => {
test('connectors_delta_lake: title matches GT', async ({ page }) => {
await page.goto('/connectors/delta-lake/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('deltavault connector');
});
test('connectors_delta_lake: h2 "Deltavault at a Glance"', async ({ page }) => {
await page.goto('/connectors/delta-lake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deltavault at a Glance' || t.startsWith('Deltavault at a Glance'))).toBeTruthy();
});
test('connectors_delta_lake: h2 "Fluvica + Deltavault"', async ({ page }) => {
await page.goto('/connectors/delta-lake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica + Deltavault' || t.startsWith('Fluvica + Deltavault'))).toBeTruthy();
});
test('connectors_delta_lake: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/connectors/delta-lake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('connectors_delta_lake: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/connectors/delta-lake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_delta_lake: nav link "Robust Stream ProcessingGet th"', async ({ page }) => {
await page.goto('/connectors/delta-lake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingGet the full capability of Flinq wit' || t.startsWith('Robust Stream ProcessingGet the full capability of Flinq wit')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_delta_lake: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/connectors/delta-lake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_delta_lake: nav link "Deployment ChoicesChoose from "', async ({ page }) => {
await page.goto('/connectors/delta-lake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesChoose from two deployment modes: fully ho' || t.startsWith('Deployment ChoicesChoose from two deployment modes: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_influxdb', () => {
test('connectors_influxdb: title matches GT', async ({ page }) => {
await page.goto('/connectors/influxdb/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('influvia connector');
});
test('connectors_influxdb: h2 "Influvia Explained"', async ({ page }) => {
await page.goto('/connectors/influxdb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Influvia Explained' || t.startsWith('Influvia Explained'))).toBeTruthy();
});
test('connectors_influxdb: h2 "Fluvica + Influvia"', async ({ page }) => {
await page.goto('/connectors/influxdb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica + Influvia' || t.startsWith('Fluvica + Influvia'))).toBeTruthy();
});
test('connectors_influxdb: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/connectors/influxdb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('connectors_influxdb: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/connectors/influxdb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, shape the data, and route' || t.startsWith('OverviewLink up your data sources, shape the data, and route')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_influxdb: nav link "Serious Stream ProcessingEvery"', async ({ page }) => {
await page.goto('/connectors/influxdb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Serious Stream ProcessingEvery bit of Flinq\'s capability, wi' || t.startsWith('Serious Stream ProcessingEvery bit of Flinq\'s capability, wi')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_influxdb: nav link "Fully ManagedA fully managed c"', async ({ page }) => {
await page.goto('/connectors/influxdb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA fully managed cloud offering. Nothing to inst' || t.startsWith('Fully ManagedA fully managed cloud offering. Nothing to inst')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_influxdb: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/connectors/influxdb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment modes: fully ho' || t.startsWith('Deployment OptionsChoose from two deployment modes: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_microsoft_sql_server_cdc', () => {
test('connectors_microsoft_sql_server_cdc: title matches GT', async ({ page }) => {
await page.goto('/connectors/microsoft-sql-server-cdc/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vertex sql cdc connector');
});
test('connectors_microsoft_sql_server_cdc: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/connectors/microsoft-sql-server-cdc/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('connectors_microsoft_sql_server_cdc: h2 "Join a live hands-on workshop"', async ({ page }) => {
await page.goto('/connectors/microsoft-sql-server-cdc/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join a live hands-on workshop' || t.startsWith('Join a live hands-on workshop'))).toBeTruthy();
});
test('connectors_microsoft_sql_server_cdc: h3 "Vertex SQL CDC at a Glance"', async ({ page }) => {
await page.goto('/connectors/microsoft-sql-server-cdc/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vertex SQL CDC at a Glance' || t.startsWith('Vertex SQL CDC at a Glance'))).toBeTruthy();
});
test('connectors_microsoft_sql_server_cdc: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/connectors/microsoft-sql-server-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_microsoft_sql_server_cdc: nav link "Robust Stream ProcessingGet th"', async ({ page }) => {
await page.goto('/connectors/microsoft-sql-server-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingGet the full strength of Flinq witho' || t.startsWith('Robust Stream ProcessingGet the full strength of Flinq witho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_microsoft_sql_server_cdc: nav link "Fully ManagedA fully managed c"', async ({ page }) => {
await page.goto('/connectors/microsoft-sql-server-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA fully managed cloud service. There is nothing' || t.startsWith('Fully ManagedA fully managed cloud service. There is nothing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_microsoft_sql_server_cdc: nav link "Deployment OptionsOffered in t"', async ({ page }) => {
await page.goto('/connectors/microsoft-sql-server-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsOffered in two deployment modes: fully hos' || t.startsWith('Deployment OptionsOffered in two deployment modes: fully hos')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_mongodb', () => {
test('connectors_mongodb: title matches GT', async ({ page }) => {
await page.goto('/connectors/mongodb/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('docuvault connector');
});
test('connectors_mongodb: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/connectors/mongodb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('connectors_mongodb: h2 "Join a live hands-on workshop"', async ({ page }) => {
await page.goto('/connectors/mongodb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join a live hands-on workshop' || t.startsWith('Join a live hands-on workshop'))).toBeTruthy();
});
test('connectors_mongodb: h3 "DocuVault Overview"', async ({ page }) => {
await page.goto('/connectors/mongodb/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'DocuVault Overview' || t.startsWith('DocuVault Overview'))).toBeTruthy();
});
test('connectors_mongodb: nav link "OverviewLink up your sources, "', async ({ page }) => {
await page.goto('/connectors/mongodb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your sources, transform the data on the fly,' || t.startsWith('OverviewLink up your sources, transform the data on the fly,')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_mongodb: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/connectors/mongodb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_mongodb: nav link "Fully ManagedA cloud service w"', async ({ page }) => {
await page.goto('/connectors/mongodb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA cloud service we operate for you. Nothing to ' || t.startsWith('Fully ManagedA cloud service we operate for you. Nothing to ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_mongodb: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/connectors/mongodb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_mongodb_cdc', () => {
test('connectors_mongodb_cdc: title matches GT', async ({ page }) => {
await page.goto('/connectors/mongodb-cdc/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('docuvault cdc connector');
});
test('connectors_mongodb_cdc: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/connectors/mongodb-cdc/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('connectors_mongodb_cdc: h2 "Sign up for a live hands-on la"', async ({ page }) => {
await page.goto('/connectors/mongodb-cdc/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for a live hands-on lab' || t.startsWith('Sign up for a live hands-on lab'))).toBeTruthy();
});
test('connectors_mongodb_cdc: h3 "DocuVault CDC Overview"', async ({ page }) => {
await page.goto('/connectors/mongodb-cdc/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'DocuVault CDC Overview' || t.startsWith('DocuVault CDC Overview'))).toBeTruthy();
});
test('connectors_mongodb_cdc: nav link "OverviewPull in your data sour"', async ({ page }) => {
await page.goto('/connectors/mongodb-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewPull in your data sources, shape the data, and deliv' || t.startsWith('OverviewPull in your data sources, shape the data, and deliv')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_mongodb_cdc: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/connectors/mongodb-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEvery bit of Flinq\'s capability, m' || t.startsWith('Powerful Stream ProcessingEvery bit of Flinq\'s capability, m')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_mongodb_cdc: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/connectors/mongodb-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. There is no' || t.startsWith('Fully ManagedA completely managed cloud service. There is no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_mongodb_cdc: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/connectors/mongodb-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment modes: fully ho' || t.startsWith('Deployment OptionsChoose from two deployment modes: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_mssql_server', () => {
test('connectors_mssql_server: title matches GT', async ({ page }) => {
await page.goto('/connectors/mssql-server/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vertex sql connector');
});
test('connectors_mssql_server: h2 "Vertex SQL at a Glance"', async ({ page }) => {
await page.goto('/connectors/mssql-server/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vertex SQL at a Glance' || t.startsWith('Vertex SQL at a Glance'))).toBeTruthy();
});
test('connectors_mssql_server: h2 "Fluvica + Vertex SQL"', async ({ page }) => {
await page.goto('/connectors/mssql-server/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica + Vertex SQL' || t.startsWith('Fluvica + Vertex SQL'))).toBeTruthy();
});
test('connectors_mssql_server: h2 "Let\'s start flowing"', async ({ page }) => {
await page.goto('/connectors/mssql-server/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s start flowing' || t.startsWith('Let\'s start flowing'))).toBeTruthy();
});
test('connectors_mssql_server: nav link "SummaryLink up your data sourc"', async ({ page }) => {
await page.goto('/connectors/mssql-server/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'SummaryLink up your data sources, transform the data, and ro' || t.startsWith('SummaryLink up your data sources, transform the data, and ro')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_mssql_server: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/connectors/mssql-server/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq can do, minus the s' || t.startsWith('Robust Stream ProcessingEverything Flinq can do, minus the s')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_mssql_server: nav link "Hands-Off OpsA completely mana"', async ({ page }) => {
await page.goto('/connectors/mssql-server/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hands-Off OpsA completely managed cloud service. There is no' || t.startsWith('Hands-Off OpsA completely managed cloud service. There is no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_mssql_server: nav link "Deployment ChoicesOffered in t"', async ({ page }) => {
await page.goto('/connectors/mssql-server/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesOffered in two deployment models: fully ho' || t.startsWith('Deployment ChoicesOffered in two deployment models: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_mysql', () => {
test('connectors_mysql: title matches GT', async ({ page }) => {
await page.goto('/connectors/mysql/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('myrel connector');
});
test('connectors_mysql: h2 "MyRel Essentials"', async ({ page }) => {
await page.goto('/connectors/mysql/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'MyRel Essentials' || t.startsWith('MyRel Essentials'))).toBeTruthy();
});
test('connectors_mysql: h2 "Fluvica + MyRel"', async ({ page }) => {
await page.goto('/connectors/mysql/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica + MyRel' || t.startsWith('Fluvica + MyRel'))).toBeTruthy();
});
test('connectors_mysql: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/connectors/mysql/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('connectors_mysql: nav link "OverviewConnect your data sour"', async ({ page }) => {
await page.goto('/connectors/mysql/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewConnect your data sources, shape the data in flight,' || t.startsWith('OverviewConnect your data sources, shape the data in flight,')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_mysql: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/connectors/mysql/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq can do, minus the c' || t.startsWith('Robust Stream ProcessingEverything Flinq can do, minus the 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('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_mysql: nav link "Fully ManagedA fully managed c"', async ({ page }) => {
await page.goto('/connectors/mysql/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA fully managed cloud service. There\'s nothing ' || t.startsWith('Fully ManagedA fully managed cloud service. There\'s nothing ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_mysql: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/connectors/mysql/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment models: fully h' || t.startsWith('Deployment OptionsChoose from two deployment models: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_opensearch', () => {
test('connectors_opensearch: title matches GT', async ({ page }) => {
await page.goto('/connectors/opensearch/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('openquery connector');
});
test('connectors_opensearch: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/connectors/opensearch/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('connectors_opensearch: h2 "Join a live hands-on workshop"', async ({ page }) => {
await page.goto('/connectors/opensearch/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join a live hands-on workshop' || t.startsWith('Join a live hands-on workshop'))).toBeTruthy();
});
test('connectors_opensearch: h3 "What Is OpenQuery?"', async ({ page }) => {
await page.goto('/connectors/opensearch/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What Is OpenQuery?' || t.startsWith('What Is OpenQuery?'))).toBeTruthy();
});
test('connectors_opensearch: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/connectors/opensearch/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, shape the data in flight,' || t.startsWith('OverviewLink up your data sources, shape the data in flight,')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_opensearch: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/connectors/opensearch/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEvery bit of Flinq\'s capability, m' || t.startsWith('Powerful Stream ProcessingEvery bit of Flinq\'s capability, m')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_opensearch: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/connectors/opensearch/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_opensearch: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/connectors/opensearch/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_oracle', () => {
test('connectors_oracle: title matches GT', async ({ page }) => {
await page.goto('/connectors/oracle/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('oralux connector');
});
test('connectors_oracle: h2 "Oralux in Brief"', async ({ page }) => {
await page.goto('/connectors/oracle/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Oralux in Brief' || t.startsWith('Oralux in Brief'))).toBeTruthy();
});
test('connectors_oracle: h2 "Fluvica + Oralux"', async ({ page }) => {
await page.goto('/connectors/oracle/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica + Oralux' || t.startsWith('Fluvica + Oralux'))).toBeTruthy();
});
test('connectors_oracle: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/connectors/oracle/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('connectors_oracle: nav link "OverviewLink your data sources"', async ({ page }) => {
await page.goto('/connectors/oracle/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink your data sources, shape the data in flight, an' || t.startsWith('OverviewLink your data sources, shape the data in flight, an')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_oracle: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/connectors/oracle/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_oracle: nav link "Fully ManagedA fully managed c"', async ({ page }) => {
await page.goto('/connectors/oracle/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA fully managed cloud offering. Nothing to inst' || t.startsWith('Fully ManagedA fully managed cloud offering. Nothing to inst')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_oracle: nav link "Deployment OptionsChoose betwe"', async ({ page }) => {
await page.goto('/connectors/oracle/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose between two deployment modes: fully' || t.startsWith('Deployment OptionsChoose between two deployment modes: fully')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_oracle_cdc', () => {
test('connectors_oracle_cdc: title matches GT', async ({ page }) => {
await page.goto('/connectors/oracle-cdc/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('oralux cdc connector');
});
test('connectors_oracle_cdc: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/connectors/oracle-cdc/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('connectors_oracle_cdc: h2 "Sign up for a guided live lab"', async ({ page }) => {
await page.goto('/connectors/oracle-cdc/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for a guided live lab' || t.startsWith('Sign up for a guided live lab'))).toBeTruthy();
});
test('connectors_oracle_cdc: h3 "Oralux CDC Overview"', async ({ page }) => {
await page.goto('/connectors/oracle-cdc/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Oralux CDC Overview' || t.startsWith('Oralux CDC Overview'))).toBeTruthy();
});
test('connectors_oracle_cdc: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/connectors/oracle-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_oracle_cdc: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/connectors/oracle-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEvery bit of Flinq\'s capability, m' || t.startsWith('Powerful Stream ProcessingEvery bit of Flinq\'s capability, m')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_oracle_cdc: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/connectors/oracle-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_oracle_cdc: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/connectors/oracle-cdc/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_redis', () => {
test('connectors_redis: title matches GT', async ({ page }) => {
await page.goto('/connectors/redis/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('rediva connector');
});
test('connectors_redis: h2 "Rediva Overview"', async ({ page }) => {
await page.goto('/connectors/redis/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rediva Overview' || t.startsWith('Rediva Overview'))).toBeTruthy();
});
test('connectors_redis: h2 "Fluvica + Rediva"', async ({ page }) => {
await page.goto('/connectors/redis/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica + Rediva' || t.startsWith('Fluvica + Rediva'))).toBeTruthy();
});
test('connectors_redis: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/connectors/redis/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('connectors_redis: nav link "OverviewTap into data sources,"', async ({ page }) => {
await page.goto('/connectors/redis/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewTap into data sources, transform the data in flight,' || t.startsWith('OverviewTap into data sources, transform the data in flight,')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_redis: nav link "Robust Stream ProcessingEvery "', async ({ page }) => {
await page.goto('/connectors/redis/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEvery bit of Flinq\'s capability, wit' || t.startsWith('Robust Stream ProcessingEvery bit of Flinq\'s capability, wit')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_redis: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/connectors/redis/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_redis: nav link "Deployment ChoicesOffered in t"', async ({ page }) => {
await page.goto('/connectors/redis/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesOffered in two deployment styles: fully ho' || t.startsWith('Deployment ChoicesOffered in two deployment styles: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_singlestoredb', () => {
test('connectors_singlestoredb: title matches GT', async ({ page }) => {
await page.goto('/connectors/singlestoredb/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('singlevault connector');
});
test('connectors_singlestoredb: h2 "Singlevault Overview"', async ({ page }) => {
await page.goto('/connectors/singlestoredb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Singlevault Overview' || t.startsWith('Singlevault Overview'))).toBeTruthy();
});
test('connectors_singlestoredb: h2 "Fluvica + Singlevault DB"', async ({ page }) => {
await page.goto('/connectors/singlestoredb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica + Singlevault DB' || t.startsWith('Fluvica + Singlevault DB'))).toBeTruthy();
});
test('connectors_singlestoredb: h2 "Let\'s get streaming"', async ({ page }) => {
await page.goto('/connectors/singlestoredb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get streaming' || t.startsWith('Let\'s get streaming'))).toBeTruthy();
});
test('connectors_singlestoredb: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/connectors/singlestoredb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, shape the data, and route' || t.startsWith('OverviewLink up your data sources, shape the data, and route')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_singlestoredb: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/connectors/singlestoredb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_singlestoredb: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/connectors/singlestoredb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. There is no' || t.startsWith('Fully ManagedA completely managed cloud service. There is no')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_singlestoredb: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/connectors/singlestoredb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment models: fully h' || t.startsWith('Deployment OptionsChoose from two deployment models: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_streamnative', () => {
test('connectors_streamnative: title matches GT', async ({ page }) => {
await page.goto('/connectors/streamnative/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('streamnova connector');
});
test('connectors_streamnative: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/connectors/streamnative/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('connectors_streamnative: h2 "Reserve your seat in a live"', async ({ page }) => {
await page.goto('/connectors/streamnative/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reserve your seat in a live' || t.startsWith('Reserve your seat in a live'))).toBeTruthy();
});
test('connectors_streamnative: h3 "Streamnova Overview"', async ({ page }) => {
await page.goto('/connectors/streamnative/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streamnova Overview' || t.startsWith('Streamnova Overview'))).toBeTruthy();
});
test('connectors_streamnative: nav link "OverviewPull in your data sour"', async ({ page }) => {
await page.goto('/connectors/streamnative/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewPull in your data sources, run your processing, and ' || t.startsWith('OverviewPull in your data sources, run your processing, and ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_streamnative: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/connectors/streamnative/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq can do, minus the t' || t.startsWith('Robust Stream ProcessingEverything Flinq can do, minus the t')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_streamnative: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/connectors/streamnative/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_streamnative: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/connectors/streamnative/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two ways to run it: fully host' || t.startsWith('Deployment OptionsChoose from two ways to run it: fully host')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - connectors_timescaledb', () => {
test('connectors_timescaledb: title matches GT', async ({ page }) => {
await page.goto('/connectors/timescaledb/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('timevault connector');
});
test('connectors_timescaledb: h2 "Timevault Overview"', async ({ page }) => {
await page.goto('/connectors/timescaledb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Timevault Overview' || t.startsWith('Timevault Overview'))).toBeTruthy();
});
test('connectors_timescaledb: h2 "Fluvica + Timevault"', async ({ page }) => {
await page.goto('/connectors/timescaledb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fluvica + Timevault' || t.startsWith('Fluvica + Timevault'))).toBeTruthy();
});
test('connectors_timescaledb: h2 "Let\'s get flowing"', async ({ page }) => {
await page.goto('/connectors/timescaledb/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Let\'s get flowing' || t.startsWith('Let\'s get flowing'))).toBeTruthy();
});
test('connectors_timescaledb: nav link "OverviewLink to your sources, "', async ({ page }) => {
await page.goto('/connectors/timescaledb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink to your sources, transform the data in flight, ' || t.startsWith('OverviewLink to your sources, transform the data in flight, ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('connectors_timescaledb: nav link "High-Performance StreamingEver"', async ({ page }) => {
await page.goto('/connectors/timescaledb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'High-Performance StreamingEverything Flinq offers, minus the' || t.startsWith('High-Performance StreamingEverything Flinq offers, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('connectors_timescaledb: nav link "Fully HostedA completely manag"', async ({ page }) => {
await page.goto('/connectors/timescaledb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully HostedA completely managed cloud service. Nothing to i' || t.startsWith('Fully HostedA completely managed cloud service. Nothing to i')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('connectors_timescaledb: nav link "Deployment ChoicesChoose from "', async ({ page }) => {
await page.goto('/connectors/timescaledb/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesChoose from two deployment styles: fully h' || t.startsWith('Deployment ChoicesChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movement_kafka_to_s3', () => {
test('data_movement_kafka_to_s3: title matches GT', async ({ page }) => {
await page.goto('/data-movement/kafka-to-s3/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('streaming data from kafnex into objectva');
});
test('data_movement_kafka_to_s3: h1 "Streaming Data from Kafnex to "', async ({ page }) => {
await page.goto('/data-movement/kafka-to-s3/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streaming Data from Kafnex to ObjectVault' || t.startsWith('Streaming Data from Kafnex to ObjectVault'))).toBeTruthy();
});
test('data_movement_kafka_to_s3: h2 "Kafnex Overview"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Kafnex Overview' || t.startsWith('Kafnex Overview'))).toBeTruthy();
});
test('data_movement_kafka_to_s3: h2 "ObjectVault at a Glance"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ObjectVault at a Glance' || t.startsWith('ObjectVault at a Glance'))).toBeTruthy();
});
test('data_movement_kafka_to_s3: h2 "Requirements"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Requirements' || t.startsWith('Requirements'))).toBeTruthy();
});
test('data_movement_kafka_to_s3: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the data, and r' || t.startsWith('OverviewLink up your data sources, transform the data, and r')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movement_kafka_to_s3: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq delivers, minus the' || t.startsWith('Robust Stream ProcessingEverything Flinq delivers, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movement_kafka_to_s3: nav link "Hands-Off OpsA completely mana"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hands-Off OpsA completely managed cloud service. Nothing to ' || t.startsWith('Hands-Off OpsA completely managed cloud service. Nothing to ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movement_kafka_to_s3: nav link "Deployment ChoicesOffered in t"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesOffered in two deployment styles: fully ho' || t.startsWith('Deployment ChoicesOffered in two deployment styles: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movement_kafka_to_snowflake', () => {
test('data_movement_kafka_to_snowflake: title matches GT', async ({ page }) => {
await page.goto('/data-movement/kafka-to-snowflake/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('streaming data from kafnex into frostvau');
});
test('data_movement_kafka_to_snowflake: h1 "Piping Data from Kafnex to Fro"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-snowflake/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Piping Data from Kafnex to Frostvault' || t.startsWith('Piping Data from Kafnex to Frostvault'))).toBeTruthy();
});
test('data_movement_kafka_to_snowflake: h2 "A Kafnex Primer"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A Kafnex Primer' || t.startsWith('A Kafnex Primer'))).toBeTruthy();
});
test('data_movement_kafka_to_snowflake: h2 "Frostvault at a Glance"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Frostvault at a Glance' || t.startsWith('Frostvault at a Glance'))).toBeTruthy();
});
test('data_movement_kafka_to_snowflake: h2 "What You Need"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What You Need' || t.startsWith('What You Need'))).toBeTruthy();
});
test('data_movement_kafka_to_snowflake: nav link "OverviewHook up your data sour"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewHook up your data sources, transform the records, an' || t.startsWith('OverviewHook up your data sources, transform the records, an')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movement_kafka_to_snowflake: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movement_kafka_to_snowflake: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/data-movement/kafka-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movement_kafka_to_snowflake: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/data-movement/kafka-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two deployment styles: fully h' || t.startsWith('Deployment OptionsChoose from two deployment styles: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movement_mongodb_to_s3', () => {
test('data_movement_mongodb_to_s3: title matches GT', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-s3/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('syncing data from docuvault to objectvau');
});
test('data_movement_mongodb_to_s3: h1 "Streaming Data From DocuVault "', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-s3/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streaming Data From DocuVault To ObjectVault' || t.startsWith('Streaming Data From DocuVault To ObjectVault'))).toBeTruthy();
});
test('data_movement_mongodb_to_s3: h2 "DocuVault Explained"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'DocuVault Explained' || t.startsWith('DocuVault Explained'))).toBeTruthy();
});
test('data_movement_mongodb_to_s3: h2 "ObjectVault Explained"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ObjectVault Explained' || t.startsWith('ObjectVault Explained'))).toBeTruthy();
});
test('data_movement_mongodb_to_s3: h2 "What You Need"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What You Need' || t.startsWith('What You Need'))).toBeTruthy();
});
test('data_movement_mongodb_to_s3: nav link "OverviewLink your data sources"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink your data sources, shape the data, and route it' || t.startsWith('OverviewLink your data sources, shape the data, and route it')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movement_mongodb_to_s3: nav link "Robust Stream ProcessingEveryt"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Robust Stream ProcessingEverything Flinq delivers, without t' || t.startsWith('Robust Stream ProcessingEverything Flinq delivers, without t')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movement_mongodb_to_s3: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud service. Nothing to ' || t.startsWith('Fully ManagedA completely managed cloud service. Nothing to ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movement_mongodb_to_s3: nav link "Deployment ModesChoose between"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ModesChoose between two deployment modes: fully h' || t.startsWith('Deployment ModesChoose between two deployment modes: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movement_mongodb_to_snowflake', () => {
test('data_movement_mongodb_to_snowflake: title matches GT', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-snowflake/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how to move data from docuvault to frost');
});
test('data_movement_mongodb_to_snowflake: h1 "Streaming Data From DocuVault "', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-snowflake/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streaming Data From DocuVault To Frostvault' || t.startsWith('Streaming Data From DocuVault To Frostvault'))).toBeTruthy();
});
test('data_movement_mongodb_to_snowflake: h2 "A Look at DocuVault"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A Look at DocuVault' || t.startsWith('A Look at DocuVault'))).toBeTruthy();
});
test('data_movement_mongodb_to_snowflake: h2 "A Look at Frostvault"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A Look at Frostvault' || t.startsWith('A Look at Frostvault'))).toBeTruthy();
});
test('data_movement_mongodb_to_snowflake: h2 "What You\'ll Need"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What You\'ll Need' || t.startsWith('What You\'ll Need'))).toBeTruthy();
});
test('data_movement_mongodb_to_snowflake: nav link "OverviewTap into your data sou"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewTap into your data sources, transform the stream, an' || t.startsWith('OverviewTap into your data sources, transform the stream, an')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movement_mongodb_to_snowflake: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq offers, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq offers, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movement_mongodb_to_snowflake: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movement_mongodb_to_snowflake: nav link "Deployment OptionsChoose betwe"', async ({ page }) => {
await page.goto('/data-movement/mongodb-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose between two deployment models: full' || t.startsWith('Deployment OptionsChoose between two deployment models: full')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movement_mssql_to_s3', () => {
test('data_movement_mssql_to_s3: title matches GT', async ({ page }) => {
await page.goto('/data-movement/mssql-to-s3/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('streaming data from vertex sql into obje');
});
test('data_movement_mssql_to_s3: h1 "Streaming Data From Vertex SQL"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-s3/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streaming Data From Vertex SQL To ObjectVault' || t.startsWith('Streaming Data From Vertex SQL To ObjectVault'))).toBeTruthy();
});
test('data_movement_mssql_to_s3: h2 "Vertex SQL Explained"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vertex SQL Explained' || t.startsWith('Vertex SQL Explained'))).toBeTruthy();
});
test('data_movement_mssql_to_s3: h2 "ObjectVault Explained"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ObjectVault Explained' || t.startsWith('ObjectVault Explained'))).toBeTruthy();
});
test('data_movement_mssql_to_s3: h2 "What You Need"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What You Need' || t.startsWith('What You Need'))).toBeTruthy();
});
test('data_movement_mssql_to_s3: nav link "OverviewTap into your data sou"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewTap into your data sources, shape the records, and d' || t.startsWith('OverviewTap into your data sources, shape the records, and d')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movement_mssql_to_s3: nav link "Serious Stream ProcessingEvery"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Serious Stream ProcessingEvery bit of Flinq\'s horsepower, mi' || t.startsWith('Serious Stream ProcessingEvery bit of Flinq\'s horsepower, mi')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movement_mssql_to_s3: nav link "Managed For YouA fully managed"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Managed For YouA fully managed cloud service. Nothing to ins' || t.startsWith('Managed For YouA fully managed cloud service. Nothing to ins')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movement_mssql_to_s3: nav link "Deployment ChoicesOffered in t"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesOffered in two deployment flavors: fully h' || t.startsWith('Deployment ChoicesOffered in two deployment flavors: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movement_mssql_to_snowflake', () => {
test('data_movement_mssql_to_snowflake: title matches GT', async ({ page }) => {
await page.goto('/data-movement/mssql-to-snowflake/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how to load data from vertex sql into fr');
});
test('data_movement_mssql_to_snowflake: h1 "Streaming Data From Vertex SQL"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-snowflake/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streaming Data From Vertex SQL To Frostvault' || t.startsWith('Streaming Data From Vertex SQL To Frostvault'))).toBeTruthy();
});
test('data_movement_mssql_to_snowflake: h2 "Vertex SQL Overview"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vertex SQL Overview' || t.startsWith('Vertex SQL Overview'))).toBeTruthy();
});
test('data_movement_mssql_to_snowflake: h2 "Frostvault Overview"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Frostvault Overview' || t.startsWith('Frostvault Overview'))).toBeTruthy();
});
test('data_movement_mssql_to_snowflake: h2 "Prerequisites"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Prerequisites' || t.startsWith('Prerequisites'))).toBeTruthy();
});
test('data_movement_mssql_to_snowflake: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the records, an' || t.startsWith('OverviewLink up your data sources, transform the records, an')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movement_mssql_to_snowflake: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movement_mssql_to_snowflake: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/data-movement/mssql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed service in the cloud. Ther' || t.startsWith('Fully ManagedA completely managed service in the cloud. Ther')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movement_mssql_to_snowflake: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/data-movement/mssql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two ways to run it: fully host' || t.startsWith('Deployment OptionsChoose from two ways to run it: fully host')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movement_mysql_to_s3', () => {
test('data_movement_mysql_to_s3: title matches GT', async ({ page }) => {
await page.goto('/data-movement/mysql-to-s3/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how to stream data from myrel into objec');
});
test('data_movement_mysql_to_s3: h1 "Moving Data From MyRel To Obje"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-s3/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Moving Data From MyRel To ObjectVault' || t.startsWith('Moving Data From MyRel To ObjectVault'))).toBeTruthy();
});
test('data_movement_mysql_to_s3: h2 "A Look at MyRel"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A Look at MyRel' || t.startsWith('A Look at MyRel'))).toBeTruthy();
});
test('data_movement_mysql_to_s3: h2 "ObjectVault Explained"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ObjectVault Explained' || t.startsWith('ObjectVault Explained'))).toBeTruthy();
});
test('data_movement_mysql_to_s3: h2 "Requirements"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Requirements' || t.startsWith('Requirements'))).toBeTruthy();
});
test('data_movement_mysql_to_s3: nav link "OverviewTap into your sources,"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewTap into your sources, shape the data in flight, and' || t.startsWith('OverviewTap into your sources, shape the data in flight, and')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movement_mysql_to_s3: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movement_mysql_to_s3: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movement_mysql_to_s3: nav link "Deployment OptionsChoose from "', async ({ page }) => {
await page.goto('/data-movement/mysql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose from two ways to run it: entirely h' || t.startsWith('Deployment OptionsChoose from two ways to run it: entirely h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movement_mysql_to_snowflake', () => {
test('data_movement_mysql_to_snowflake: title matches GT', async ({ page }) => {
await page.goto('/data-movement/mysql-to-snowflake/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('streaming data from myrel to frostvault');
});
test('data_movement_mysql_to_snowflake: h1 "Streaming Data From MyRel To F"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-snowflake/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streaming Data From MyRel To Frostvault' || t.startsWith('Streaming Data From MyRel To Frostvault'))).toBeTruthy();
});
test('data_movement_mysql_to_snowflake: h2 "MyRel in Brief"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'MyRel in Brief' || t.startsWith('MyRel in Brief'))).toBeTruthy();
});
test('data_movement_mysql_to_snowflake: h2 "Frostvault in Brief"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Frostvault in Brief' || t.startsWith('Frostvault in Brief'))).toBeTruthy();
});
test('data_movement_mysql_to_snowflake: h2 "What You Need"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What You Need' || t.startsWith('What You Need'))).toBeTruthy();
});
test('data_movement_mysql_to_snowflake: nav link "OverviewLink up your sources, "', async ({ page }) => {
await page.goto('/data-movement/mysql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your sources, transform records in flight, a' || t.startsWith('OverviewLink up your sources, transform records in flight, a')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movement_mysql_to_snowflake: nav link "High-Powered Stream EngineEver"', async ({ page }) => {
await page.goto('/data-movement/mysql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'High-Powered Stream EngineEvery bit of Flinq\'s horsepower, m' || t.startsWith('High-Powered Stream EngineEvery bit of Flinq\'s horsepower, m')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movement_mysql_to_snowflake: nav link "Zero-Ops CloudA fully managed "', async ({ page }) => {
await page.goto('/data-movement/mysql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Zero-Ops CloudA fully managed cloud offering. There\'s nothin' || t.startsWith('Zero-Ops CloudA fully managed cloud offering. There\'s nothin')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movement_mysql_to_snowflake: nav link "Deployment ChoicesChoose from "', async ({ page }) => {
await page.goto('/data-movement/mysql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment ChoicesChoose from two deployment modes: fully ho' || t.startsWith('Deployment ChoicesChoose from two deployment modes: fully ho')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movement_postgresql_to_s3', () => {
test('data_movement_postgresql_to_s3: title matches GT', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-s3/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how to stream data from postrel into obj');
});
test('data_movement_postgresql_to_s3: h1 "Streaming Data From Postrel To"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-s3/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streaming Data From Postrel To ObjectVault' || t.startsWith('Streaming Data From Postrel To ObjectVault'))).toBeTruthy();
});
test('data_movement_postgresql_to_s3: h2 "A Look at Postrel"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A Look at Postrel' || t.startsWith('A Look at Postrel'))).toBeTruthy();
});
test('data_movement_postgresql_to_s3: h2 "ObjectVault in Brief"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ObjectVault in Brief' || t.startsWith('ObjectVault in Brief'))).toBeTruthy();
});
test('data_movement_postgresql_to_s3: h2 "What You Need"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-s3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What You Need' || t.startsWith('What You Need'))).toBeTruthy();
});
test('data_movement_postgresql_to_s3: nav link "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewLink up your data sources, transform the streams, an' || t.startsWith('OverviewLink up your data sources, transform the streams, an')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movement_postgresql_to_s3: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movement_postgresql_to_s3: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movement_postgresql_to_s3: nav link "Deployment OptionsChoose betwe"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-s3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose between two ways to run: entirely h' || t.startsWith('Deployment OptionsChoose between two ways to run: entirely h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - data_movement_postgresql_to_snowflake', () => {
test('data_movement_postgresql_to_snowflake: title matches GT', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-snowflake/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('streaming data from postrel into frostva');
});
test('data_movement_postgresql_to_snowflake: h1 "Streaming Data From Postrel To"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-snowflake/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streaming Data From Postrel To Frostvault' || t.startsWith('Streaming Data From Postrel To Frostvault'))).toBeTruthy();
});
test('data_movement_postgresql_to_snowflake: h2 "Postrel Explained"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Postrel Explained' || t.startsWith('Postrel Explained'))).toBeTruthy();
});
test('data_movement_postgresql_to_snowflake: h2 "Frostvault in Brief"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Frostvault in Brief' || t.startsWith('Frostvault in Brief'))).toBeTruthy();
});
test('data_movement_postgresql_to_snowflake: h2 "What You Need"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-snowflake/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What You Need' || t.startsWith('What You Need'))).toBeTruthy();
});
test('data_movement_postgresql_to_snowflake: nav link "OverviewHook into your data so"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OverviewHook into your data sources, transform the records, ' || t.startsWith('OverviewHook into your data sources, transform the records, ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('product')), 'href fragment present').toBeTruthy();
});
test('data_movement_postgresql_to_snowflake: nav link "Powerful Stream ProcessingEver"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powerful Stream ProcessingEverything Flinq can do, minus the' || t.startsWith('Powerful Stream ProcessingEverything Flinq can do, minus the')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('powerful-stream-processing')), 'href fragment present').toBeTruthy();
});
test('data_movement_postgresql_to_snowflake: nav link "Fully ManagedA completely mana"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fully ManagedA completely managed cloud offering. There is n' || t.startsWith('Fully ManagedA completely managed cloud offering. There is n')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('fully-managed')), 'href fragment present').toBeTruthy();
});
test('data_movement_postgresql_to_snowflake: nav link "Deployment OptionsChoose betwe"', async ({ page }) => {
await page.goto('/data-movement/postgresql-to-snowflake/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deployment OptionsChoose between two runtime models: fully h' || t.startsWith('Deployment OptionsChoose between two runtime models: fully h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('deployment-options')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - Routing', () => {
test('navigate to product via "OverviewLink up your data sour"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="product"]').first();
expect(await link.count(), 'nav link to product exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('product');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('The real-time data platform built to be effortless');
});
test('navigate to product_powerful_stream_processing via "Robust Stream ProcessingEvery "', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="powerful-stream-processing"]').first();
expect(await link.count(), 'nav link to product_powerful_stream_processing exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('powerful-stream-processing');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Fully managed Flinq for stateful stream processing');
});
});