How saanvisonker-ttn/tothenew-testautomation works
This repository is a Playwright/TypeScript test framework for checking the TOTHENEW website in local and LambdaTest browsers. The main workflow is the Playwright runner loading the configuration, selecting browser projects, and running the site-focused test suites against the configured base URL; cloud projects connect to LambdaTest. The tree also shows page objects, content constants, and visual-test support, but their implementation and wiring were not sampled, so those details are not inferred.
Main entry points: playwright.config.ts Browser configuration · aboutUs.spec.ts About tests · leadership.spec.ts Leadership tests · partners.spec.ts Partner tests
Components 20
Configuration
- Browser configuration
playwright.config.ts - Cloud setup
tests/global-setup.ts
Site test coverage
- About tests
tests/aboutUs.spec.ts - Leadership tests
tests/leadership.spec.ts - Partner tests
tests/partners.spec.ts - Header tests
tests/header.spec.ts - Header smoke tests
tests/smoke/header.spec.ts
Test support
- About page object
tests/Pages/aboutUs.ts - Leadership page object
tests/Pages/leadership.ts - Partner page object
tests/Pages/partner.ts - Header page object
tests/Pages/header.ts - About content
tests/constants/aboutUsContent.ts - Partner content
tests/constants/partnersContent.ts - Navigation data
tests/constants/navigation.ts - Visual test fixture
tests/fixtures/visualTest.ts - Visual state utility
tests/utils/visualState.ts
External systems
- TOTHENEW website
- LambdaTest
Other components
- Test author
- Playwright Test
Connections 18
- Test author → About tests: authors tests
- Test author → Leadership tests: authors tests
- Test author → Partner tests: authors tests
- Test author → Header tests: authors tests
- Test author → Header smoke tests: authors tests
- Browser configuration → Playwright Test: configures projects
- Playwright Test → About tests: runs
- Playwright Test → Leadership tests: runs
- Playwright Test → Partner tests: runs
- Playwright Test → Header tests: runs
- Playwright Test → Header smoke tests: runs
- About tests → TOTHENEW website: tests website
- Leadership tests → TOTHENEW website: tests website
- Partner tests → TOTHENEW website: tests website
- Header tests → TOTHENEW website: tests website
- Header smoke tests → TOTHENEW website: tests website
- Browser configuration → LambdaTest: connects cloud
- Browser configuration → Cloud setup: selects setup