CI / CI (pull_request) Failing after 1m46s
- Create /diagrams page with interactive homelab architecture visualizations - Add deepDive link to homelab project pointing to diagrams - Include 4 archify diagrams: * Talos cluster topology (control planes, GPU worker, storage) * GitOps workflow (ArgoCD + Terraform) * LLM inference stack (vLLM, Ollama, TEI routing) * API request flow sequence diagram - Support full-screen viewer and embedded grid layout - Dark/light theme support with responsive design
64 lines
1.3 KiB
TypeScript
64 lines
1.3 KiB
TypeScript
/**
|
|
* Shared test data and constants for E2E tests
|
|
*/
|
|
|
|
export const TEST_VIEWPORTS = {
|
|
desktop: { width: 1920, height: 1080 },
|
|
tablet: { width: 768, height: 1024 },
|
|
mobile: { width: 375, height: 667 },
|
|
}
|
|
|
|
export const TEST_SELECTORS = {
|
|
// Hero section
|
|
heroTitle: 'h1',
|
|
heroSubtitle: 'text=Kubernetes',
|
|
exploreMoreBtn: 'button:has-text("Explore More")',
|
|
terminalHint: 'text=Terminal',
|
|
|
|
// Bio modal
|
|
bioModal: '.bg-white.dark\\:bg-gray-900.rounded-lg',
|
|
bioTitle: 'text=Bio',
|
|
bioCloseBtn: 'button:has-text("x")',
|
|
bioIntro: 'text=Welcome',
|
|
|
|
// Projects section
|
|
projectsSection: 'text=Projects',
|
|
projectCard: '[class*="ProjectShowcase"]',
|
|
projectTitle: 'text=Homelab',
|
|
|
|
// Timeline
|
|
timelineSection: 'text=Experience',
|
|
|
|
// Terminal
|
|
terminalContainer: '[class*="InteractiveTerminal"]',
|
|
terminalInput: 'input[placeholder*="terminal"]',
|
|
|
|
// Dark mode
|
|
themeToggle: 'button[aria-label*="theme"]',
|
|
|
|
// Links
|
|
watchVideoLink: 'text=Watch Video',
|
|
readArticleLink: 'text=Read Article',
|
|
}
|
|
|
|
export const TEST_TIMEOUTS = {
|
|
slow: 10000,
|
|
normal: 5000,
|
|
quick: 2000,
|
|
}
|
|
|
|
export const TEST_PROJECTS = [
|
|
'Homelab',
|
|
'Poimen Memory',
|
|
'Poimen Workflow',
|
|
'RBC',
|
|
'AWS',
|
|
]
|
|
|
|
export const TEST_BREAKPOINTS = {
|
|
mobile: 375,
|
|
tablet: 768,
|
|
desktop: 1280,
|
|
wide: 1920,
|
|
}
|