Datasets:
Download web/haulvio.example/tests/static/content.scripted.spec.ts from Qwen/RecreationBench: direct link, hf CLI and curl.
- Browser
- Download file 196 kB
-
https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/haulvio.example/tests/static/content.scripted.spec.ts
- Command line
-
hf download hf://datasets/Qwen/RecreationBench/web/haulvio.example/tests/static/content.scripted.spec.ts
-
curl -L -o content.scripted.spec.ts https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/haulvio.example/tests/static/content.scripted.spec.ts
196 kB
| import { test, expect } from '@playwright/test'; | |
| test.describe('Functional - homepage', () => { | |
| test('homepage: h1 "Muscle for the heavy loads."', async ({ page }) => { | |
| await page.goto('/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Muscle for the heavy loads.' || t.startsWith('Muscle for the heavy loads.'))).toBeTruthy(); | |
| }); | |
| test('homepage: h2 "Nationwide network for on-dema"', async ({ page }) => { | |
| await page.goto('/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Nationwide network for on-demand trucks and helpers to move almost anything you own.' || t.startsWith('Nationwide network for on-demand trucks and helpers to move almost anything you own.'))).toBeTruthy(); | |
| }); | |
| test('homepage: h2 "Book help same day"', async ({ page }) => { | |
| await page.goto('/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book help same day' || t.startsWith('Book help same day'))).toBeTruthy(); | |
| }); | |
| test('homepage: h2 "How it works"', async ({ page }) => { | |
| await page.goto('/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How it works' || t.startsWith('How it works'))).toBeTruthy(); | |
| }); | |
| test('homepage: nav link "Partnerships"', async ({ page }) => { | |
| await page.goto('/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Partnerships' || t.startsWith('Partnerships')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('partners')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('homepage: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_helpers', () => { | |
| test('delivery_helpers: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/helpers/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('want a flexible side gig? earn extra inc'); | |
| }); | |
| test('delivery_helpers: h2 "Bring your truck, cargo van, S"', async ({ page }) => { | |
| await page.goto('/delivery/helpers/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Bring your truck, cargo van, SUV with trailer, or just your strength and work whenever it suits you.' || t.startsWith('Bring your truck, cargo van, SUV with trailer, or just your strength and work whenever it suits you.'))).toBeTruthy(); | |
| }); | |
| test('delivery_helpers: h2 "Become a Helper"', async ({ page }) => { | |
| await page.goto('/delivery/helpers/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Become a Helper' || t.startsWith('Become a Helper'))).toBeTruthy(); | |
| }); | |
| test('delivery_helpers: h2 "Become a Hand"', async ({ page }) => { | |
| await page.goto('/delivery/helpers/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Become a Hand' || t.startsWith('Become a Hand'))).toBeTruthy(); | |
| }); | |
| test('delivery_helpers: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/helpers/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_lighthouse', () => { | |
| test('delivery_lighthouse: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/lighthouse/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('simple retail delivery for your store\'s '); | |
| }); | |
| test('delivery_lighthouse: h1 "Add same-day delivery. Right n"', async ({ page }) => { | |
| await page.goto('/delivery/lighthouse/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Add same-day delivery. Right now.' || t.startsWith('Add same-day delivery. Right now.'))).toBeTruthy(); | |
| }); | |
| test('delivery_lighthouse: h2 "A tailored delivery solution b"', async ({ page }) => { | |
| await page.goto('/delivery/lighthouse/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'A tailored delivery solution built around your business.' || t.startsWith('A tailored delivery solution built around your business.'))).toBeTruthy(); | |
| }); | |
| test('delivery_lighthouse: h2 "Use Wayfinder™ for all your de"', async ({ page }) => { | |
| await page.goto('/delivery/lighthouse/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Wayfinder™ for all your delivery needs.' || t.startsWith('Use Wayfinder™ for all your delivery needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_lighthouse: h3 "Support your customers & your "', async ({ page }) => { | |
| await page.goto('/delivery/lighthouse/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Support your customers & your team.' || t.startsWith('Support your customers & your team.'))).toBeTruthy(); | |
| }); | |
| test('delivery_lighthouse: nav link "Solutions"', async ({ page }) => { | |
| await page.goto('/delivery/lighthouse/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Solutions' || t.startsWith('Solutions')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('services')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_lighthouse: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/lighthouse/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_partners', () => { | |
| test('delivery_partners: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/partners/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('simple retail delivery for your store cu'); | |
| }); | |
| test('delivery_partners: h1 "Grow your sales with on-demand"', async ({ page }) => { | |
| await page.goto('/delivery/partners/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Grow your sales with on-demand big & bulky delivery.' || t.startsWith('Grow your sales with on-demand big & bulky delivery.'))).toBeTruthy(); | |
| }); | |
| test('delivery_partners: h1 "72%"', async ({ page }) => { | |
| await page.goto('/delivery/partners/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '72%' || t.startsWith('72%'))).toBeTruthy(); | |
| }); | |
| test('delivery_partners: h1 "27%"', async ({ page }) => { | |
| await page.goto('/delivery/partners/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '27%' || t.startsWith('27%'))).toBeTruthy(); | |
| }); | |
| test('delivery_partners: h1 "13%"', async ({ page }) => { | |
| await page.goto('/delivery/partners/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '13%' || t.startsWith('13%'))).toBeTruthy(); | |
| }); | |
| test('delivery_partners: nav link "Solutions"', async ({ page }) => { | |
| await page.goto('/delivery/partners/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Solutions' || t.startsWith('Solutions')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('services')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_partners: nav link "Collaborate"', async ({ page }) => { | |
| await page.goto('/delivery/partners/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Collaborate' || t.startsWith('Collaborate')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('partners')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_partners: nav link "Earn with Haulvio Now"', async ({ page }) => { | |
| await page.goto('/delivery/partners/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Earn with Haulvio Now' || t.startsWith('Earn with Haulvio Now')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('helpers')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_partners: nav link "Start now"', async ({ page }) => { | |
| await page.goto('/delivery/partners/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Start now' || t.startsWith('Start now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_services', () => { | |
| test('delivery_services: h2 "From shop pickups, to apartmen"', async ({ page }) => { | |
| await page.goto('/delivery/services/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'From shop pickups, to apartment relocations, to haul away, let our crew take care of the heavy lifti' || t.startsWith('From shop pickups, to apartment relocations, to haul away, let our crew take care of the heavy lifti'))).toBeTruthy(); | |
| }); | |
| test('delivery_services: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/services/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_support', () => { | |
| test('delivery_support: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/support/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('contact us'); | |
| }); | |
| test('delivery_support: h1 "Support hours: 8am – 5pm (PT)"', async ({ page }) => { | |
| await page.goto('/delivery/support/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Support hours: 8am – 5pm (PT)' || t.startsWith('Support hours: 8am – 5pm (PT)'))).toBeTruthy(); | |
| }); | |
| test('delivery_support: h4 "I\'m a Customer"', async ({ page }) => { | |
| await page.goto('/delivery/support/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'I\'m a Customer' || t.startsWith('I\'m a Customer'))).toBeTruthy(); | |
| }); | |
| test('delivery_support: h4 "I\'m a Helper"', async ({ page }) => { | |
| await page.goto('/delivery/support/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'I\'m a Helper' || t.startsWith('I\'m a Helper'))).toBeTruthy(); | |
| }); | |
| test('delivery_support: h4 "I\'m a Partner"', async ({ page }) => { | |
| await page.goto('/delivery/support/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'I\'m a Partner' || t.startsWith('I\'m a Partner'))).toBeTruthy(); | |
| }); | |
| test('delivery_support: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/support/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_terms', () => { | |
| test('delivery_terms: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/terms/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('terms of service'); | |
| }); | |
| test('delivery_terms: h2 "1. The Haulvio Delivery Platfo"', async ({ page }) => { | |
| await page.goto('/delivery/terms/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '1. The Haulvio Delivery Platform' || t.startsWith('1. The Haulvio Delivery Platform'))).toBeTruthy(); | |
| }); | |
| test('delivery_terms: h2 "2. Use of the Haulvio Delivery"', async ({ page }) => { | |
| await page.goto('/delivery/terms/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '2. Use of the Haulvio Delivery Platform' || t.startsWith('2. Use of the Haulvio Delivery Platform'))).toBeTruthy(); | |
| }); | |
| test('delivery_terms: h2 "3. Agreement to Arbitrate"', async ({ page }) => { | |
| await page.goto('/delivery/terms/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '3. Agreement to Arbitrate' || t.startsWith('3. Agreement to Arbitrate'))).toBeTruthy(); | |
| }); | |
| test('delivery_terms: h2 "4. Fees, Billing, Invoicing, P"', async ({ page }) => { | |
| await page.goto('/delivery/terms/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === '4. Fees, Billing, Invoicing, Payments, and Promotions; Cancellation Charges' || t.startsWith('4. Fees, Billing, Invoicing, Payments, and Promotions; Cancellation Charges'))).toBeTruthy(); | |
| }); | |
| test('delivery_terms: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/terms/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_american_furniture_warehouse_delivery', () => { | |
| test('delivery_american_furniture_warehouse_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/american-furniture-warehouse-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('crestwood furniture depot delivery'); | |
| }); | |
| test('delivery_american_furniture_warehouse_delivery: h1 "Crestwood Furniture Depot deli"', async ({ page }) => { | |
| await page.goto('/delivery/american-furniture-warehouse-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Crestwood Furniture Depot delivery with Haulvio Delivery' || t.startsWith('Crestwood Furniture Depot delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_american_furniture_warehouse_delivery: h2 "Find help getting your Crestwo"', async ({ page }) => { | |
| await page.goto('/delivery/american-furniture-warehouse-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help getting your Crestwood Furniture Depot pieces delivered right when you want.' || t.startsWith('Find help getting your Crestwood Furniture Depot pieces delivered right when you want.'))).toBeTruthy(); | |
| }); | |
| test('delivery_american_furniture_warehouse_delivery: h3 "Find moving & delivery help ac"', async ({ page }) => { | |
| await page.goto('/delivery/american-furniture-warehouse-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find moving & delivery help across these cities' || t.startsWith('Find moving & delivery help across these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_american_furniture_warehouse_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/american-furniture-warehouse-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_american_signature_furniture_delivery', () => { | |
| test('delivery_american_signature_furniture_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/american-signature-furniture-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('northline furniture delivery'); | |
| }); | |
| test('delivery_american_signature_furniture_delivery: h1 "Northline Furniture home deliv"', async ({ page }) => { | |
| await page.goto('/delivery/american-signature-furniture-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Northline Furniture home delivery with Haulvio Delivery' || t.startsWith('Northline Furniture home delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_american_signature_furniture_delivery: h2 "Find help getting your Northli"', async ({ page }) => { | |
| await page.goto('/delivery/american-signature-furniture-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help getting your Northline Furniture items home exactly when you want them.' || t.startsWith('Find help getting your Northline Furniture items home exactly when you want them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_american_signature_furniture_delivery: h3 "Find moving & delivery help ne"', async ({ page }) => { | |
| await page.goto('/delivery/american-signature-furniture-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find moving & delivery help near these cities' || t.startsWith('Find moving & delivery help near these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_american_signature_furniture_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/american-signature-furniture-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_apartment_move', () => { | |
| test('delivery_apartment_move: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/apartment-move/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('book help'); | |
| }); | |
| test('delivery_apartment_move: h1 "Moving apartments has never be"', async ({ page }) => { | |
| await page.goto('/delivery/apartment-move/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Moving apartments has never been simpler' || t.startsWith('Moving apartments has never been simpler'))).toBeTruthy(); | |
| }); | |
| test('delivery_apartment_move: h2 "Haulvio Delivery is the reliab"', async ({ page }) => { | |
| await page.goto('/delivery/apartment-move/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery is the reliable way to get a hand moving into your new place. Get help with furnitu' || t.startsWith('Haulvio Delivery is the reliable way to get a hand moving into your new place. Get help with furnitu'))).toBeTruthy(); | |
| }); | |
| test('delivery_apartment_move: h2 "How it goes"', async ({ page }) => { | |
| await page.goto('/delivery/apartment-move/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How it goes' || t.startsWith('How it goes'))).toBeTruthy(); | |
| }); | |
| test('delivery_apartment_move: h3 "Haulvio Delivery has been trus"', async ({ page }) => { | |
| await page.goto('/delivery/apartment-move/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery has been trusted to move millions of items.' || t.startsWith('Haulvio Delivery has been trusted to move millions of items.'))).toBeTruthy(); | |
| }); | |
| test('delivery_apartment_move: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/apartment-move/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_appliance_delivery', () => { | |
| test('delivery_appliance_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/appliance-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('same'); | |
| }); | |
| test('delivery_appliance_delivery: h1 "Appliance delivery on your sch"', async ({ page }) => { | |
| await page.goto('/delivery/appliance-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Appliance delivery on your schedule, same-day' || t.startsWith('Appliance delivery on your schedule, same-day'))).toBeTruthy(); | |
| }); | |
| test('delivery_appliance_delivery: h2 "Haulvio Delivery matches you w"', async ({ page }) => { | |
| await page.goto('/delivery/appliance-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery matches you with nearby truck owners so your new appliances get home same-day.' || t.startsWith('Haulvio Delivery matches you with nearby truck owners so your new appliances get home same-day.'))).toBeTruthy(); | |
| }); | |
| test('delivery_appliance_delivery: h3 "Get same-day appliance deliver"', async ({ page }) => { | |
| await page.goto('/delivery/appliance-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get same-day appliance delivery in all of these cities with Haulvio Delivery' || t.startsWith('Get same-day appliance delivery in all of these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_appliance_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/appliance-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_appliance_movers', () => { | |
| test('delivery_appliance_movers: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/appliance-movers/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('appliance movers & moving help, whenever'); | |
| }); | |
| test('delivery_appliance_movers: h1 "Book appliance movers & moving"', async ({ page }) => { | |
| await page.goto('/delivery/appliance-movers/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book appliance movers & moving services through Haulvio Delivery' || t.startsWith('Book appliance movers & moving services through Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_appliance_movers: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/appliance-movers/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who handle the heavy lifting, fast and simple.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who handle the heavy lifting, fast and simple.'))).toBeTruthy(); | |
| }); | |
| test('delivery_appliance_movers: h3 "Discover appliance movers acro"', async ({ page }) => { | |
| await page.goto('/delivery/appliance-movers/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Discover appliance movers across these cities with Haulvio Delivery' || t.startsWith('Discover appliance movers across these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_appliance_movers: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/appliance-movers/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_ashley_furniture_delivery', () => { | |
| test('delivery_ashley_furniture_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/ashley-furniture-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('oakhaven furniture delivery'); | |
| }); | |
| test('delivery_ashley_furniture_delivery: h1 "Oakhaven Furniture delivery wi"', async ({ page }) => { | |
| await page.goto('/delivery/ashley-furniture-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Oakhaven Furniture delivery with Haulvio Delivery' || t.startsWith('Oakhaven Furniture delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_ashley_furniture_delivery: h2 "Get a hand moving your Oakhave"', async ({ page }) => { | |
| await page.goto('/delivery/ashley-furniture-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get a hand moving your Oakhaven Furniture home right when you need it.' || t.startsWith('Get a hand moving your Oakhaven Furniture home right when you need it.'))).toBeTruthy(); | |
| }); | |
| test('delivery_ashley_furniture_delivery: h3 "Get moving & delivery help acr"', async ({ page }) => { | |
| await page.goto('/delivery/ashley-furniture-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get moving & delivery help across these cities' || t.startsWith('Get moving & delivery help across these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_ashley_furniture_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/ashley-furniture-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_athome_delivery', () => { | |
| test('delivery_athome_delivery: h1 "At-home furniture delivery wit"', async ({ page }) => { | |
| await page.goto('/delivery/athome-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'At-home furniture delivery with Haulvio Delivery' || t.startsWith('At-home furniture delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_athome_delivery: h2 "Find help bringing your at-hom"', async ({ page }) => { | |
| await page.goto('/delivery/athome-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help bringing your at-home items home right when you need them.' || t.startsWith('Find help bringing your at-home items home right when you need them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_athome_delivery: h3 "Find moving & delivery help in"', async ({ page }) => { | |
| await page.goto('/delivery/athome-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find moving & delivery help in these cities' || t.startsWith('Find moving & delivery help in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_athome_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/athome-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_atlanta_ga_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_atlanta_ga_craigslist_pickup_and_dropoffs: h1 "Safe, on-demand Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/atlanta--ga--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Safe, on-demand Trovana pickups and drop-offs in Atlanta' || t.startsWith('Safe, on-demand Trovana pickups and drop-offs in Atlanta'))).toBeTruthy(); | |
| }); | |
| test('delivery_atlanta_ga_craigslist_pickup_and_dropoffs: h2 "Haulvio connects you with loca"', async ({ page }) => { | |
| await page.goto('/delivery/atlanta--ga--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio connects you with local truck owners who get the job done fast, safely, and hassle-free.' || t.startsWith('Haulvio connects you with local truck owners who get the job done fast, safely, and hassle-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_atlanta_ga_craigslist_pickup_and_dropoffs: h3 "Use Haulvio Delivery for every"', async ({ page }) => { | |
| await page.goto('/delivery/atlanta--ga--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for every one of your delivery and moving needs.' || t.startsWith('Use Haulvio Delivery for every one of your delivery and moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_atlanta_ga_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/atlanta--ga--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_atlanta_ga_donation_pickup_dropoff', () => { | |
| test('delivery_atlanta_ga_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/atlanta--ga--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('atlanta, ga donation pickup and drop'); | |
| }); | |
| test('delivery_atlanta_ga_donation_pickup_dropoff: h1 "Dropping off donations in Atla"', async ({ page }) => { | |
| await page.goto('/delivery/atlanta--ga--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Dropping off donations in Atlanta just got a whole lot simpler' || t.startsWith('Dropping off donations in Atlanta just got a whole lot simpler'))).toBeTruthy(); | |
| }); | |
| test('delivery_atlanta_ga_donation_pickup_dropoff: h2 "Haulvio pairs you with nearby "', async ({ page }) => { | |
| await page.goto('/delivery/atlanta--ga--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio pairs you with nearby truck owners who show up on time and get the job done right.' || t.startsWith('Haulvio pairs you with nearby truck owners who show up on time and get the job done right.'))).toBeTruthy(); | |
| }); | |
| test('delivery_atlanta_ga_donation_pickup_dropoff: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/atlanta--ga--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_atlanta_ga_donation_pickup_dropoff: nav link "Drive with Haulvio"', async ({ page }) => { | |
| await page.goto('/delivery/atlanta--ga--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Drive with Haulvio' || t.startsWith('Drive with Haulvio')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('helpers')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_atlanta_ga_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/atlanta--ga--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_austin_tx_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_austin_tx_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/austin--tx--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Austin' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Austin'))).toBeTruthy(); | |
| }); | |
| test('delivery_austin_tx_craigslist_pickup_and_dropoffs: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/austin--tx--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who show up ready and get the whole job done fas' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who show up ready and get the whole job done fas'))).toBeTruthy(); | |
| }); | |
| test('delivery_austin_tx_craigslist_pickup_and_dropoffs: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/austin--tx--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_austin_tx_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/austin--tx--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_austin_tx_donation_pickup_dropoff', () => { | |
| test('delivery_austin_tx_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/austin--tx--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_austin_tx_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/austin--tx--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs in Austin have never been simpler' || t.startsWith('Donation pickups and drop-offs in Austin have never been simpler'))).toBeTruthy(); | |
| }); | |
| test('delivery_austin_tx_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/austin--tx--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who finish the job fast and stress-free.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who finish the job fast and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_austin_tx_donation_pickup_dropoff: h3 "Count on Haulvio Delivery for "', async ({ page }) => { | |
| await page.goto('/delivery/austin--tx--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Count on Haulvio Delivery for all your delivery and moving needs.' || t.startsWith('Count on Haulvio Delivery for all your delivery and moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_austin_tx_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/austin--tx--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_baltimore_md_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_baltimore_md_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/baltimore--md--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Baltimore' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Baltimore'))).toBeTruthy(); | |
| }); | |
| test('delivery_baltimore_md_craigslist_pickup_and_dropoffs: h2 "Haulvio Delivery connects you "', async ({ page }) => { | |
| await page.goto('/delivery/baltimore--md--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery connects you with nearby truck owners who get the job done, quick and easy.' || t.startsWith('Haulvio Delivery connects you with nearby truck owners who get the job done, quick and easy.'))).toBeTruthy(); | |
| }); | |
| test('delivery_baltimore_md_craigslist_pickup_and_dropoffs: h3 "Turn to Haulvio Delivery for a"', async ({ page }) => { | |
| await page.goto('/delivery/baltimore--md--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Turn to Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Turn to Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_baltimore_md_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/baltimore--md--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_baltimore_md_donation_pickup_dropoff', () => { | |
| test('delivery_baltimore_md_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/baltimore--md--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_baltimore_md_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/baltimore--md--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs in Baltimore made simple and stress-free' || t.startsWith('Donation pickups and drop-offs in Baltimore made simple and stress-free'))).toBeTruthy(); | |
| }); | |
| test('delivery_baltimore_md_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/baltimore--md--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who handle the work quickly and easily.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who handle the work quickly and easily.'))).toBeTruthy(); | |
| }); | |
| test('delivery_baltimore_md_donation_pickup_dropoff: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/baltimore--md--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_baltimore_md_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/baltimore--md--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_best_buy_same_day_delivery', () => { | |
| test('delivery_best_buy_same_day_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/best-buy-same-day-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('same'); | |
| }); | |
| test('delivery_best_buy_same_day_delivery: h1 "Same-day store delivery with H"', async ({ page }) => { | |
| await page.goto('/delivery/best-buy-same-day-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Same-day store delivery with Haulvio Delivery' || t.startsWith('Same-day store delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_best_buy_same_day_delivery: h2 "Get a hand bringing your new p"', async ({ page }) => { | |
| await page.goto('/delivery/best-buy-same-day-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get a hand bringing your new purchase home exactly when you need it.' || t.startsWith('Get a hand bringing your new purchase home exactly when you need it.'))).toBeTruthy(); | |
| }); | |
| test('delivery_best_buy_same_day_delivery: h3 "Book moving & delivery help in"', async ({ page }) => { | |
| await page.goto('/delivery/best-buy-same-day-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book moving & delivery help in these cities' || t.startsWith('Book moving & delivery help in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_best_buy_same_day_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/best-buy-same-day-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_big_lots_delivery', () => { | |
| test('delivery_big_lots_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/big-lots-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('valuebarn delivery'); | |
| }); | |
| test('delivery_big_lots_delivery: h1 "ValueBarn delivery with Haulvi"', async ({ page }) => { | |
| await page.goto('/delivery/big-lots-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'ValueBarn delivery with Haulvio Delivery' || t.startsWith('ValueBarn delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_big_lots_delivery: h2 "Find help getting your ValueBa"', async ({ page }) => { | |
| await page.goto('/delivery/big-lots-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help getting your ValueBarn items home when you want them.' || t.startsWith('Find help getting your ValueBarn items home when you want them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_big_lots_delivery: h3 "Find moving & delivery help ac"', async ({ page }) => { | |
| await page.goto('/delivery/big-lots-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find moving & delivery help across your city' || t.startsWith('Find moving & delivery help across your city'))).toBeTruthy(); | |
| }); | |
| test('delivery_big_lots_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/big-lots-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_bobs_discount_furniture_delivery', () => { | |
| test('delivery_bobs_discount_furniture_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/bobs-discount-furniture-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('maple & oak furniture delivery'); | |
| }); | |
| test('delivery_bobs_discount_furniture_delivery: h1 "Maple & Oak Furniture delivery"', async ({ page }) => { | |
| await page.goto('/delivery/bobs-discount-furniture-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Maple & Oak Furniture delivery with Haulvio Delivery' || t.startsWith('Maple & Oak Furniture delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_bobs_discount_furniture_delivery: h2 "Find help getting your Maple &"', async ({ page }) => { | |
| await page.goto('/delivery/bobs-discount-furniture-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help getting your Maple & Oak Furniture items home right when you want them.' || t.startsWith('Find help getting your Maple & Oak Furniture items home right when you want them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_bobs_discount_furniture_delivery: h3 "Find moving & delivery help ac"', async ({ page }) => { | |
| await page.goto('/delivery/bobs-discount-furniture-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find moving & delivery help across these cities' || t.startsWith('Find moving & delivery help across these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_bobs_discount_furniture_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/bobs-discount-furniture-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_boston_ma_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_boston_ma_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/boston--ma--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Boston' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Boston'))).toBeTruthy(); | |
| }); | |
| test('delivery_boston_ma_craigslist_pickup_and_dropoffs: h2 "Haulvio connects you with trus"', async ({ page }) => { | |
| await page.goto('/delivery/boston--ma--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio connects you with trusted local truck owners who get the job done, quick and easy.' || t.startsWith('Haulvio connects you with trusted local truck owners who get the job done, quick and easy.'))).toBeTruthy(); | |
| }); | |
| test('delivery_boston_ma_craigslist_pickup_and_dropoffs: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/boston--ma--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_boston_ma_craigslist_pickup_and_dropoffs: nav link "Become a Haulvio Pro"', async ({ page }) => { | |
| await page.goto('/delivery/boston--ma--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Become a Haulvio Pro' || t.startsWith('Become a Haulvio Pro')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('helpers')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_boston_ma_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/boston--ma--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_boston_ma_donation_pickup_dropoff', () => { | |
| test('delivery_boston_ma_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/boston--ma--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_boston_ma_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/boston--ma--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs in Boston are simpler than ever' || t.startsWith('Donation pickups and drop-offs in Boston are simpler than ever'))).toBeTruthy(); | |
| }); | |
| test('delivery_boston_ma_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/boston--ma--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who handle the job fast and hassle-free.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who handle the job fast and hassle-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_boston_ma_donation_pickup_dropoff: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/boston--ma--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_boston_ma_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/boston--ma--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_charlotte_nc_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_charlotte_nc_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/charlotte--nc--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Charlotte' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Charlotte'))).toBeTruthy(); | |
| }); | |
| test('delivery_charlotte_nc_craigslist_pickup_and_dropoffs: h2 "Haulvio connects you with loca"', async ({ page }) => { | |
| await page.goto('/delivery/charlotte--nc--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio connects you with local truck owners nearby who get the job done, quick and easy today.' || t.startsWith('Haulvio connects you with local truck owners nearby who get the job done, quick and easy today.'))).toBeTruthy(); | |
| }); | |
| test('delivery_charlotte_nc_craigslist_pickup_and_dropoffs: h3 "Turn to Haulvio Delivery for a"', async ({ page }) => { | |
| await page.goto('/delivery/charlotte--nc--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Turn to Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Turn to Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_charlotte_nc_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/charlotte--nc--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_charlotte_nc_donation_pickup_dropoff', () => { | |
| test('delivery_charlotte_nc_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/charlotte--nc--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_charlotte_nc_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/charlotte--nc--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs in Charlotte are simpler than ever' || t.startsWith('Donation pickups and drop-offs in Charlotte are simpler than ever'))).toBeTruthy(); | |
| }); | |
| test('delivery_charlotte_nc_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/charlotte--nc--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who get the whole task done, fast and stress-fre' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who get the whole task done, fast and stress-fre'))).toBeTruthy(); | |
| }); | |
| test('delivery_charlotte_nc_donation_pickup_dropoff: h3 "Rely on Haulvio Delivery for e"', async ({ page }) => { | |
| await page.goto('/delivery/charlotte--nc--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rely on Haulvio Delivery for every one of your delivery & moving needs.' || t.startsWith('Rely on Haulvio Delivery for every one of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_charlotte_nc_donation_pickup_dropoff: nav link "Become a Haulvio Pro"', async ({ page }) => { | |
| await page.goto('/delivery/charlotte--nc--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Become a Haulvio Pro' || t.startsWith('Become a Haulvio Pro')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('helpers')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_charlotte_nc_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/charlotte--nc--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_chicago_il_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_chicago_il_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/chicago--il--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Chicago' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Chicago'))).toBeTruthy(); | |
| }); | |
| test('delivery_chicago_il_craigslist_pickup_and_dropoffs: h2 "Haulvio Delivery connects you "', async ({ page }) => { | |
| await page.goto('/delivery/chicago--il--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery connects you with nearby truck owners who get your job done, quick and easy.' || t.startsWith('Haulvio Delivery connects you with nearby truck owners who get your job done, quick and easy.'))).toBeTruthy(); | |
| }); | |
| test('delivery_chicago_il_craigslist_pickup_and_dropoffs: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/chicago--il--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery and moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery and moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_chicago_il_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/chicago--il--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_chicago_il_donation_pickup_dropoff', () => { | |
| test('delivery_chicago_il_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/chicago--il--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('clearing out a donation haul in chicago,'); | |
| }); | |
| test('delivery_chicago_il_donation_pickup_dropoff: h1 "Skip the truck rental for your"', async ({ page }) => { | |
| await page.goto('/delivery/chicago--il--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Skip the truck rental for your next Chicago donation run' || t.startsWith('Skip the truck rental for your next Chicago donation run'))).toBeTruthy(); | |
| }); | |
| test('delivery_chicago_il_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/chicago--il--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with trusted local truck owners who load, drive, and unload it all.' || t.startsWith('Haulvio Delivery pairs you with trusted local truck owners who load, drive, and unload it all.'))).toBeTruthy(); | |
| }); | |
| test('delivery_chicago_il_donation_pickup_dropoff: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/chicago--il--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_chicago_il_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/chicago--il--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_cincinnati_oh_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_cincinnati_oh_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/cincinnati--oh--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Cincinnati' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Cincinnati'))).toBeTruthy(); | |
| }); | |
| test('delivery_cincinnati_oh_craigslist_pickup_and_dropoffs: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/cincinnati--oh--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with dependable local truck owners who get every task done, fast and simp' || t.startsWith('Haulvio Delivery pairs you with dependable local truck owners who get every task done, fast and simp'))).toBeTruthy(); | |
| }); | |
| test('delivery_cincinnati_oh_craigslist_pickup_and_dropoffs: h3 "Count on Haulvio for all of yo"', async ({ page }) => { | |
| await page.goto('/delivery/cincinnati--oh--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Count on Haulvio for all of your delivery and moving needs.' || t.startsWith('Count on Haulvio for all of your delivery and moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_cincinnati_oh_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/cincinnati--oh--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_cincinnati_oh_donation_pickup_dropoff', () => { | |
| test('delivery_cincinnati_oh_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/cincinnati--oh--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_cincinnati_oh_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/cincinnati--oh--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs in Cincinnati are simpler than ever' || t.startsWith('Donation pickups and drop-offs in Cincinnati are simpler than ever'))).toBeTruthy(); | |
| }); | |
| test('delivery_cincinnati_oh_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/cincinnati--oh--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who finish the job fast and stress-free.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who finish the job fast and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_cincinnati_oh_donation_pickup_dropoff: h3 "Count on Haulvio Delivery for "', async ({ page }) => { | |
| await page.goto('/delivery/cincinnati--oh--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Count on Haulvio Delivery for all of your delivery and moving jobs.' || t.startsWith('Count on Haulvio Delivery for all of your delivery and moving jobs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_cincinnati_oh_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/cincinnati--oh--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_cities', () => { | |
| test('delivery_cities: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/cities/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('find moving & delivery help'); | |
| }); | |
| test('delivery_cities: h1 "Haulvio Delivery now reaches 5"', async ({ page }) => { | |
| await page.goto('/delivery/cities/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery now reaches 50 cities coast to coast.' || t.startsWith('Haulvio Delivery now reaches 50 cities coast to coast.'))).toBeTruthy(); | |
| }); | |
| test('delivery_cities: nav link "Solutions"', async ({ page }) => { | |
| await page.goto('/delivery/cities/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Solutions' || t.startsWith('Solutions')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('services')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_cities: nav link "For Partners"', async ({ page }) => { | |
| await page.goto('/delivery/cities/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'For Partners' || t.startsWith('For Partners')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('partners')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_cities: nav link "Get help"', async ({ page }) => { | |
| await page.goto('/delivery/cities/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help' || t.startsWith('Get help')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_cleveland_oh_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_cleveland_oh_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/cleveland--oh--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Cleveland' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Cleveland'))).toBeTruthy(); | |
| }); | |
| test('delivery_cleveland_oh_craigslist_pickup_and_dropoffs: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/cleveland--oh--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who get it done fast, simple, and stress-free.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who get it done fast, simple, and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_cleveland_oh_craigslist_pickup_and_dropoffs: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/cleveland--oh--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_cleveland_oh_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/cleveland--oh--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_cleveland_oh_donation_pickup_dropoff', () => { | |
| test('delivery_cleveland_oh_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/cleveland--oh--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_cleveland_oh_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/cleveland--oh--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs across Cleveland made simple for you' || t.startsWith('Donation pickups and drop-offs across Cleveland made simple for you'))).toBeTruthy(); | |
| }); | |
| test('delivery_cleveland_oh_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/cleveland--oh--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who handle it fast, with zero fuss.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who handle it fast, with zero fuss.'))).toBeTruthy(); | |
| }); | |
| test('delivery_cleveland_oh_donation_pickup_dropoff: h3 "Use Haulvio Delivery for every"', async ({ page }) => { | |
| await page.goto('/delivery/cleveland--oh--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for every one of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for every one of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_cleveland_oh_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/cleveland--oh--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_columbus_oh_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_columbus_oh_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Columbus' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Columbus'))).toBeTruthy(); | |
| }); | |
| test('delivery_columbus_oh_craigslist_pickup_and_dropoffs: h2 "Haulvio connects you with loca"', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio connects you with local truck owners who get the job done, quick and easy.' || t.startsWith('Haulvio connects you with local truck owners who get the job done, quick and easy.'))).toBeTruthy(); | |
| }); | |
| test('delivery_columbus_oh_craigslist_pickup_and_dropoffs: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_columbus_oh_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_columbus_oh_donation_pickup_dropoff', () => { | |
| test('delivery_columbus_oh_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_columbus_oh_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs in Columbus just got a whole lot easier' || t.startsWith('Donation pickups and drop-offs in Columbus just got a whole lot easier'))).toBeTruthy(); | |
| }); | |
| test('delivery_columbus_oh_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with local truck owners who handle the whole job, quickly and reliably.' || t.startsWith('Haulvio Delivery pairs you with local truck owners who handle the whole job, quickly and reliably.'))).toBeTruthy(); | |
| }); | |
| test('delivery_columbus_oh_donation_pickup_dropoff: h2 "How this works"', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How this works' || t.startsWith('How this works'))).toBeTruthy(); | |
| }); | |
| test('delivery_columbus_oh_donation_pickup_dropoff: h3 "Rely on Haulvio Delivery for e"', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rely on Haulvio Delivery for every delivery & moving need you have.' || t.startsWith('Rely on Haulvio Delivery for every delivery & moving need you have.'))).toBeTruthy(); | |
| }); | |
| test('delivery_columbus_oh_donation_pickup_dropoff: nav link "Become a Haulvio pro"', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Become a Haulvio pro' || t.startsWith('Become a Haulvio pro')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('helpers')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_columbus_oh_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/columbus--oh--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_container_store', () => { | |
| test('delivery_container_store: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/container-store/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('the storage loft delivery'); | |
| }); | |
| test('delivery_container_store: h1 "Storage Loft delivery, handled"', async ({ page }) => { | |
| await page.goto('/delivery/container-store/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Storage Loft delivery, handled by Haulvio Delivery' || t.startsWith('Storage Loft delivery, handled by Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_container_store: h2 "Get a hand bringing your Stora"', async ({ page }) => { | |
| await page.goto('/delivery/container-store/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get a hand bringing your Storage Loft purchases home right when you need them.' || t.startsWith('Get a hand bringing your Storage Loft purchases home right when you need them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_container_store: h3 "Get moving & delivery help in "', async ({ page }) => { | |
| await page.goto('/delivery/container-store/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get moving & delivery help in these cities' || t.startsWith('Get moving & delivery help in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_container_store: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/container-store/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_costco_delivery', () => { | |
| test('delivery_costco_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/costco-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('bulkmart delivery'); | |
| }); | |
| test('delivery_costco_delivery: h1 "Bulkmart delivery with Haulvio"', async ({ page }) => { | |
| await page.goto('/delivery/costco-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Bulkmart delivery with Haulvio Delivery' || t.startsWith('Bulkmart delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_costco_delivery: h2 "Get your Bulkmart haul carried"', async ({ page }) => { | |
| await page.goto('/delivery/costco-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get your Bulkmart haul carried home right when you need it there.' || t.startsWith('Get your Bulkmart haul carried home right when you need it there.'))).toBeTruthy(); | |
| }); | |
| test('delivery_costco_delivery: h3 "Book moving & delivery Helpers"', async ({ page }) => { | |
| await page.goto('/delivery/costco-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book moving & delivery Helpers in these cities' || t.startsWith('Book moving & delivery Helpers in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_costco_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/costco-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_couch_moving_service', () => { | |
| test('delivery_couch_moving_service: h1 "Couch moving help right when y"', async ({ page }) => { | |
| await page.goto('/delivery/couch-moving-service/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Couch moving help right when you need it' || t.startsWith('Couch moving help right when you need it'))).toBeTruthy(); | |
| }); | |
| test('delivery_couch_moving_service: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/couch-moving-service/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with local truck owners who finish the job fast and stress-free.' || t.startsWith('Haulvio Delivery pairs you with local truck owners who finish the job fast and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_couch_moving_service: h3 "Find our couch moving services"', async ({ page }) => { | |
| await page.goto('/delivery/couch-moving-service/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find our couch moving services in these cities' || t.startsWith('Find our couch moving services in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_couch_moving_service: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/couch-moving-service/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_craigslist_offerup_pickups_dropoffs', () => { | |
| test('delivery_craigslist_offerup_pickups_dropoffs: h1 "Fast pick up & delivery on Tro"', async ({ page }) => { | |
| await page.goto('/delivery/craigslist-offerup-pickups-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Fast pick up & delivery on Trovana, Swapio & Townline Marketplace' || t.startsWith('Fast pick up & delivery on Trovana, Swapio & Townline Marketplace'))).toBeTruthy(); | |
| }); | |
| test('delivery_craigslist_offerup_pickups_dropoffs: h2 "Book nearby Helpers to haul co"', async ({ page }) => { | |
| await page.goto('/delivery/craigslist-offerup-pickups-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book nearby Helpers to haul couches, dressers, mattresses, and other bulky finds from any online mar' || t.startsWith('Book nearby Helpers to haul couches, dressers, mattresses, and other bulky finds from any online mar'))).toBeTruthy(); | |
| }); | |
| test('delivery_craigslist_offerup_pickups_dropoffs: h3 "Millions of items have arrived"', async ({ page }) => { | |
| await page.goto('/delivery/craigslist-offerup-pickups-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Millions of items have arrived safely with Haulvio Delivery.' || t.startsWith('Millions of items have arrived safely with Haulvio Delivery.'))).toBeTruthy(); | |
| }); | |
| test('delivery_craigslist_offerup_pickups_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/craigslist-offerup-pickups-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_crate_and_barrel_delivery', () => { | |
| test('delivery_crate_and_barrel_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/crate-and-barrel-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('cedar & loom delivery'); | |
| }); | |
| test('delivery_crate_and_barrel_delivery: h1 "Cedar & Loom delivery with Hau"', async ({ page }) => { | |
| await page.goto('/delivery/crate-and-barrel-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Cedar & Loom delivery with Haulvio Delivery' || t.startsWith('Cedar & Loom delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_crate_and_barrel_delivery: h2 "Find help getting your Cedar &"', async ({ page }) => { | |
| await page.goto('/delivery/crate-and-barrel-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help getting your Cedar & Loom furniture & items home when you want them.' || t.startsWith('Find help getting your Cedar & Loom furniture & items home when you want them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_crate_and_barrel_delivery: h3 "Find moving & delivery help in"', async ({ page }) => { | |
| await page.goto('/delivery/crate-and-barrel-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find moving & delivery help in these cities' || t.startsWith('Find moving & delivery help in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_crate_and_barrel_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/crate-and-barrel-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_custom_closet_delivery', () => { | |
| test('delivery_custom_closet_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/custom-closet-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('custom closet delivery'); | |
| }); | |
| test('delivery_custom_closet_delivery: h1 "Custom closet delivery from yo"', async ({ page }) => { | |
| await page.goto('/delivery/custom-closet-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Custom closet delivery from your favorite store' || t.startsWith('Custom closet delivery from your favorite store'))).toBeTruthy(); | |
| }); | |
| test('delivery_custom_closet_delivery: h2 "We pair you with nearby driver"', async ({ page }) => { | |
| await page.goto('/delivery/custom-closet-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'We pair you with nearby drivers who handle the heavy lifting, fast and stress-free.' || t.startsWith('We pair you with nearby drivers who handle the heavy lifting, fast and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_custom_closet_delivery: h3 "Get custom closet delivery in "', async ({ page }) => { | |
| await page.goto('/delivery/custom-closet-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get custom closet delivery in these cities with Haulvio Delivery' || t.startsWith('Get custom closet delivery in these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_custom_closet_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/custom-closet-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_dallas_tx_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_dallas_tx_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/dallas--tx--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Dallas' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Dallas'))).toBeTruthy(); | |
| }); | |
| test('delivery_dallas_tx_craigslist_pickup_and_dropoffs: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/dallas--tx--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with local truck owners who get it done, fast and hassle-free.' || t.startsWith('Haulvio Delivery pairs you with local truck owners who get it done, fast and hassle-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_dallas_tx_craigslist_pickup_and_dropoffs: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/dallas--tx--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_dallas_tx_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/dallas--tx--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_dallas_tx_donation_pickup_dropoff', () => { | |
| test('delivery_dallas_tx_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/dallas--tx--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_dallas_tx_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/dallas--tx--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs in Dallas made effortless' || t.startsWith('Donation pickups and drop-offs in Dallas made effortless'))).toBeTruthy(); | |
| }); | |
| test('delivery_dallas_tx_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/dallas--tx--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who get the job done, fast and simple.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who get the job done, fast and simple.'))).toBeTruthy(); | |
| }); | |
| test('delivery_dallas_tx_donation_pickup_dropoff: h3 "Use Haulvio Delivery for every"', async ({ page }) => { | |
| await page.goto('/delivery/dallas--tx--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for every delivery and moving job you have.' || t.startsWith('Use Haulvio Delivery for every delivery and moving job you have.'))).toBeTruthy(); | |
| }); | |
| test('delivery_dallas_tx_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/dallas--tx--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_delivery_service_app', () => { | |
| test('delivery_delivery_service_app: h1 "Your on-demand app for deliver"', async ({ page }) => { | |
| await page.goto('/delivery/delivery-service-app/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Your on-demand app for delivery help' || t.startsWith('Your on-demand app for delivery help'))).toBeTruthy(); | |
| }); | |
| test('delivery_delivery_service_app: h2 "Haulvio connects you with near"', async ({ page }) => { | |
| await page.goto('/delivery/delivery-service-app/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio connects you with nearby truck owners who get every job done quickly and safely.' || t.startsWith('Haulvio connects you with nearby truck owners who get every job done quickly and safely.'))).toBeTruthy(); | |
| }); | |
| test('delivery_delivery_service_app: h2 "How it goes"', async ({ page }) => { | |
| await page.goto('/delivery/delivery-service-app/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How it goes' || t.startsWith('How it goes'))).toBeTruthy(); | |
| }); | |
| test('delivery_delivery_service_app: h3 "Book local delivery with our a"', async ({ page }) => { | |
| await page.goto('/delivery/delivery-service-app/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book local delivery with our app in these cities' || t.startsWith('Book local delivery with our app in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_delivery_service_app: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/delivery-service-app/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_denver_co_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_denver_co_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/denver--co--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Denver' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Denver'))).toBeTruthy(); | |
| }); | |
| test('delivery_denver_co_craigslist_pickup_and_dropoffs: h2 "Haulvio Delivery connects you "', async ({ page }) => { | |
| await page.goto('/delivery/denver--co--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery connects you with local truck owners who get the job done, quick and easy.' || t.startsWith('Haulvio Delivery connects you with local truck owners who get the job done, quick and easy.'))).toBeTruthy(); | |
| }); | |
| test('delivery_denver_co_craigslist_pickup_and_dropoffs: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/denver--co--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_denver_co_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/denver--co--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_denver_co_donation_pickup_dropoff', () => { | |
| test('delivery_denver_co_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/denver--co--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_denver_co_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/denver--co--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs in Denver just got much simpler' || t.startsWith('Donation pickups and drop-offs in Denver just got much simpler'))).toBeTruthy(); | |
| }); | |
| test('delivery_denver_co_donation_pickup_dropoff: h2 "Haulvio pairs you with dependa"', async ({ page }) => { | |
| await page.goto('/delivery/denver--co--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio pairs you with dependable local truck owners who handle the whole job quickly and with real' || t.startsWith('Haulvio pairs you with dependable local truck owners who handle the whole job quickly and with real'))).toBeTruthy(); | |
| }); | |
| test('delivery_denver_co_donation_pickup_dropoff: h3 "Turn to Haulvio Delivery for e"', async ({ page }) => { | |
| await page.goto('/delivery/denver--co--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Turn to Haulvio Delivery for every one of your delivery and moving needs.' || t.startsWith('Turn to Haulvio Delivery for every one of your delivery and moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_denver_co_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/denver--co--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_detroit_mi_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_detroit_mi_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/detroit--mi--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Detroit' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Detroit'))).toBeTruthy(); | |
| }); | |
| test('delivery_detroit_mi_craigslist_pickup_and_dropoffs: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/detroit--mi--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with local truck owners who get it done, fast and hassle-free.' || t.startsWith('Haulvio Delivery pairs you with local truck owners who get it done, fast and hassle-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_detroit_mi_craigslist_pickup_and_dropoffs: h3 "Turn to Haulvio Delivery for e"', async ({ page }) => { | |
| await page.goto('/delivery/detroit--mi--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Turn to Haulvio Delivery for every one of your delivery & moving needs.' || t.startsWith('Turn to Haulvio Delivery for every one of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_detroit_mi_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/detroit--mi--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_detroit_mi_donation_pickup_dropoff', () => { | |
| test('delivery_detroit_mi_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/detroit--mi--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_detroit_mi_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/detroit--mi--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs across Detroit have never been simpler' || t.startsWith('Donation pickups and drop-offs across Detroit have never been simpler'))).toBeTruthy(); | |
| }); | |
| test('delivery_detroit_mi_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/detroit--mi--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who get the job done, fast and stress-free.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who get the job done, fast and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_detroit_mi_donation_pickup_dropoff: h2 "How it flows"', async ({ page }) => { | |
| await page.goto('/delivery/detroit--mi--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How it flows' || t.startsWith('How it flows'))).toBeTruthy(); | |
| }); | |
| test('delivery_detroit_mi_donation_pickup_dropoff: h3 "Count on Haulvio Delivery for "', async ({ page }) => { | |
| await page.goto('/delivery/detroit--mi--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Count on Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Count on Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_detroit_mi_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/detroit--mi--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_direct_store_delivery', () => { | |
| test('delivery_direct_store_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/direct-store-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('direct store delivery'); | |
| }); | |
| test('delivery_direct_store_delivery: h1 "Direct store delivery when it "', async ({ page }) => { | |
| await page.goto('/delivery/direct-store-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Direct store delivery when it suits you' || t.startsWith('Direct store delivery when it suits you'))).toBeTruthy(); | |
| }); | |
| test('delivery_direct_store_delivery: h2 "Haulvio Delivery links you wit"', async ({ page }) => { | |
| await page.goto('/delivery/direct-store-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery links you with nearby truck owners who get the job done quickly and simply.' || t.startsWith('Haulvio Delivery links you with nearby truck owners who get the job done quickly and simply.'))).toBeTruthy(); | |
| }); | |
| test('delivery_direct_store_delivery: h3 "Find direct store delivery in "', async ({ page }) => { | |
| await page.goto('/delivery/direct-store-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find direct store delivery in these cities with Haulvio Delivery' || t.startsWith('Find direct store delivery in these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_direct_store_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/direct-store-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_donation_pickup_dropoff', () => { | |
| test('delivery_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('charity pickups & drop'); | |
| }); | |
| test('delivery_donation_pickup_dropoff: h1 "Giving back has never been thi"', async ({ page }) => { | |
| await page.goto('/delivery/donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Giving back has never been this simple' || t.startsWith('Giving back has never been this simple'))).toBeTruthy(); | |
| }); | |
| test('delivery_donation_pickup_dropoff: h2 "Get a hand donating used furni"', async ({ page }) => { | |
| await page.goto('/delivery/donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get a hand donating used furniture, appliances, and other bulky items. Quicker, cheaper, and far mor' || t.startsWith('Get a hand donating used furniture, appliances, and other bulky items. Quicker, cheaper, and far mor'))).toBeTruthy(); | |
| }); | |
| test('delivery_donation_pickup_dropoff: h2 "How it goes"', async ({ page }) => { | |
| await page.goto('/delivery/donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How it goes' || t.startsWith('How it goes'))).toBeTruthy(); | |
| }); | |
| test('delivery_donation_pickup_dropoff: h3 "Millions of items have been mo"', async ({ page }) => { | |
| await page.goto('/delivery/donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Millions of items have been moved with Haulvio Delivery.' || t.startsWith('Millions of items have been moved with Haulvio Delivery.'))).toBeTruthy(); | |
| }); | |
| test('delivery_donation_pickup_dropoff: nav link "Become a Haulvio Pro"', async ({ page }) => { | |
| await page.goto('/delivery/donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Become a Haulvio Pro' || t.startsWith('Become a Haulvio Pro')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('helpers')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_ethan_allen_delivery', () => { | |
| test('delivery_ethan_allen_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/ethan-allen-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('maple hollow delivery, maple hollow furn'); | |
| }); | |
| test('delivery_ethan_allen_delivery: h1 "Maple Hollow delivery with Hau"', async ({ page }) => { | |
| await page.goto('/delivery/ethan-allen-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Maple Hollow delivery with Haulvio Delivery' || t.startsWith('Maple Hollow delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_ethan_allen_delivery: h2 "Find help getting your Maple H"', async ({ page }) => { | |
| await page.goto('/delivery/ethan-allen-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help getting your Maple Hollow items home right when you want them.' || t.startsWith('Find help getting your Maple Hollow items home right when you want them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_ethan_allen_delivery: h3 "Find moving & delivery help in"', async ({ page }) => { | |
| await page.goto('/delivery/ethan-allen-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find moving & delivery help in these cities' || t.startsWith('Find moving & delivery help in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_ethan_allen_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/ethan-allen-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_fast_delivery', () => { | |
| test('delivery_fast_delivery: h1 "Delivery right when you need i"', async ({ page }) => { | |
| await page.goto('/delivery/fast-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Delivery right when you need it' || t.startsWith('Delivery right when you need it'))).toBeTruthy(); | |
| }); | |
| test('delivery_fast_delivery: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/fast-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who finish every job quickly, carefully, and saf' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who finish every job quickly, carefully, and saf'))).toBeTruthy(); | |
| }); | |
| test('delivery_fast_delivery: h3 "Find fast delivery in these ci"', async ({ page }) => { | |
| await page.goto('/delivery/fast-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find fast delivery in these cities with Haulvio Delivery' || t.startsWith('Find fast delivery in these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_fast_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/fast-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_fort_lauderdale_fl_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_fort_lauderdale_fl_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/fort-lauderdale--fl--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Fort Lauderdale' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Fort Lauderdale'))).toBeTruthy(); | |
| }); | |
| test('delivery_fort_lauderdale_fl_craigslist_pickup_and_dropoffs: h2 "Haulvio Delivery connects you "', async ({ page }) => { | |
| await page.goto('/delivery/fort-lauderdale--fl--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery connects you with local truck owners who get the job done, quick and easy.' || t.startsWith('Haulvio Delivery connects you with local truck owners who get the job done, quick and easy.'))).toBeTruthy(); | |
| }); | |
| test('delivery_fort_lauderdale_fl_craigslist_pickup_and_dropoffs: h3 "Turn to Haulvio Delivery for e"', async ({ page }) => { | |
| await page.goto('/delivery/fort-lauderdale--fl--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Turn to Haulvio Delivery for every one of your delivery & moving needs.' || t.startsWith('Turn to Haulvio Delivery for every one of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_fort_lauderdale_fl_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/fort-lauderdale--fl--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_fort_lauderdale_fl_donation_pickup_dropoff', () => { | |
| test('delivery_fort_lauderdale_fl_donation_pickup_dropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/fort-lauderdale--fl--donation-pickup-dropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donation pickups and drop'); | |
| }); | |
| test('delivery_fort_lauderdale_fl_donation_pickup_dropoff: h1 "Donation pickups and drop-offs"', async ({ page }) => { | |
| await page.goto('/delivery/fort-lauderdale--fl--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donation pickups and drop-offs in Fort Lauderdale have never been simpler' || t.startsWith('Donation pickups and drop-offs in Fort Lauderdale have never been simpler'))).toBeTruthy(); | |
| }); | |
| test('delivery_fort_lauderdale_fl_donation_pickup_dropoff: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/fort-lauderdale--fl--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who finish the job fast and hassle-free.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who finish the job fast and hassle-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_fort_lauderdale_fl_donation_pickup_dropoff: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/fort-lauderdale--fl--donation-pickup-dropoff/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_fort_lauderdale_fl_donation_pickup_dropoff: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/fort-lauderdale--fl--donation-pickup-dropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_furniture_delivery', () => { | |
| test('delivery_furniture_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/furniture-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('furniture delivery & moving, on demand'); | |
| }); | |
| test('delivery_furniture_delivery: h1 "Furniture delivery on your sch"', async ({ page }) => { | |
| await page.goto('/delivery/furniture-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Furniture delivery on your schedule' || t.startsWith('Furniture delivery on your schedule'))).toBeTruthy(); | |
| }); | |
| test('delivery_furniture_delivery: h2 "Haulvio pairs you with dependa"', async ({ page }) => { | |
| await page.goto('/delivery/furniture-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio pairs you with dependable local truck owners who handle the heavy lifting so the whole thing' || t.startsWith('Haulvio pairs you with dependable local truck owners who handle the heavy lifting so the whole thing'))).toBeTruthy(); | |
| }); | |
| test('delivery_furniture_delivery: h3 "Find on-demand furniture deliv"', async ({ page }) => { | |
| await page.goto('/delivery/furniture-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find on-demand furniture delivery in cities nationwide' || t.startsWith('Find on-demand furniture delivery in cities nationwide'))).toBeTruthy(); | |
| }); | |
| test('delivery_furniture_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/furniture-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_goodwill_furniture_delivery', () => { | |
| test('delivery_goodwill_furniture_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/goodwill-furniture-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('thrift store furniture delivery'); | |
| }); | |
| test('delivery_goodwill_furniture_delivery: h1 "Thrift store furniture deliver"', async ({ page }) => { | |
| await page.goto('/delivery/goodwill-furniture-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Thrift store furniture delivery with Haulvio Delivery' || t.startsWith('Thrift store furniture delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_goodwill_furniture_delivery: h2 "Find help bringing your thrift"', async ({ page }) => { | |
| await page.goto('/delivery/goodwill-furniture-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help bringing your thrift store furniture & finds home when you want them.' || t.startsWith('Find help bringing your thrift store furniture & finds home when you want them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_goodwill_furniture_delivery: h3 "Book moving & delivery help ac"', async ({ page }) => { | |
| await page.goto('/delivery/goodwill-furniture-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book moving & delivery help across these cities' || t.startsWith('Book moving & delivery help across these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_goodwill_furniture_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/goodwill-furniture-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_gym_equipment_delivery', () => { | |
| test('delivery_gym_equipment_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/gym-equipment-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('gym equipment delivery'); | |
| }); | |
| test('delivery_gym_equipment_delivery: h1 "Gym equipment delivery with Ha"', async ({ page }) => { | |
| await page.goto('/delivery/gym-equipment-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Gym equipment delivery with Haulvio Delivery' || t.startsWith('Gym equipment delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_gym_equipment_delivery: h2 "Haulvio Delivery helps you mov"', async ({ page }) => { | |
| await page.goto('/delivery/gym-equipment-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery helps you move or deliver your gym equipment safely, quickly, and without stretchin' || t.startsWith('Haulvio Delivery helps you move or deliver your gym equipment safely, quickly, and without stretchin'))).toBeTruthy(); | |
| }); | |
| test('delivery_gym_equipment_delivery: h3 "Get Gym equipment delivery in "', async ({ page }) => { | |
| await page.goto('/delivery/gym-equipment-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get Gym equipment delivery in these cities with Haulvio Delivery' || t.startsWith('Get Gym equipment delivery in these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_gym_equipment_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/gym-equipment-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_hardware_delivery', () => { | |
| test('delivery_hardware_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/hardware-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('hardware delivery'); | |
| }); | |
| test('delivery_hardware_delivery: h1 "Hardware delivery when it suit"', async ({ page }) => { | |
| await page.goto('/delivery/hardware-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Hardware delivery when it suits you' || t.startsWith('Hardware delivery when it suits you'))).toBeTruthy(); | |
| }); | |
| test('delivery_hardware_delivery: h2 "Haulvio Delivery links you wit"', async ({ page }) => { | |
| await page.goto('/delivery/hardware-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery links you with nearby truck owners who handle the job, fast and hassle-free.' || t.startsWith('Haulvio Delivery links you with nearby truck owners who handle the job, fast and hassle-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_hardware_delivery: h3 "Find hardware delivery in thes"', async ({ page }) => { | |
| await page.goto('/delivery/hardware-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find hardware delivery in these cities with Haulvio Delivery' || t.startsWith('Find hardware delivery in these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_hardware_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/hardware-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_hartford_ct_craigslist_pickup_and_dropoffs', () => { | |
| test('delivery_hartford_ct_craigslist_pickup_and_dropoffs: h1 "On-demand, safe Trovana pickup"', async ({ page }) => { | |
| await page.goto('/delivery/hartford--ct--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand, safe Trovana pickups & drop-offs in Hartford' || t.startsWith('On-demand, safe Trovana pickups & drop-offs in Hartford'))).toBeTruthy(); | |
| }); | |
| test('delivery_hartford_ct_craigslist_pickup_and_dropoffs: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/hartford--ct--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who get the job done fast and hassle-free.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who get the job done fast and hassle-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_hartford_ct_craigslist_pickup_and_dropoffs: h3 "Use Haulvio Delivery for all o"', async ({ page }) => { | |
| await page.goto('/delivery/hartford--ct--craigslist-pickup-and-dropoffs/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for all of your delivery & moving needs.' || t.startsWith('Use Haulvio Delivery for all of your delivery & moving needs.'))).toBeTruthy(); | |
| }); | |
| test('delivery_hartford_ct_craigslist_pickup_and_dropoffs: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/hartford--ct--craigslist-pickup-and-dropoffs/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_helpersignup', () => { | |
| test('delivery_helpersignup: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/helpersignup/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('haulvio delivery'); | |
| }); | |
| test('delivery_helpersignup: h1 "Earn an average of \$50/hr with"', async ({ page }) => { | |
| await page.goto('/delivery/helpersignup/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Earn an average of \$50/hr with Haulvio Delivery!' || t.startsWith('Earn an average of \$50/hr with Haulvio Delivery!'))).toBeTruthy(); | |
| }); | |
| test('delivery_helpersignup: h2 "Thanks for your interest in Ha"', async ({ page }) => { | |
| await page.goto('/delivery/helpersignup/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Thanks for your interest in Haulvio Delivery!' || t.startsWith('Thanks for your interest in Haulvio Delivery!'))).toBeTruthy(); | |
| }); | |
| test('delivery_helpersignup: h2 "Haulvio delivery helper requir"', async ({ page }) => { | |
| await page.goto('/delivery/helpersignup/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio delivery helper requirements' || t.startsWith('Haulvio delivery helper requirements'))).toBeTruthy(); | |
| }); | |
| test('delivery_helpersignup: h3 "Need help?"', async ({ page }) => { | |
| await page.goto('/delivery/helpersignup/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Need help?' || t.startsWith('Need help?'))).toBeTruthy(); | |
| }); | |
| test('delivery_helpersignup: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/helpersignup/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_junk_removal', () => { | |
| test('delivery_junk_removal: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/junk-removal/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('book junk removal & hauling help'); | |
| }); | |
| test('delivery_junk_removal: h1 "Clearing out junk just got sim"', async ({ page }) => { | |
| await page.goto('/delivery/junk-removal/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Clearing out junk just got simpler' || t.startsWith('Clearing out junk just got simpler'))).toBeTruthy(); | |
| }); | |
| test('delivery_junk_removal: h2 "Get help hauling away old furn"', async ({ page }) => { | |
| await page.goto('/delivery/junk-removal/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help hauling away old furniture, appliances, and whatever else piles up. Quicker, easier, and li' || t.startsWith('Get help hauling away old furniture, appliances, and whatever else piles up. Quicker, easier, and li'))).toBeTruthy(); | |
| }); | |
| test('delivery_junk_removal: h2 "The process"', async ({ page }) => { | |
| await page.goto('/delivery/junk-removal/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'The process' || t.startsWith('The process'))).toBeTruthy(); | |
| }); | |
| test('delivery_junk_removal: h3 "Haulvio Delivery has helped mo"', async ({ page }) => { | |
| await page.goto('/delivery/junk-removal/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery has helped move millions of items safely.' || t.startsWith('Haulvio Delivery has helped move millions of items safely.'))).toBeTruthy(); | |
| }); | |
| test('delivery_junk_removal: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/junk-removal/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_labor_only_moves', () => { | |
| test('delivery_labor_only_moves: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/labor-only-moves/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('book movers'); | |
| }); | |
| test('delivery_labor_only_moves: h1 "Heavy lifting just got a lot s"', async ({ page }) => { | |
| await page.goto('/delivery/labor-only-moves/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Heavy lifting just got a lot simpler' || t.startsWith('Heavy lifting just got a lot simpler'))).toBeTruthy(); | |
| }); | |
| test('delivery_labor_only_moves: h2 "Skip the strain. Get help movi"', async ({ page }) => { | |
| await page.goto('/delivery/labor-only-moves/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Skip the strain. Get help moving and disassembling furniture and other bulky items — more convenient' || t.startsWith('Skip the strain. Get help moving and disassembling furniture and other bulky items — more convenient'))).toBeTruthy(); | |
| }); | |
| test('delivery_labor_only_moves: h2 "How we help"', async ({ page }) => { | |
| await page.goto('/delivery/labor-only-moves/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How we help' || t.startsWith('How we help'))).toBeTruthy(); | |
| }); | |
| test('delivery_labor_only_moves: h3 "Haulvio has been trusted to mo"', async ({ page }) => { | |
| await page.goto('/delivery/labor-only-moves/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio has been trusted to move millions of items with real care.' || t.startsWith('Haulvio has been trusted to move millions of items with real care.'))).toBeTruthy(); | |
| }); | |
| test('delivery_labor_only_moves: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/labor-only-moves/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_mini_and_small_moves', () => { | |
| test('delivery_mini_and_small_moves: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/mini-and-small-moves/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('get movers'); | |
| }); | |
| test('delivery_mini_and_small_moves: h1 "Mini & small moves have never "', async ({ page }) => { | |
| await page.goto('/delivery/mini-and-small-moves/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Mini & small moves have never been simpler' || t.startsWith('Mini & small moves have never been simpler'))).toBeTruthy(); | |
| }); | |
| test('delivery_mini_and_small_moves: h2 "Haulvio Delivery is the perfec"', async ({ page }) => { | |
| await page.goto('/delivery/mini-and-small-moves/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery is the perfect way to move one item or just a handful! Get help moving furniture li' || t.startsWith('Haulvio Delivery is the perfect way to move one item or just a handful! Get help moving furniture li'))).toBeTruthy(); | |
| }); | |
| test('delivery_mini_and_small_moves: h2 "How this works"', async ({ page }) => { | |
| await page.goto('/delivery/mini-and-small-moves/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How this works' || t.startsWith('How this works'))).toBeTruthy(); | |
| }); | |
| test('delivery_mini_and_small_moves: h3 "Haulvio Delivery has earned tr"', async ({ page }) => { | |
| await page.goto('/delivery/mini-and-small-moves/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery has earned trust moving millions of items safely.' || t.startsWith('Haulvio Delivery has earned trust moving millions of items safely.'))).toBeTruthy(); | |
| }); | |
| test('delivery_mini_and_small_moves: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/mini-and-small-moves/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_retail_delivery', () => { | |
| test('delivery_retail_delivery: h1 "On-demand & same-day store del"', async ({ page }) => { | |
| await page.goto('/delivery/retail-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand & same-day store delivery' || t.startsWith('On-demand & same-day store delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_retail_delivery: h2 "Find help moving grills, patio"', async ({ page }) => { | |
| await page.goto('/delivery/retail-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help moving grills, patio furniture, couches and other bulky purchases. More convenient, quicke' || t.startsWith('Find help moving grills, patio furniture, couches and other bulky purchases. More convenient, quicke'))).toBeTruthy(); | |
| }); | |
| test('delivery_retail_delivery: h2 "How we help"', async ({ page }) => { | |
| await page.goto('/delivery/retail-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How we help' || t.startsWith('How we help'))).toBeTruthy(); | |
| }); | |
| test('delivery_retail_delivery: h3 "Use Haulvio Delivery for deliv"', async ({ page }) => { | |
| await page.goto('/delivery/retail-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery for delivery, moving and hauling' || t.startsWith('Use Haulvio Delivery for delivery, moving and hauling'))).toBeTruthy(); | |
| }); | |
| test('delivery_retail_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/retail-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_small_business_move', () => { | |
| test('delivery_small_business_move: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/small-business-move/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('find moving help'); | |
| }); | |
| test('delivery_small_business_move: h1 "Moving your business has never"', async ({ page }) => { | |
| await page.goto('/delivery/small-business-move/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Moving your business has never felt this simple' || t.startsWith('Moving your business has never felt this simple'))).toBeTruthy(); | |
| }); | |
| test('delivery_small_business_move: h2 "Get a hand moving desks, chair"', async ({ page }) => { | |
| await page.goto('/delivery/small-business-move/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get a hand moving desks, chairs, shelves, and everything else. Quicker, simpler, and lighter on your' || t.startsWith('Get a hand moving desks, chairs, shelves, and everything else. Quicker, simpler, and lighter on your'))).toBeTruthy(); | |
| }); | |
| test('delivery_small_business_move: h3 "Haulvio Delivery has been trus"', async ({ page }) => { | |
| await page.goto('/delivery/small-business-move/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery has been trusted to move millions of items.' || t.startsWith('Haulvio Delivery has been trusted to move millions of items.'))).toBeTruthy(); | |
| }); | |
| test('delivery_small_business_move: nav link "Our Help"', async ({ page }) => { | |
| await page.goto('/delivery/small-business-move/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Our Help' || t.startsWith('Our Help')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('services')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_small_business_move: nav link "Work With Us"', async ({ page }) => { | |
| await page.goto('/delivery/small-business-move/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Work With Us' || t.startsWith('Work With Us')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('partners')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_small_business_move: nav link "Get help"', async ({ page }) => { | |
| await page.goto('/delivery/small-business-move/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help' || t.startsWith('Get help')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_storage_moves', () => { | |
| test('delivery_storage_moves: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/storage-moves/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('storage & moving help near you'); | |
| }); | |
| test('delivery_storage_moves: h1 "Getting things in and out of s"', async ({ page }) => { | |
| await page.goto('/delivery/storage-moves/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Getting things in and out of storage just got simpler' || t.startsWith('Getting things in and out of storage just got simpler'))).toBeTruthy(); | |
| }); | |
| test('delivery_storage_moves: h2 "Book a Helper to load and unlo"', async ({ page }) => { | |
| await page.goto('/delivery/storage-moves/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book a Helper to load and unload boxes and bulky items for you. It\'s faster, easier on your budget,' || t.startsWith('Book a Helper to load and unload boxes and bulky items for you. It\'s faster, easier on your budget,'))).toBeTruthy(); | |
| }); | |
| test('delivery_storage_moves: h2 "How we help"', async ({ page }) => { | |
| await page.goto('/delivery/storage-moves/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How we help' || t.startsWith('How we help'))).toBeTruthy(); | |
| }); | |
| test('delivery_storage_moves: h3 "Haulvio has been trusted to mo"', async ({ page }) => { | |
| await page.goto('/delivery/storage-moves/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio has been trusted to move millions of items with care.' || t.startsWith('Haulvio has been trusted to move millions of items with care.'))).toBeTruthy(); | |
| }); | |
| test('delivery_storage_moves: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/storage-moves/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_help_moving_furniture', () => { | |
| test('delivery_help_moving_furniture: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/help-moving-furniture/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('furniture moving help whenever you need '); | |
| }); | |
| test('delivery_help_moving_furniture: h1 "Furniture moving help right wh"', async ({ page }) => { | |
| await page.goto('/delivery/help-moving-furniture/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Furniture moving help right when you need it' || t.startsWith('Furniture moving help right when you need it'))).toBeTruthy(); | |
| }); | |
| test('delivery_help_moving_furniture: h2 "Haulvio Delivery links you up "', async ({ page }) => { | |
| await page.goto('/delivery/help-moving-furniture/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery links you up with local truck owners who get the job done fast and stress-free.' || t.startsWith('Haulvio Delivery links you up with local truck owners who get the job done fast and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_help_moving_furniture: h3 "Find furniture moving help in "', async ({ page }) => { | |
| await page.goto('/delivery/help-moving-furniture/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find furniture moving help in these cities with Haulvio Delivery' || t.startsWith('Find furniture moving help in these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_help_moving_furniture: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/help-moving-furniture/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_ikea_delivery', () => { | |
| test('delivery_ikea_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/ikea-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('furniture delivery'); | |
| }); | |
| test('delivery_ikea_delivery: h1 "Furniture home delivery with H"', async ({ page }) => { | |
| await page.goto('/delivery/ikea-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Furniture home delivery with Haulvio Delivery' || t.startsWith('Furniture home delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_ikea_delivery: h2 "Find help getting your new fur"', async ({ page }) => { | |
| await page.goto('/delivery/ikea-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help getting your new furniture home whenever you need it.' || t.startsWith('Find help getting your new furniture home whenever you need it.'))).toBeTruthy(); | |
| }); | |
| test('delivery_ikea_delivery: h3 "Find moving & delivery help in"', async ({ page }) => { | |
| await page.goto('/delivery/ikea-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find moving & delivery help in these cities' || t.startsWith('Find moving & delivery help in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_ikea_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/ikea-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_lowes_home_delivery', () => { | |
| test('delivery_lowes_home_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/lowes-home-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('store delivery and appliance delivery to'); | |
| }); | |
| test('delivery_lowes_home_delivery: h1 "Store delivery, powered by Hau"', async ({ page }) => { | |
| await page.goto('/delivery/lowes-home-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Store delivery, powered by Haulvio Delivery' || t.startsWith('Store delivery, powered by Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_lowes_home_delivery: h2 "Find help bringing your store "', async ({ page }) => { | |
| await page.goto('/delivery/lowes-home-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help bringing your store purchases home, exactly when you need them.' || t.startsWith('Find help bringing your store purchases home, exactly when you need them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_lowes_home_delivery: h3 "Find moving & delivery Helpers"', async ({ page }) => { | |
| await page.goto('/delivery/lowes-home-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find moving & delivery Helpers in these cities' || t.startsWith('Find moving & delivery Helpers in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_lowes_home_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/lowes-home-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_lumber_hauling_delivery', () => { | |
| test('delivery_lumber_hauling_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/lumber-hauling-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('lumber hauling & delivery'); | |
| }); | |
| test('delivery_lumber_hauling_delivery: h1 "Lumber hauling & delivery with"', async ({ page }) => { | |
| await page.goto('/delivery/lumber-hauling-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Lumber hauling & delivery with Haulvio Delivery' || t.startsWith('Lumber hauling & delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_lumber_hauling_delivery: h2 "Haulvio Delivery helps you hau"', async ({ page }) => { | |
| await page.goto('/delivery/lumber-hauling-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery helps you haul and deliver lumber safely, quickly, and at a price you can truly aff' || t.startsWith('Haulvio Delivery helps you haul and deliver lumber safely, quickly, and at a price you can truly aff'))).toBeTruthy(); | |
| }); | |
| test('delivery_lumber_hauling_delivery: h3 "Get Lumber hauling & delivery "', async ({ page }) => { | |
| await page.goto('/delivery/lumber-hauling-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get Lumber hauling & delivery in these cities with Haulvio Delivery' || t.startsWith('Get Lumber hauling & delivery in these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_lumber_hauling_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/lumber-hauling-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_mattress_donation', () => { | |
| test('delivery_mattress_donation: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/mattress-donation/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('donate a mattress on your own timeline'); | |
| }); | |
| test('delivery_mattress_donation: h1 "Donate or drop off a mattress "', async ({ page }) => { | |
| await page.goto('/delivery/mattress-donation/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Donate or drop off a mattress on your timeline' || t.startsWith('Donate or drop off a mattress on your timeline'))).toBeTruthy(); | |
| }); | |
| test('delivery_mattress_donation: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/mattress-donation/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who finish the job fast and stress-free.' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who finish the job fast and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_mattress_donation: h3 "Find mattress donation help ac"', async ({ page }) => { | |
| await page.goto('/delivery/mattress-donation/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find mattress donation help across these cities' || t.startsWith('Find mattress donation help across these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_mattress_donation: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/mattress-donation/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_mattress_movers', () => { | |
| test('delivery_mattress_movers: h1 "Mattress movers on your schedu"', async ({ page }) => { | |
| await page.goto('/delivery/mattress-movers/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Mattress movers on your schedule' || t.startsWith('Mattress movers on your schedule'))).toBeTruthy(); | |
| }); | |
| test('delivery_mattress_movers: h2 "Haulvio connects you with near"', async ({ page }) => { | |
| await page.goto('/delivery/mattress-movers/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio connects you with nearby truck owners who handle the job quickly and make it feel effortless' || t.startsWith('Haulvio connects you with nearby truck owners who handle the job quickly and make it feel effortless'))).toBeTruthy(); | |
| }); | |
| test('delivery_mattress_movers: h3 "Find mattress movers in these "', async ({ page }) => { | |
| await page.goto('/delivery/mattress-movers/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find mattress movers in these cities with Haulvio Delivery today' || t.startsWith('Find mattress movers in these cities with Haulvio Delivery today'))).toBeTruthy(); | |
| }); | |
| test('delivery_mattress_movers: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/mattress-movers/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_move_furniture', () => { | |
| test('delivery_move_furniture: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/move-furniture/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('get furniture moved on your schedule'); | |
| }); | |
| test('delivery_move_furniture: h1 "Get furniture moved on your ow"', async ({ page }) => { | |
| await page.goto('/delivery/move-furniture/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get furniture moved on your own schedule with Haulvio Delivery' || t.startsWith('Get furniture moved on your own schedule with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_move_furniture: h2 "Haulvio Delivery links you wit"', async ({ page }) => { | |
| await page.goto('/delivery/move-furniture/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery links you with nearby truck owners who finish the job fast and stress-free.' || t.startsWith('Haulvio Delivery links you with nearby truck owners who finish the job fast and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_move_furniture: h3 "Move furniture across these ci"', async ({ page }) => { | |
| await page.goto('/delivery/move-furniture/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Move furniture across these cities with Haulvio Delivery' || t.startsWith('Move furniture across these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_move_furniture: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/move-furniture/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_move_washer_and_dryer', () => { | |
| test('delivery_move_washer_and_dryer: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/move-washer-and-dryer/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('move a washer & dryer'); | |
| }); | |
| test('delivery_move_washer_and_dryer: h1 "Move your washer & dryer when "', async ({ page }) => { | |
| await page.goto('/delivery/move-washer-and-dryer/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Move your washer & dryer when it suits you' || t.startsWith('Move your washer & dryer when it suits you'))).toBeTruthy(); | |
| }); | |
| test('delivery_move_washer_and_dryer: h2 "Haulvio Delivery links you up "', async ({ page }) => { | |
| await page.goto('/delivery/move-washer-and-dryer/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery links you up with nearby truck owners who show up ready and get the job done fast.' || t.startsWith('Haulvio Delivery links you up with nearby truck owners who show up ready and get the job done fast.'))).toBeTruthy(); | |
| }); | |
| test('delivery_move_washer_and_dryer: h3 "Get a hand moving your washer "', async ({ page }) => { | |
| await page.goto('/delivery/move-washer-and-dryer/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get a hand moving your washer & dryer in these cities with Haulvio Delivery' || t.startsWith('Get a hand moving your washer & dryer in these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_move_washer_and_dryer: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/move-washer-and-dryer/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_move_without_car', () => { | |
| test('delivery_move_without_car: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/move-without-car/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('move without a car'); | |
| }); | |
| test('delivery_move_without_car: h1 "The simplest way to move witho"', async ({ page }) => { | |
| await page.goto('/delivery/move-without-car/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'The simplest way to move without a car' || t.startsWith('The simplest way to move without a car'))).toBeTruthy(); | |
| }); | |
| test('delivery_move_without_car: h2 "We match you with nearby truck"', async ({ page }) => { | |
| await page.goto('/delivery/move-without-car/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'We match you with nearby truck owners who handle the heavy lifting, fast and stress-free.' || t.startsWith('We match you with nearby truck owners who handle the heavy lifting, fast and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_move_without_car: h3 "Move without a car in these ci"', async ({ page }) => { | |
| await page.goto('/delivery/move-without-car/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Move without a car in these cities with Haulvio Delivery' || t.startsWith('Move without a car in these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_move_without_car: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/move-without-car/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_moving_alone', () => { | |
| test('delivery_moving_alone: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/moving-alone/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('moving alone'); | |
| }); | |
| test('delivery_moving_alone: h1 "Moving on your own, made effor"', async ({ page }) => { | |
| await page.goto('/delivery/moving-alone/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Moving on your own, made effortless' || t.startsWith('Moving on your own, made effortless'))).toBeTruthy(); | |
| }); | |
| test('delivery_moving_alone: h2 "Haulvio Delivery pairs you wit"', async ({ page }) => { | |
| await page.goto('/delivery/moving-alone/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery pairs you with nearby truck owners who show up ready to lift and load, quick and ea' || t.startsWith('Haulvio Delivery pairs you with nearby truck owners who show up ready to lift and load, quick and ea'))).toBeTruthy(); | |
| }); | |
| test('delivery_moving_alone: h3 "Moving on your own is a breeze"', async ({ page }) => { | |
| await page.goto('/delivery/moving-alone/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Moving on your own is a breeze in all of these cities with Haulvio Delivery' || t.startsWith('Moving on your own is a breeze in all of these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_moving_alone: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/moving-alone/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_moving_help', () => { | |
| test('delivery_moving_help: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/moving-help/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('moving help, whenever you need it'); | |
| }); | |
| test('delivery_moving_help: h1 "Get the moving help you need w"', async ({ page }) => { | |
| await page.goto('/delivery/moving-help/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get the moving help you need with Haulvio Delivery' || t.startsWith('Get the moving help you need with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_moving_help: h2 "Haulvio Delivery links you wit"', async ({ page }) => { | |
| await page.goto('/delivery/moving-help/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery links you with nearby truck owners who get the job done, fast and stress-free.' || t.startsWith('Haulvio Delivery links you with nearby truck owners who get the job done, fast and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_moving_help: h2 "How it works"', async ({ page }) => { | |
| await page.goto('/delivery/moving-help/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How it works' || t.startsWith('How it works'))).toBeTruthy(); | |
| }); | |
| test('delivery_moving_help: h3 "Get moving & delivery help wit"', async ({ page }) => { | |
| await page.goto('/delivery/moving-help/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get moving & delivery help with Haulvio Delivery in these cities' || t.startsWith('Get moving & delivery help with Haulvio Delivery in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_moving_help: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/moving-help/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_moving_pod_loading_help', () => { | |
| test('delivery_moving_pod_loading_help: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/moving-pod-loading-help/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('portable storage & moving container load'); | |
| }); | |
| test('delivery_moving_pod_loading_help: h2 "Haulvio Delivery connects you "', async ({ page }) => { | |
| await page.goto('/delivery/moving-pod-loading-help/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery connects you with helpers who load your portable storage container fast and for a f' || t.startsWith('Haulvio Delivery connects you with helpers who load your portable storage container fast and for a f'))).toBeTruthy(); | |
| }); | |
| test('delivery_moving_pod_loading_help: h3 "Find portable storage & moving"', async ({ page }) => { | |
| await page.goto('/delivery/moving-pod-loading-help/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find portable storage & moving container loading help across these cities with Haulvio Delivery' || t.startsWith('Find portable storage & moving container loading help across these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_moving_pod_loading_help: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/moving-pod-loading-help/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_no_contact_delivery', () => { | |
| test('delivery_no_contact_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/no-contact-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('contactless curbside delivery & pickup s'); | |
| }); | |
| test('delivery_no_contact_delivery: h2 "Rely on Haulvio Delivery to ga"', async ({ page }) => { | |
| await page.goto('/delivery/no-contact-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rely on Haulvio Delivery to gather, pick up, and drop off the essentials you need safely, affordably' || t.startsWith('Rely on Haulvio Delivery to gather, pick up, and drop off the essentials you need safely, affordably'))).toBeTruthy(); | |
| }); | |
| test('delivery_no_contact_delivery: h3 "Get contactless curbside deliv"', async ({ page }) => { | |
| await page.goto('/delivery/no-contact-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get contactless curbside delivery & pickup service in these cities with Haulvio Delivery' || t.startsWith('Get contactless curbside delivery & pickup service in these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_no_contact_delivery: nav link "Get Help"', async ({ page }) => { | |
| await page.goto('/delivery/no-contact-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get Help' || t.startsWith('Get Help')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('services')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_no_contact_delivery: nav link "For Partners"', async ({ page }) => { | |
| await page.goto('/delivery/no-contact-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'For Partners' || t.startsWith('For Partners')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('partners')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_no_contact_delivery: nav link "Start Earning Today"', async ({ page }) => { | |
| await page.goto('/delivery/no-contact-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Start Earning Today' || t.startsWith('Start Earning Today')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('helpers')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_no_contact_delivery: nav link "Book Help"', async ({ page }) => { | |
| await page.goto('/delivery/no-contact-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book Help' || t.startsWith('Book Help')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_pick_up_service', () => { | |
| test('delivery_pick_up_service: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/pick-up-service/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('budget'); | |
| }); | |
| test('delivery_pick_up_service: h1 "Budget-friendly pick-up servic"', async ({ page }) => { | |
| await page.goto('/delivery/pick-up-service/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Budget-friendly pick-up service the moment you need it' || t.startsWith('Budget-friendly pick-up service the moment you need it'))).toBeTruthy(); | |
| }); | |
| test('delivery_pick_up_service: h2 "Find nearby helpers for delive"', async ({ page }) => { | |
| await page.goto('/delivery/pick-up-service/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find nearby helpers for deliveries, donation runs, and junk hauling—often same-day!' || t.startsWith('Find nearby helpers for deliveries, donation runs, and junk hauling—often same-day!'))).toBeTruthy(); | |
| }); | |
| test('delivery_pick_up_service: h3 "Retail Store Delivery"', async ({ page }) => { | |
| await page.goto('/delivery/pick-up-service/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Retail Store Delivery' || t.startsWith('Retail Store Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_pick_up_service: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/pick-up-service/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_pickup_truck_rental', () => { | |
| test('delivery_pickup_truck_rental: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/pickup-truck-rental/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('skip the pickup truck rental line'); | |
| }); | |
| test('delivery_pickup_truck_rental: h1 "Haulvio Delivery: a smarter wa"', async ({ page }) => { | |
| await page.goto('/delivery/pickup-truck-rental/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery: a smarter way to skip renting a pickup truck' || t.startsWith('Haulvio Delivery: a smarter way to skip renting a pickup truck'))).toBeTruthy(); | |
| }); | |
| test('delivery_pickup_truck_rental: h2 "We pair you with nearby truck "', async ({ page }) => { | |
| await page.goto('/delivery/pickup-truck-rental/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'We pair you with nearby truck owners who finish the job fast and treat your things with care.' || t.startsWith('We pair you with nearby truck owners who finish the job fast and treat your things with care.'))).toBeTruthy(); | |
| }); | |
| test('delivery_pickup_truck_rental: h3 "Find Haulvio Delivery services"', async ({ page }) => { | |
| await page.goto('/delivery/pickup-truck-rental/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find Haulvio Delivery services in these cities' || t.startsWith('Find Haulvio Delivery services in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_pickup_truck_rental: nav link "Drive for Haulvio"', async ({ page }) => { | |
| await page.goto('/delivery/pickup-truck-rental/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Drive for Haulvio' || t.startsWith('Drive for Haulvio')), 'link text in nav').toBeTruthy(); | |
| const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); | |
| expect(hrefs.some(h => h.includes('helpers')), 'href fragment present').toBeTruthy(); | |
| }); | |
| test('delivery_pickup_truck_rental: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/pickup-truck-rental/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_refrigerator_mover', () => { | |
| test('delivery_refrigerator_mover: h1 "Book refrigerator movers aroun"', async ({ page }) => { | |
| await page.goto('/delivery/refrigerator-mover/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book refrigerator movers around your day' || t.startsWith('Book refrigerator movers around your day'))).toBeTruthy(); | |
| }); | |
| test('delivery_refrigerator_mover: h2 "Haulvio pairs you with nearby "', async ({ page }) => { | |
| await page.goto('/delivery/refrigerator-mover/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio pairs you with nearby truck owners who get your fridge moved fast, easy, and stress-free.' || t.startsWith('Haulvio pairs you with nearby truck owners who get your fridge moved fast, easy, and stress-free.'))).toBeTruthy(); | |
| }); | |
| test('delivery_refrigerator_mover: h3 "Book refrigerator movers acros"', async ({ page }) => { | |
| await page.goto('/delivery/refrigerator-mover/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book refrigerator movers across these cities with Haulvio Delivery' || t.startsWith('Book refrigerator movers across these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_refrigerator_mover: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/refrigerator-mover/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_rent_pickup_truck_for_moving', () => { | |
| test('delivery_rent_pickup_truck_for_moving: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/rent-pickup-truck-for-moving/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rent a pickup truck for moving'); | |
| }); | |
| test('delivery_rent_pickup_truck_for_moving: h1 "Haulvio Delivery: the smart al"', async ({ page }) => { | |
| await page.goto('/delivery/rent-pickup-truck-for-moving/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery: the smart alternative to pickup truck rental when you move' || t.startsWith('Haulvio Delivery: the smart alternative to pickup truck rental when you move'))).toBeTruthy(); | |
| }); | |
| test('delivery_rent_pickup_truck_for_moving: h2 "We pair you with nearby truck "', async ({ page }) => { | |
| await page.goto('/delivery/rent-pickup-truck-for-moving/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'We pair you with nearby truck owners who handle the whole job, fast and simple.' || t.startsWith('We pair you with nearby truck owners who handle the whole job, fast and simple.'))).toBeTruthy(); | |
| }); | |
| test('delivery_rent_pickup_truck_for_moving: h3 "Find the best alternative to p"', async ({ page }) => { | |
| await page.goto('/delivery/rent-pickup-truck-for-moving/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find the best alternative to pickup truck rental in all of these cities with Haulvio Delivery' || t.startsWith('Find the best alternative to pickup truck rental in all of these cities with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_rent_pickup_truck_for_moving: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/rent-pickup-truck-for-moving/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_restoration_hardware_delivery', () => { | |
| test('delivery_restoration_hardware_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/restoration-hardware-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('ashford home delivery'); | |
| }); | |
| test('delivery_restoration_hardware_delivery: h1 "Ashford Home furniture deliver"', async ({ page }) => { | |
| await page.goto('/delivery/restoration-hardware-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Ashford Home furniture delivery with Haulvio Delivery' || t.startsWith('Ashford Home furniture delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_restoration_hardware_delivery: h2 "Find help bringing your Ashfor"', async ({ page }) => { | |
| await page.goto('/delivery/restoration-hardware-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find help bringing your Ashford Home furniture & pieces home right when you want them.' || t.startsWith('Find help bringing your Ashford Home furniture & pieces home right when you want them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_restoration_hardware_delivery: h3 "Find moving & delivery help in"', async ({ page }) => { | |
| await page.goto('/delivery/restoration-hardware-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Find moving & delivery help in these cities' || t.startsWith('Find moving & delivery help in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_restoration_hardware_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/restoration-hardware-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_uber_for_moving', () => { | |
| test('delivery_uber_for_moving: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/uber-for-moving/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('like ride'); | |
| }); | |
| test('delivery_uber_for_moving: h1 "On-demand moving app Haulvio D"', async ({ page }) => { | |
| await page.goto('/delivery/uber-for-moving/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'On-demand moving app Haulvio Delivery—like ride-hailing for moving' || t.startsWith('On-demand moving app Haulvio Delivery—like ride-hailing for moving'))).toBeTruthy(); | |
| }); | |
| test('delivery_uber_for_moving: h2 "Haulvio Delivery links you up "', async ({ page }) => { | |
| await page.goto('/delivery/uber-for-moving/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Haulvio Delivery links you up with nearby truck owners who show up on time and finish the job fast.' || t.startsWith('Haulvio Delivery links you up with nearby truck owners who show up on time and finish the job fast.'))).toBeTruthy(); | |
| }); | |
| test('delivery_uber_for_moving: h3 "Use Haulvio Delivery in these "', async ({ page }) => { | |
| await page.goto('/delivery/uber-for-moving/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Use Haulvio Delivery in these cities' || t.startsWith('Use Haulvio Delivery in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_uber_for_moving: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/uber-for-moving/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - delivery_west_elm_delivery', () => { | |
| test('delivery_west_elm_delivery: title matches GT', async ({ page }) => { | |
| await page.goto('/delivery/west-elm-delivery/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('nestora delivery'); | |
| }); | |
| test('delivery_west_elm_delivery: h1 "Nestora delivery with Haulvio "', async ({ page }) => { | |
| await page.goto('/delivery/west-elm-delivery/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Nestora delivery with Haulvio Delivery' || t.startsWith('Nestora delivery with Haulvio Delivery'))).toBeTruthy(); | |
| }); | |
| test('delivery_west_elm_delivery: h2 "Get a hand bringing your Nesto"', async ({ page }) => { | |
| await page.goto('/delivery/west-elm-delivery/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get a hand bringing your Nestora pieces home right when you want them.' || t.startsWith('Get a hand bringing your Nestora pieces home right when you want them.'))).toBeTruthy(); | |
| }); | |
| test('delivery_west_elm_delivery: h3 "Book moving & delivery help in"', async ({ page }) => { | |
| await page.goto('/delivery/west-elm-delivery/'); | |
| const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book moving & delivery help in these cities' || t.startsWith('Book moving & delivery help in these cities'))).toBeTruthy(); | |
| }); | |
| test('delivery_west_elm_delivery: nav link "Book now"', async ({ page }) => { | |
| await page.goto('/delivery/west-elm-delivery/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Book now' || t.startsWith('Book now')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - Routing', () => { | |
| test('navigate to delivery_partners via "Partnerships"', async ({ page }) => { | |
| await page.goto('/'); | |
| const link = page.locator('a[href*="partners"]').first(); | |
| expect(await link.count(), 'nav link to delivery_partners exists').toBeGreaterThan(0); | |
| await link.click(); | |
| await page.waitForTimeout(1200); | |
| expect(page.url().toLowerCase(), 'URL changed to destination').toContain('partners'); | |
| const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' '); | |
| expect(bodyText, 'destination distinctive content shown').toContain('Grow your sales with on-demand big & bulky delivery.'); | |
| }); | |
| test('navigate to delivery_helpers via "Earn with Haulvio"', async ({ page }) => { | |
| await page.goto('/'); | |
| const link = page.locator('a[href*="helpers"]').first(); | |
| expect(await link.count(), 'nav link to delivery_helpers exists').toBeGreaterThan(0); | |
| await link.click(); | |
| await page.waitForTimeout(1200); | |
| expect(page.url().toLowerCase(), 'URL changed to destination').toContain('helpers'); | |
| const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' '); | |
| expect(bodyText, 'destination distinctive content shown').toContain('Build a delivery business on your terms.'); | |
| }); | |
| }); | |