Datasets:
Download web/rust-lang.org/tests/static/content.scripted.spec.ts from Qwen/RecreationBench: direct link, hf CLI and curl.
- Browser
- Download file 142 kB
-
https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/rust-lang.org/tests/static/content.scripted.spec.ts
- Command line
-
hf download hf://datasets/Qwen/RecreationBench/web/rust-lang.org/tests/static/content.scripted.spec.ts
-
curl -L -o content.scripted.spec.ts https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/rust-lang.org/tests/static/content.scripted.spec.ts
142 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('rust programming language'); | |
| }); | |
| }); | |
| test.describe('Functional - community', () => { | |
| test('community: title matches GT', async ({ page }) => { | |
| await page.goto('/community/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('community'); | |
| }); | |
| test('community: h2 "Read about Rust"', async ({ page }) => { | |
| await page.goto('/community/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Read about Rust' || t.startsWith('Read about Rust'))).toBeTruthy(); | |
| }); | |
| test('community: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/community/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance', () => { | |
| test('governance: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('governance'); | |
| }); | |
| test('governance: h2 "How Rust is built by its commu"', async ({ page }) => { | |
| await page.goto('/governance/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'How Rust is built by its community' || t.startsWith('How Rust is built by its community'))).toBeTruthy(); | |
| }); | |
| test('governance: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - learn', () => { | |
| test('learn: title matches GT', async ({ page }) => { | |
| await page.goto('/learn/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('learn rust'); | |
| }); | |
| test('learn: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/learn/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - learn_get_started', () => { | |
| test('learn_get_started: title matches GT', async ({ page }) => { | |
| await page.goto('/learn/get-started/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('getting started'); | |
| }); | |
| test('learn_get_started: h2 "Quickly set up a Rust developm"', async ({ page }) => { | |
| await page.goto('/learn/get-started/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Quickly set up a Rust development environment and write a small app!' || t.startsWith('Quickly set up a Rust development environment and write a small app!'))).toBeTruthy(); | |
| }); | |
| test('learn_get_started: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/learn/get-started/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - policies', () => { | |
| test('policies: title matches GT', async ({ page }) => { | |
| await page.goto('/policies/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('policies'); | |
| }); | |
| test('policies: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/policies/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('policies: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/policies/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('policies: h4 "Social"', async ({ page }) => { | |
| await page.goto('/policies/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('policies: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/policies/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - policies_code_of_conduct', () => { | |
| test('policies_code_of_conduct: title matches GT', async ({ page }) => { | |
| await page.goto('/policies/code-of-conduct/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('code of conduct'); | |
| }); | |
| test('policies_code_of_conduct: h2 "Conduct"', async ({ page }) => { | |
| await page.goto('/policies/code-of-conduct/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Conduct' || t.startsWith('Conduct'))).toBeTruthy(); | |
| }); | |
| test('policies_code_of_conduct: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/policies/code-of-conduct/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('policies_code_of_conduct: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/policies/code-of-conduct/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - policies_licenses', () => { | |
| test('policies_licenses: title matches GT', async ({ page }) => { | |
| await page.goto('/policies/licenses/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('licenses'); | |
| }); | |
| test('policies_licenses: h2 "License"', async ({ page }) => { | |
| await page.goto('/policies/licenses/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'License' || t.startsWith('License'))).toBeTruthy(); | |
| }); | |
| test('policies_licenses: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/policies/licenses/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('policies_licenses: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/policies/licenses/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - policies_security', () => { | |
| test('policies_security: title matches GT', async ({ page }) => { | |
| await page.goto('/policies/security/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('security policy'); | |
| }); | |
| test('policies_security: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/policies/security/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - tools', () => { | |
| test('tools: title matches GT', async ({ page }) => { | |
| await page.goto('/tools/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('tools'); | |
| }); | |
| test('tools: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/tools/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - tools_install', () => { | |
| test('tools_install: title matches GT', async ({ page }) => { | |
| await page.goto('/tools/install/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('install rust'); | |
| }); | |
| test('tools_install: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/tools/install/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - what_cli', () => { | |
| test('what_cli: title matches GT', async ({ page }) => { | |
| await page.goto('/what/cli/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('command'); | |
| }); | |
| test('what_cli: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/what/cli/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - what_embedded', () => { | |
| test('what_embedded: title matches GT', async ({ page }) => { | |
| await page.goto('/what/embedded/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('embedded devices'); | |
| }); | |
| test('what_embedded: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/what/embedded/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - what_networking', () => { | |
| test('what_networking: title matches GT', async ({ page }) => { | |
| await page.goto('/what/networking/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('networking'); | |
| }); | |
| test('what_networking: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/what/networking/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - what_wasm', () => { | |
| test('what_wasm: title matches GT', async ({ page }) => { | |
| await page.goto('/what/wasm/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('webassembly'); | |
| }); | |
| test('what_wasm: h1 "WebAssembly"', async ({ page }) => { | |
| await page.goto('/what/wasm/'); | |
| const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'WebAssembly' || t.startsWith('WebAssembly'))).toBeTruthy(); | |
| }); | |
| test('what_wasm: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/what/wasm/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_0xPoe', () => { | |
| test('governance_people_0xPoe: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/0xPoe/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_0xPoe: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/0xPoe/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_0xPoe: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/0xPoe/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_0xPoe: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/0xPoe/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_0xPoe: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/0xPoe/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_1c3t3a', () => { | |
| test('governance_people_1c3t3a: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/1c3t3a/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_1c3t3a: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/1c3t3a/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_1c3t3a: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/1c3t3a/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_1c3t3a: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/1c3t3a/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_1c3t3a: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/1c3t3a/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_A4_Tacks', () => { | |
| test('governance_people_A4_Tacks: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/A4-Tacks/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_A4_Tacks: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/A4-Tacks/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_A4_Tacks: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/A4-Tacks/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_A4_Tacks: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/A4-Tacks/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_A4_Tacks: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/A4-Tacks/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Aaron1011', () => { | |
| test('governance_people_Aaron1011: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Aaron1011/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Aaron1011: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Aaron1011/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Aaron1011: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Aaron1011/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Aaron1011: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Aaron1011/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Aaron1011: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Aaron1011/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Aaron1011: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Aaron1011/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Aatch', () => { | |
| test('governance_people_Aatch: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Aatch/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Aatch: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Aatch/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Aatch: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Aatch/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Aatch: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Aatch/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Aatch: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Aatch/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Aatch: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Aatch/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Alexendoo', () => { | |
| test('governance_people_Alexendoo: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Alexendoo/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Alexendoo: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Alexendoo/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Alexendoo: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Alexendoo/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Alexendoo: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Alexendoo/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Alexendoo: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Alexendoo/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Amanieu', () => { | |
| test('governance_people_Amanieu: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Amanieu/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Amanieu: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Amanieu/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Amanieu: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Amanieu/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Amanieu: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Amanieu/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Amanieu: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Amanieu/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_BoxyUwU', () => { | |
| test('governance_people_BoxyUwU: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/BoxyUwU/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_BoxyUwU: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/BoxyUwU/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_BoxyUwU: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/BoxyUwU/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_BoxyUwU: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/BoxyUwU/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_BoxyUwU: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/BoxyUwU/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Centri3', () => { | |
| test('governance_people_Centri3: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Centri3/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Centri3: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Centri3/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Centri3: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Centri3/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Centri3: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Centri3/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Centri3: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Centri3/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Centril', () => { | |
| test('governance_people_Centril: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Centril/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Centril: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Centril/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Centril: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Centril/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Centril: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Centril/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Centril: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Centril/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Centril: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Centril/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_ChayimFriedman2', () => { | |
| test('governance_people_ChayimFriedman2: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/ChayimFriedman2/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_ChayimFriedman2: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/ChayimFriedman2/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ChayimFriedman2: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/ChayimFriedman2/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ChayimFriedman2: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/ChayimFriedman2/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ChayimFriedman2: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/ChayimFriedman2/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_ChrisDenton', () => { | |
| test('governance_people_ChrisDenton: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/ChrisDenton/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_ChrisDenton: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/ChrisDenton/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ChrisDenton: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/ChrisDenton/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ChrisDenton: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/ChrisDenton/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ChrisDenton: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/ChrisDenton/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_CohenArthur', () => { | |
| test('governance_people_CohenArthur: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/CohenArthur/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_CohenArthur: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/CohenArthur/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_CohenArthur: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/CohenArthur/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_CohenArthur: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/CohenArthur/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_CohenArthur: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/CohenArthur/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_DropDemBits', () => { | |
| test('governance_people_DropDemBits: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/DropDemBits/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_DropDemBits: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/DropDemBits/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_DropDemBits: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/DropDemBits/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_DropDemBits: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/DropDemBits/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_DropDemBits: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/DropDemBits/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Eh2406', () => { | |
| test('governance_people_Eh2406: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Eh2406/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Eh2406: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Eh2406/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Eh2406: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Eh2406/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Eh2406: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Eh2406/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Eh2406: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Eh2406/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_GuillaumeGomez', () => { | |
| test('governance_people_GuillaumeGomez: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/GuillaumeGomez/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_GuillaumeGomez: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/GuillaumeGomez/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_GuillaumeGomez: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/GuillaumeGomez/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_GuillaumeGomez: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/GuillaumeGomez/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_GuillaumeGomez: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/GuillaumeGomez/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_HKalbasi', () => { | |
| test('governance_people_HKalbasi: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/HKalbasi/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_HKalbasi: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/HKalbasi/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_HKalbasi: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/HKalbasi/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_HKalbasi: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/HKalbasi/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_HKalbasi: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/HKalbasi/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_JakobDegen', () => { | |
| test('governance_people_JakobDegen: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/JakobDegen/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_JakobDegen: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/JakobDegen/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_JakobDegen: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/JakobDegen/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_JakobDegen: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/JakobDegen/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_JakobDegen: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/JakobDegen/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Jamesbarford', () => { | |
| test('governance_people_Jamesbarford: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Jamesbarford/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Jamesbarford: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Jamesbarford/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Jamesbarford: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Jamesbarford/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Jamesbarford: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Jamesbarford/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Jamesbarford: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Jamesbarford/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_JohnTitor', () => { | |
| test('governance_people_JohnTitor: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/JohnTitor/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_JohnTitor: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/JohnTitor/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_JohnTitor: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/JohnTitor/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_JohnTitor: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/JohnTitor/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_JohnTitor: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/JohnTitor/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Kobzol', () => { | |
| test('governance_people_Kobzol: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Kobzol/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Kobzol: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Kobzol/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Kobzol: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Kobzol/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Kobzol: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Kobzol/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Kobzol: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Kobzol/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_LeSeulArtichaut', () => { | |
| test('governance_people_LeSeulArtichaut: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/LeSeulArtichaut/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_LeSeulArtichaut: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/LeSeulArtichaut/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_LeSeulArtichaut: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/LeSeulArtichaut/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_LeSeulArtichaut: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/LeSeulArtichaut/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_LeSeulArtichaut: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/LeSeulArtichaut/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_LeSeulArtichaut: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/LeSeulArtichaut/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Manishearth', () => { | |
| test('governance_people_Manishearth: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Manishearth/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Manishearth: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Manishearth/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Manishearth: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Manishearth/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Manishearth: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Manishearth/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Manishearth: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Manishearth/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Mark_Simulacrum', () => { | |
| test('governance_people_Mark_Simulacrum: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Mark-Simulacrum/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Mark_Simulacrum: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Mark-Simulacrum/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Mark_Simulacrum: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Mark-Simulacrum/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Mark_Simulacrum: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Mark-Simulacrum/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Mark_Simulacrum: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Mark-Simulacrum/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Muscraft', () => { | |
| test('governance_people_Muscraft: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Muscraft/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Muscraft: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Muscraft/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Muscraft: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Muscraft/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Muscraft: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Muscraft/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Muscraft: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Muscraft/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Nadrieril', () => { | |
| test('governance_people_Nadrieril: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Nadrieril/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Nadrieril: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Nadrieril/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Nadrieril: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Nadrieril/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Nadrieril: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Nadrieril/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Nadrieril: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Nadrieril/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Nashenas88', () => { | |
| test('governance_people_Nashenas88: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Nashenas88/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Nashenas88: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Nashenas88/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Nashenas88: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Nashenas88/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Nashenas88: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Nashenas88/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Nashenas88: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Nashenas88/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Nashenas88: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Nashenas88/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Noratrieb', () => { | |
| test('governance_people_Noratrieb: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Noratrieb/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Noratrieb: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Noratrieb/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Noratrieb: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Noratrieb/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Noratrieb: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Noratrieb/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Noratrieb: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Noratrieb/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_RalfJung', () => { | |
| test('governance_people_RalfJung: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/RalfJung/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_RalfJung: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/RalfJung/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_RalfJung: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/RalfJung/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_RalfJung: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/RalfJung/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_RalfJung: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/RalfJung/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Shourya742', () => { | |
| test('governance_people_Shourya742: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Shourya742/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Shourya742: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Shourya742/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Shourya742: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Shourya742/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Shourya742: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Shourya742/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Shourya742: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Shourya742/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_ShoyuVanilla', () => { | |
| test('governance_people_ShoyuVanilla: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/ShoyuVanilla/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_ShoyuVanilla: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/ShoyuVanilla/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ShoyuVanilla: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/ShoyuVanilla/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ShoyuVanilla: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/ShoyuVanilla/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ShoyuVanilla: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/ShoyuVanilla/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_SomeoneToIgnore', () => { | |
| test('governance_people_SomeoneToIgnore: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/SomeoneToIgnore/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_SomeoneToIgnore: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/SomeoneToIgnore/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_SomeoneToIgnore: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/SomeoneToIgnore/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_SomeoneToIgnore: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/SomeoneToIgnore/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_SomeoneToIgnore: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/SomeoneToIgnore/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_SomeoneToIgnore: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/SomeoneToIgnore/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_SparrowLii', () => { | |
| test('governance_people_SparrowLii: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/SparrowLii/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_SparrowLii: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/SparrowLii/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_SparrowLii: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/SparrowLii/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_SparrowLii: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/SparrowLii/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_SparrowLii: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/SparrowLii/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_TaKO8Ki', () => { | |
| test('governance_people_TaKO8Ki: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/TaKO8Ki/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_TaKO8Ki: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/TaKO8Ki/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_TaKO8Ki: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/TaKO8Ki/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_TaKO8Ki: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/TaKO8Ki/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_TaKO8Ki: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/TaKO8Ki/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Urgau', () => { | |
| test('governance_people_Urgau: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Urgau/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Urgau: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Urgau/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Urgau: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Urgau/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Urgau: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Urgau/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Urgau: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Urgau/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Veykril', () => { | |
| test('governance_people_Veykril: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Veykril/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Veykril: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Veykril/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Veykril: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Veykril/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Veykril: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Veykril/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Veykril: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Veykril/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_WaffleLapkin', () => { | |
| test('governance_people_WaffleLapkin: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/WaffleLapkin/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_WaffleLapkin: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/WaffleLapkin/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_WaffleLapkin: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/WaffleLapkin/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_WaffleLapkin: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/WaffleLapkin/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_WaffleLapkin: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/WaffleLapkin/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Xanewok', () => { | |
| test('governance_people_Xanewok: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Xanewok/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Xanewok: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Xanewok/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Xanewok: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Xanewok/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Xanewok: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Xanewok/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Xanewok: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Xanewok/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Xanewok: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Xanewok/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Young_Flash', () => { | |
| test('governance_people_Young_Flash: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Young-Flash/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Young_Flash: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Young-Flash/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Young_Flash: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Young-Flash/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Young_Flash: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Young-Flash/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Young_Flash: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Young-Flash/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Zalathar', () => { | |
| test('governance_people_Zalathar: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Zalathar/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Zalathar: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Zalathar/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Zalathar: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Zalathar/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Zalathar: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/Zalathar/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Zalathar: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Zalathar/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_Zoxc', () => { | |
| test('governance_people_Zoxc: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/Zoxc/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_Zoxc: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/Zoxc/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Zoxc: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/Zoxc/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Zoxc: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/Zoxc/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_Zoxc: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/Zoxc/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_ZuseZ4', () => { | |
| test('governance_people_ZuseZ4: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/ZuseZ4/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_ZuseZ4: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/ZuseZ4/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ZuseZ4: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/ZuseZ4/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ZuseZ4: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/ZuseZ4/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ZuseZ4: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/ZuseZ4/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_ada4a', () => { | |
| test('governance_people_ada4a: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/ada4a/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_ada4a: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/ada4a/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ada4a: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/ada4a/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ada4a: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/ada4a/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ada4a: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/ada4a/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_alexcrichton', () => { | |
| test('governance_people_alexcrichton: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/alexcrichton/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_alexcrichton: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/alexcrichton/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_alexcrichton: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/alexcrichton/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_alexcrichton: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/alexcrichton/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_alexcrichton: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/alexcrichton/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_alibektas', () => { | |
| test('governance_people_alibektas: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/alibektas/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_alibektas: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/alibektas/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_alibektas: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/alibektas/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_alibektas: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/alibektas/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_alibektas: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/alibektas/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_aliemjay', () => { | |
| test('governance_people_aliemjay: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/aliemjay/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_aliemjay: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/aliemjay/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_aliemjay: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/aliemjay/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_aliemjay: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/aliemjay/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_amandasystems', () => { | |
| test('governance_people_amandasystems: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/amandasystems/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_amandasystems: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/amandasystems/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_amandasystems: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/amandasystems/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_amandasystems: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/amandasystems/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_amanjeev', () => { | |
| test('governance_people_amanjeev: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/amanjeev/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_amanjeev: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/amanjeev/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_amanjeev: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/amanjeev/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_amanjeev: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/amanjeev/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_amanjeev: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/amanjeev/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_antoyo', () => { | |
| test('governance_people_antoyo: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/antoyo/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_antoyo: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/antoyo/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_antoyo: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/antoyo/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_antoyo: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/antoyo/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_antoyo: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/antoyo/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_apiraino', () => { | |
| test('governance_people_apiraino: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/apiraino/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_apiraino: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/apiraino/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_apiraino: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/apiraino/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_apiraino: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/apiraino/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_apiraino: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/apiraino/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_arielb1', () => { | |
| test('governance_people_arielb1: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/arielb1/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_arielb1: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/arielb1/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_arielb1: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/arielb1/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_arielb1: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/arielb1/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_arielb1: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/arielb1/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_arielb1: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/arielb1/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_arlosi', () => { | |
| test('governance_people_arlosi: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/arlosi/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_arlosi: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/arlosi/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_arlosi: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/arlosi/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_arlosi: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/arlosi/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_arlosi: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/arlosi/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_aturon', () => { | |
| test('governance_people_aturon: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/aturon/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_aturon: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/aturon/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_aturon: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/aturon/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_aturon: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/aturon/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_aturon: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/aturon/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_aturon: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/aturon/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_bjorn3', () => { | |
| test('governance_people_bjorn3: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/bjorn3/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_bjorn3: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/bjorn3/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_bjorn3: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/bjorn3/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_bjorn3: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/bjorn3/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_bjorn3: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/bjorn3/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_bkoropoff', () => { | |
| test('governance_people_bkoropoff: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/bkoropoff/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_bkoropoff: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/bkoropoff/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_bkoropoff: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/bkoropoff/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_bkoropoff: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/bkoropoff/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_bkoropoff: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/bkoropoff/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_bkoropoff: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/bkoropoff/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_blyxyas', () => { | |
| test('governance_people_blyxyas: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/blyxyas/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_blyxyas: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/blyxyas/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_blyxyas: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/blyxyas/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_blyxyas: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/blyxyas/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_blyxyas: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/blyxyas/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_brson', () => { | |
| test('governance_people_brson: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/brson/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_brson: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/brson/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_brson: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/brson/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_brson: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/brson/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_brson: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/brson/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_brson: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/brson/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_calebcartwright', () => { | |
| test('governance_people_calebcartwright: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/calebcartwright/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_calebcartwright: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/calebcartwright/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_calebcartwright: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/calebcartwright/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_calebcartwright: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/calebcartwright/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_calebcartwright: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/calebcartwright/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_camelid', () => { | |
| test('governance_people_camelid: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/camelid/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_camelid: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/camelid/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_camelid: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/camelid/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_camelid: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/camelid/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_camelid: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/camelid/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_carols10cents', () => { | |
| test('governance_people_carols10cents: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/carols10cents/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_carols10cents: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/carols10cents/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_carols10cents: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/carols10cents/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_carols10cents: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/carols10cents/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_carols10cents: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/carols10cents/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_celinval', () => { | |
| test('governance_people_celinval: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/celinval/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_celinval: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/celinval/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_celinval: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/celinval/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_celinval: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/celinval/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_celinval: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/celinval/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_chrissimpkins', () => { | |
| test('governance_people_chrissimpkins: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/chrissimpkins/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_chrissimpkins: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/chrissimpkins/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_chrissimpkins: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/chrissimpkins/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_chrissimpkins: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/chrissimpkins/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_chrissimpkins: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/chrissimpkins/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_chrissimpkins: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/chrissimpkins/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_cjgillot', () => { | |
| test('governance_people_cjgillot: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/cjgillot/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_cjgillot: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/cjgillot/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_cjgillot: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/cjgillot/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_cjgillot: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/cjgillot/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_cjgillot: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/cjgillot/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_compiler_errors', () => { | |
| test('governance_people_compiler_errors: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/compiler-errors/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_compiler_errors: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/compiler-errors/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_compiler_errors: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/compiler-errors/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_compiler_errors: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/compiler-errors/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_compiler_errors: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/compiler-errors/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_compiler_errors: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/compiler-errors/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_cramertj', () => { | |
| test('governance_people_cramertj: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/cramertj/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_cramertj: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/cramertj/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_cramertj: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/cramertj/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_cramertj: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/cramertj/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_cramertj: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/cramertj/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_cuviper', () => { | |
| test('governance_people_cuviper: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/cuviper/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_cuviper: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/cuviper/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_cuviper: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/cuviper/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_cuviper: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/cuviper/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_cuviper: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/cuviper/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_danielhenrymantilla', () => { | |
| test('governance_people_danielhenrymantilla: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/danielhenrymantilla/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_danielhenrymantilla: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/danielhenrymantilla/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_danielhenrymantilla: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/danielhenrymantilla/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_danielhenrymantilla: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/danielhenrymantilla/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_danielhenrymantilla: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/danielhenrymantilla/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_davidbarsky', () => { | |
| test('governance_people_davidbarsky: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/davidbarsky/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_davidbarsky: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/davidbarsky/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_davidbarsky: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/davidbarsky/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_davidbarsky: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/davidbarsky/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_davidbarsky: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/davidbarsky/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_davidlattimore', () => { | |
| test('governance_people_davidlattimore: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/davidlattimore/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_davidlattimore: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/davidlattimore/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_davidlattimore: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/davidlattimore/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_davidlattimore: h4 "Social"', async ({ page }) => { | |
| await page.goto('/governance/people/davidlattimore/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Social' || t.startsWith('Social'))).toBeTruthy(); | |
| }); | |
| test('governance_people_davidlattimore: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/davidlattimore/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_davidtwco', () => { | |
| test('governance_people_davidtwco: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/davidtwco/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_davidtwco: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/davidtwco/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_davidtwco: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/davidtwco/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_davidtwco: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/davidtwco/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_davidtwco: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/davidtwco/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_ehuss', () => { | |
| test('governance_people_ehuss: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/ehuss/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_ehuss: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/ehuss/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ehuss: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/ehuss/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ehuss: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/ehuss/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_ehuss: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/ehuss/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_jonathanpallant', () => { | |
| test('governance_people_jonathanpallant: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/jonathanpallant/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_jonathanpallant: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/jonathanpallant/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_jonathanpallant: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/jonathanpallant/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_jonathanpallant: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/jonathanpallant/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_jonathanpallant: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/jonathanpallant/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_lqd', () => { | |
| test('governance_people_lqd: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/lqd/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_lqd: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/lqd/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_lqd: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/lqd/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_lqd: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/lqd/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_lqd: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/lqd/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_oli_obk', () => { | |
| test('governance_people_oli_obk: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/oli-obk/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_oli_obk: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/oli-obk/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_oli_obk: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/oli-obk/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_oli_obk: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/oli-obk/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_oli_obk: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/oli-obk/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - governance_people_rylev', () => { | |
| test('governance_people_rylev: title matches GT', async ({ page }) => { | |
| await page.goto('/governance/people/rylev/'); | |
| const t = (await page.title()).toLowerCase(); | |
| expect(t).toContain('rust project team member'); | |
| }); | |
| test('governance_people_rylev: h2 "Alumni"', async ({ page }) => { | |
| await page.goto('/governance/people/rylev/'); | |
| const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Alumni' || t.startsWith('Alumni'))).toBeTruthy(); | |
| }); | |
| test('governance_people_rylev: h4 "Get help!"', async ({ page }) => { | |
| await page.goto('/governance/people/rylev/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Get help!' || t.startsWith('Get help!'))).toBeTruthy(); | |
| }); | |
| test('governance_people_rylev: h4 "Terms and policies"', async ({ page }) => { | |
| await page.goto('/governance/people/rylev/'); | |
| const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Terms and policies' || t.startsWith('Terms and policies'))).toBeTruthy(); | |
| }); | |
| test('governance_people_rylev: nav link "Rust"', async ({ page }) => { | |
| await page.goto('/governance/people/rylev/'); | |
| const links = page.locator('nav a'); | |
| const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); | |
| expect(texts.some(t => t === 'Rust' || t.startsWith('Rust')), 'link text in nav').toBeTruthy(); | |
| }); | |
| }); | |
| test.describe('Functional - Routing', () => { | |
| }); | |