+1
CodEngine
LEVEL UP YOUR CRAFT
Home
About
Lessons
Features
Contact
Login
Menu
Home
/
Learning Tracks
/
TypeScript for QA Automation
TypeScript for QA Automation
Lesson 01 — Setup environment for TypeScript QA work
Install the toolchain QA automation engineers use daily, scaffold a tiny TypeScript project, and run `.ts` files without compiling manually each time.
Lesson 02 — TypeScript basics for QA data
Attach explicit types to the values you move through tests: credentials, IDs, flags. TypeScript catches mistakes before runtime.
Lesson 03 — Functions with types
Declare argument and return types for login checks, generators for synthetic users, and small predicates Playwright specs call often.
Lesson 04 — Interfaces shape automation contracts
Interfaces describe **allowed keys** on objects — fixtures, REST bodies, POM boundaries — without caring about runtime class mechanics yet.
Lesson 05 — Advanced types QA relies on
Pick the right tool when modeling statuses, logging helpers, uncertain JSON, or impossible branches TypeScript must narrow away.
Lesson 06 — Arrays and loops with discipline
Combine typed arrays with `for...of`, classic indexes when needed, and immutability mindset for shared test data.
Lesson 07 — Async / await for testers
Automation is inherently asynchronous — browsers and networks resolve later. Learn how TypeScript surfaces `Promise` types.
Lesson 08 — Playwright with TypeScript
Bootstrap `@playwright/test`, install browsers locally, and assert on a deterministic public page.
Lesson 09 — Page Object Model with strong typing
Wrap Playwright `Page` interactions inside cohesive classes (`LoginPage`, `DashboardPage`) so specs read like scenarios.