Datasets:
Download web/sonelio.example/tests/static/content.scripted.spec.ts from Qwen/RecreationBench: direct link, hf CLI and curl.
- Browser
- Download file 114 kB
-
https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/sonelio.example/tests/static/content.scripted.spec.ts
- Command line
-
hf download hf://datasets/Qwen/RecreationBench/web/sonelio.example/tests/static/content.scripted.spec.ts
-
curl -L -o content.scripted.spec.ts https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/sonelio.example/tests/static/content.scripted.spec.ts
114 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('sonelio'); | |
| }); | |
| test('homepage: h1 "Discover The Sonelio Community"', async ({ page }) => { | |
| await page.goto('/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Discover The Sonelio Community' || t.startsWith('Discover The Sonelio Community'))).toBeTruthy(); | |
| }); | |
| test('homepage: h1 "News"', async ({ page }) => { | |
| await page.goto('/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'News' || t.startsWith('News'))).toBeTruthy(); | |
| }); | |
| test('homepage: h1 "In Focus"', async ({ page }) => { | |
| await page.goto('/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'In Focus' || t.startsWith('In Focus'))).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 us'); | |
| }); | |
| test('about: h2 "Let\'s Connect"', 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 === 'Let\'s Connect' || t.startsWith('Let\'s Connect'))).toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - buy', () => { | |
| test('buy: title matches GT', async ({ page }) => { | |
| await page.goto('/buy/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('buy'); | |
| }); | |
| test('buy: h1 "Sonelio Webshop"', async ({ page }) => { | |
| await page.goto('/buy/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Sonelio Webshop' || t.startsWith('Sonelio Webshop'))).toBeTruthy(); | |
| }); | |
| test('buy: h1 "Hardware Devices"', async ({ page }) => { | |
| await page.goto('/buy/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Hardware Devices' || t.startsWith('Hardware Devices'))).toBeTruthy(); | |
| }); | |
| test('buy: h1 "Premium Audio Content"', async ({ page }) => { | |
| await page.goto('/buy/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Premium Audio Content' || t.startsWith('Premium Audio Content'))).toBeTruthy(); | |
| }); | |
| test('buy: h1 "Merch Store"', async ({ page }) => { | |
| await page.goto('/buy/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Merch Store' || t.startsWith('Merch Store'))).toBeTruthy(); | |
| }); | |
| test('buy: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/buy/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - buy_local', () => { | |
| test('buy_local: title matches GT', async ({ page }) => { | |
| await page.goto('/buy-local/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('shop local'); | |
| }); | |
| test('buy_local: h1 "Shop Local"', async ({ page }) => { | |
| await page.goto('/buy-local/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Shop Local' || t.startsWith('Shop Local'))).toBeTruthy(); | |
| }); | |
| test('buy_local: h2 "Austria"', async ({ page }) => { | |
| await page.goto('/buy-local/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Austria' || t.startsWith('Austria'))).toBeTruthy(); | |
| }); | |
| test('buy_local: h2 "Australia"', async ({ page }) => { | |
| await page.goto('/buy-local/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Australia' || t.startsWith('Australia'))).toBeTruthy(); | |
| }); | |
| test('buy_local: h2 "Benelux"', async ({ page }) => { | |
| await page.goto('/buy-local/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Benelux' || t.startsWith('Benelux'))).toBeTruthy(); | |
| }); | |
| test('buy_local: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/buy-local/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - cart', () => { | |
| test('cart: title matches GT', async ({ page }) => { | |
| await page.goto('/cart/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('buy'); | |
| }); | |
| test('cart: h1 "Sonelio Webshop"', async ({ page }) => { | |
| await page.goto('/cart/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Sonelio Webshop' || t.startsWith('Sonelio Webshop'))).toBeTruthy(); | |
| }); | |
| test('cart: h1 "Hardware Devices"', async ({ page }) => { | |
| await page.goto('/cart/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Hardware Devices' || t.startsWith('Hardware Devices'))).toBeTruthy(); | |
| }); | |
| test('cart: h1 "Premium Audio Content"', async ({ page }) => { | |
| await page.goto('/cart/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Premium Audio Content' || t.startsWith('Premium Audio Content'))).toBeTruthy(); | |
| }); | |
| test('cart: h1 "Merchandise"', async ({ page }) => { | |
| await page.goto('/cart/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Merchandise' || t.startsWith('Merchandise'))).toBeTruthy(); | |
| }); | |
| test('cart: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/cart/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - circle', () => { | |
| test('circle: title matches GT', async ({ page }) => { | |
| await page.goto('/circle/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('sonelio circle'); | |
| }); | |
| test('circle: h1 "Bring Studio-Grade Vocal Synth"', async ({ page }) => { | |
| await page.goto('/circle/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Bring Studio-Grade Vocal Synthesis to Your Tracks, courtesy of Aurivox' || t.startsWith('Bring Studio-Grade Vocal Synthesis to Your Tracks, courtesy of Aurivox'))).toBeTruthy(); | |
| }); | |
| test('circle: h1 "Let Halvorn Help You Craft and"', async ({ page }) => { | |
| await page.goto('/circle/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Let Halvorn Help You Craft and Sculpt Your New Sound' || t.startsWith('Let Halvorn Help You Craft and Sculpt Your New Sound'))).toBeTruthy(); | |
| }); | |
| test('circle: h1 "Get quick inspiration with Spr"', async ({ page }) => { | |
| await page.goto('/circle/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get quick inspiration with Sprout Drum Breaks Lite and Sprout Vocal Edit Lite' || t.startsWith('Get quick inspiration with Sprout Drum Breaks Lite and Sprout Vocal Edit Lite'))).toBeTruthy(); | |
| }); | |
| test('circle: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/circle/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - connect', () => { | |
| test('connect: title matches GT', async ({ page }) => { | |
| await page.goto('/connect/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('sonelio connect'); | |
| }); | |
| test('connect: h1 "Your Essential Studio Partner"', async ({ page }) => { | |
| await page.goto('/connect/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Your Essential Studio Partner' || t.startsWith('Your Essential Studio Partner'))).toBeTruthy(); | |
| }); | |
| test('connect: h1 "CV Unites the Best of Both Wor"', async ({ page }) => { | |
| await page.goto('/connect/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'CV Unites the Best of Both Worlds' || t.startsWith('CV Unites the Best of Both Worlds'))).toBeTruthy(); | |
| }); | |
| test('connect: h1 "Bring Sonelio Studio to Life"', async ({ page }) => { | |
| await page.goto('/connect/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Bring Sonelio Studio to Life' || t.startsWith('Bring Sonelio Studio to Life'))).toBeTruthy(); | |
| }); | |
| test('connect: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/connect/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - discover', () => { | |
| test('discover: title matches GT', async ({ page }) => { | |
| await page.goto('/discover/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('discover'); | |
| }); | |
| test('discover: h2 "On Sonelio Studio"', async ({ page }) => { | |
| await page.goto('/discover/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On Sonelio Studio' || t.startsWith('On Sonelio Studio'))).toBeTruthy(); | |
| }); | |
| test('discover: h2 "Events"', async ({ page }) => { | |
| await page.goto('/discover/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Events' || t.startsWith('Events'))).toBeTruthy(); | |
| }); | |
| test('discover: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/discover/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - download', () => { | |
| test('download: title matches GT', async ({ page }) => { | |
| await page.goto('/download/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('try'); | |
| }); | |
| test('download: h1 "System Requirements"', async ({ page }) => { | |
| await page.goto('/download/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'System Requirements' || t.startsWith('System Requirements'))).toBeTruthy(); | |
| }); | |
| test('download: h2 "Getting Started"', async ({ page }) => { | |
| await page.goto('/download/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Getting Started' || t.startsWith('Getting Started'))).toBeTruthy(); | |
| }); | |
| test('download: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/download/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - feature_list', () => { | |
| test('feature_list: title matches GT', async ({ page }) => { | |
| await page.goto('/feature-list/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('feature list'); | |
| }); | |
| test('feature_list: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/feature-list/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - get_connected', () => { | |
| test('get_connected: title matches GT', async ({ page }) => { | |
| await page.goto('/get-connected/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('get connected'); | |
| }); | |
| test('get_connected: h1 "First Steps"', async ({ page }) => { | |
| await page.goto('/get-connected/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'First Steps' || t.startsWith('First Steps'))).toBeTruthy(); | |
| }); | |
| test('get_connected: h1 "Connect It Up"', async ({ page }) => { | |
| await page.goto('/get-connected/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Connect It Up' || t.startsWith('Connect It Up'))).toBeTruthy(); | |
| }); | |
| test('get_connected: h1 "Make Sound"', async ({ page }) => { | |
| await page.goto('/get-connected/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Make Sound' || t.startsWith('Make Sound'))).toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - imprint', () => { | |
| test('imprint: title matches GT', async ({ page }) => { | |
| await page.goto('/imprint/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('legal/imprint'); | |
| }); | |
| test('imprint: h1 "Imprint"', async ({ page }) => { | |
| await page.goto('/imprint/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Imprint' || t.startsWith('Imprint'))).toBeTruthy(); | |
| }); | |
| test('imprint: h2 "Sonelio GmbH - Impressum (DE)"', async ({ page }) => { | |
| await page.goto('/imprint/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Sonelio GmbH - Impressum (DE)' || t.startsWith('Sonelio GmbH - Impressum (DE)'))).toBeTruthy(); | |
| }); | |
| test('imprint: h3 "I. Disclaimer"', async ({ page }) => { | |
| await page.goto('/imprint/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'I. Disclaimer' || t.startsWith('I. Disclaimer'))).toBeTruthy(); | |
| }); | |
| test('imprint: h3 "II. Copyright"', async ({ page }) => { | |
| await page.goto('/imprint/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'II. Copyright' || t.startsWith('II. Copyright'))).toBeTruthy(); | |
| }); | |
| test('imprint: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/imprint/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - learn', () => { | |
| test('learn: title matches GT', async ({ page }) => { | |
| await page.goto('/learn/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('learn'); | |
| }); | |
| test('learn: h1 "Learning Resources"', async ({ page }) => { | |
| await page.goto('/learn/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learning Resources' || t.startsWith('Learning Resources'))).toBeTruthy(); | |
| }); | |
| test('learn: h2 "Getting Started"', async ({ page }) => { | |
| await page.goto('/learn/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Getting Started' || t.startsWith('Getting Started'))).toBeTruthy(); | |
| }); | |
| test('learn: h2 "Learn Sonelio Studio"', async ({ page }) => { | |
| await page.goto('/learn/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn Sonelio Studio' || t.startsWith('Learn Sonelio Studio'))).toBeTruthy(); | |
| }); | |
| test('learn: h2 "Curated Content"', async ({ page }) => { | |
| await page.goto('/learn/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Curated Content' || t.startsWith('Curated Content'))).toBeTruthy(); | |
| }); | |
| test('learn: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/learn/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - login', () => { | |
| test('login: title matches GT', async ({ page }) => { | |
| await page.goto('/login/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('login'); | |
| }); | |
| test('login: h1 "Login"', async ({ page }) => { | |
| await page.goto('/login/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Login' || t.startsWith('Login'))).toBeTruthy(); | |
| }); | |
| test('login: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/login/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - overview', () => { | |
| test('overview: title matches GT', async ({ page }) => { | |
| await page.goto('/overview/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('overview'); | |
| }); | |
| test('overview: h1 "Sleek, Intuitive Tools"', async ({ page }) => { | |
| await page.goto('/overview/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Sleek, Intuitive Tools' || t.startsWith('Sleek, Intuitive Tools'))).toBeTruthy(); | |
| }); | |
| test('overview: h1 "Choose Your Sonelio Edition"', async ({ page }) => { | |
| await page.goto('/overview/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Choose Your Sonelio Edition' || t.startsWith('Choose Your Sonelio Edition'))).toBeTruthy(); | |
| }); | |
| test('overview: h2 "Modulation, Unleashed"', async ({ page }) => { | |
| await page.goto('/overview/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Modulation, Unleashed' || t.startsWith('Modulation, Unleashed'))).toBeTruthy(); | |
| }); | |
| test('overview: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/overview/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - polymer', () => { | |
| test('polymer: title matches GT', async ({ page }) => { | |
| await page.goto('/polymer/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('get to know lattice'); | |
| }); | |
| test('polymer: h1 "Lattice"', async ({ page }) => { | |
| await page.goto('/polymer/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Lattice' || t.startsWith('Lattice'))).toBeTruthy(); | |
| }); | |
| test('polymer: h3 "Discover More"', async ({ page }) => { | |
| await page.goto('/polymer/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Discover More' || t.startsWith('Discover More'))).toBeTruthy(); | |
| }); | |
| test('polymer: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/polymer/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - privacy_policy', () => { | |
| test('privacy_policy: title matches GT', async ({ page }) => { | |
| await page.goto('/privacy_policy/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('privacy policy'); | |
| }); | |
| test('privacy_policy: h3 "§1 Controller"', async ({ page }) => { | |
| await page.goto('/privacy_policy/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '§1 Controller' || t.startsWith('§1 Controller'))).toBeTruthy(); | |
| }); | |
| test('privacy_policy: h3 "§2 Contact Data Protection Off"', async ({ page }) => { | |
| await page.goto('/privacy_policy/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '§2 Contact Data Protection Officer' || t.startsWith('§2 Contact Data Protection Officer'))).toBeTruthy(); | |
| }); | |
| test('privacy_policy: h3 "§3 General References and Pers"', async ({ page }) => { | |
| await page.goto('/privacy_policy/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '§3 General References and Personal Data' || t.startsWith('§3 General References and Personal Data'))).toBeTruthy(); | |
| }); | |
| test('privacy_policy: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/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 === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - sampler', () => { | |
| test('sampler: title matches GT', async ({ page }) => { | |
| await page.goto('/sampler/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('sampler'); | |
| }); | |
| test('sampler: h1 "4 Granular Wave Engines"', async ({ page }) => { | |
| await page.goto('/sampler/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '4 Granular Wave Engines' || t.startsWith('4 Granular Wave Engines'))).toBeTruthy(); | |
| }); | |
| test('sampler: h1 "Building With Multisamples"', async ({ page }) => { | |
| await page.goto('/sampler/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Building With Multisamples' || t.startsWith('Building With Multisamples'))).toBeTruthy(); | |
| }); | |
| test('sampler: h2 "The Flow"', async ({ page }) => { | |
| await page.goto('/sampler/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'The Flow' || t.startsWith('The Flow'))).toBeTruthy(); | |
| }); | |
| test('sampler: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/sampler/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - sound_content', () => { | |
| test('sound_content: title matches GT', async ({ page }) => { | |
| await page.goto('/sound-content/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('sound content'); | |
| }); | |
| test('sound_content: h2 "Premium Bundles"', async ({ page }) => { | |
| await page.goto('/sound-content/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Premium Bundles' || t.startsWith('Premium Bundles'))).toBeTruthy(); | |
| }); | |
| test('sound_content: h2 "Sonelio Loops"', async ({ page }) => { | |
| await page.goto('/sound-content/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Sonelio Loops' || t.startsWith('Sonelio Loops'))).toBeTruthy(); | |
| }); | |
| test('sound_content: h2 "Orchestral Ensemble Collection"', async ({ page }) => { | |
| await page.goto('/sound-content/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Orchestral Ensemble Collections' || t.startsWith('Orchestral Ensemble Collections'))).toBeTruthy(); | |
| }); | |
| test('sound_content: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/sound-content/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support', () => { | |
| test('support: title matches GT', async ({ page }) => { | |
| await page.goto('/support/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support: h1 "Find Support"', async ({ page }) => { | |
| await page.goto('/support/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find Support' || t.startsWith('Find Support'))).toBeTruthy(); | |
| }); | |
| test('support: h2 "Technical Guidance"', async ({ page }) => { | |
| await page.goto('/support/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Technical Guidance' || t.startsWith('Technical Guidance'))).toBeTruthy(); | |
| }); | |
| test('support: h2 "Store, License and Activation"', async ({ page }) => { | |
| await page.goto('/support/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Store, License and Activation' || t.startsWith('Store, License and Activation'))).toBeTruthy(); | |
| }); | |
| test('support: h2 "User Manual"', async ({ page }) => { | |
| await page.goto('/support/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'User Manual' || t.startsWith('User Manual'))).toBeTruthy(); | |
| }); | |
| test('support: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - terms_conditions', () => { | |
| test('terms_conditions: title matches GT', async ({ page }) => { | |
| await page.goto('/terms-conditions/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('terms & conditions'); | |
| }); | |
| test('terms_conditions: h1 "General Sales Terms and Condit"', async ({ page }) => { | |
| await page.goto('/terms-conditions/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'General Sales Terms and Conditions' || t.startsWith('General Sales Terms and Conditions'))).toBeTruthy(); | |
| }); | |
| test('terms_conditions: h2 "§ 1 Area of application"', async ({ page }) => { | |
| await page.goto('/terms-conditions/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '§ 1 Area of application' || t.startsWith('§ 1 Area of application'))).toBeTruthy(); | |
| }); | |
| test('terms_conditions: h2 "§ 2 Formation of the contract"', async ({ page }) => { | |
| await page.goto('/terms-conditions/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '§ 2 Formation of the contract' || t.startsWith('§ 2 Formation of the contract'))).toBeTruthy(); | |
| }); | |
| test('terms_conditions: h2 "§ 3 Shipping"', async ({ page }) => { | |
| await page.goto('/terms-conditions/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '§ 3 Shipping' || t.startsWith('§ 3 Shipping'))).toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - the_grid', () => { | |
| test('the_grid: title matches GT', async ({ page }) => { | |
| await page.goto('/the-grid/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('the mesh'); | |
| }); | |
| test('the_grid: h1 "Enter The Mesh"', async ({ page }) => { | |
| await page.goto('/the-grid/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Enter The Mesh' || t.startsWith('Enter The Mesh'))).toBeTruthy(); | |
| }); | |
| test('the_grid: h2 "Sounds of The Mesh"', async ({ page }) => { | |
| await page.goto('/the-grid/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Sounds of The Mesh' || t.startsWith('Sounds of The Mesh'))).toBeTruthy(); | |
| }); | |
| test('the_grid: h2 "Signal Breakthroughs"', async ({ page }) => { | |
| await page.goto('/the-grid/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Signal Breakthroughs' || t.startsWith('Signal Breakthroughs'))).toBeTruthy(); | |
| }); | |
| test('the_grid: h2 "Help On The Spot"', async ({ page }) => { | |
| await page.goto('/the-grid/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Help On The Spot' || t.startsWith('Help On The Spot'))).toBeTruthy(); | |
| }); | |
| test('the_grid: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/the-grid/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - artists_andy_martin_87', () => { | |
| test('artists_andy_martin_87: title matches GT', async ({ page }) => { | |
| await page.goto('/artists/andy-martin-87/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('kael rios breaks the frame'); | |
| }); | |
| test('artists_andy_martin_87: h1 "Kael Rios Breaks the Frame"', async ({ page }) => { | |
| await page.goto('/artists/andy-martin-87/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Kael Rios Breaks the Frame' || t.startsWith('Kael Rios Breaks the Frame'))).toBeTruthy(); | |
| }); | |
| test('artists_andy_martin_87: h3 "Discover More"', async ({ page }) => { | |
| await page.goto('/artists/andy-martin-87/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Discover More' || t.startsWith('Discover More'))).toBeTruthy(); | |
| }); | |
| test('artists_andy_martin_87: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/artists/andy-martin-87/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - artists_camo_krooked_88', () => { | |
| test('artists_camo_krooked_88: title matches GT', async ({ page }) => { | |
| await page.goto('/artists/camo-krooked-88/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('vero & halcyon look beyond drum and bass'); | |
| }); | |
| test('artists_camo_krooked_88: h1 "Vero & Halcyon Look Beyond Dru"', async ({ page }) => { | |
| await page.goto('/artists/camo-krooked-88/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Vero & Halcyon Look Beyond Drum and Bass' || t.startsWith('Vero & Halcyon Look Beyond Drum and Bass'))).toBeTruthy(); | |
| }); | |
| test('artists_camo_krooked_88: h1 "Vero & Halcyon\'s Production Ti"', async ({ page }) => { | |
| await page.goto('/artists/camo-krooked-88/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Vero & Halcyon\'s Production Tips' || t.startsWith('Vero & Halcyon\'s Production Tips'))).toBeTruthy(); | |
| }); | |
| test('artists_camo_krooked_88: h2 "Find New Angles on Sidechainin"', async ({ page }) => { | |
| await page.goto('/artists/camo-krooked-88/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find New Angles on Sidechaining' || t.startsWith('Find New Angles on Sidechaining'))).toBeTruthy(); | |
| }); | |
| test('artists_camo_krooked_88: h2 "Stack Layers for Massive Sound"', async ({ page }) => { | |
| await page.goto('/artists/camo-krooked-88/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Stack Layers for Massive Sound' || t.startsWith('Stack Layers for Massive Sound'))).toBeTruthy(); | |
| }); | |
| test('artists_camo_krooked_88: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/artists/camo-krooked-88/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - artists_claude_young_7', () => { | |
| test('artists_claude_young_7: title matches GT', async ({ page }) => { | |
| await page.goto('/artists/claude-young-7/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('marina vale'); | |
| }); | |
| test('artists_claude_young_7: h1 "Marina Vale Rediscovers Her Pa"', async ({ page }) => { | |
| await page.goto('/artists/claude-young-7/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Marina Vale Rediscovers Her Passion for Sampling in Sonelio' || t.startsWith('Marina Vale Rediscovers Her Passion for Sampling in Sonelio'))).toBeTruthy(); | |
| }); | |
| test('artists_claude_young_7: h3 "Explore More"', async ({ page }) => { | |
| await page.goto('/artists/claude-young-7/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Explore More' || t.startsWith('Explore More'))).toBeTruthy(); | |
| }); | |
| test('artists_claude_young_7: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/artists/claude-young-7/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - certified_kim_jae_hwan_116', () => { | |
| test('certified_kim_jae_hwan_116: title matches GT', async ({ page }) => { | |
| await page.goto('/certified/kim-jae-hwan-116/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('han seo'); | |
| }); | |
| test('certified_kim_jae_hwan_116: h3 "Discover More"', async ({ page }) => { | |
| await page.goto('/certified/kim-jae-hwan-116/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Discover More' || t.startsWith('Discover More'))).toBeTruthy(); | |
| }); | |
| test('certified_kim_jae_hwan_116: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/certified/kim-jae-hwan-116/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - certified_kukje_university_of_arts_115', () => { | |
| test('certified_kukje_university_of_arts_115: title matches GT', async ({ page }) => { | |
| await page.goto('/certified/kukje-university-of-arts-115/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('hanvit university of arts'); | |
| }); | |
| test('certified_kukje_university_of_arts_115: h3 "Discover More"', async ({ page }) => { | |
| await page.goto('/certified/kukje-university-of-arts-115/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Discover More' || t.startsWith('Discover More'))).toBeTruthy(); | |
| }); | |
| test('certified_kukje_university_of_arts_115: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/certified/kukje-university-of-arts-115/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - certified_won_youngjo_117', () => { | |
| test('certified_won_youngjo_117: title matches GT', async ({ page }) => { | |
| await page.goto('/certified/won-youngjo-117/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('kang dohyun'); | |
| }); | |
| test('certified_won_youngjo_117: h3 "Discover More"', async ({ page }) => { | |
| await page.goto('/certified/won-youngjo-117/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Discover More' || t.startsWith('Discover More'))).toBeTruthy(); | |
| }); | |
| test('certified_won_youngjo_117: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/certified/won-youngjo-117/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - learnings_five_must_know_features_in_sonelio_studio_6_443', () => { | |
| test('learnings_five_must_know_features_in_sonelio_studio_6_443: title matches GT', async ({ page }) => { | |
| await page.goto('/learnings/five-must-know-features-in-sonelio-studio-6-443/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('five must'); | |
| }); | |
| test('learnings_five_must_know_features_in_sonelio_studio_6_443: h3 "Explore More"', async ({ page }) => { | |
| await page.goto('/learnings/five-must-know-features-in-sonelio-studio-6-443/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Explore More' || t.startsWith('Explore More'))).toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - learnings_looking_for_info_check_the_sonelio_studio_6_quick_guide_449', () => { | |
| test('learnings_looking_for_info_check_the_sonelio_studio_6_quick_guide_449: title matches GT', async ({ page }) => { | |
| await page.goto('/learnings/looking-for-info-check-the-sonelio-studio-6-quick-guide-449/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('need the details? explore the sonelio st'); | |
| }); | |
| test('learnings_looking_for_info_check_the_sonelio_studio_6_quick_guide_449: h3 "Explore More"', async ({ page }) => { | |
| await page.goto('/learnings/looking-for-info-check-the-sonelio-studio-6-quick-guide-449/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Explore More' || t.startsWith('Explore More'))).toBeTruthy(); | |
| }); | |
| test('learnings_looking_for_info_check_the_sonelio_studio_6_quick_guide_449: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/learnings/looking-for-info-check-the-sonelio-studio-6-quick-guide-449/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - sound_content_fx_expansions_grid_alchemy_188', () => { | |
| test('sound_content_fx_expansions_grid_alchemy_188: title matches GT', async ({ page }) => { | |
| await page.goto('/sound-content/fx-expansions-grid-alchemy-188/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('sound content'); | |
| }); | |
| test('sound_content_fx_expansions_grid_alchemy_188: h2 "FX Expansions - Mesh Alchemy"', async ({ page }) => { | |
| await page.goto('/sound-content/fx-expansions-grid-alchemy-188/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'FX Expansions - Mesh Alchemy' || t.startsWith('FX Expansions - Mesh Alchemy'))).toBeTruthy(); | |
| }); | |
| test('sound_content_fx_expansions_grid_alchemy_188: h3 "Discover More"', async ({ page }) => { | |
| await page.goto('/sound-content/fx-expansions-grid-alchemy-188/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Discover More' || t.startsWith('Discover More'))).toBeTruthy(); | |
| }); | |
| test('sound_content_fx_expansions_grid_alchemy_188: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/sound-content/fx-expansions-grid-alchemy-188/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - sound_content_fx_expansions_time_and_texture_186', () => { | |
| test('sound_content_fx_expansions_time_and_texture_186: title matches GT', async ({ page }) => { | |
| await page.goto('/sound-content/fx-expansions-time-and-texture-186/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('sound content'); | |
| }); | |
| test('sound_content_fx_expansions_time_and_texture_186: h2 "FX Expansions - Depth and Drif"', async ({ page }) => { | |
| await page.goto('/sound-content/fx-expansions-time-and-texture-186/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'FX Expansions - Depth and Drift' || t.startsWith('FX Expansions - Depth and Drift'))).toBeTruthy(); | |
| }); | |
| test('sound_content_fx_expansions_time_and_texture_186: h3 "Explore More"', async ({ page }) => { | |
| await page.goto('/sound-content/fx-expansions-time-and-texture-186/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Explore More' || t.startsWith('Explore More'))).toBeTruthy(); | |
| }); | |
| test('sound_content_fx_expansions_time_and_texture_186: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/sound-content/fx-expansions-time-and-texture-186/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - sound_content_vocoder_world_187', () => { | |
| test('sound_content_vocoder_world_187: title matches GT', async ({ page }) => { | |
| await page.goto('/sound-content/vocoder-world-187/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('sound content'); | |
| }); | |
| test('sound_content_vocoder_world_187: h2 "Vocoder Realm"', async ({ page }) => { | |
| await page.goto('/sound-content/vocoder-world-187/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Vocoder Realm' || t.startsWith('Vocoder Realm'))).toBeTruthy(); | |
| }); | |
| test('sound_content_vocoder_world_187: h3 "Explore More"', async ({ page }) => { | |
| await page.goto('/sound-content/vocoder-world-187/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Explore More' || t.startsWith('Explore More'))).toBeTruthy(); | |
| }); | |
| test('sound_content_vocoder_world_187: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/sound-content/vocoder-world-187/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - stories_sonelio_at_synthfest_france_2026_359', () => { | |
| test('stories_sonelio_at_synthfest_france_2026_359: title matches GT', async ({ page }) => { | |
| await page.goto('/stories/sonelio-at-synthfest-france-2026-359/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('sonelio at modsynth expo 2026'); | |
| }); | |
| test('stories_sonelio_at_synthfest_france_2026_359: h3 "Explore More"', async ({ page }) => { | |
| await page.goto('/stories/sonelio-at-synthfest-france-2026-359/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Explore More' || t.startsWith('Explore More'))).toBeTruthy(); | |
| }); | |
| test('stories_sonelio_at_synthfest_france_2026_359: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/stories/sonelio-at-synthfest-france-2026-359/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - stories_sonelio_workshops_at_kilele_festival_on_february_24_2026_442', () => { | |
| test('stories_sonelio_workshops_at_kilele_festival_on_february_24_2026_442: title matches GT', async ({ page }) => { | |
| await page.goto('/stories/sonelio-workshops-at-kilele-festival-on-february-24-2026-442/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('sonelio hosts two workshops at verava fe'); | |
| }); | |
| test('stories_sonelio_workshops_at_kilele_festival_on_february_24_2026_442: h1 "Sonelio workshops at Verava fe"', async ({ page }) => { | |
| await page.goto('/stories/sonelio-workshops-at-kilele-festival-on-february-24-2026-442/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Sonelio workshops at Verava festival on February 24, 2026' || t.startsWith('Sonelio workshops at Verava festival on February 24, 2026'))).toBeTruthy(); | |
| }); | |
| test('stories_sonelio_workshops_at_kilele_festival_on_february_24_2026_442: h3 "Explore More"', async ({ page }) => { | |
| await page.goto('/stories/sonelio-workshops-at-kilele-festival-on-february-24-2026-442/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Explore More' || t.startsWith('Explore More'))).toBeTruthy(); | |
| }); | |
| test('stories_sonelio_workshops_at_kilele_festival_on_february_24_2026_442: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/stories/sonelio-workshops-at-kilele-festival-on-february-24-2026-442/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - stories_controller_integration_in_sonelio_studio_414', () => { | |
| test('stories_controller_integration_in_sonelio_studio_414: title matches GT', async ({ page }) => { | |
| await page.goto('/stories/controller-integration-in-sonelio-studio-414/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('controller integration in sonelio studio'); | |
| }); | |
| test('stories_controller_integration_in_sonelio_studio_414: h1 "New in Sonelio Studio 6"', async ({ page }) => { | |
| await page.goto('/stories/controller-integration-in-sonelio-studio-414/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'New in Sonelio Studio 6' || t.startsWith('New in Sonelio Studio 6'))).toBeTruthy(); | |
| }); | |
| test('stories_controller_integration_in_sonelio_studio_414: h1 "The Open Controller API and th"', async ({ page }) => { | |
| await page.goto('/stories/controller-integration-in-sonelio-studio-414/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'The Open Controller API and the Sonelio Community' || t.startsWith('The Open Controller API and the Sonelio Community'))).toBeTruthy(); | |
| }); | |
| test('stories_controller_integration_in_sonelio_studio_414: h1 "How to use a controller with S"', async ({ page }) => { | |
| await page.goto('/stories/controller-integration-in-sonelio-studio-414/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How to use a controller with Sonelio Studio' || t.startsWith('How to use a controller with Sonelio Studio'))).toBeTruthy(); | |
| }); | |
| test('stories_controller_integration_in_sonelio_studio_414: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/stories/controller-integration-in-sonelio-studio-414/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - stories_musictech_magazine_910_choice_award_436', () => { | |
| test('stories_musictech_magazine_910_choice_award_436: title matches GT', async ({ page }) => { | |
| await page.goto('/stories/musictech-magazine-910-choice-award-436/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('audiowave magazine awards sonelio studio'); | |
| }); | |
| test('stories_musictech_magazine_910_choice_award_436: h1 "AudioWave Magazine 8/10 Choice"', async ({ page }) => { | |
| await page.goto('/stories/musictech-magazine-910-choice-award-436/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'AudioWave Magazine 8/10 Choice Award' || t.startsWith('AudioWave Magazine 8/10 Choice Award'))).toBeTruthy(); | |
| }); | |
| test('stories_musictech_magazine_910_choice_award_436: h3 "Discover More"', async ({ page }) => { | |
| await page.goto('/stories/musictech-magazine-910-choice-award-436/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Discover More' || t.startsWith('Discover More'))).toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - stories_on_another_level_sonelio_studio_6_is_out_now_416', () => { | |
| test('stories_on_another_level_sonelio_studio_6_is_out_now_416: title matches GT', async ({ page }) => { | |
| await page.goto('/stories/on-another-level-sonelio-studio-6-is-out-now-416/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('sonelio studio 6'); | |
| }); | |
| test('stories_on_another_level_sonelio_studio_6_is_out_now_416: h1 "Taking It Higher"', async ({ page }) => { | |
| await page.goto('/stories/on-another-level-sonelio-studio-6-is-out-now-416/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Taking It Higher' || t.startsWith('Taking It Higher'))).toBeTruthy(); | |
| }); | |
| test('stories_on_another_level_sonelio_studio_6_is_out_now_416: h2 "Automation Editing Has Never F"', async ({ page }) => { | |
| await page.goto('/stories/on-another-level-sonelio-studio-6-is-out-now-416/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Automation Editing Has Never Felt This Fluid' || t.startsWith('Automation Editing Has Never Felt This Fluid'))).toBeTruthy(); | |
| }); | |
| test('stories_on_another_level_sonelio_studio_6_is_out_now_416: h2 "Say Hello To Automation Clips"', async ({ page }) => { | |
| await page.goto('/stories/on-another-level-sonelio-studio-6-is-out-now-416/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Say Hello To Automation Clips' || t.startsWith('Say Hello To Automation Clips'))).toBeTruthy(); | |
| }); | |
| test('stories_on_another_level_sonelio_studio_6_is_out_now_416: h2 "Clip Aliases: Say It Again"', async ({ page }) => { | |
| await page.goto('/stories/on-another-level-sonelio-studio-6-is-out-now-416/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Clip Aliases: Say It Again' || t.startsWith('Clip Aliases: Say It Again'))).toBeTruthy(); | |
| }); | |
| test('stories_on_another_level_sonelio_studio_6_is_out_now_416: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/stories/on-another-level-sonelio-studio-6-is-out-now-416/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - stories_sound_on_sound_magazine_reviews_sonelio_connect_412_435', () => { | |
| test('stories_sound_on_sound_magazine_reviews_sonelio_connect_412_435: title matches GT', async ({ page }) => { | |
| await page.goto('/stories/sound-on-sound-magazine-reviews-sonelio-connect-412-435/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('studio frequencies magazine review sonel'); | |
| }); | |
| test('stories_sound_on_sound_magazine_reviews_sonelio_connect_412_435: h1 "Studio Frequencies Magazine re"', async ({ page }) => { | |
| await page.goto('/stories/sound-on-sound-magazine-reviews-sonelio-connect-412-435/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Studio Frequencies Magazine reviews Sonelio Connect 4/12' || t.startsWith('Studio Frequencies Magazine reviews Sonelio Connect 4/12'))).toBeTruthy(); | |
| }); | |
| test('stories_sound_on_sound_magazine_reviews_sonelio_connect_412_435: h3 "Explore More"', async ({ page }) => { | |
| await page.goto('/stories/sound-on-sound-magazine-reviews-sonelio-connect-412-435/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Explore More' || t.startsWith('Explore More'))).toBeTruthy(); | |
| }); | |
| test('stories_sound_on_sound_magazine_reviews_sonelio_connect_412_435: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/stories/sound-on-sound-magazine-reviews-sonelio-connect-412-435/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - stories_superbooth_berlin_is_coming_may_79_451', () => { | |
| test('stories_superbooth_berlin_is_coming_may_79_451: title matches GT', async ({ page }) => { | |
| await page.goto('/stories/superbooth-berlin-is-coming-may-79-451/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('modularis berlin returns may 7'); | |
| }); | |
| test('stories_superbooth_berlin_is_coming_may_79_451: h1 "Modularis Berlin Returns May 7"', async ({ page }) => { | |
| await page.goto('/stories/superbooth-berlin-is-coming-may-79-451/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Modularis Berlin Returns May 7–9' || t.startsWith('Modularis Berlin Returns May 7–9'))).toBeTruthy(); | |
| }); | |
| test('stories_superbooth_berlin_is_coming_may_79_451: h3 "Discover More"', async ({ page }) => { | |
| await page.goto('/stories/superbooth-berlin-is-coming-may-79-451/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Discover More' || t.startsWith('Discover More'))).toBeTruthy(); | |
| }); | |
| test('stories_superbooth_berlin_is_coming_may_79_451: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/stories/superbooth-berlin-is-coming-may-79-451/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - stories_watch_four_sonelio_experts_make_songs_with_the_same_sample_355', () => { | |
| test('stories_watch_four_sonelio_experts_make_songs_with_the_same_sample_355: title matches GT', async ({ page }) => { | |
| await page.goto('/stories/watch-four-sonelio-experts-make-songs-with-the-same-sample-355/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('watch four sonelio experts build tracks '); | |
| }); | |
| test('stories_watch_four_sonelio_experts_make_songs_with_the_same_sample_355: h1 "Watch Four Sonelio Experts Bui"', async ({ page }) => { | |
| await page.goto('/stories/watch-four-sonelio-experts-make-songs-with-the-same-sample-355/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Watch Four Sonelio Experts Build Tracks From One Sample' || t.startsWith('Watch Four Sonelio Experts Build Tracks From One Sample'))).toBeTruthy(); | |
| }); | |
| test('stories_watch_four_sonelio_experts_make_songs_with_the_same_sample_355: h3 "Explore More"', async ({ page }) => { | |
| await page.goto('/stories/watch-four-sonelio-experts-make-songs-with-the-same-sample-355/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Explore More' || t.startsWith('Explore More'))).toBeTruthy(); | |
| }); | |
| test('stories_watch_four_sonelio_experts_make_songs_with_the_same_sample_355: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/stories/watch-four-sonelio-experts-make-songs-with-the-same-sample-355/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_sonelio_connect_412_faq_70', () => { | |
| test('support_technical_support_sonelio_connect_412_faq_70: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/sonelio-connect-412-faq-70/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_sonelio_connect_412_faq_70: h1 "Sonelio Connect 4/12 FAQ"', async ({ page }) => { | |
| await page.goto('/support/technical_support/sonelio-connect-412-faq-70/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Sonelio Connect 4/12 FAQ' || t.startsWith('Sonelio Connect 4/12 FAQ'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_sonelio_connect_412_faq_70: h2 "Did this help you?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/sonelio-connect-412-faq-70/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this help you?' || t.startsWith('Did this help you?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_sonelio_connect_412_faq_70: h2 "Couldn\'t find what you were af"', async ({ page }) => { | |
| await page.goto('/support/technical_support/sonelio-connect-412-faq-70/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Couldn\'t find what you were after?' || t.startsWith('Couldn\'t find what you were after?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_sonelio_connect_412_faq_70: h3 "Where can I buy Sonelio Connec"', async ({ page }) => { | |
| await page.goto('/support/technical_support/sonelio-connect-412-faq-70/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Where can I buy Sonelio Connect?' || t.startsWith('Where can I buy Sonelio Connect?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_sonelio_connect_412_faq_70: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/sonelio-connect-412-faq-70/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_dawproject_file_format_faqs_62', () => { | |
| test('support_technical_support_dawproject_file_format_faqs_62: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/dawproject-file-format-faqs-62/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_dawproject_file_format_faqs_62: h1 "Your DAWbridge Format"', async ({ page }) => { | |
| await page.goto('/support/technical_support/dawproject-file-format-faqs-62/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Your DAWbridge Format' || t.startsWith('Your DAWbridge Format'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_dawproject_file_format_faqs_62: h2 "Understanding the DAWbridge fo"', async ({ page }) => { | |
| await page.goto('/support/technical_support/dawproject-file-format-faqs-62/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Understanding the DAWbridge format' || t.startsWith('Understanding the DAWbridge format'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_dawproject_file_format_faqs_62: h2 "How do I use DAWbridge?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/dawproject-file-format-faqs-62/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How do I use DAWbridge?' || t.startsWith('How do I use DAWbridge?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_dawproject_file_format_faqs_62: h2 "Specifics for Sonelio Studio 5"', async ({ page }) => { | |
| await page.goto('/support/technical_support/dawproject-file-format-faqs-62/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Specifics for Sonelio Studio 5.0.9 and Cadenza 6.5' || t.startsWith('Specifics for Sonelio Studio 5.0.9 and Cadenza 6.5'))).toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_does_sonelio_studio_run_on_windows_11_45', () => { | |
| test('support_technical_support_does_sonelio_studio_run_on_windows_11_45: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/does-sonelio-studio-run-on-windows-11-45/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_does_sonelio_studio_run_on_windows_11_45: h2 "Was this helpful?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/does-sonelio-studio-run-on-windows-11-45/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Was this helpful?' || t.startsWith('Was this helpful?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_does_sonelio_studio_run_on_windows_11_45: h2 "Didn\'t find what you\'re lookin"', async ({ page }) => { | |
| await page.goto('/support/technical_support/does-sonelio-studio-run-on-windows-11-45/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Didn\'t find what you\'re looking for?' || t.startsWith('Didn\'t find what you\'re looking for?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_does_sonelio_studio_run_on_windows_11_45: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/does-sonelio-studio-run-on-windows-11-45/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_does_sonelio_support_cloud_synced_files_and_folders_63', () => { | |
| test('support_technical_support_does_sonelio_support_cloud_synced_files_and_folders_63: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/does-sonelio-support-cloud-synced-files-and-folders-63/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_does_sonelio_support_cloud_synced_files_and_folders_63: h1 "Does Sonelio support cloud-syn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/does-sonelio-support-cloud-synced-files-and-folders-63/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Does Sonelio support cloud-synced files and folders?' || t.startsWith('Does Sonelio support cloud-synced files and folders?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_does_sonelio_support_cloud_synced_files_and_folders_63: h2 "Did this help you?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/does-sonelio-support-cloud-synced-files-and-folders-63/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this help you?' || t.startsWith('Did this help you?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_does_sonelio_support_cloud_synced_files_and_folders_63: h2 "Still can\'t find what you need"', async ({ page }) => { | |
| await page.goto('/support/technical_support/does-sonelio-support-cloud-synced-files-and-folders-63/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Still can\'t find what you need here?' || t.startsWith('Still can\'t find what you need here?'))).toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_how_do_i_add_a_controller_extension_or_script_17', () => { | |
| test('support_technical_support_how_do_i_add_a_controller_extension_or_script_17: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-add-a-controller-extension-or-script-17/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_how_do_i_add_a_controller_extension_or_script_17: h1 "How do I install a controller "', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-add-a-controller-extension-or-script-17/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How do I install a controller script or extension?' || t.startsWith('How do I install a controller script or extension?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_how_do_i_add_a_controller_extension_or_script_17: h2 "Setting up .js files (JavaScri"', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-add-a-controller-extension-or-script-17/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Setting up .js files (JavaScript)' || t.startsWith('Setting up .js files (JavaScript)'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_how_do_i_add_a_controller_extension_or_script_17: h2 "Installing .bwextension files "', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-add-a-controller-extension-or-script-17/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Installing .bwextension files (Java)' || t.startsWith('Installing .bwextension files (Java)'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_how_do_i_add_a_controller_extension_or_script_17: h2 "Did this help you?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-add-a-controller-extension-or-script-17/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this help you?' || t.startsWith('Did this help you?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_how_do_i_add_a_controller_extension_or_script_17: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-add-a-controller-extension-or-script-17/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_how_do_i_record_audio_using_wasapi_on_windows_36', () => { | |
| test('support_technical_support_how_do_i_record_audio_using_wasapi_on_windows_36: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-record-audio-using-wasapi-on-windows-36/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_how_do_i_record_audio_using_wasapi_on_windows_36: h1 "How can I capture Audio with W"', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-record-audio-using-wasapi-on-windows-36/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How can I capture Audio with WASAPI on Windows?' || t.startsWith('How can I capture Audio with WASAPI on Windows?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_how_do_i_record_audio_using_wasapi_on_windows_36: h2 "Was this helpful?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-record-audio-using-wasapi-on-windows-36/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Was this helpful?' || t.startsWith('Was this helpful?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_how_do_i_record_audio_using_wasapi_on_windows_36: h2 "Didn\'t find what you\'re lookin"', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-record-audio-using-wasapi-on-windows-36/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Didn\'t find what you\'re looking for?' || t.startsWith('Didn\'t find what you\'re looking for?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_how_do_i_record_audio_using_wasapi_on_windows_36: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-do-i-record-audio-using-wasapi-on-windows-36/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_how_to_enable_audio_input_on_macos_in_case_it_is_not_working_47', () => { | |
| test('support_technical_support_how_to_enable_audio_input_on_macos_in_case_it_is_not_working_47: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-to-enable-audio-input-on-macos-in-case-it-is-not-working-47/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_how_to_enable_audio_input_on_macos_in_case_it_is_not_working_47: h1 "Enabling audio input on MacOS "', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-to-enable-audio-input-on-macos-in-case-it-is-not-working-47/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Enabling audio input on MacOS when the microphone is silent' || t.startsWith('Enabling audio input on MacOS when the microphone is silent'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_how_to_enable_audio_input_on_macos_in_case_it_is_not_working_47: h2 "Did this solve it?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-to-enable-audio-input-on-macos-in-case-it-is-not-working-47/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this solve it?' || t.startsWith('Did this solve it?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_how_to_enable_audio_input_on_macos_in_case_it_is_not_working_47: h2 "Still can\'t locate what you ne"', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-to-enable-audio-input-on-macos-in-case-it-is-not-working-47/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Still can\'t locate what you need?' || t.startsWith('Still can\'t locate what you need?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_how_to_enable_audio_input_on_macos_in_case_it_is_not_working_47: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/how-to-enable-audio-input-on-macos-in-case-it-is-not-working-47/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_importing_ableton_live_sets_als_40', () => { | |
| test('support_technical_support_importing_ableton_live_sets_als_40: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-ableton-live-sets-als-40/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_importing_ableton_live_sets_als_40: h1 "Importing Auralis Live Sets (A"', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-ableton-live-sets-als-40/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Importing Auralis Live Sets (ALS)' || t.startsWith('Importing Auralis Live Sets (ALS)'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_importing_ableton_live_sets_als_40: h2 "What Comes Over"', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-ableton-live-sets-als-40/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'What Comes Over' || t.startsWith('What Comes Over'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_importing_ableton_live_sets_als_40: h2 "Skipped Items"', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-ableton-live-sets-als-40/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Skipped Items' || t.startsWith('Skipped Items'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_importing_ableton_live_sets_als_40: h2 "Was this useful?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-ableton-live-sets-als-40/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Was this useful?' || t.startsWith('Was this useful?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_importing_ableton_live_sets_als_40: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-ableton-live-sets-als-40/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_importing_fl_studio_projects_flp_41', () => { | |
| test('support_technical_support_importing_fl_studio_projects_flp_41: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-fl-studio-projects-flp-41/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_importing_fl_studio_projects_flp_41: h1 "Importing Fluxline Projects (F"', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-fl-studio-projects-flp-41/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Importing Fluxline Projects (FLP)' || t.startsWith('Importing Fluxline Projects (FLP)'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_importing_fl_studio_projects_flp_41: h2 "What Comes Over"', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-fl-studio-projects-flp-41/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'What Comes Over' || t.startsWith('What Comes Over'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_importing_fl_studio_projects_flp_41: h2 "Left Behind"', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-fl-studio-projects-flp-41/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Left Behind' || t.startsWith('Left Behind'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_importing_fl_studio_projects_flp_41: h2 "Did this help?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-fl-studio-projects-flp-41/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this help?' || t.startsWith('Did this help?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_importing_fl_studio_projects_flp_41: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/importing-fl-studio-projects-flp-41/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_macos_tahoe_compatibility_103', () => { | |
| test('support_technical_support_macos_tahoe_compatibility_103: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/macos-tahoe-compatibility-103/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_macos_tahoe_compatibility_103: h1 "macOS Tahoe Support Status"', async ({ page }) => { | |
| await page.goto('/support/technical_support/macos-tahoe-compatibility-103/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'macOS Tahoe Support Status' || t.startsWith('macOS Tahoe Support Status'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_macos_tahoe_compatibility_103: h2 "Did this help you?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/macos-tahoe-compatibility-103/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this help you?' || t.startsWith('Did this help you?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_macos_tahoe_compatibility_103: h2 "Still haven\'t found the answer"', async ({ page }) => { | |
| await page.goto('/support/technical_support/macos-tahoe-compatibility-103/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Still haven\'t found the answer you need?' || t.startsWith('Still haven\'t found the answer you need?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_macos_tahoe_compatibility_103: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/macos-tahoe-compatibility-103/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_system_requirements_1', () => { | |
| test('support_technical_support_system_requirements_1: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/system-requirements-1/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_system_requirements_1: h1 "System Requirements"', async ({ page }) => { | |
| await page.goto('/support/technical_support/system-requirements-1/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'System Requirements' || t.startsWith('System Requirements'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_system_requirements_1: h2 "Did this help you?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/system-requirements-1/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this help you?' || t.startsWith('Did this help you?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_system_requirements_1: h2 "Still can\'t find what you need"', async ({ page }) => { | |
| await page.goto('/support/technical_support/system-requirements-1/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Still can\'t find what you need here?' || t.startsWith('Still can\'t find what you need here?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_system_requirements_1: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/system-requirements-1/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_the_asio_interface_is_not_detected_on_windows_in_sonelio_studio_53_or_newer_104', () => { | |
| test('support_technical_support_the_asio_interface_is_not_detected_on_windows_in_sonelio_studio_53_or_newer_104: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-asio-interface-is-not-detected-on-windows-in-sonelio-studio-53-or-newer-104/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_the_asio_interface_is_not_detected_on_windows_in_sonelio_studio_53_or_newer_104: h1 "No ASIO interface shows up on "', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-asio-interface-is-not-detected-on-windows-in-sonelio-studio-53-or-newer-104/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'No ASIO interface shows up on Windows after updating to Sonelio Studio 5.3' || t.startsWith('No ASIO interface shows up on Windows after updating to Sonelio Studio 5.3'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_the_asio_interface_is_not_detected_on_windows_in_sonelio_studio_53_or_newer_104: h2 "Did this solve it?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-asio-interface-is-not-detected-on-windows-in-sonelio-studio-53-or-newer-104/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this solve it?' || t.startsWith('Did this solve it?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_the_asio_interface_is_not_detected_on_windows_in_sonelio_studio_53_or_newer_104: h2 "Didn\'t find what you needed he"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-asio-interface-is-not-detected-on-windows-in-sonelio-studio-53-or-newer-104/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Didn\'t find what you needed here?' || t.startsWith('Didn\'t find what you needed here?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_the_asio_interface_is_not_detected_on_windows_in_sonelio_studio_53_or_newer_104: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-asio-interface-is-not-detected-on-windows-in-sonelio-studio-53-or-newer-104/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_the_sonelio_studio_installation_returns_dependency_errors_with_the_linux_deb_installer_105', () => { | |
| test('support_technical_support_the_sonelio_studio_installation_returns_dependency_errors_with_the_linux_deb_installer_105: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-installation-returns-dependency-errors-with-the-linux-deb-installer-105/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_the_sonelio_studio_installation_returns_dependency_errors_with_the_linux_deb_installer_105: h1 "The Sonelio Studio setup repor"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-installation-returns-dependency-errors-with-the-linux-deb-installer-105/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'The Sonelio Studio setup reports dependency errors when using the Linux .deb installer' || t.startsWith('The Sonelio Studio setup reports dependency errors when using the Linux .deb installer'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_the_sonelio_studio_installation_returns_dependency_errors_with_the_linux_deb_installer_105: h2 "Did this help you?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-installation-returns-dependency-errors-with-the-linux-deb-installer-105/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this help you?' || t.startsWith('Did this help you?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_the_sonelio_studio_installation_returns_dependency_errors_with_the_linux_deb_installer_105: h2 "Still haven\'t found what you n"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-installation-returns-dependency-errors-with-the-linux-deb-installer-105/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Still haven\'t found what you need?' || t.startsWith('Still haven\'t found what you need?'))).toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_linux_67', () => { | |
| test('support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_linux_67: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-window-isnt-displayed-correctly-after-updating-to-version-52-or-newer-on-linux-67/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_linux_67: h1 "The Sonelio Studio window rend"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-window-isnt-displayed-correctly-after-updating-to-version-52-or-newer-on-linux-67/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'The Sonelio Studio window renders incorrectly after upgrading to version 5.2 or newer on Linux' || t.startsWith('The Sonelio Studio window renders incorrectly after upgrading to version 5.2 or newer on Linux'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_linux_67: h2 "Did this help you?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-window-isnt-displayed-correctly-after-updating-to-version-52-or-newer-on-linux-67/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this help you?' || t.startsWith('Did this help you?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_linux_67: h2 "Still haven\'t found what you n"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-window-isnt-displayed-correctly-after-updating-to-version-52-or-newer-on-linux-67/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Still haven\'t found what you need?' || t.startsWith('Still haven\'t found what you need?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_linux_67: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-window-isnt-displayed-correctly-after-updating-to-version-52-or-newer-on-linux-67/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_windows_66', () => { | |
| test('support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_windows_66: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-window-isnt-displayed-correctly-after-updating-to-version-52-or-newer-on-windows-66/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_windows_66: h1 "The Sonelio Studio window rend"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-window-isnt-displayed-correctly-after-updating-to-version-52-or-newer-on-windows-66/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'The Sonelio Studio window renders incorrectly after updating to version 5.2 or newer on Windows' || t.startsWith('The Sonelio Studio window renders incorrectly after updating to version 5.2 or newer on Windows'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_windows_66: h2 "Did this help you?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-window-isnt-displayed-correctly-after-updating-to-version-52-or-newer-on-windows-66/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this help you?' || t.startsWith('Did this help you?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_the_sonelio_studio_window_isnt_displayed_correctly_after_updating_to_version_52_or_newer_on_windows_66: h2 "Still can\'t find what you need"', async ({ page }) => { | |
| await page.goto('/support/technical_support/the-sonelio-studio-window-isnt-displayed-correctly-after-updating-to-version-52-or-newer-on-windows-66/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Still can\'t find what you need here?' || t.startsWith('Still can\'t find what you need here?'))).toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_what_is_plug_in_crash_protection_26', () => { | |
| test('support_technical_support_what_is_plug_in_crash_protection_26: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/what-is-plug-in-crash-protection-26/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_what_is_plug_in_crash_protection_26: h1 "What is plug-in crash protecti"', async ({ page }) => { | |
| await page.goto('/support/technical_support/what-is-plug-in-crash-protection-26/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'What is plug-in crash protection?' || t.startsWith('What is plug-in crash protection?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_what_is_plug_in_crash_protection_26: h2 "Was this helpful?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/what-is-plug-in-crash-protection-26/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Was this helpful?' || t.startsWith('Was this helpful?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_what_is_plug_in_crash_protection_26: h2 "Didn\'t find what you\'re lookin"', async ({ page }) => { | |
| await page.goto('/support/technical_support/what-is-plug-in-crash-protection-26/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Didn\'t find what you\'re looking for?' || t.startsWith('Didn\'t find what you\'re looking for?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_what_is_plug_in_crash_protection_26: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/what-is-plug-in-crash-protection-26/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_which_controllers_are_supported_in_sonelio_studio_28', () => { | |
| test('support_technical_support_which_controllers_are_supported_in_sonelio_studio_28: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/which-controllers-are-supported-in-sonelio-studio-28/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_which_controllers_are_supported_in_sonelio_studio_28: h1 "Which controllers are supporte"', async ({ page }) => { | |
| await page.goto('/support/technical_support/which-controllers-are-supported-in-sonelio-studio-28/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Which controllers are supported in Sonelio Studio?' || t.startsWith('Which controllers are supported in Sonelio Studio?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_which_controllers_are_supported_in_sonelio_studio_28: h2 "Was this helpful?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/which-controllers-are-supported-in-sonelio-studio-28/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Was this helpful?' || t.startsWith('Was this helpful?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_which_controllers_are_supported_in_sonelio_studio_28: h2 "Didn\'t find what you\'re lookin"', async ({ page }) => { | |
| await page.goto('/support/technical_support/which-controllers-are-supported-in-sonelio-studio-28/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Didn\'t find what you\'re looking for?' || t.startsWith('Didn\'t find what you\'re looking for?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_which_controllers_are_supported_in_sonelio_studio_28: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/which-controllers-are-supported-in-sonelio-studio-28/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - support_technical_support_windows_on_arm_support_69', () => { | |
| test('support_technical_support_windows_on_arm_support_69: title matches GT', async ({ page }) => { | |
| await page.goto('/support/technical_support/windows-on-arm-support-69/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('support'); | |
| }); | |
| test('support_technical_support_windows_on_arm_support_69: h1 "Windows on Arm Basics"', async ({ page }) => { | |
| await page.goto('/support/technical_support/windows-on-arm-support-69/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Windows on Arm Basics' || t.startsWith('Windows on Arm Basics'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_windows_on_arm_support_69: h2 "Did this help?"', async ({ page }) => { | |
| await page.goto('/support/technical_support/windows-on-arm-support-69/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Did this help?' || t.startsWith('Did this help?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_windows_on_arm_support_69: h2 "Still can\'t find what you need"', async ({ page }) => { | |
| await page.goto('/support/technical_support/windows-on-arm-support-69/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Still can\'t find what you need?' || t.startsWith('Still can\'t find what you need?'))).toBeTruthy(); | |
| }); | |
| test('support_technical_support_windows_on_arm_support_69: nav link "Learn"', async ({ page }) => { | |
| await page.goto('/support/technical_support/windows-on-arm-support-69/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Learn' || t.startsWith('Learn')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('learn')), 'href fragment present').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - Routing', () => { | |
| }); | |