@@ -29,17 +29,21 @@ This document guides you through the learning path for mastering Playwright auto
2929- ** Parameterized test flows**
3030 - Example: ` tests/smoke/LoginTest.spec.js `
3131
32+ ## 4. Advanced: Component, API, and Visual Testing
33+
3234## 4. Advanced: Component, API, and Visual Testing
3335- ** Component-level tests (React, UI)**
34- - Example: ` components/QuickActions.js ` , ` tests/component /HeroCarousel.spec.js `
36+ - Example: ` components/QuickActions.js ` , ` tests/components /HeroCarousel.spec.jsx ` , ` tests/components/QuickActions.spec.jsx ` , ` tests/components/TechLabCard.spec.jsx `
3537- ** API testing and network mocking**
36- - Example: ` tests/api/AlApiTest .spec.js `
38+ - Example: ` tests/api/AIAPITests.spec.js ` , ` tests/api/APIActionsIntegration.spec.js ` , ` tests/api/JSONPlaceholderAPITests .spec.js`
3739- ** Visual regression and screenshot validation**
38- - Example: ` artifacts /` , custom fixtures
40+ - Example: ` tests/advanced/VisualRegressionTest.spec.js ` , ` tests/advanced/VisualRegressionTest.spec.js-snapshots /` , custom fixtures
3941
4042## 5. Context-Aware & State Management
4143- ** XState integration for context-aware flows**
42- - Example: ` hooks/hook.js ` , ` doc/xstate-overview.md `
44+ - Example: ` doc/xstate-overview.md `
45+ - ** Generic Playwright hooks (setup, teardown, custom logic) & custom test context**
46+ - Example: ` hooks/hook.js ` , ` uitestengine/testcontext.js `
4347
4448## 6. MCP (Model Context Protocol) Automation
4549- ** MCP login and scenario tests**
0 commit comments