RecreationBench / web /verendale.example /tests /static /content.scripted.spec.ts
VoyagerXHF's picture
Upload folder using huggingface_hub (part 87)
5ded141 verified
Raw History Blame Contribute Delete
211 kB
import { test, expect } from '@playwright/test';
test.describe('Functional - homepage', () => {
test('homepage: title matches GT', async ({ page }) => {
await page.goto('/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale global real estate investment ');
});
test('homepage: nav link "About"', 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 === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Our History"', 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 === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Our People"', 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 === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "News"', 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 === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - about', () => {
test('about: title matches GT', async ({ page }) => {
await page.goto('/about/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('about verendale');
});
test('about: h1 "OUR PURPOSE To Serve As Our Cl"', async ({ page }) => {
await page.goto('/about/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'OUR PURPOSE To Serve As Our Clients\' Steadfast Partner' || t.startsWith('OUR PURPOSE To Serve As Our Clients\' Steadfast Partner'))).toBeTruthy();
});
test('about: h4 "News"', async ({ page }) => {
await page.goto('/about/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News'))).toBeTruthy();
});
test('about: nav link "About"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('about: nav link "Our History"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('about: nav link "Our People"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('about: nav link "News"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - accessibility_declaration', () => {
test('accessibility_declaration: title matches GT', async ({ page }) => {
await page.goto('/accessibility-declaration/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('accessibility statement');
});
test('accessibility_declaration: h3 "What does digital access mean?"', async ({ page }) => {
await page.goto('/accessibility-declaration/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What does digital access mean?' || t.startsWith('What does digital access mean?'))).toBeTruthy();
});
test('accessibility_declaration: h3 "Our Digital Accessibility Pled"', async ({ page }) => {
await page.goto('/accessibility-declaration/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Digital Accessibility Pledge' || t.startsWith('Our Digital Accessibility Pledge'))).toBeTruthy();
});
test('accessibility_declaration: h3 "Statement of Non-conformance u"', async ({ page }) => {
await page.goto('/accessibility-declaration/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Statement of Non-conformance under the RGAA' || t.startsWith('Statement of Non-conformance under the RGAA'))).toBeTruthy();
});
test('accessibility_declaration: nav link "About"', async ({ page }) => {
await page.goto('/accessibility-declaration/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('accessibility_declaration: nav link "Our Legacy"', async ({ page }) => {
await page.goto('/accessibility-declaration/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Legacy' || t.startsWith('Our Legacy')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('accessibility_declaration: nav link "Our Leaders"', async ({ page }) => {
await page.goto('/accessibility-declaration/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Leaders' || t.startsWith('Our Leaders')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('accessibility_declaration: nav link "News"', async ({ page }) => {
await page.goto('/accessibility-declaration/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - assets', () => {
test('assets: title matches GT', async ({ page }) => {
await page.goto('/assets/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('portfolio');
});
test('assets: h1 "Our Holdings Representative Tr"', async ({ page }) => {
await page.goto('/assets/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Holdings Representative Transactions' || t.startsWith('Our Holdings Representative Transactions'))).toBeTruthy();
});
test('assets: h3 "MARKET"', async ({ page }) => {
await page.goto('/assets/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'MARKET' || t.startsWith('MARKET'))).toBeTruthy();
});
test('assets: h3 "APPROACH"', async ({ page }) => {
await page.goto('/assets/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'APPROACH' || t.startsWith('APPROACH'))).toBeTruthy();
});
test('assets: h3 "Heritage Grove Assisted Living"', async ({ page }) => {
await page.goto('/assets/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Heritage Grove Assisted Living' || t.startsWith('Heritage Grove Assisted Living'))).toBeTruthy();
});
test('assets: nav link "Firm"', async ({ page }) => {
await page.goto('/assets/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Firm' || t.startsWith('Firm')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('assets: nav link "Our Heritage"', async ({ page }) => {
await page.goto('/assets/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Heritage' || t.startsWith('Our Heritage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('assets: nav link "Our Leaders"', async ({ page }) => {
await page.goto('/assets/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Leaders' || t.startsWith('Our Leaders')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('assets: nav link "Press"', async ({ page }) => {
await page.goto('/assets/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Press' || t.startsWith('Press')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - california_residents_privacy_statement', () => {
test('california_residents_privacy_statement: title matches GT', async ({ page }) => {
await page.goto('/california-residents-privacy-statement/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('california residents privacy statement');
});
test('california_residents_privacy_statement: h1 "Privacy Statement and Policy f"', async ({ page }) => {
await page.goto('/california-residents-privacy-statement/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Privacy Statement and Policy for California Residents' || t.startsWith('Privacy Statement and Policy for California Residents'))).toBeTruthy();
});
test('california_residents_privacy_statement: nav link "About"', async ({ page }) => {
await page.goto('/california-residents-privacy-statement/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('california_residents_privacy_statement: nav link "Our Legacy"', async ({ page }) => {
await page.goto('/california-residents-privacy-statement/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Legacy' || t.startsWith('Our Legacy')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('california_residents_privacy_statement: nav link "Leadership"', async ({ page }) => {
await page.goto('/california-residents-privacy-statement/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Leadership' || t.startsWith('Leadership')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('california_residents_privacy_statement: nav link "News"', async ({ page }) => {
await page.goto('/california-residents-privacy-statement/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - investments', () => {
test('investments: title matches GT', async ({ page }) => {
await page.goto('/investments/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('our strategies');
});
test('investments: h1 "Disciplined Strategies That Un"', async ({ page }) => {
await page.goto('/investments/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Disciplined Strategies That Unlock Access to Real Estate Markets Around the World' || t.startsWith('Disciplined Strategies That Unlock Access to Real Estate Markets Around the World'))).toBeTruthy();
});
test('investments: h2 "Our Core Investment Approach"', async ({ page }) => {
await page.goto('/investments/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Core Investment Approach' || t.startsWith('Our Core Investment Approach'))).toBeTruthy();
});
test('investments: h2 "Research"', async ({ page }) => {
await page.goto('/investments/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Research' || t.startsWith('Research'))).toBeTruthy();
});
test('investments: h3 "How We Invest"', async ({ page }) => {
await page.goto('/investments/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How We Invest' || t.startsWith('How We Invest'))).toBeTruthy();
});
test('investments: nav link "About"', async ({ page }) => {
await page.goto('/investments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('investments: nav link "Our History"', async ({ page }) => {
await page.goto('/investments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('investments: nav link "Our People"', async ({ page }) => {
await page.goto('/investments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('investments: nav link "News"', async ({ page }) => {
await page.goto('/investments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - legal', () => {
test('legal: title matches GT', async ({ page }) => {
await page.goto('/legal/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('legal information');
});
test('legal: h1 "Legal & Corporate Notices"', async ({ page }) => {
await page.goto('/legal/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Legal & Corporate Notices' || t.startsWith('Legal & Corporate Notices'))).toBeTruthy();
});
test('legal: h3 "Verendale"', async ({ page }) => {
await page.goto('/legal/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale' || t.startsWith('Verendale'))).toBeTruthy();
});
test('legal: h3 "Verendale Capital Partners"', async ({ page }) => {
await page.goto('/legal/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Capital Partners' || t.startsWith('Verendale Capital Partners'))).toBeTruthy();
});
test('legal: h3 "Verendale Europe"', async ({ page }) => {
await page.goto('/legal/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe' || t.startsWith('Verendale Europe'))).toBeTruthy();
});
test('legal: nav link "About"', async ({ page }) => {
await page.goto('/legal/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('legal: nav link "Our Journey"', async ({ page }) => {
await page.goto('/legal/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Journey' || t.startsWith('Our Journey')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('legal: nav link "Our People"', async ({ page }) => {
await page.goto('/legal/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('legal: nav link "News"', async ({ page }) => {
await page.goto('/legal/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news', () => {
test('news: title matches GT', async ({ page }) => {
await page.goto('/news/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('news');
});
test('news: h1 "News Center"', async ({ page }) => {
await page.goto('/news/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News Center' || t.startsWith('News Center'))).toBeTruthy();
});
test('news: h2 "Latest News & Media"', async ({ page }) => {
await page.goto('/news/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Latest News & Media' || t.startsWith('Latest News & Media'))).toBeTruthy();
});
test('news: h3 "YEAR"', async ({ page }) => {
await page.goto('/news/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'YEAR' || t.startsWith('YEAR'))).toBeTruthy();
});
test('news: h3 "REGION"', async ({ page }) => {
await page.goto('/news/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'REGION' || t.startsWith('REGION'))).toBeTruthy();
});
test('news: nav link "About"', async ({ page }) => {
await page.goto('/news/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('news: nav link "Our History"', async ({ page }) => {
await page.goto('/news/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('news: nav link "Our People"', async ({ page }) => {
await page.goto('/news/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('news: nav link "News"', async ({ page }) => {
await page.goto('/news/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - privacy', () => {
test('privacy: title matches GT', async ({ page }) => {
await page.goto('/privacy/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('privacy statement');
});
test('privacy: h1 "Verendale Privacy Notice"', async ({ page }) => {
await page.goto('/privacy/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Privacy Notice' || t.startsWith('Verendale Privacy Notice'))).toBeTruthy();
});
test('privacy: h3 "Personally Identifiable Inform"', async ({ page }) => {
await page.goto('/privacy/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Personally Identifiable Information' || t.startsWith('Personally Identifiable Information'))).toBeTruthy();
});
test('privacy: h3 "Personal Data We Collect"', async ({ page }) => {
await page.goto('/privacy/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Personal Data We Collect' || t.startsWith('Personal Data We Collect'))).toBeTruthy();
});
test('privacy: h3 "How and Why We Use Your Person"', async ({ page }) => {
await page.goto('/privacy/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How and Why We Use Your Personal Data' || t.startsWith('How and Why We Use Your Personal Data'))).toBeTruthy();
});
test('privacy: nav link "About"', async ({ page }) => {
await page.goto('/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('privacy: nav link "Our History"', async ({ page }) => {
await page.goto('/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('privacy: nav link "Our People"', async ({ page }) => {
await page.goto('/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('privacy: nav link "News"', async ({ page }) => {
await page.goto('/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - privacy_statement_eea_and_uk_addendum', () => {
test('privacy_statement_eea_and_uk_addendum: title matches GT', async ({ page }) => {
await page.goto('/privacy-statement-eea-and-uk-addendum/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('privacy statement');
});
test('privacy_statement_eea_and_uk_addendum: h1 "Privacy Statement EEA and UK A"', async ({ page }) => {
await page.goto('/privacy-statement-eea-and-uk-addendum/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Privacy Statement EEA and UK Addendum' || t.startsWith('Privacy Statement EEA and UK Addendum'))).toBeTruthy();
});
test('privacy_statement_eea_and_uk_addendum: nav link "About"', async ({ page }) => {
await page.goto('/privacy-statement-eea-and-uk-addendum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('privacy_statement_eea_and_uk_addendum: nav link "Our History"', async ({ page }) => {
await page.goto('/privacy-statement-eea-and-uk-addendum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('privacy_statement_eea_and_uk_addendum: nav link "Our People"', async ({ page }) => {
await page.goto('/privacy-statement-eea-and-uk-addendum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('privacy_statement_eea_and_uk_addendum: nav link "News"', async ({ page }) => {
await page.goto('/privacy-statement-eea-and-uk-addendum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - privacy_statement_singapore_addendum', () => {
test('privacy_statement_singapore_addendum: title matches GT', async ({ page }) => {
await page.goto('/privacy-statement-singapore-addendum/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('privacy statement');
});
test('privacy_statement_singapore_addendum: h1 "Privacy Statement Singapore Ad"', async ({ page }) => {
await page.goto('/privacy-statement-singapore-addendum/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Privacy Statement Singapore Addendum' || t.startsWith('Privacy Statement Singapore Addendum'))).toBeTruthy();
});
test('privacy_statement_singapore_addendum: nav link "About"', async ({ page }) => {
await page.goto('/privacy-statement-singapore-addendum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('privacy_statement_singapore_addendum: nav link "Our History"', async ({ page }) => {
await page.goto('/privacy-statement-singapore-addendum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('privacy_statement_singapore_addendum: nav link "Our People"', async ({ page }) => {
await page.goto('/privacy-statement-singapore-addendum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('privacy_statement_singapore_addendum: nav link "News"', async ({ page }) => {
await page.goto('/privacy-statement-singapore-addendum/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - public_securities_responsible_investing', () => {
test('public_securities_responsible_investing: title matches GT', async ({ page }) => {
await page.goto('/public-securities-responsible-investing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('public securities responsible investing');
});
test('public_securities_responsible_investing: h3 "Verendale Listed Property Secu"', async ({ page }) => {
await page.goto('/public-securities-responsible-investing/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Listed Property Securities ESG Statement' || t.startsWith('Verendale Listed Property Securities ESG Statement'))).toBeTruthy();
});
test('public_securities_responsible_investing: h4 "Engaging with Companies"', async ({ page }) => {
await page.goto('/public-securities-responsible-investing/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Engaging with Companies' || t.startsWith('Engaging with Companies'))).toBeTruthy();
});
test('public_securities_responsible_investing: h4 "Proxy Voting"', async ({ page }) => {
await page.goto('/public-securities-responsible-investing/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Proxy Voting' || t.startsWith('Proxy Voting'))).toBeTruthy();
});
test('public_securities_responsible_investing: nav link "About"', async ({ page }) => {
await page.goto('/public-securities-responsible-investing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('public_securities_responsible_investing: nav link "Our Story"', async ({ page }) => {
await page.goto('/public-securities-responsible-investing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Story' || t.startsWith('Our Story')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('public_securities_responsible_investing: nav link "Our Team"', async ({ page }) => {
await page.goto('/public-securities-responsible-investing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Team' || t.startsWith('Our Team')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('public_securities_responsible_investing: nav link "News"', async ({ page }) => {
await page.goto('/public-securities-responsible-investing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - research', () => {
test('research: title matches GT', async ({ page }) => {
await page.goto('/research/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('research');
});
test('research: h1 "RESEARCH & INSIGHTS Global Per"', async ({ page }) => {
await page.goto('/research/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'RESEARCH & INSIGHTS Global Perspectives on Macro Trends in Real Estate' || t.startsWith('RESEARCH & INSIGHTS Global Perspectives on Macro Trends in Real Estate'))).toBeTruthy();
});
test('research: h2 "Our Latest Thinking"', async ({ page }) => {
await page.goto('/research/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Latest Thinking' || t.startsWith('Our Latest Thinking'))).toBeTruthy();
});
test('research: h3 "YEAR"', async ({ page }) => {
await page.goto('/research/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'YEAR' || t.startsWith('YEAR'))).toBeTruthy();
});
test('research: h3 "TYPE"', async ({ page }) => {
await page.goto('/research/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'TYPE' || t.startsWith('TYPE'))).toBeTruthy();
});
test('research: nav link "About"', async ({ page }) => {
await page.goto('/research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('research: nav link "Our History"', async ({ page }) => {
await page.goto('/research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('research: nav link "Our People"', async ({ page }) => {
await page.goto('/research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('research: nav link "News"', async ({ page }) => {
await page.goto('/research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - resilience', () => {
test('resilience: title matches GT', async ({ page }) => {
await page.goto('/resilience/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('resilience');
});
test('resilience: h1 "RESILIENCE Safeguarding, Susta"', async ({ page }) => {
await page.goto('/resilience/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'RESILIENCE Safeguarding, Sustaining, and Advancing Worth Throughout Our Holdings' || t.startsWith('RESILIENCE Safeguarding, Sustaining, and Advancing Worth Throughout Our Holdings'))).toBeTruthy();
});
test('resilience: h3 "Verendale is Invested in Resil"', async ({ page }) => {
await page.goto('/resilience/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale is Invested in Resilience' || t.startsWith('Verendale is Invested in Resilience'))).toBeTruthy();
});
test('resilience: h3 "Weaving Resilience Through Per"', async ({ page }) => {
await page.goto('/resilience/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Weaving Resilience Through Performance, People, and Practices' || t.startsWith('Weaving Resilience Through Performance, People, and Practices'))).toBeTruthy();
});
test('resilience: h3 "Performance"', async ({ page }) => {
await page.goto('/resilience/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Performance' || t.startsWith('Performance'))).toBeTruthy();
});
test('resilience: nav link "About"', async ({ page }) => {
await page.goto('/resilience/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('resilience: nav link "Our History"', async ({ page }) => {
await page.goto('/resilience/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('resilience: nav link "Our People"', async ({ page }) => {
await page.goto('/resilience/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('resilience: nav link "News"', async ({ page }) => {
await page.goto('/resilience/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - social_media_disclaimer', () => {
test('social_media_disclaimer: title matches GT', async ({ page }) => {
await page.goto('/social-media-disclaimer/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('social media guidelines and disclaimers');
});
test('social_media_disclaimer: h1 "Social Media Guidelines for Us"', async ({ page }) => {
await page.goto('/social-media-disclaimer/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Social Media Guidelines for Use and Disclaimers' || t.startsWith('Social Media Guidelines for Use and Disclaimers'))).toBeTruthy();
});
test('social_media_disclaimer: h3 "Standards for Use"', async ({ page }) => {
await page.goto('/social-media-disclaimer/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Standards for Use' || t.startsWith('Standards for Use'))).toBeTruthy();
});
test('social_media_disclaimer: h3 "Disclosures"', async ({ page }) => {
await page.goto('/social-media-disclaimer/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Disclosures' || t.startsWith('Disclosures'))).toBeTruthy();
});
test('social_media_disclaimer: nav link "About"', async ({ page }) => {
await page.goto('/social-media-disclaimer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('social_media_disclaimer: nav link "Our History"', async ({ page }) => {
await page.goto('/social-media-disclaimer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('social_media_disclaimer: nav link "Our People"', async ({ page }) => {
await page.goto('/social-media-disclaimer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('social_media_disclaimer: nav link "News"', async ({ page }) => {
await page.goto('/social-media-disclaimer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - socially_responsible_investment', () => {
test('socially_responsible_investment: title matches GT', async ({ page }) => {
await page.goto('/socially-responsible-investment/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('socially responsible investment');
});
test('socially_responsible_investment: h3 "Introduction"', async ({ page }) => {
await page.goto('/socially-responsible-investment/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introduction' || t.startsWith('Introduction'))).toBeTruthy();
});
test('socially_responsible_investment: h3 "Environmental Considerations"', async ({ page }) => {
await page.goto('/socially-responsible-investment/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Environmental Considerations' || t.startsWith('Environmental Considerations'))).toBeTruthy();
});
test('socially_responsible_investment: h3 "Social Responsibility"', async ({ page }) => {
await page.goto('/socially-responsible-investment/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Social Responsibility' || t.startsWith('Social Responsibility'))).toBeTruthy();
});
test('socially_responsible_investment: nav link "About"', async ({ page }) => {
await page.goto('/socially-responsible-investment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('socially_responsible_investment: nav link "Our History"', async ({ page }) => {
await page.goto('/socially-responsible-investment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('socially_responsible_investment: nav link "Our People"', async ({ page }) => {
await page.goto('/socially-responsible-investment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('socially_responsible_investment: nav link "News"', async ({ page }) => {
await page.goto('/socially-responsible-investment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - terms_of_use', () => {
test('terms_of_use: title matches GT', async ({ page }) => {
await page.goto('/terms-of-use/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('terms of use');
});
test('terms_of_use: h3 "Your Use of this Site"', async ({ page }) => {
await page.goto('/terms-of-use/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Your Use of this Site' || t.startsWith('Your Use of this Site'))).toBeTruthy();
});
test('terms_of_use: h3 "Information Only"', async ({ page }) => {
await page.goto('/terms-of-use/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Information Only' || t.startsWith('Information Only'))).toBeTruthy();
});
test('terms_of_use: h3 "Not an Offer"', async ({ page }) => {
await page.goto('/terms-of-use/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Not an Offer' || t.startsWith('Not an Offer'))).toBeTruthy();
});
test('terms_of_use: nav link "About"', async ({ page }) => {
await page.goto('/terms-of-use/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('terms_of_use: nav link "Our History"', async ({ page }) => {
await page.goto('/terms-of-use/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('terms_of_use: nav link "Our People"', async ({ page }) => {
await page.goto('/terms-of-use/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('terms_of_use: nav link "News"', async ({ page }) => {
await page.goto('/terms-of-use/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - about_contact', () => {
test('about_contact: title matches GT', async ({ page }) => {
await page.goto('/about/contact/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('contact');
});
test('about_contact: h1 "ABOUT Get in Touch"', async ({ page }) => {
await page.goto('/about/contact/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ABOUT Get in Touch' || t.startsWith('ABOUT Get in Touch'))).toBeTruthy();
});
test('about_contact: h2 "Our Offices"', async ({ page }) => {
await page.goto('/about/contact/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Offices' || t.startsWith('Our Offices'))).toBeTruthy();
});
test('about_contact: h2 "Investor Relations Enquiries"', async ({ page }) => {
await page.goto('/about/contact/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Investor Relations Enquiries' || t.startsWith('Investor Relations Enquiries'))).toBeTruthy();
});
test('about_contact: nav link "Firm"', async ({ page }) => {
await page.goto('/about/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Firm' || t.startsWith('Firm')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('about_contact: nav link "Our Heritage"', async ({ page }) => {
await page.goto('/about/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Heritage' || t.startsWith('Our Heritage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('about_contact: nav link "Leadership"', async ({ page }) => {
await page.goto('/about/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Leadership' || t.startsWith('Leadership')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('about_contact: nav link "News"', async ({ page }) => {
await page.goto('/about/contact/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - about_people', () => {
test('about_people: title matches GT', async ({ page }) => {
await page.goto('/about/people/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('people at verendale');
});
test('about_people: h1 "ABOUT Our People"', async ({ page }) => {
await page.goto('/about/people/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ABOUT Our People' || t.startsWith('ABOUT Our People'))).toBeTruthy();
});
test('about_people: h2 "Global Leadership Team"', async ({ page }) => {
await page.goto('/about/people/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Global Leadership Team' || t.startsWith('Global Leadership Team'))).toBeTruthy();
});
test('about_people: h3 "Leadership grounded in decades"', async ({ page }) => {
await page.goto('/about/people/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Leadership grounded in decades across market cycles' || t.startsWith('Leadership grounded in decades across market cycles'))).toBeTruthy();
});
test('about_people: h4 "All Regions"', async ({ page }) => {
await page.goto('/about/people/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'All Regions' || t.startsWith('All Regions'))).toBeTruthy();
});
test('about_people: nav link "About"', async ({ page }) => {
await page.goto('/about/people/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('about_people: nav link "Our History"', async ({ page }) => {
await page.goto('/about/people/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('about_people: nav link "Our People"', async ({ page }) => {
await page.goto('/about/people/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('about_people: nav link "News"', async ({ page }) => {
await page.goto('/about/people/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - investments_vehicles', () => {
test('investments_vehicles: title matches GT', async ({ page }) => {
await page.goto('/investments/vehicles/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('investment vehicles');
});
test('investments_vehicles: h1 "Our Investment Vehicles"', async ({ page }) => {
await page.goto('/investments/vehicles/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Investment Vehicles' || t.startsWith('Our Investment Vehicles'))).toBeTruthy();
});
test('investments_vehicles: h1 "U.S. Core Portfolio"', async ({ page }) => {
await page.goto('/investments/vehicles/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'U.S. Core Portfolio' || t.startsWith('U.S. Core Portfolio'))).toBeTruthy();
});
test('investments_vehicles: h1 "Asia Pacific Core Portfolio"', async ({ page }) => {
await page.goto('/investments/vehicles/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Asia Pacific Core Portfolio' || t.startsWith('Asia Pacific Core Portfolio'))).toBeTruthy();
});
test('investments_vehicles: h1 "Europe Core Portfolio"', async ({ page }) => {
await page.goto('/investments/vehicles/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Europe Core Portfolio' || t.startsWith('Europe Core Portfolio'))).toBeTruthy();
});
test('investments_vehicles: nav link "About"', async ({ page }) => {
await page.goto('/investments/vehicles/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('investments_vehicles: nav link "Our History"', async ({ page }) => {
await page.goto('/investments/vehicles/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('investments_vehicles: nav link "Our People"', async ({ page }) => {
await page.goto('/investments/vehicles/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('investments_vehicles: nav link "News"', async ({ page }) => {
await page.goto('/investments/vehicles/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_capital_management_and_gmh_communities_acquire_two_student_housing_properties', () => {
test('news_verendale_capital_management_and_gmh_communities_acquire_two_student_housing_properties: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-capital-management-and-gmh-communities-acquire-two-student-housing-properties/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale and brightmark communities acq');
});
test('news_verendale_capital_management_and_gmh_communities_acquire_two_student_housing_properties: h1 "Verendale and Brightmark Commu"', async ({ page }) => {
await page.goto('/news/verendale-capital-management-and-gmh-communities-acquire-two-student-housing-properties/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale and Brightmark Communities Acquire Two Student Housing Properties' || t.startsWith('Verendale and Brightmark Communities Acquire Two Student Housing Properties'))).toBeTruthy();
});
test('news_verendale_capital_management_and_gmh_communities_acquire_two_student_housing_properties: h3 "Harborcrest (December 17, 2025"', async ({ page }) => {
await page.goto('/news/verendale-capital-management-and-gmh-communities-acquire-two-student-housing-properties/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Harborcrest (December 17, 2025)' || t.startsWith('Harborcrest (December 17, 2025)'))).toBeTruthy();
});
test('news_verendale_capital_management_and_gmh_communities_acquire_two_student_housing_properties: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-capital-management-and-gmh-communities-acquire-two-student-housing-properties/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_capital_management_and_gmh_communities_acquire_two_student_housing_properties: h3 "About Brightmark Communities"', async ({ page }) => {
await page.goto('/news/verendale-capital-management-and-gmh-communities-acquire-two-student-housing-properties/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Brightmark Communities' || t.startsWith('About Brightmark Communities'))).toBeTruthy();
});
test('news_verendale_capital_management_and_gmh_communities_acquire_two_student_housing_properties: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-capital-management-and-gmh-communities-acquire-two-student-housing-properties/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_capital_management_and_gmh_communities_acquire_two_student_housing_properties: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-capital-management-and-gmh-communities-acquire-two-student-housing-properties/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_capital_management_and_gmh_communities_acquire_two_student_housing_properties: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-capital-management-and-gmh-communities-acquire-two-student-housing-properties/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_11_000_sqm_last_mile_urban_industrial_development_in_munich', () => {
test('news_verendale_europe_acquires_11_000_sqm_last_mile_urban_industrial_development_in_munich: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-11-000-sqm-last-mile-urban-industrial-development-in-munich/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe secures 11,000 sqm last');
});
test('news_verendale_europe_acquires_11_000_sqm_last_mile_urban_industrial_development_in_munich: h1 "Verendale Europe secures 11,00"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-11-000-sqm-last-mile-urban-industrial-development-in-munich/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe secures 11,000 sqm last-mile urban industrial scheme in Munich' || t.startsWith('Verendale Europe secures 11,000 sqm last-mile urban industrial scheme in Munich'))).toBeTruthy();
});
test('news_verendale_europe_acquires_11_000_sqm_last_mile_urban_industrial_development_in_munich: h3 "About Us"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-11-000-sqm-last-mile-urban-industrial-development-in-munich/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_verendale_europe_acquires_11_000_sqm_last_mile_urban_industrial_development_in_munich: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-11-000-sqm-last-mile-urban-industrial-development-in-munich/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_11_000_sqm_last_mile_urban_industrial_development_in_munich: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-11-000-sqm-last-mile-urban-industrial-development-in-munich/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_11_000_sqm_last_mile_urban_industrial_development_in_munich: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-11-000-sqm-last-mile-urban-industrial-development-in-munich/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_55_000_sqm_grade_a_logistics_asset_north_east_of_milan_italy', () => {
test('news_verendale_europe_acquires_55_000_sqm_grade_a_logistics_asset_north_east_of_milan_italy: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-55-000-sqm-grade-a-logistics-asset-north-east-of-milan-italy/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale acquires 55,000 sqm grade a lo');
});
test('news_verendale_europe_acquires_55_000_sqm_grade_a_logistics_asset_north_east_of_milan_italy: h1 "Verendale acquires 55,000 sqm "', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-55-000-sqm-grade-a-logistics-asset-north-east-of-milan-italy/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale acquires 55,000 sqm Grade A logistics facility North-East of Milan, Italy' || t.startsWith('Verendale acquires 55,000 sqm Grade A logistics facility North-East of Milan, Italy'))).toBeTruthy();
});
test('news_verendale_europe_acquires_55_000_sqm_grade_a_logistics_asset_north_east_of_milan_italy: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-55-000-sqm-grade-a-logistics-asset-north-east-of-milan-italy/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_europe_acquires_55_000_sqm_grade_a_logistics_asset_north_east_of_milan_italy: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-55-000-sqm-grade-a-logistics-asset-north-east-of-milan-italy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_55_000_sqm_grade_a_logistics_asset_north_east_of_milan_italy: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-55-000-sqm-grade-a-logistics-asset-north-east-of-milan-italy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_55_000_sqm_grade_a_logistics_asset_north_east_of_milan_italy: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-55-000-sqm-grade-a-logistics-asset-north-east-of-milan-italy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_a_life_science_asset_in_the_netherlands', () => {
test('news_verendale_europe_acquires_a_life_science_asset_in_the_netherlands: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-a-life-science-asset-in-the-netherlands/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale acquires a life science asset ');
});
test('news_verendale_europe_acquires_a_life_science_asset_in_the_netherlands: h1 "Verendale acquires a Life Scie"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-a-life-science-asset-in-the-netherlands/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale acquires a Life Science asset in the Netherlands' || t.startsWith('Verendale acquires a Life Science asset in the Netherlands'))).toBeTruthy();
});
test('news_verendale_europe_acquires_a_life_science_asset_in_the_netherlands: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-a-life-science-asset-in-the-netherlands/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_a_life_science_asset_in_the_netherlands: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-a-life-science-asset-in-the-netherlands/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_a_life_science_asset_in_the_netherlands: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-a-life-science-asset-in-the-netherlands/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_c_22_000_sqm_grade_a_logistics_platform_in_cavaillon_france', () => {
test('news_verendale_europe_acquires_c_22_000_sqm_grade_a_logistics_platform_in_cavaillon_france: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-22-000-sqm-grade-a-logistics-platform-in-cavaillon-france/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe acquires c.22,000 sqm g');
});
test('news_verendale_europe_acquires_c_22_000_sqm_grade_a_logistics_platform_in_cavaillon_france: h1 "Verendale Europe acquires c.22"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-22-000-sqm-grade-a-logistics-platform-in-cavaillon-france/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe acquires c.22,000 sqm Grade A logistics platform in Roqueval, France' || t.startsWith('Verendale Europe acquires c.22,000 sqm Grade A logistics platform in Roqueval, France'))).toBeTruthy();
});
test('news_verendale_europe_acquires_c_22_000_sqm_grade_a_logistics_platform_in_cavaillon_france: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-22-000-sqm-grade-a-logistics-platform-in-cavaillon-france/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_europe_acquires_c_22_000_sqm_grade_a_logistics_platform_in_cavaillon_france: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-22-000-sqm-grade-a-logistics-platform-in-cavaillon-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_c_22_000_sqm_grade_a_logistics_platform_in_cavaillon_france: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-22-000-sqm-grade-a-logistics-platform-in-cavaillon-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_c_22_000_sqm_grade_a_logistics_platform_in_cavaillon_france: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-22-000-sqm-grade-a-logistics-platform-in-cavaillon-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_c_5_000_sqm_dwengerkamp_logistics_asset_in_hamburg_via_a_sale_and_leaseback', () => {
test('news_verendale_europe_acquires_c_5_000_sqm_dwengerkamp_logistics_asset_in_hamburg_via_a_sale_and_leaseback: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-5-000-sqm-dwengerkamp-logistics-asset-in-hamburg-via-a-sale-and-leaseback/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe acquires c. 5,000 sqm ‘');
});
test('news_verendale_europe_acquires_c_5_000_sqm_dwengerkamp_logistics_asset_in_hamburg_via_a_sale_and_leaseback: h1 "Verendale Europe acquires c. 5"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-5-000-sqm-dwengerkamp-logistics-asset-in-hamburg-via-a-sale-and-leaseback/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe acquires c. 5,000 sqm ‘Nordkamp’ logistics asset in Hamburg via a sale and leasebac' || t.startsWith('Verendale Europe acquires c. 5,000 sqm ‘Nordkamp’ logistics asset in Hamburg via a sale and leasebac'))).toBeTruthy();
});
test('news_verendale_europe_acquires_c_5_000_sqm_dwengerkamp_logistics_asset_in_hamburg_via_a_sale_and_leaseback: h3 "About Us"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-5-000-sqm-dwengerkamp-logistics-asset-in-hamburg-via-a-sale-and-leaseback/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_verendale_europe_acquires_c_5_000_sqm_dwengerkamp_logistics_asset_in_hamburg_via_a_sale_and_leaseback: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-5-000-sqm-dwengerkamp-logistics-asset-in-hamburg-via-a-sale-and-leaseback/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_c_5_000_sqm_dwengerkamp_logistics_asset_in_hamburg_via_a_sale_and_leaseback: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-5-000-sqm-dwengerkamp-logistics-asset-in-hamburg-via-a-sale-and-leaseback/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_c_5_000_sqm_dwengerkamp_logistics_asset_in_hamburg_via_a_sale_and_leaseback: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-5-000-sqm-dwengerkamp-logistics-asset-in-hamburg-via-a-sale-and-leaseback/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_c_97_000_sqm_portfolio_of_urban_logistics', () => {
test('news_verendale_europe_acquires_c_97_000_sqm_portfolio_of_urban_logistics: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-97-000-sqm-portfolio-of-urban-logistics/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale acquires c. 97,000 sqm portfol');
});
test('news_verendale_europe_acquires_c_97_000_sqm_portfolio_of_urban_logistics: h1 "Verendale acquires c. 97,000 s"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-97-000-sqm-portfolio-of-urban-logistics/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale acquires c. 97,000 sqm portfolio of urban logistics' || t.startsWith('Verendale acquires c. 97,000 sqm portfolio of urban logistics'))).toBeTruthy();
});
test('news_verendale_europe_acquires_c_97_000_sqm_portfolio_of_urban_logistics: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-97-000-sqm-portfolio-of-urban-logistics/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_europe_acquires_c_97_000_sqm_portfolio_of_urban_logistics: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-97-000-sqm-portfolio-of-urban-logistics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_c_97_000_sqm_portfolio_of_urban_logistics: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-97-000-sqm-portfolio-of-urban-logistics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_c_97_000_sqm_portfolio_of_urban_logistics: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-c-97-000-sqm-portfolio-of-urban-logistics/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_fully_let_c_19_000_sqm_grade_a_logistics_asset_in_le_bignon_france', () => {
test('news_verendale_europe_acquires_fully_let_c_19_000_sqm_grade_a_logistics_asset_in_le_bignon_france: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-fully-let-c-19-000-sqm-grade-a-logistics-asset-in-le-bignon-france/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe acquires fully let c.19');
});
test('news_verendale_europe_acquires_fully_let_c_19_000_sqm_grade_a_logistics_asset_in_le_bignon_france: h1 "Verendale Europe acquires full"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-fully-let-c-19-000-sqm-grade-a-logistics-asset-in-le-bignon-france/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe acquires fully let c.19,000 sqm Grade A logistics asset in Le Bignon, France' || t.startsWith('Verendale Europe acquires fully let c.19,000 sqm Grade A logistics asset in Le Bignon, France'))).toBeTruthy();
});
test('news_verendale_europe_acquires_fully_let_c_19_000_sqm_grade_a_logistics_asset_in_le_bignon_france: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-fully-let-c-19-000-sqm-grade-a-logistics-asset-in-le-bignon-france/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_europe_acquires_fully_let_c_19_000_sqm_grade_a_logistics_asset_in_le_bignon_france: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-fully-let-c-19-000-sqm-grade-a-logistics-asset-in-le-bignon-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_fully_let_c_19_000_sqm_grade_a_logistics_asset_in_le_bignon_france: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-fully-let-c-19-000-sqm-grade-a-logistics-asset-in-le-bignon-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_fully_let_c_19_000_sqm_grade_a_logistics_asset_in_le_bignon_france: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-fully-let-c-19-000-sqm-grade-a-logistics-asset-in-le-bignon-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_new_fully_let_10_680_sqm_distribution_warehouse_in_pfungstadt_near_frankfurt', () => {
test('news_verendale_europe_acquires_new_fully_let_10_680_sqm_distribution_warehouse_in_pfungstadt_near_frankfurt: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-new-fully-let-10-680-sqm-distribution-warehouse-in-pfungstadt-near-frankfurt/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale acquires new fully');
});
test('news_verendale_europe_acquires_new_fully_let_10_680_sqm_distribution_warehouse_in_pfungstadt_near_frankfurt: h1 "Verendale acquires new fully-l"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-new-fully-let-10-680-sqm-distribution-warehouse-in-pfungstadt-near-frankfurt/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale acquires new fully-let 10,680 sqm distribution warehouse in Pfungstadt, near Frankfurt' || t.startsWith('Verendale acquires new fully-let 10,680 sqm distribution warehouse in Pfungstadt, near Frankfurt'))).toBeTruthy();
});
test('news_verendale_europe_acquires_new_fully_let_10_680_sqm_distribution_warehouse_in_pfungstadt_near_frankfurt: h3 "About Us"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-new-fully-let-10-680-sqm-distribution-warehouse-in-pfungstadt-near-frankfurt/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_verendale_europe_acquires_new_fully_let_10_680_sqm_distribution_warehouse_in_pfungstadt_near_frankfurt: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-new-fully-let-10-680-sqm-distribution-warehouse-in-pfungstadt-near-frankfurt/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_new_fully_let_10_680_sqm_distribution_warehouse_in_pfungstadt_near_frankfurt: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-new-fully-let-10-680-sqm-distribution-warehouse-in-pfungstadt-near-frankfurt/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_new_fully_let_10_680_sqm_distribution_warehouse_in_pfungstadt_near_frankfurt: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-new-fully-let-10-680-sqm-distribution-warehouse-in-pfungstadt-near-frankfurt/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_danish_brand_bolia_in_pariss_8th_district', () => {
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_danish_brand_bolia_in_pariss_8th_district: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-danish-brand-bolia-in-pariss-8th-district/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe acquires prime high str');
});
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_danish_brand_bolia_in_pariss_8th_district: h1 "Verendale Europe acquires prim"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-danish-brand-bolia-in-pariss-8th-district/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe acquires prime high street retail asset let to design brand Norsholm in Aldenmark\'s' || t.startsWith('Verendale Europe acquires prime high street retail asset let to design brand Norsholm in Aldenmark\'s'))).toBeTruthy();
});
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_danish_brand_bolia_in_pariss_8th_district: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-danish-brand-bolia-in-pariss-8th-district/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_danish_brand_bolia_in_pariss_8th_district: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-danish-brand-bolia-in-pariss-8th-district/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_danish_brand_bolia_in_pariss_8th_district: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-danish-brand-bolia-in-pariss-8th-district/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_five_guys_in_the_centre_of_paris_france', () => {
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_five_guys_in_the_centre_of_paris_france: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-five-guys-in-the-centre-of-paris-france/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe acquires prime high str');
});
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_five_guys_in_the_centre_of_paris_france: h1 "Verendale Europe acquires prim"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-five-guys-in-the-centre-of-paris-france/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe acquires prime high street retail asset let to Brickyard in the centre of Paris, Fr' || t.startsWith('Verendale Europe acquires prime high street retail asset let to Brickyard in the centre of Paris, Fr'))).toBeTruthy();
});
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_five_guys_in_the_centre_of_paris_france: h3 "About Us"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-five-guys-in-the-centre-of-paris-france/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_five_guys_in_the_centre_of_paris_france: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-five-guys-in-the-centre-of-paris-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_five_guys_in_the_centre_of_paris_france: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-five-guys-in-the-centre-of-paris-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_prime_high_street_retail_asset_let_to_five_guys_in_the_centre_of_paris_france: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-prime-high-street-retail-asset-let-to-five-guys-in-the-centre-of-paris-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_acquires_three_prime_high_street_retail_units_on_renowned_rue_neuve_in_brussels', () => {
test('news_verendale_europe_acquires_three_prime_high_street_retail_units_on_renowned_rue_neuve_in_brussels: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-three-prime-high-street-retail-units-on-renowned-rue-neuve-in-brussels/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale acquires three prime high stre');
});
test('news_verendale_europe_acquires_three_prime_high_street_retail_units_on_renowned_rue_neuve_in_brussels: h1 "Verendale acquires three prime"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-three-prime-high-street-retail-units-on-renowned-rue-neuve-in-brussels/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale acquires three prime high street retail units on renowned Rue Halen in Corveldt' || t.startsWith('Verendale acquires three prime high street retail units on renowned Rue Halen in Corveldt'))).toBeTruthy();
});
test('news_verendale_europe_acquires_three_prime_high_street_retail_units_on_renowned_rue_neuve_in_brussels: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-three-prime-high-street-retail-units-on-renowned-rue-neuve-in-brussels/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_three_prime_high_street_retail_units_on_renowned_rue_neuve_in_brussels: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-three-prime-high-street-retail-units-on-renowned-rue-neuve-in-brussels/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_acquires_three_prime_high_street_retail_units_on_renowned_rue_neuve_in_brussels: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-acquires-three-prime-high-street-retail-units-on-renowned-rue-neuve-in-brussels/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_appoints_anthony_butler_as_first_head_of_its_8bn_european_industrial_logistics_platform', () => {
test('news_verendale_europe_appoints_anthony_butler_as_first_head_of_its_8bn_european_industrial_logistics_platform: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-appoints-anthony-butler-as-first-head-of-its-8bn-european-industrial-logistics-platform/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale appoints julian hartwell as fi');
});
test('news_verendale_europe_appoints_anthony_butler_as_first_head_of_its_8bn_european_industrial_logistics_platform: h1 "Verendale appoints Julian Hart"', async ({ page }) => {
await page.goto('/news/verendale-europe-appoints-anthony-butler-as-first-head-of-its-8bn-european-industrial-logistics-platform/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale appoints Julian Hartwell as first head of its €8bn European industrial & logistics platfor' || t.startsWith('Verendale appoints Julian Hartwell as first head of its €8bn European industrial & logistics platfor'))).toBeTruthy();
});
test('news_verendale_europe_appoints_anthony_butler_as_first_head_of_its_8bn_european_industrial_logistics_platform: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-europe-appoints-anthony-butler-as-first-head-of-its-8bn-european-industrial-logistics-platform/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_europe_appoints_anthony_butler_as_first_head_of_its_8bn_european_industrial_logistics_platform: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-appoints-anthony-butler-as-first-head-of-its-8bn-european-industrial-logistics-platform/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_appoints_anthony_butler_as_first_head_of_its_8bn_european_industrial_logistics_platform: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-appoints-anthony-butler-as-first-head-of-its-8bn-european-industrial-logistics-platform/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_appoints_anthony_butler_as_first_head_of_its_8bn_european_industrial_logistics_platform: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-appoints-anthony-butler-as-first-head-of-its-8bn-european-industrial-logistics-platform/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_completes_first_german_life_sciences_investment_with_acquisition_of_10_900_sqm_asset_in_munich', () => {
test('news_verendale_europe_completes_first_german_life_sciences_investment_with_acquisition_of_10_900_sqm_asset_in_munich: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-completes-first-german-life-sciences-investment-with-acquisition-of-10-900-sqm-asset-in-munich/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale completes first german life sc');
});
test('news_verendale_europe_completes_first_german_life_sciences_investment_with_acquisition_of_10_900_sqm_asset_in_munich: h1 "Verendale completes first Germ"', async ({ page }) => {
await page.goto('/news/verendale-europe-completes-first-german-life-sciences-investment-with-acquisition-of-10-900-sqm-asset-in-munich/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale completes first German life sciences investment with acquisition of 10,900 sqm asset in Mu' || t.startsWith('Verendale completes first German life sciences investment with acquisition of 10,900 sqm asset in Mu'))).toBeTruthy();
});
test('news_verendale_europe_completes_first_german_life_sciences_investment_with_acquisition_of_10_900_sqm_asset_in_munich: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-europe-completes-first-german-life-sciences-investment-with-acquisition-of-10-900-sqm-asset-in-munich/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_europe_completes_first_german_life_sciences_investment_with_acquisition_of_10_900_sqm_asset_in_munich: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-completes-first-german-life-sciences-investment-with-acquisition-of-10-900-sqm-asset-in-munich/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_completes_first_german_life_sciences_investment_with_acquisition_of_10_900_sqm_asset_in_munich: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-completes-first-german-life-sciences-investment-with-acquisition-of-10-900-sqm-asset-in-munich/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_completes_first_german_life_sciences_investment_with_acquisition_of_10_900_sqm_asset_in_munich: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-completes-first-german-life-sciences-investment-with-acquisition-of-10-900-sqm-asset-in-munich/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_enters_german_data_centre_sector_with_nuremberg_acquisition', () => {
test('news_verendale_europe_enters_german_data_centre_sector_with_nuremberg_acquisition: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-enters-german-data-centre-sector-with-nuremberg-acquisition/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe enters german data cent');
});
test('news_verendale_europe_enters_german_data_centre_sector_with_nuremberg_acquisition: h1 "Verendale Europe enters German"', async ({ page }) => {
await page.goto('/news/verendale-europe-enters-german-data-centre-sector-with-nuremberg-acquisition/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe enters German data centre sector with Nuremberg acquisition' || t.startsWith('Verendale Europe enters German data centre sector with Nuremberg acquisition'))).toBeTruthy();
});
test('news_verendale_europe_enters_german_data_centre_sector_with_nuremberg_acquisition: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-europe-enters-german-data-centre-sector-with-nuremberg-acquisition/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_europe_enters_german_data_centre_sector_with_nuremberg_acquisition: nav link "Our Heritage"', async ({ page }) => {
await page.goto('/news/verendale-europe-enters-german-data-centre-sector-with-nuremberg-acquisition/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Heritage' || t.startsWith('Our Heritage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_enters_german_data_centre_sector_with_nuremberg_acquisition: nav link "Leadership"', async ({ page }) => {
await page.goto('/news/verendale-europe-enters-german-data-centre-sector-with-nuremberg-acquisition/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Leadership' || t.startsWith('Leadership')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_enters_german_data_centre_sector_with_nuremberg_acquisition: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-enters-german-data-centre-sector-with-nuremberg-acquisition/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_launches_development_of_light_industrial_park', () => {
test('news_verendale_europe_launches_development_of_light_industrial_park: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-launches-development-of-light-industrial-park/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe launches development of');
});
test('news_verendale_europe_launches_development_of_light_industrial_park: h1 "Verendale Europe launches deve"', async ({ page }) => {
await page.goto('/news/verendale-europe-launches-development-of-light-industrial-park/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe launches development of a 10,700 sqm light industrial park in Villepinte, France' || t.startsWith('Verendale Europe launches development of a 10,700 sqm light industrial park in Villepinte, France'))).toBeTruthy();
});
test('news_verendale_europe_launches_development_of_light_industrial_park: h3 "About Us"', async ({ page }) => {
await page.goto('/news/verendale-europe-launches-development-of-light-industrial-park/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_verendale_europe_launches_development_of_light_industrial_park: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-launches-development-of-light-industrial-park/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_launches_development_of_light_industrial_park: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-launches-development-of-light-industrial-park/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_launches_development_of_light_industrial_park: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-launches-development-of-light-industrial-park/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_promotes_anas_mouloudi_and_javed_aqil_to_fund_managers', () => {
test('news_verendale_europe_promotes_anas_mouloudi_and_javed_aqil_to_fund_managers: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-anas-mouloudi-and-javed-aqil-to-fund-managers/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe promotes marc voss and ');
});
test('news_verendale_europe_promotes_anas_mouloudi_and_javed_aqil_to_fund_managers: h1 "Verendale Europe promotes Marc"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-anas-mouloudi-and-javed-aqil-to-fund-managers/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe promotes Marc Voss and Rohan Anand to Fund Managers' || t.startsWith('Verendale Europe promotes Marc Voss and Rohan Anand to Fund Managers'))).toBeTruthy();
});
test('news_verendale_europe_promotes_anas_mouloudi_and_javed_aqil_to_fund_managers: h3 "About Us"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-anas-mouloudi-and-javed-aqil-to-fund-managers/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_verendale_europe_promotes_anas_mouloudi_and_javed_aqil_to_fund_managers: nav link "Our Journey"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-anas-mouloudi-and-javed-aqil-to-fund-managers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Journey' || t.startsWith('Our Journey')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_promotes_anas_mouloudi_and_javed_aqil_to_fund_managers: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-anas-mouloudi-and-javed-aqil-to-fund-managers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_promotes_anas_mouloudi_and_javed_aqil_to_fund_managers: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-anas-mouloudi-and-javed-aqil-to-fund-managers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_promotes_thierry_locatelli_to_head_of_investments_france', () => {
test('news_verendale_europe_promotes_thierry_locatelli_to_head_of_investments_france: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-thierry-locatelli-to-head-of-investments-france/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe names marcus delacroix ');
});
test('news_verendale_europe_promotes_thierry_locatelli_to_head_of_investments_france: h1 "Verendale Europe names Marcus "', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-thierry-locatelli-to-head-of-investments-france/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe names Marcus Delacroix Head of Investments France' || t.startsWith('Verendale Europe names Marcus Delacroix Head of Investments France'))).toBeTruthy();
});
test('news_verendale_europe_promotes_thierry_locatelli_to_head_of_investments_france: h3 "About Us"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-thierry-locatelli-to-head-of-investments-france/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_verendale_europe_promotes_thierry_locatelli_to_head_of_investments_france: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-thierry-locatelli-to-head-of-investments-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_promotes_thierry_locatelli_to_head_of_investments_france: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-thierry-locatelli-to-head-of-investments-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_promotes_thierry_locatelli_to_head_of_investments_france: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-thierry-locatelli-to-head-of-investments-france/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_promotes_vanessa_roux_collet_to_ceo_europe_and_head_of_france_and_christina_ofschonka_to_cio_europe', () => {
test('news_verendale_europe_promotes_vanessa_roux_collet_to_ceo_europe_and_head_of_france_and_christina_ofschonka_to_cio_europe: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-vanessa-roux-collet-to-ceo-europe-and-head-of-france-and-christina-ofschonka-to-cio-europe/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale europe promotes amélie vaudrin');
});
test('news_verendale_europe_promotes_vanessa_roux_collet_to_ceo_europe_and_head_of_france_and_christina_ofschonka_to_cio_europe: h1 "Verendale Europe promotes Amél"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-vanessa-roux-collet-to-ceo-europe-and-head-of-france-and-christina-ofschonka-to-cio-europe/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Europe promotes Amélie Vaudrin to CEO Europe and Head of France and Katrin Bosch to CIO Eu' || t.startsWith('Verendale Europe promotes Amélie Vaudrin to CEO Europe and Head of France and Katrin Bosch to CIO Eu'))).toBeTruthy();
});
test('news_verendale_europe_promotes_vanessa_roux_collet_to_ceo_europe_and_head_of_france_and_christina_ofschonka_to_cio_europe: h3 "Our Firm"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-vanessa-roux-collet-to-ceo-europe-and-head-of-france-and-christina-ofschonka-to-cio-europe/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Firm' || t.startsWith('Our Firm'))).toBeTruthy();
});
test('news_verendale_europe_promotes_vanessa_roux_collet_to_ceo_europe_and_head_of_france_and_christina_ofschonka_to_cio_europe: nav link "Our Legacy"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-vanessa-roux-collet-to-ceo-europe-and-head-of-france-and-christina-ofschonka-to-cio-europe/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Legacy' || t.startsWith('Our Legacy')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_promotes_vanessa_roux_collet_to_ceo_europe_and_head_of_france_and_christina_ofschonka_to_cio_europe: nav link "Leadership"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-vanessa-roux-collet-to-ceo-europe-and-head-of-france-and-christina-ofschonka-to-cio-europe/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Leadership' || t.startsWith('Leadership')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_promotes_vanessa_roux_collet_to_ceo_europe_and_head_of_france_and_christina_ofschonka_to_cio_europe: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-promotes-vanessa-roux-collet-to-ceo-europe-and-head-of-france-and-christina-ofschonka-to-cio-europe/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_europe_strengthens_asset_management_team_in_paris_with_four_appointments', () => {
test('news_verendale_europe_strengthens_asset_management_team_in_paris_with_four_appointments: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-europe-strengthens-asset-management-team-in-paris-with-four-appointments/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale expands its asset management t');
});
test('news_verendale_europe_strengthens_asset_management_team_in_paris_with_four_appointments: h1 "Verendale expands its Asset Ma"', async ({ page }) => {
await page.goto('/news/verendale-europe-strengthens-asset-management-team-in-paris-with-four-appointments/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale expands its Asset Management team in Paris with four senior appointments' || t.startsWith('Verendale expands its Asset Management team in Paris with four senior appointments'))).toBeTruthy();
});
test('news_verendale_europe_strengthens_asset_management_team_in_paris_with_four_appointments: h3 "About Us"', async ({ page }) => {
await page.goto('/news/verendale-europe-strengthens-asset-management-team-in-paris-with-four-appointments/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_verendale_europe_strengthens_asset_management_team_in_paris_with_four_appointments: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-europe-strengthens-asset-management-team-in-paris-with-four-appointments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_strengthens_asset_management_team_in_paris_with_four_appointments: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-europe-strengthens-asset-management-team-in-paris-with-four-appointments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_europe_strengthens_asset_management_team_in_paris_with_four_appointments: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-europe-strengthens-asset-management-team-in-paris-with-four-appointments/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_expands_asia_pacific_leadership', () => {
test('news_verendale_expands_asia_pacific_leadership: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-expands-asia-pacific-leadership/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale expands asia pacific team');
});
test('news_verendale_expands_asia_pacific_leadership: h1 "Verendale Expands Asia Pacific"', async ({ page }) => {
await page.goto('/news/verendale-expands-asia-pacific-leadership/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Expands Asia Pacific Team' || t.startsWith('Verendale Expands Asia Pacific Team'))).toBeTruthy();
});
test('news_verendale_expands_asia_pacific_leadership: h3 "Marcus Tan Returns as Head of "', async ({ page }) => {
await page.goto('/news/verendale-expands-asia-pacific-leadership/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Marcus Tan Returns as Head of Transactions for AsiaTwo Verendale Asia Leaders Promoted' || t.startsWith('Marcus Tan Returns as Head of Transactions for AsiaTwo Verendale Asia Leaders Promoted'))).toBeTruthy();
});
test('news_verendale_expands_asia_pacific_leadership: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-expands-asia-pacific-leadership/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_expands_asia_pacific_leadership: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-expands-asia-pacific-leadership/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_expands_asia_pacific_leadership: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-expands-asia-pacific-leadership/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_provides_68_million_construction_mortgage_to_develop_class_a_industrial_park_in_tempe_arizona', () => {
test('news_verendale_provides_68_million_construction_mortgage_to_develop_class_a_industrial_park_in_tempe_arizona: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-provides-68-million-construction-mortgage-to-develop-class-a-industrial-park-in-tempe-arizona/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale provides \$68 million construct');
});
test('news_verendale_provides_68_million_construction_mortgage_to_develop_class_a_industrial_park_in_tempe_arizona: h1 "Verendale Provides \$68 Million"', async ({ page }) => {
await page.goto('/news/verendale-provides-68-million-construction-mortgage-to-develop-class-a-industrial-park-in-tempe-arizona/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Provides \$68 Million Construction Mortgage to Develop Class A Industrial Park in Tempe, Ar' || t.startsWith('Verendale Provides \$68 Million Construction Mortgage to Develop Class A Industrial Park in Tempe, Ar'))).toBeTruthy();
});
test('news_verendale_provides_68_million_construction_mortgage_to_develop_class_a_industrial_park_in_tempe_arizona: h3 "Boston, January 28, 2025"', async ({ page }) => {
await page.goto('/news/verendale-provides-68-million-construction-mortgage-to-develop-class-a-industrial-park-in-tempe-arizona/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Boston, January 28, 2025' || t.startsWith('Boston, January 28, 2025'))).toBeTruthy();
});
test('news_verendale_provides_68_million_construction_mortgage_to_develop_class_a_industrial_park_in_tempe_arizona: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-provides-68-million-construction-mortgage-to-develop-class-a-industrial-park-in-tempe-arizona/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_provides_68_million_construction_mortgage_to_develop_class_a_industrial_park_in_tempe_arizona: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-provides-68-million-construction-mortgage-to-develop-class-a-industrial-park-in-tempe-arizona/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_provides_68_million_construction_mortgage_to_develop_class_a_industrial_park_in_tempe_arizona: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-provides-68-million-construction-mortgage-to-develop-class-a-industrial-park-in-tempe-arizona/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_provides_68_million_construction_mortgage_to_develop_class_a_industrial_park_in_tempe_arizona: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-provides-68-million-construction-mortgage-to-develop-class-a-industrial-park-in-tempe-arizona/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_provides_75_million_mortgage_to_refinance_class_a_multifamily_high_rise_in_atlanta_georgia', () => {
test('news_verendale_provides_75_million_mortgage_to_refinance_class_a_multifamily_high_rise_in_atlanta_georgia: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-provides-75-million-mortgage-to-refinance-class-a-multifamily-high-rise-in-atlanta-georgia/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale provides \$75 million mortgage ');
});
test('news_verendale_provides_75_million_mortgage_to_refinance_class_a_multifamily_high_rise_in_atlanta_georgia: h1 "Verendale Provides \$75 Million"', async ({ page }) => {
await page.goto('/news/verendale-provides-75-million-mortgage-to-refinance-class-a-multifamily-high-rise-in-atlanta-georgia/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Provides \$75 Million Mortgage to Refinance Class A, Multifamily High-Rise in Atlanta, Geor' || t.startsWith('Verendale Provides \$75 Million Mortgage to Refinance Class A, Multifamily High-Rise in Atlanta, Geor'))).toBeTruthy();
});
test('news_verendale_provides_75_million_mortgage_to_refinance_class_a_multifamily_high_rise_in_atlanta_georgia: h3 "Boston, February 18, 2025"', async ({ page }) => {
await page.goto('/news/verendale-provides-75-million-mortgage-to-refinance-class-a-multifamily-high-rise-in-atlanta-georgia/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Boston, February 18, 2025' || t.startsWith('Boston, February 18, 2025'))).toBeTruthy();
});
test('news_verendale_provides_75_million_mortgage_to_refinance_class_a_multifamily_high_rise_in_atlanta_georgia: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-provides-75-million-mortgage-to-refinance-class-a-multifamily-high-rise-in-atlanta-georgia/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_provides_75_million_mortgage_to_refinance_class_a_multifamily_high_rise_in_atlanta_georgia: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-provides-75-million-mortgage-to-refinance-class-a-multifamily-high-rise-in-atlanta-georgia/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_provides_75_million_mortgage_to_refinance_class_a_multifamily_high_rise_in_atlanta_georgia: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-provides-75-million-mortgage-to-refinance-class-a-multifamily-high-rise-in-atlanta-georgia/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_provides_75_million_mortgage_to_refinance_class_a_multifamily_high_rise_in_atlanta_georgia: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-provides-75-million-mortgage-to-refinance-class-a-multifamily-high-rise-in-atlanta-georgia/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_verendale_raises_1_77_billion_for_verendale_partners_real_estate_fund_x_l_p', () => {
test('news_verendale_raises_1_77_billion_for_verendale_partners_real_estate_fund_x_l_p: title matches GT', async ({ page }) => {
await page.goto('/news/verendale-raises-1-77-billion-for-verendale-partners-real-estate-fund-x-l-p/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale closes \$1.94 billion for veren');
});
test('news_verendale_raises_1_77_billion_for_verendale_partners_real_estate_fund_x_l_p: h1 "Verendale Closes \$1.94 Billion"', async ({ page }) => {
await page.goto('/news/verendale-raises-1-77-billion-for-verendale-partners-real-estate-fund-x-l-p/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Closes \$1.94 Billion for Verendale Opportunity Fund VIII, L.P.' || t.startsWith('Verendale Closes \$1.94 Billion for Verendale Opportunity Fund VIII, L.P.'))).toBeTruthy();
});
test('news_verendale_raises_1_77_billion_for_verendale_partners_real_estate_fund_x_l_p: h3 "Hartford - June 3, 2025"', async ({ page }) => {
await page.goto('/news/verendale-raises-1-77-billion-for-verendale-partners-real-estate-fund-x-l-p/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hartford - June 3, 2025' || t.startsWith('Hartford - June 3, 2025'))).toBeTruthy();
});
test('news_verendale_raises_1_77_billion_for_verendale_partners_real_estate_fund_x_l_p: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/verendale-raises-1-77-billion-for-verendale-partners-real-estate-fund-x-l-p/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_verendale_raises_1_77_billion_for_verendale_partners_real_estate_fund_x_l_p: nav link "Our History"', async ({ page }) => {
await page.goto('/news/verendale-raises-1-77-billion-for-verendale-partners-real-estate-fund-x-l-p/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_verendale_raises_1_77_billion_for_verendale_partners_real_estate_fund_x_l_p: nav link "Our People"', async ({ page }) => {
await page.goto('/news/verendale-raises-1-77-billion-for-verendale-partners-real-estate-fund-x-l-p/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_verendale_raises_1_77_billion_for_verendale_partners_real_estate_fund_x_l_p: nav link "News"', async ({ page }) => {
await page.goto('/news/verendale-raises-1-77-billion-for-verendale-partners-real-estate-fund-x-l-p/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_claudia_gernegross_joins_verendale_investor_relations_team', () => {
test('news_claudia_gernegross_joins_verendale_investor_relations_team: title matches GT', async ({ page }) => {
await page.goto('/news/claudia-gernegross-joins-verendale-investor-relations-team/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('marisol verhoeven joins investor relatio');
});
test('news_claudia_gernegross_joins_verendale_investor_relations_team: h1 "Marisol Verhoeven Joins Verend"', async ({ page }) => {
await page.goto('/news/claudia-gernegross-joins-verendale-investor-relations-team/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Marisol Verhoeven Joins Verendale Investor Relations Team' || t.startsWith('Marisol Verhoeven Joins Verendale Investor Relations Team'))).toBeTruthy();
});
test('news_claudia_gernegross_joins_verendale_investor_relations_team: h3 "Geneva - June 4, 2025"', async ({ page }) => {
await page.goto('/news/claudia-gernegross-joins-verendale-investor-relations-team/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Geneva - June 4, 2025' || t.startsWith('Geneva - June 4, 2025'))).toBeTruthy();
});
test('news_claudia_gernegross_joins_verendale_investor_relations_team: h3 "About Us"', async ({ page }) => {
await page.goto('/news/claudia-gernegross-joins-verendale-investor-relations-team/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_claudia_gernegross_joins_verendale_investor_relations_team: nav link "Our History"', async ({ page }) => {
await page.goto('/news/claudia-gernegross-joins-verendale-investor-relations-team/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_claudia_gernegross_joins_verendale_investor_relations_team: nav link "Our People"', async ({ page }) => {
await page.goto('/news/claudia-gernegross-joins-verendale-investor-relations-team/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_claudia_gernegross_joins_verendale_investor_relations_team: nav link "News"', async ({ page }) => {
await page.goto('/news/claudia-gernegross-joins-verendale-investor-relations-team/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_katie_johnson_bergen_joins_verendale_investor_relations_team', () => {
test('news_katie_johnson_bergen_joins_verendale_investor_relations_team: title matches GT', async ({ page }) => {
await page.goto('/news/katie-johnson-bergen-joins-verendale-investor-relations-team/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('elena whitmore joins verendale investor ');
});
test('news_katie_johnson_bergen_joins_verendale_investor_relations_team: h1 "Elena Whitmore Joins Verendale"', async ({ page }) => {
await page.goto('/news/katie-johnson-bergen-joins-verendale-investor-relations-team/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Elena Whitmore Joins Verendale Investor Relations Team' || t.startsWith('Elena Whitmore Joins Verendale Investor Relations Team'))).toBeTruthy();
});
test('news_katie_johnson_bergen_joins_verendale_investor_relations_team: h3 "Chicago, June 27, 2024"', async ({ page }) => {
await page.goto('/news/katie-johnson-bergen-joins-verendale-investor-relations-team/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Chicago, June 27, 2024' || t.startsWith('Chicago, June 27, 2024'))).toBeTruthy();
});
test('news_katie_johnson_bergen_joins_verendale_investor_relations_team: nav link "Our History"', async ({ page }) => {
await page.goto('/news/katie-johnson-bergen-joins-verendale-investor-relations-team/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_katie_johnson_bergen_joins_verendale_investor_relations_team: nav link "Our People"', async ({ page }) => {
await page.goto('/news/katie-johnson-bergen-joins-verendale-investor-relations-team/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_katie_johnson_bergen_joins_verendale_investor_relations_team: nav link "News"', async ({ page }) => {
await page.goto('/news/katie-johnson-bergen-joins-verendale-investor-relations-team/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_lauren_holden_joins_verendale_as_head_of_retail', () => {
test('news_lauren_holden_joins_verendale_as_head_of_retail: title matches GT', async ({ page }) => {
await page.goto('/news/lauren-holden-joins-verendale-as-head-of-retail/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('elena voss joins verendale as head of re');
});
test('news_lauren_holden_joins_verendale_as_head_of_retail: h1 "Elena Voss Joins Verendale as "', async ({ page }) => {
await page.goto('/news/lauren-holden-joins-verendale-as-head-of-retail/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Elena Voss Joins Verendale as Head of Retail' || t.startsWith('Elena Voss Joins Verendale as Head of Retail'))).toBeTruthy();
});
test('news_lauren_holden_joins_verendale_as_head_of_retail: h3 "About Verendale"', async ({ page }) => {
await page.goto('/news/lauren-holden-joins-verendale-as-head-of-retail/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Verendale' || t.startsWith('About Verendale'))).toBeTruthy();
});
test('news_lauren_holden_joins_verendale_as_head_of_retail: nav link "Our History"', async ({ page }) => {
await page.goto('/news/lauren-holden-joins-verendale-as-head-of-retail/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_lauren_holden_joins_verendale_as_head_of_retail: nav link "Our People"', async ({ page }) => {
await page.goto('/news/lauren-holden-joins-verendale-as-head-of-retail/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_lauren_holden_joins_verendale_as_head_of_retail: nav link "News"', async ({ page }) => {
await page.goto('/news/lauren-holden-joins-verendale-as-head-of-retail/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_melanie_warren_joins_verendales_growing_investor_relations_team', () => {
test('news_melanie_warren_joins_verendales_growing_investor_relations_team: title matches GT', async ({ page }) => {
await page.goto('/news/melanie-warren-joins-verendales-growing-investor-relations-team/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('danielle coste joins verendale’s investo');
});
test('news_melanie_warren_joins_verendales_growing_investor_relations_team: h1 "Danielle Coste Joins Verendale"', async ({ page }) => {
await page.goto('/news/melanie-warren-joins-verendales-growing-investor-relations-team/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Danielle Coste Joins Verendale’s Growing Investor Relations Team' || t.startsWith('Danielle Coste Joins Verendale’s Growing Investor Relations Team'))).toBeTruthy();
});
test('news_melanie_warren_joins_verendales_growing_investor_relations_team: nav link "Firm"', async ({ page }) => {
await page.goto('/news/melanie-warren-joins-verendales-growing-investor-relations-team/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Firm' || t.startsWith('Firm')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about')), 'href fragment present').toBeTruthy();
});
test('news_melanie_warren_joins_verendales_growing_investor_relations_team: nav link "Our Heritage"', async ({ page }) => {
await page.goto('/news/melanie-warren-joins-verendales-growing-investor-relations-team/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Heritage' || t.startsWith('Our Heritage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_melanie_warren_joins_verendales_growing_investor_relations_team: nav link "Our Team"', async ({ page }) => {
await page.goto('/news/melanie-warren-joins-verendales-growing-investor-relations-team/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Team' || t.startsWith('Our Team')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_melanie_warren_joins_verendales_growing_investor_relations_team: nav link "News"', async ({ page }) => {
await page.goto('/news/melanie-warren-joins-verendales-growing-investor-relations-team/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_sugarloaf_logistics_hub_secures_200_000_sf_lease_for_food_distribution_center', () => {
test('news_sugarloaf_logistics_hub_secures_200_000_sf_lease_for_food_distribution_center: title matches GT', async ({ page }) => {
await page.goto('/news/sugarloaf-logistics-hub-secures-200-000-sf-lease-for-food-distribution-center/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('hollowmere logistics hub secures 200,000');
});
test('news_sugarloaf_logistics_hub_secures_200_000_sf_lease_for_food_distribution_center: h1 "Hollowmere Logistics Hub Secur"', async ({ page }) => {
await page.goto('/news/sugarloaf-logistics-hub-secures-200-000-sf-lease-for-food-distribution-center/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hollowmere Logistics Hub Secures 200,000 SF Lease for Food Distribution Center' || t.startsWith('Hollowmere Logistics Hub Secures 200,000 SF Lease for Food Distribution Center'))).toBeTruthy();
});
test('news_sugarloaf_logistics_hub_secures_200_000_sf_lease_for_food_distribution_center: h1 "Lease with Delmara Foods Will "', async ({ page }) => {
await page.goto('/news/sugarloaf-logistics-hub-secures-200-000-sf-lease-for-food-distribution-center/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Lease with Delmara Foods Will Bring \$28M Investment and 70 Jobs to Greater Redmont Area' || t.startsWith('Lease with Delmara Foods Will Bring \$28M Investment and 70 Jobs to Greater Redmont Area'))).toBeTruthy();
});
test('news_sugarloaf_logistics_hub_secures_200_000_sf_lease_for_food_distribution_center: h3 "Delmara Foods expands local pr"', async ({ page }) => {
await page.goto('/news/sugarloaf-logistics-hub-secures-200-000-sf-lease-for-food-distribution-center/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Delmara Foods expands local presence' || t.startsWith('Delmara Foods expands local presence'))).toBeTruthy();
});
test('news_sugarloaf_logistics_hub_secures_200_000_sf_lease_for_food_distribution_center: h3 "Over 13 acres sold to Northgat"', async ({ page }) => {
await page.goto('/news/sugarloaf-logistics-hub-secures-200-000-sf-lease-for-food-distribution-center/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Over 13 acres sold to Northgate Residential for multifamily development' || t.startsWith('Over 13 acres sold to Northgate Residential for multifamily development'))).toBeTruthy();
});
test('news_sugarloaf_logistics_hub_secures_200_000_sf_lease_for_food_distribution_center: nav link "About"', async ({ page }) => {
await page.goto('/news/sugarloaf-logistics-hub-secures-200-000-sf-lease-for-food-distribution-center/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('news_sugarloaf_logistics_hub_secures_200_000_sf_lease_for_food_distribution_center: nav link "Our History"', async ({ page }) => {
await page.goto('/news/sugarloaf-logistics-hub-secures-200-000-sf-lease-for-food-distribution-center/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('news_sugarloaf_logistics_hub_secures_200_000_sf_lease_for_food_distribution_center: nav link "Our People"', async ({ page }) => {
await page.goto('/news/sugarloaf-logistics-hub-secures-200-000-sf-lease-for-food-distribution-center/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('news_sugarloaf_logistics_hub_secures_200_000_sf_lease_for_food_distribution_center: nav link "News"', async ({ page }) => {
await page.goto('/news/sugarloaf-logistics-hub-secures-200-000-sf-lease-for-food-distribution-center/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - research_european_retail_parks_shopping_centers_are_back', () => {
test('research_european_retail_parks_shopping_centers_are_back: title matches GT', async ({ page }) => {
await page.goto('/research/european-retail-parks-shopping-centers-are-back/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('european retail parks & shopping centres');
});
test('research_european_retail_parks_shopping_centers_are_back: h1 "February 2026 European Retail "', async ({ page }) => {
await page.goto('/research/european-retail-parks-shopping-centers-are-back/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'February 2026 European Retail Parks & Shopping Centres Rebound' || t.startsWith('February 2026 European Retail Parks & Shopping Centres Rebound'))).toBeTruthy();
});
test('research_european_retail_parks_shopping_centers_are_back: h2 "Searching For More Research?"', async ({ page }) => {
await page.goto('/research/european-retail-parks-shopping-centers-are-back/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Searching For More Research?' || t.startsWith('Searching For More Research?'))).toBeTruthy();
});
test('research_european_retail_parks_shopping_centers_are_back: nav link "About"', async ({ page }) => {
await page.goto('/research/european-retail-parks-shopping-centers-are-back/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('research_european_retail_parks_shopping_centers_are_back: nav link "Our History"', async ({ page }) => {
await page.goto('/research/european-retail-parks-shopping-centers-are-back/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('research_european_retail_parks_shopping_centers_are_back: nav link "Our People"', async ({ page }) => {
await page.goto('/research/european-retail-parks-shopping-centers-are-back/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('research_european_retail_parks_shopping_centers_are_back: nav link "News"', async ({ page }) => {
await page.goto('/research/european-retail-parks-shopping-centers-are-back/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - research_no_quick_fix_in_26', () => {
test('research_no_quick_fix_in_26: title matches GT', async ({ page }) => {
await page.goto('/research/no-quick-fix-in-26/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('slow road in \'26');
});
test('research_no_quick_fix_in_26: h1 "APAC ECONOMIC AND PROPERTY MAR"', async ({ page }) => {
await page.goto('/research/no-quick-fix-in-26/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'APAC ECONOMIC AND PROPERTY MARKET OUTLOOK No easy path in \'26' || t.startsWith('APAC ECONOMIC AND PROPERTY MARKET OUTLOOK No easy path in \'26'))).toBeTruthy();
});
test('research_no_quick_fix_in_26: h1 "Endured \'25, but No Easy Fix i"', async ({ page }) => {
await page.goto('/research/no-quick-fix-in-26/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Endured \'25, but No Easy Fix in \'26' || t.startsWith('Endured \'25, but No Easy Fix in \'26'))).toBeTruthy();
});
test('research_no_quick_fix_in_26: h1 "Growth Steadies in 26 as Polic"', async ({ page }) => {
await page.goto('/research/no-quick-fix-in-26/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Growth Steadies in 26 as Policy Space Narrows' || t.startsWith('Growth Steadies in 26 as Policy Space Narrows'))).toBeTruthy();
});
test('research_no_quick_fix_in_26: h1 "Tailoring Strategy to Divergin"', async ({ page }) => {
await page.goto('/research/no-quick-fix-in-26/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tailoring Strategy to Diverging Cycles' || t.startsWith('Tailoring Strategy to Diverging Cycles'))).toBeTruthy();
});
test('research_no_quick_fix_in_26: nav link "About"', async ({ page }) => {
await page.goto('/research/no-quick-fix-in-26/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('research_no_quick_fix_in_26: nav link "Our Legacy"', async ({ page }) => {
await page.goto('/research/no-quick-fix-in-26/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Legacy' || t.startsWith('Our Legacy')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('research_no_quick_fix_in_26: nav link "Leadership"', async ({ page }) => {
await page.goto('/research/no-quick-fix-in-26/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Leadership' || t.startsWith('Leadership')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('research_no_quick_fix_in_26: nav link "News"', async ({ page }) => {
await page.goto('/research/no-quick-fix-in-26/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - research_the_new_old_cycle', () => {
test('research_the_new_old_cycle: title matches GT', async ({ page }) => {
await page.goto('/research/the-new-old-cycle/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('the slow turn');
});
test('research_the_new_old_cycle: h1 "U.S. ECONOMIC AND PROPERTY MAR"', async ({ page }) => {
await page.goto('/research/the-new-old-cycle/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'U.S. ECONOMIC AND PROPERTY MARKET OUTLOOK The Slow Turn' || t.startsWith('U.S. ECONOMIC AND PROPERTY MARKET OUTLOOK The Slow Turn'))).toBeTruthy();
});
test('research_the_new_old_cycle: h1 "Office"', async ({ page }) => {
await page.goto('/research/the-new-old-cycle/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Office' || t.startsWith('Office'))).toBeTruthy();
});
test('research_the_new_old_cycle: h1 "Apartment"', async ({ page }) => {
await page.goto('/research/the-new-old-cycle/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Apartment' || t.startsWith('Apartment'))).toBeTruthy();
});
test('research_the_new_old_cycle: h1 "Industrial"', async ({ page }) => {
await page.goto('/research/the-new-old-cycle/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Industrial' || t.startsWith('Industrial'))).toBeTruthy();
});
test('research_the_new_old_cycle: nav link "About"', async ({ page }) => {
await page.goto('/research/the-new-old-cycle/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About' || t.startsWith('About')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('about\n')), 'href fragment present').toBeTruthy();
});
test('research_the_new_old_cycle: nav link "Our History"', async ({ page }) => {
await page.goto('/research/the-new-old-cycle/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history\n')), 'href fragment present').toBeTruthy();
});
test('research_the_new_old_cycle: nav link "Our People"', async ({ page }) => {
await page.goto('/research/the-new-old-cycle/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people\n')), 'href fragment present').toBeTruthy();
});
test('research_the_new_old_cycle: nav link "News"', async ({ page }) => {
await page.goto('/research/the-new-old-cycle/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news\n')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_2022_verendale_acquires_a_multifamily_portfolio_in_japan', () => {
test('news_2022_verendale_acquires_a_multifamily_portfolio_in_japan: title matches GT', async ({ page }) => {
await page.goto('/news/2022/verendale-acquires-a-multifamily-portfolio-in-japan/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale buys a tokyo multifamily portf');
});
test('news_2022_verendale_acquires_a_multifamily_portfolio_in_japan: h1 "Verendale Buys a Tokyo Multifa"', async ({ page }) => {
await page.goto('/news/2022/verendale-acquires-a-multifamily-portfolio-in-japan/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Buys a Tokyo Multifamily Portfolio' || t.startsWith('Verendale Buys a Tokyo Multifamily Portfolio'))).toBeTruthy();
});
test('news_2022_verendale_acquires_a_multifamily_portfolio_in_japan: h3 "March 3, 2022 - Chicago, IL"', async ({ page }) => {
await page.goto('/news/2022/verendale-acquires-a-multifamily-portfolio-in-japan/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'March 3, 2022 - Chicago, IL' || t.startsWith('March 3, 2022 - Chicago, IL'))).toBeTruthy();
});
test('news_2022_verendale_acquires_a_multifamily_portfolio_in_japan: h3 "About Us"', async ({ page }) => {
await page.goto('/news/2022/verendale-acquires-a-multifamily-portfolio-in-japan/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_2022_verendale_acquires_a_multifamily_portfolio_in_japan: nav link "Our History"', async ({ page }) => {
await page.goto('/news/2022/verendale-acquires-a-multifamily-portfolio-in-japan/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_2022_verendale_acquires_a_multifamily_portfolio_in_japan: nav link "Our People"', async ({ page }) => {
await page.goto('/news/2022/verendale-acquires-a-multifamily-portfolio-in-japan/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_2022_verendale_acquires_a_multifamily_portfolio_in_japan: nav link "News"', async ({ page }) => {
await page.goto('/news/2022/verendale-acquires-a-multifamily-portfolio-in-japan/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_2022_verendale_completes_germanys_first_multi_storey_logistics_development', () => {
test('news_2022_verendale_completes_germanys_first_multi_storey_logistics_development: title matches GT', async ({ page }) => {
await page.goto('/news/2022/verendale-completes-germanys-first-multi-storey-logistics-development/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale delivers the region\'s first mu');
});
test('news_2022_verendale_completes_germanys_first_multi_storey_logistics_development: h1 "Verendale delivers the region\'"', async ({ page }) => {
await page.goto('/news/2022/verendale-completes-germanys-first-multi-storey-logistics-development/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale delivers the region\'s first multi-storey logistics scheme' || t.startsWith('Verendale delivers the region\'s first multi-storey logistics scheme'))).toBeTruthy();
});
test('news_2022_verendale_completes_germanys_first_multi_storey_logistics_development: h3 "16th September 2022"', async ({ page }) => {
await page.goto('/news/2022/verendale-completes-germanys-first-multi-storey-logistics-development/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '16th September 2022' || t.startsWith('16th September 2022'))).toBeTruthy();
});
test('news_2022_verendale_completes_germanys_first_multi_storey_logistics_development: h4 "ABOUT VERENDALE"', async ({ page }) => {
await page.goto('/news/2022/verendale-completes-germanys-first-multi-storey-logistics-development/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ABOUT VERENDALE' || t.startsWith('ABOUT VERENDALE'))).toBeTruthy();
});
test('news_2022_verendale_completes_germanys_first_multi_storey_logistics_development: nav link "Our History"', async ({ page }) => {
await page.goto('/news/2022/verendale-completes-germanys-first-multi-storey-logistics-development/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_2022_verendale_completes_germanys_first_multi_storey_logistics_development: nav link "Our People"', async ({ page }) => {
await page.goto('/news/2022/verendale-completes-germanys-first-multi-storey-logistics-development/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_2022_verendale_completes_germanys_first_multi_storey_logistics_development: nav link "News"', async ({ page }) => {
await page.goto('/news/2022/verendale-completes-germanys-first-multi-storey-logistics-development/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_2022_verendale_expands_japan_multifamily_portfolio', () => {
test('news_2022_verendale_expands_japan_multifamily_portfolio: title matches GT', async ({ page }) => {
await page.goto('/news/2022/verendale-expands-japan-multifamily-portfolio/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale grows japan rental portfolio');
});
test('news_2022_verendale_expands_japan_multifamily_portfolio: h1 "Verendale Expands Japan Rental"', async ({ page }) => {
await page.goto('/news/2022/verendale-expands-japan-multifamily-portfolio/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Expands Japan Rental Portfolio' || t.startsWith('Verendale Expands Japan Rental Portfolio'))).toBeTruthy();
});
test('news_2022_verendale_expands_japan_multifamily_portfolio: h3 "Boston, April 19, 2022"', async ({ page }) => {
await page.goto('/news/2022/verendale-expands-japan-multifamily-portfolio/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Boston, April 19, 2022' || t.startsWith('Boston, April 19, 2022'))).toBeTruthy();
});
test('news_2022_verendale_expands_japan_multifamily_portfolio: h3 "About Us"', async ({ page }) => {
await page.goto('/news/2022/verendale-expands-japan-multifamily-portfolio/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'About Us' || t.startsWith('About Us'))).toBeTruthy();
});
test('news_2022_verendale_expands_japan_multifamily_portfolio: nav link "Our Heritage"', async ({ page }) => {
await page.goto('/news/2022/verendale-expands-japan-multifamily-portfolio/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our Heritage' || t.startsWith('Our Heritage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_2022_verendale_expands_japan_multifamily_portfolio: nav link "Leadership"', async ({ page }) => {
await page.goto('/news/2022/verendale-expands-japan-multifamily-portfolio/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Leadership' || t.startsWith('Leadership')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_2022_verendale_expands_japan_multifamily_portfolio: nav link "News"', async ({ page }) => {
await page.goto('/news/2022/verendale-expands-japan-multifamily-portfolio/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - news_2023_verendale_head_of_research_michael_j_acton_receives_2023_prea_graaskamp_research_award', () => {
test('news_2023_verendale_head_of_research_michael_j_acton_receives_2023_prea_graaskamp_research_award: title matches GT', async ({ page }) => {
await page.goto('/news/2023/verendale-head-of-research-michael-j-acton-receives-2023-prea-graaskamp-research-award/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('verendale head of research daniel r. van');
});
test('news_2023_verendale_head_of_research_michael_j_acton_receives_2023_prea_graaskamp_research_award: h1 "Verendale Head of Research Dan"', async ({ page }) => {
await page.goto('/news/2023/verendale-head-of-research-michael-j-acton-receives-2023-prea-graaskamp-research-award/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verendale Head of Research Daniel R. Vance Receives 2023 IRRC Westfield Research Award' || t.startsWith('Verendale Head of Research Daniel R. Vance Receives 2023 IRRC Westfield Research Award'))).toBeTruthy();
});
test('news_2023_verendale_head_of_research_michael_j_acton_receives_2023_prea_graaskamp_research_award: h3 "Denver, October 20, 2023"', async ({ page }) => {
await page.goto('/news/2023/verendale-head-of-research-michael-j-acton-receives-2023-prea-graaskamp-research-award/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Denver, October 20, 2023' || t.startsWith('Denver, October 20, 2023'))).toBeTruthy();
});
test('news_2023_verendale_head_of_research_michael_j_acton_receives_2023_prea_graaskamp_research_award: nav link "Our History"', async ({ page }) => {
await page.goto('/news/2023/verendale-head-of-research-michael-j-acton-receives-2023-prea-graaskamp-research-award/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our History' || t.startsWith('Our History')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('history')), 'href fragment present').toBeTruthy();
});
test('news_2023_verendale_head_of_research_michael_j_acton_receives_2023_prea_graaskamp_research_award: nav link "Our People"', async ({ page }) => {
await page.goto('/news/2023/verendale-head-of-research-michael-j-acton-receives-2023-prea-graaskamp-research-award/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our People' || t.startsWith('Our People')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('people')), 'href fragment present').toBeTruthy();
});
test('news_2023_verendale_head_of_research_michael_j_acton_receives_2023_prea_graaskamp_research_award: nav link "News"', async ({ page }) => {
await page.goto('/news/2023/verendale-head-of-research-michael-j-acton-receives-2023-prea-graaskamp-research-award/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'News' || t.startsWith('News')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('news')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - Routing', () => {
test('navigate to legal via "Company Legal Information"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="legal"]').first();
expect(await link.count(), 'nav link to legal exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('legal');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Legal & Corporate Notices');
});
test('navigate to social_media_disclaimer via "Social Media Disclaimer"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="social-media-disclaimer"]').first();
expect(await link.count(), 'nav link to social_media_disclaimer exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('social-media-disclaimer');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Social Media Guidelines for Use and Disclaimers');
});
});