Skip to content

E-commerce test automation framework built with Vibium and TypeScript, following a capability-based architecture for scalable and maintainable browser testing

Notifications You must be signed in to change notification settings

anandavii/vibiumEcommTestAutomation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vibium Capability-Based Automation Project

This project follows the Capability-Based Architecture (not POM).

Vibium Test Automation Demo


Structure

  • src/core: Infrastructure (browser, context)
  • src/selectors: UI contracts (no page objects)
  • src/actions: Capabilities (verbs, no assertions)
  • src/flows: Business journeys (orchestration)
  • src/scenarios: Data for tests
  • src/tests: Correctness and validation
  • src/reporter: Reporting logic

Rules

  1. No page-named files.
  2. Selectors only in selectors/.
  3. Actions are verbs and contain no assertions.
  4. Flows orchestrate actions; no correctness logic.
  5. Tests own pass/fail and expected behavior.
  6. Every action must set ctx.step and ctx.selector before interaction.
  7. Every failure must produce artifacts (screenshot + JSON record).

Running Tests

Ensure you have the dependencies installed and run:

npx tsx src/tests/login.test.ts

About

E-commerce test automation framework built with Vibium and TypeScript, following a capability-based architecture for scalable and maintainable browser testing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published