How dindineez/flipkart-e2e-testing works
This repository is a student-oriented quality-engineering suite, not a commerce application: learners run browser, API, performance, and security checks against Flipkart or the intentionally vulnerable demo API and inspect test results. The demo API supplies a small store, product search, cart operations, and checkout. The graph preserves the README’s major testing branches and the sampled API implementation; test-suite internals and their individual calls were not sampled, so those connections are documented at the capability level rather than inferred from filenames.
Main entry points: cart.routes.js Cart routes · server.js HTTP server and pages · ui Playwright UI tests · specs Selenium UI tests
Components 21
Browser testing
- Playwright UI tests
tests/playwright/ui - Selenium UI tests
tests/selenium/specs
API testing
- API tests
tests/playwright/api
Performance testing
- Web vitals tests
tests/performance/web-vitals.spec.js - API performance tests
tests/performance/api-performance.spec.js - Load / stress tests
tests/performance/load-test.js - Stress tests
tests/performance/stress-test.js - Spike tests
tests/performance/spike-test.js
Security testing
- API security tests
tests/security/api - Header security tests
tests/security/headers
Demo commerce API
- Demo API
demo-api/src/server.js - HTTP server and pages
demo-api/src/server.js - Product search route
demo-api/src/routes/products.routes.js - Cart routes
demo-api/src/routes/cart.routes.js - Checkout route
demo-api/src/routes/checkout.routes.js - Cart service
demo-api/src/services/cart.service.js - Product data
test-data/products.json - In-memory carts
demo-api/src/services/cart.service.js
Other components
- Student / learner
- Flipkart.com
- Demo API target
Connections 29
- Student / learner → Playwright UI tests: runs
README.md - Student / learner → Selenium UI tests: runs
README.md - Student / learner → API tests: runs
README.md - Student / learner → Web vitals tests: runs
README.md - Student / learner → API performance tests: runs
README.md - Student / learner → Load / stress tests: runs
README.md - Student / learner → Stress tests: runs
README.md - Student / learner → Spike tests: runs
README.md - Student / learner → API security tests: runs
README.md - Student / learner → Header security tests: runs
README.md - Playwright UI tests → Flipkart.com: tests UI
README.md - Selenium UI tests → Flipkart.com: tests UI
README.md - API tests → Flipkart.com: tests APIs
README.md - Web vitals tests → Flipkart.com: measures pages
README.md - API performance tests → Flipkart.com: measures APIs
README.md - Load / stress tests → Flipkart.com: loads target
- Stress tests → Flipkart.com: stresses target
- Spike tests → Flipkart.com: spikes target
- API security tests → Demo API target: tests vulnerabilities
README.md - Header security tests → Demo API target: checks headers
- Demo API target → Demo API: is
README.md - HTTP server and pages → Product search route: mounts
demo-api/src/server.js - HTTP server and pages → Cart routes: mounts
demo-api/src/server.js - HTTP server and pages → Checkout route: mounts
demo-api/src/server.js - Product search route → Product data: filters
demo-api/src/routes/products.routes.js - Cart routes → Product data: loads
demo-api/src/routes/cart.routes.js - Cart routes → Cart service: calls
demo-api/src/routes/cart.routes.js - Checkout route → Cart routes: gets service
demo-api/src/routes/checkout.routes.js - Cart service → In-memory carts: stores carts
demo-api/src/services/cart.service.js