The Testing Academy

QA and Playwright Class Notes by Batch

Study guides from the live classes, grouped by batch so you only read your own track. Code as it was written on screen, trace tables, interview drills and the tasks set in class. 115 classes so far, newest first inside each batch.

Notes cover JavaScript and Python fundamentals, Playwright framework setup, prompt engineering for QA, and local LLM tooling. Written by Pramod Dutta from each live session.

AI Tester Blueprint 5x

9 classes

The Advanced AI Tester Blueprint 5x batch, from the 18 October kickoff.

Sun 22 Nov · 2h 6m

n8n triage comments, Jira triggers, RCA and flaky tests

AI Tester Blueprint 5x notes: an n8n bug triage that posts Jira comments, a Jira trigger for every new issue, an RCA agent to build, and a flaky test finder.

Sat 21 Nov · 1h 56m

PDIRD and plan review: n8n Jira bug and triage agents

AI Tester Blueprint 5x notes: PDIRD and plan mode, a review that caught four AI mistakes, then n8n agents that create and triage Jira bugs, debugged live.

Sun 15 Nov · 1h 43m

AI agents, vibe coding and n8n: a Jira test plan agent

AI Tester Blueprint 5x notes: what an AI agent is, levels L0 to L6, and a Jira test plan agent built two ways, vibe-coded on Vercel and in n8n with Groq.

Sat 14 Nov · 1h 46m

STAR, CLEAR, CRISP, QA prompt templates and context files

AI Tester Blueprint 5x notes: STAR, CLEAR and CRISP prompts for a VWO login test plan, test cases and a bug report, six reusable QA templates and context files.

Sat 7 Nov · 2h 4m

Context window, memory and anti-hallucination prompting

AI Tester Blueprint 5x notes: the context window and compacting, stateless LLM memory, agentic AI, prompting steps and an anti-hallucination rules file.

Sun 1 Nov · 2h 6m

Foundation models and RICE-POT prompt engineering

AI Tester Blueprint 5x notes: foundation, base and chat models, parameters, SLM vs LLM, system prompts, and a RICE-POT prompt that built a Selenium framework.

Sat 31 Oct · 2h 9m

LLM fundamentals: temperature, local LLMs and tokens

AI Tester Blueprint 5x notes on LLM fundamentals: AI engineering, next-token prediction, temperature, open vs closed models, Ollama with Gemma 3 1B, and tokens.

Sun 25 Oct · 2h 23m

Advanced agent skills: a Jira fetch script and human review

AI Tester Blueprint 5x notes: advanced agent skills, a SKILL.md folder with a Jira fetch script and references, a test plan creator and a human review gate.

Sun 18 Oct · 2h 6m

AI Tester Blueprint 5x kickoff: roadmap and a first SKILL.md

AI Tester Blueprint 5x kickoff notes: course access, attendance, the 90-day roadmap, four rules, prompt vs skill, Markdown and a SKILL.md test plan creator.

AI Tester Blueprint 4x

25 classes

The 4x batch and the AI Tester group run together, so their classes are listed as one track.

Sun 22 Nov · 1h 9m

CrewAI: a research crew, Jira bug triage and a web UI

AI Tester Blueprint 4x notes: a CrewAI research and write crew, then a three-agent bug triage crew fed from Jira, run from the CLI, a web UI and a JQL page.

Sat 21 Nov · 1h 19m

CrewAI: agents, tasks, crews and a QA analyst agent

AI Tester Blueprint 4x notes: why CrewAI, crews and flows, agents, tasks and crews, setup with uv, and a QA analyst agent on Groq, as a script and in pytest.

Sun 15 Nov · 1h 18m

Python exceptions, the os module, packages and pytest

AI Tester Blueprint 4x notes: Python exceptions with try, except and finally, custom exceptions, the os module, environment variables, packages, uv and pytest.

Sat 14 Nov · 1h 18m

Python inheritance, polymorphism, abstraction and static

AI Tester Blueprint 4x notes: Python inheritance types and MRO, overloading with default parameters, method overriding, ABC abstraction and static methods.

Sat 7 Nov · 1h 15m

Python constructors, instance variables and encapsulation

AI Tester Blueprint 4x notes: Python constructors and self, default vs parameterized __init__, global, instance and local variables, encapsulation and .env.

Sun 1 Nov · 1h 25m

Python tuples, sets, map, filter, dictionaries and OOP

AI Tester Blueprint 4x notes: Python tuples, sets and frozenset, union and intersection, map and filter, dictionaries and zip, classes, objects and references.

Sat 31 Oct · 1h 6m

Python decorators, lambda, lists and tuples

AI Tester Blueprint 4x notes: Python decorators (before and after steps, timing, stacking), type conversion, lambda, list methods, and tuples vs lists.

Sun 25 Oct · 1h 33m

Python match and case, loops and functions

AI Tester Blueprint 4x notes: Python match and case, for loops and range(), while, break, continue, pass and the loop else, functions, *args, and scope.

Sun 18 Oct · 54m

Python literals, input, operators and if/elif/else

AI Tester Blueprint 4x notes: Python literals, built-in functions, input() and int(), escape sequences and raw strings, operators, and if, elif and else.

Sun 11 Oct · 1h

The Skill Finder MCP, then Python basics

AI Tester Blueprint 4x notes: the Skill Finder MCP from GitHub Copilot, then Python basics: compiled and interpreted, print, variables, keywords and identifiers.

Sat 10 Oct · 2h

MCP vs RAG, and two MCP servers built with FastMCP

AI Tester Blueprint 4x notes: MCP vs RAG, FastMCP, and two vibe-coded MCP servers: a TestCreator MCP over 5,000 test cases and a TestSkill Finder.

Sun 4 Oct · 1h 13m

QABuddy phase 2, MCP basics and MCP Inspector

AI Tester Blueprint 4x notes: the QABuddy demo and phase 2 plan, MCP basics, local and remote MCP servers, the MCP lifecycle, MCP Inspector, and MCP versus API.

Sat 3 Oct · 1h 1m

Advanced RAG: re-rankers, HyDE and QABuddy's hybrid RAG

AI Tester Blueprint 4x notes: embedding dimensions, advanced RAG with a re-ranker and HyDE, modular, graph and agentic RAG, and QABuddy, a hybrid RAG for QA.

Sun 27 Sep · 1h 35m

Naive RAG in Langflow and choosing a vector database

AI Tester Blueprint 4x notes: the naive RAG rebuilt in Langflow, local versus cloud hosting, vector database and free embedding options, the component flow, and the MCP plan.

Sat 26 Sep · 2h 0m

Naive RAG in n8n and Pinecone for test cases

AI Tester Blueprint 4x notes: a naive RAG over 100 test cases in n8n and Pinecone, embeddings, chunk size and overlap, and fixing a chunking bug with a CSV cleaning step.

Sat 19 Sep · 1h 48m

What RAG is, the two phases it runs in, and the RAG Explorer

AI Tester Blueprint 4x notes on RAG for QA: the three limits of a language model, fine-tuning versus RAG, the ingestion phase, the retrieval augmentation and generation phase, vector databases and embeddings, and a Langflow RAG pipeline over 500 test cases.

Sat 12 Sep · 2h 1m

A Langflow bug triage agent with the Jira API

AI Tester Blueprint 4x notes on Langflow: build a bug triage agent, fetch a Jira issue over REST with base64 basic auth, parse the response into a prompt template, make the ticket key dynamic, and call the finished flow from curl, Postman, Claude Code or a React UI.

Sun 6 Sep · 1h 51m

A screenshot goes in, a Jira bug comes out

Build a screenshot to bug reporter in n8n: form trigger, base64 conversion, a Groq vision model, a Jira ticket with the screenshot attached. Debug rate limits, a bad model id and an expired Jira token live, publish a production webhook, front it with a Vercel UI through a serverless proxy, then install Langflow and build a first flow.

Sat 5 Sep · 2h 3m

Building an agent live, and the four times it broke

Building an n8n content agent end to end: the trigger, action, result framing, structured JSON output from an AI agent node, Pin Data to save quota, the Gemini image API through an HTTP Request node, and a Telegram human-in-the-loop approval before anything is published.

Sun 30 Aug · 1h 55m

Local n8n with Ollama, and six agents built on it

Install n8n locally with npm and run it against Ollama for a free setup, then build six QA agents: Jira fetch and create, a local test case generator, bug triage to Google Sheets, RCA, and a social media poster.

Sat 29 Aug · 2h

BLAST, and the first agent that runs without you

The BLAST framework for building trackable AI agents, phase by phase, plus an n8n introduction: TAR, the two Jira agents built live, choosing a model, what it costs, and the rule about company laptops.

Sun 23 Aug · 1h 52m

LinkedIn branding for testers: profile and content

LinkedIn branding for QA engineers: how to edit your profile without alerting your employer, what recruiters actually search, the Hook-Story-Offer post structure, building a content brain and a reusable brand voice, and a 60-day posting challenge.

Sat 22 Aug · 1h 53m

One resume per job: beating the ATS with AI

Tailor your QA resume to each job description with AI: how applicant tracking systems filter, the five things they score, the resume structure that works, and a repeatable skill that turns a job description into a matched resume.

Sun 9 Aug · 2h 07m

Local LLMs for QA, and building a Jira test case generator

Run local LLMs for QA with Ollama and LM Studio: open-source vs cloud models, and vibe-coding a Jira-connected test case generator with a Groq fallback.

Sat 8 Aug · 2h 21m

Prompt engineering for QA: the RICEPOT framework

Prompt engineering for QA testers: the RICEPOT framework, CRAIP, RACE and COAST alternatives, zero-shot vs few-shot, and ready-to-use QA prompt templates.

AI Tester Blueprint 3x

11 classes

The 3x batch track: Python fundamentals through to the AI frameworks.

Sun 11 Oct · 1h 50m

LangGraph: state, nodes, edges and a flaky test finder

AI Tester Blueprint 3x notes: LangGraph state, nodes and edges, conditional routing and retry loops, and a Playwright flaky test finder agent.

Sat 19 Sep · 54m

The end-to-end QA co-pilot, and what an agentic run costs

AI Tester Blueprint 3x notes: a LangChain QA co-pilot that fetches a Jira ticket, retrieves similar test cases from a local RAG, plans, executes in Chromium and reports to Slack, plus cost per agentic run and when to choose LangChain over Crew.ai.

Sat 12 Sep · 1h 47m

LangChain agents, tools and a Playwright orchestrator

AI Tester Blueprint 3x notes on LangChain with Python: LangChain versus LangGraph versus LangSmith, create_agent with Groq and Gemini, system prompts, parallel calls with asyncio.gather, custom tools, Pydantic structured output, and a Playwright orchestrator agent.

Sun 6 Sep · 2h 11m

From one passing test to a framework that scores 25 metrics

Build a DeepEval framework end to end: golden datasets for a chatbot and a RAG, an independent judge model on Groq, 25 metric specifications covering quality, safety, retrieval and security, a dashboard with token accounting, and the settled answer on which direction a hallucination score points.

Sat 5 Sep · 1h 35m

Thresholds, and why every DeepEval score points the same way

LLM evaluation with DeepEval: why evaluation is needed at all, thresholds as acceptance criteria, why every metric scores the good direction so the threshold is always a floor, mapping DeepEval vocabulary onto ordinary QA terms, environment setup, using Groq as the judge model, and a first answer relevancy test case.

Sun 30 Aug · 1h 22m

AI is not tested, it is evaluated

Why LLM systems are evaluated rather than tested, the vocabulary of LLM evaluation, DeepEval versus Ragas, thresholds and LLM-as-judge, and where red teaming fits.

Sat 29 Aug · 1h 30m

Three agents for the meeting nobody wants to attend

Building a CrewAI bug triage crew for QA: three agents for classification, root cause and test recommendations, Jira as a tool, sequential process, provider fallback, and the one agent one task rule.

Sun 23 Aug · 1h 37m

Finishing Python, and building your first CrewAI agent

Finish Python and build your first CrewAI agent, with the full pytest and CrewAI reference on the same page: fixtures, parametrize, markers and the flags worth knowing, agent, task and crew fields, sequential versus hierarchical, the model-provider table, and how to actually connect Groq.

Sat 22 Aug · 1h 30m

Python polymorphism, abstraction, statics and exceptions

Python OOP for AI and QA work: why Python has no method overloading, how overriding differs, abstraction with ABC and abstractmethod, static versus instance attributes, and try/except/else/finally including the else clause Java does not have.

Sun 9 Aug · 1h 26m

Python OOP: constructors, encapsulation, inheritance

Python OOP class notes for testers: __init__ constructors, self, encapsulation with public, protected and private, five inheritance types, and MRO explained.

Sat 8 Aug · 1h 36m

Python sets, dictionaries, map, filter and OOP

Python sets and dictionaries for SDET interviews: set operations, map vs filter, dict.get counting tricks, zip, and the start of classes and objects.

Playwright 4x

21 classes

The Playwright 4x batch: ninety days of JavaScript, TypeScript, Playwright and AI, from the 28 September kickoff.

Fri 20 Nov · 59m

TypeScript abstraction, interfaces and enums

Playwright 4x notes: abstraction versus encapsulation, TypeScript interfaces: readonly, extends, optional properties, implements, and enums as named constants.

Wed 18 Nov · 1h 1m

JavaScript inheritance types, polymorphism and TypeScript

Playwright 4x notes: which inheritance types JavaScript supports, mixins, runtime polymorphism, then TypeScript: tsc, tsconfig, ts-node, any, void and never.

Mon 16 Nov · 1h 4m

JavaScript encapsulation and single inheritance

Playwright 4x notes on JavaScript encapsulation with private # fields, getters and setters, then single inheritance with extends, super() and overriding.

Fri 13 Nov · 1h 5m

JavaScript constructors, private fields and static members

Playwright 4x notes on JavaScript constructors, one per class, private # fields vs public fields, TestCase and APIClient classes, and static fields and methods.

Wed 11 Nov · 1h 4m

JavaScript import and export, classes and Playwright setup

Playwright 4x notes on JavaScript import and export, default vs named exports, classes and objects, object vs object reference, and installing Playwright.

Wed 4 Nov · 1h 9m

JavaScript callbacks, callback hell and promises

Playwright 4x notes on JavaScript callbacks: sync and async, callback hell, the pyramid of doom, promises with then, catch, finally, all, allSettled and race.

Mon 2 Nov · 1h 6m

JavaScript multidimensional arrays and star patterns

Playwright 4x notes on JavaScript 2D arrays: grid[row][col], rows and columns, nested loops, row sums with map and reduce, and three star pattern programs.

Fri 30 Oct · 1h 14m

JavaScript string methods, objects, shallow and deep copy

Playwright 4x notes on JavaScript string methods and interview traps, charAt vs at, slice vs substring, then objects, copy by reference, shallow and deep copy.

Wed 28 Oct · 1h 5m

JavaScript hoisting, the TDZ, closures and strings

Playwright 4x notes on JavaScript hoisting and the temporal dead zone, function and class hoisting, typeof, closures, and string basics.

Mon 26 Oct · 1h 7m

JavaScript functions and var vs let vs const

Playwright 4x notes on JavaScript functions: the four types, return vs console.log, expressions, arrow functions, IIFE, rest and spread, and var vs let vs const.

Wed 21 Oct · 1h 2m

JavaScript arrays: sort, slice, copying and destructuring

Playwright 4x notes on JavaScript arrays: sort() and compare functions, localeCompare, slice and negative indexes, concat and spread, Array.isArray, every and some, copy vs reference, destructuring.

Mon 19 Oct · 1h 3m

JavaScript arrays: push, pop, splice, find, map and filter

Playwright 4x notes on JavaScript arrays: at() and negative indexes, creating arrays, push, pop, shift, unshift, splice, indexOf, find, loops, map and filter.

Fri 16 Oct · 1h 1m

JavaScript loops: for, while, do...while and break

Playwright 4x notes on JavaScript loops: for with init, condition and update, < vs <=, zero-run and infinite loops, while, break, do...while, output questions.

Wed 14 Oct · 1h 6m

JavaScript if/else, switch and reading user input

Playwright 4x notes: if/else and nested if, ternary vs if, the else-if grade calculator and boundary values, switch with break, fall-through, grouped cases and switch (true), and user input with prompt, readline, prompt-sync and fs.

Mon 12 Oct · 1h 2m

JavaScript ternary, increment and nullish coalescing

Playwright 4x notes: != vs !==, the ternary operator in automation code, template literals, nested ternaries, typeof, pre and post increment and decrement, and nullish coalescing (??).

Fri 9 Oct · 1h 17m

JavaScript literals, typeof, null vs undefined and operators

Playwright 4x notes: JavaScript literals, typeof, null vs undefined, number literals, BigInt, NaN, and operators, including == vs === and confusing comparisons.

Wed 7 Oct · 1h 8m

How a JavaScript engine runs code, keywords and identifiers

Playwright 4x notes: how V8 turns JavaScript into bytecode and machine code, then keywords, identifiers, var let and const, naming styles and comments.

Mon 5 Oct · 1h 14m

JavaScript basics: engines, Node.js and VS Code setup

Playwright 4x notes: what programming is, JavaScript vs Java vs TypeScript, compiled vs interpreted, V8 and Node.js, npm, and VS Code with Code Runner.

Fri 2 Oct · 1h 23m

Prompt engineering for QA: RICE-POT and a first GitHub push

Playwright 4x notes: prompt engineering for QA, five principles, zero-shot and few-shot prompting, the RICE-POT framework and template, and pushing to GitHub.

Wed 30 Sep · 1h 22m

AI basics: LLMs, tokens, parameters and hallucination

Playwright 4x notes: AI engineering vs machine learning, LLM tokens and parameters, Ollama, the core AI glossary, RAG, and anti-hallucination rules for QA.

Mon 28 Sep · 1h 9m

Playwright 4x kickoff: roadmap, platforms and setup

Playwright 4x kickoff notes: the 90-day roadmap, the progress dashboard, SDET Club, notes and recordings, the three repositories, the AI tool policy and the day-one tasks.

Playwright 3x

36 classes

The Playwright 3x batch, running on its own weekday schedule.

Sat 14 Nov · 1h 7m

An agent factory in Playwright: RCA, DeFlaky, self-healer

Playwright 3x notes: an AI agent factory where an agent is a prompt plus a schema, an RCA agent for failed tests, DeFlaky flaky scores, and a self-healer.

Thu 12 Nov · 1h 7m

AI agents in Playwright: an LLM gateway and AI test data

Playwright 3x notes: open or closed-source models, free Groq and Ollama, AI agents, a five-provider LLMGateway.ts, and checkout test data generated by AI.

Tue 10 Nov · 1h 12m

Playwright API: JSONPath Plus and Ajv JSON schema validation

Playwright 3x notes: the five steps of an API test, a Ponytail review, JSONPath Plus field checks and JSON schema validation with Ajv on restful-booker.

Sat 7 Nov · 1h 4m

Playwright API tests: interfaces, ApiHelper and a fixture

Playwright 3x notes: TypeScript interfaces for API payloads, serial tests, a generic ApiHelper with a retry, and a BookingApi fixture that brings its own token.

Thu 5 Nov · 1h 11m

Playwright API tests: ping, POST, new context, PUT, negative

Playwright 3x notes: raw API tests on restful-booker: ping with the request fixture, base URL, reporters, POST, new context, PUT with a token, negative tests.

Tue 3 Nov · 1h 8m

Testing pyramid, shift left, cURL to test plan and Postman

Playwright 3x notes: why test the API, the testing pyramid, shift-left testing, the API testing process, Copy as cURL, AI test plans and test cases, Postman.

Thu 29 Oct · 57m

API fundamentals, request fixture and the testing process

Playwright 3x notes: what an API is, client and server, HTTP, query and path parameters, GET to DELETE, the request fixture and the API testing process.

Tue 27 Oct · 1h 15m

Playwright framework: fixtures, e2e checkout, visual steps

Playwright 3x notes: built-in and custom fixtures, a test-base of page objects and login states, visual steps with screenshots, the e2e checkout and Ponytail.

Thu 22 Oct · 58m

Playwright framework: logger, element utility and BasePage

Playwright 3x notes: a Winston logger and log levels, UtilElementLocator and the Flex type, a BasePage for every page object, and seven TTACart checkout pages.

Tue 20 Oct · 56m

Playwright framework setup: config, .env and environments

Playwright 3x notes: npm init playwright, framework dependencies, an AI-made folder structure, playwright.config, headless on CI, .env and base URL switching.

Sat 17 Oct · 53m

Playwright framework theory: tech stack, layers and folders

Playwright 3x notes: what a framework is, why flat spec folders break, the tech stack for interviews, eleven layers from page objects to AI, and the folders.

Thu 15 Oct · 1h 6m

The page object model in Playwright, with Snap Locator

Playwright 3x notes on the page object model: a LoginPage with readonly locators, a constructor and export, Snap Locator classes, or() chains and POM limits.

Tue 13 Oct · 1h 20m

Data-driven testing in Playwright: JSON, CSV, Excel and more

Playwright 3x notes on data-driven testing: JSON rules, JSON.parse and JSON.stringify, importing JSON vs fs.readFileSync, a for loop over rows, a CSV reader from scratch, ExcelJS, js-yaml, MySQL and Faker readers, and Ponytail.

Sat 10 Oct · 1h 7m

Playwright scrolling, soft assertions and test hooks

Playwright 3x notes: scrolling with scrollIntoViewIfNeeded and page.evaluate, lazy loading with expect.poll, AbortSignal, soft vs hard assertions, and test hooks.

Tue 6 Oct · 1h 13m

Playwright shadow DOM, file upload and file download

Playwright 3x notes: shadow DOM with open and closed roots, file upload with setInputFiles and path.join, and file download with Promise.all and waitForEvent.

Sat 3 Oct · 1h 1m

Playwright basic auth, SVG elements, debug and UI mode

Playwright 3x notes: basic auth in the URL, SVG elements with XPath name() and local-name(), Flipkart and SimpleMaps exercises, test.step, debug and UI mode.

Thu 1 Oct · 1h 8m

Playwright keyboard, hover, drag and drop, and alerts

Playwright 3x notes: keyboard presses, hover, dragTo and a boundingBox mouse drag, right-click menus, and JavaScript alerts with page.once and page.on.

Tue 29 Sep · 1h 6m

Playwright dropdowns and iframes with frameLocator()

Playwright 3x notes: selectOption for native dropdowns, getByRole for custom and async menus, and frameLocator for iframes, framesets and nested frames.

Sat 26 Sep · 1h 0m

Playwright filter(), :has() and paginated tables

Playwright 3x notes: locator.filter() with hasText and has, the CSS :has() pseudo-class for table rows, searching a paginated table, and a reusable findRowByName.

Thu 24 Sep · 1h 10m

Playwright multiple elements and web tables

Playwright 3x class notes: all versus allInnerTexts versus allTextContents, strict mode and first, web table anatomy, dynamic XPath with nested loops, and following-sibling.

Sat 19 Sep · 1h 6m

CSS selectors, the three run modes, and getByRole

Playwright 3x class notes: the CSS selector cheat sheet, UI mode versus debug mode versus headless, the locator priority ladder, ARIA roles, and getByRole with the accessible name, including why name is not the HTML name attribute and what exact true changes.

Thu 17 Sep · 1h 8m

XPath, strict mode, and locators for elements that change

Playwright 3x class notes on XPath: absolute versus relative, the locator confidence ranking, contains starts-with and normalize-space, handling dynamic ids, XPath axes for web tables, and Playwright strict mode with first, last and nth.

Sat 12 Sep · 1h 3m

Playwright test annotations, describe and locators

Playwright 3x class notes: the full course roadmap, browser context page recap with three roles, browser context options including mobile emulation, test.skip, only, fail, fixme and slow, test.describe grouping with the -g flag, and an introduction to the two locator strategies.

Thu 10 Sep · 1h 18m

Playwright architecture: WebSocket, CDP and browser contexts

Playwright 3x class notes on architecture: Selenium's stateless W3C requests vs Playwright's persistent WebSocket, JSON-RPC, CDP vs Playwright protocol (CDP+), why Chromium is the default, channel and Chrome for Testing, and browser, context and page.

Tue 8 Sep · 1h 10m

Playwright kickoff: setup, codegen and a first test

Playwright 3x kickoff notes: why teams moved from Selenium, rendering engines versus real browsers, Playwright's real limitations, npm init playwright@latest and what it creates, headless versus headed, the Playwright CLI, and recording a first test with Codegen.

Sat 5 Sep · 1h 1m

TypeScript enums, generics and access modifiers

TypeScript enums, generics and access modifiers for test automation: named constants for statuses and environments, generic functions and classes, why T beats any, public against private against protected in a page object model, readonly, and abstract classes.

Wed 3 Sep · 1h 19m

TypeScript abstraction and interfaces

TypeScript abstraction and interfaces for test automation: how abstraction differs from encapsulation, interfaces as contracts, readonly and optional fields, methods in interfaces, interface extends interface against class implements interface, and why interfaces vanish at compile time.

Tue 1 Sep · 1h 6m

JavaScript polymorphism and a first TypeScript setup

JavaScript inheritance types and polymorphism for test automation, then the start of TypeScript: which inheritance shapes JavaScript allows, mixins, method overriding and dispatch, type annotations, void, never, any and unknown, and how to actually run a .ts file.

Sat 29 Aug · 1h 3m

JavaScript encapsulation, inheritance and super

JavaScript encapsulation and inheritance for test automation: private fields with getters and setters, controlled writes, static private counters, the five inheritance shapes, super for constructors and methods, and method overriding.

Thu 27 Aug · 1h 6m

JavaScript constructors, private fields and static

JavaScript constructors, this, private hash fields and static explained for test automation, with the verified reason to avoid static in Playwright page objects: static state lives per worker process, so counters silently under-report.

Tue 25 Aug · 1h 15m

Export, import, and the class that replaces fifty exports

ES modules and classes for test automation: named versus default exports, alias imports, why import star is a bad habit, and why a class beats fifty exports. Plus what new actually does, private hash fields, object references, and the move from JavaScript to TypeScript.

Sat 22 Aug · 1h 5m

Async/await and error handling in Playwright

Async and await in Playwright with two mechanical rules, plus the event loop that explains flaky tests, why promises beat setTimeout, try/catch/finally, a retry loop, and three outdated habits including the deprecated waitForNavigation.

Thu 13 Aug · 1h 32m

Callbacks, promises and async/await in JavaScript

Callbacks, promises and async/await for Playwright testers: callback hell, the three promise states, then, catch, finally, Promise.all, allSettled, race, and why Playwright is asynchronous.

Tue 11 Aug · 1h 23m

JavaScript 2D arrays and the star patterns interviews love

JavaScript 2D arrays and star pattern programs for SDET interviews: nested loops, process.stdout.write, triangles and the pyramid with full trace tables.

Sat 8 Aug · 1h 03m

JavaScript strings, objects, and call by reference

JavaScript string methods for SDET interviews: slice vs substring, immutability, reversing a string with a loop, objects vs JSON, and call by value vs reference.

Thu 6 Aug · 1h 26m

Closures: the variable that outlives its function

JavaScript closures explained for automation testers: hoisting and TDZ recap, function versus block scope, and three closure examples (makeCounter, retry limiter, rate limiter) with the exact output each one prints.

Playwright 2x

13 classes

The Playwright 2x batch, running on its own weekday schedule.

Mon 14 Sep · 1h 12m

A Playwright quality gate: ESLint against AI slop

Playwright 2x class notes on quality gates: ESLint 9 flat config with type-aware rules for a Playwright suite, lint and typecheck scripts, and four agent-readable gates (AI slop, ponytail, over-engineering, framework patterns) that block a pull request built by Copilot, Claude or Cursor.

Fri 11 Sep · 1h 8m

An AI layer for Playwright: LLM client, factory and agents

Playwright 2x class notes: add an AI layer to a Playwright framework with one LLM client for DeepSeek, OpenRouter, Groq, OpenAI and Claude, an agent factory with schema validation and one retry, an AI data generator, RCA and flaky agents in the reporter, and self-healing locators.

Wed 9 Sep · 1h 13m

JSON schema validation with Ajv, and Playwright workers

Add JSON schema validation to a Playwright API framework with Ajv: what a schema checks, the strict create-booking schema, a shared validator, the API test order (ping, schema, CRUD, end to end), trimming AI-generated code with Ponytail, and a measured guide to Playwright workers, RAM and sharding.

Mon 7 Sep · 1h 17m

Three layers, and a spec that is only assertions

Refactor a Playwright API suite into three layers: an ApiHelper that builds URLs and calls the API, a BookingApi service object and a fixture that supplies the token, and specs that only assert. Includes managed token renewal on 403, negative tests, and a JSONPath cheat sheet with jsonpath-plus.

Fri 4 Sep · 1h 2m

CRUD end to end, and why the failure is 403 and not 401

Automating a full CRUD flow in Playwright: auth token, create booking, update booking, with typed interfaces, test.step and shared flow state, the Cookie header for authorization, request.newContext for a second base URL, and the arrange-act-assert refactor that follows.

Wed 2 Sep · 1h 9m

API testing with Playwright: the first request

Playwright API testing for the 2x batch: the three-layer architecture, URL anatomy, HTTP methods and status families, why Playwright beats Postman and Rest Assured for automation, the request fixture and APIRequestContext, and the config change that makes API tests run.

Fri 28 Aug · 1h 00m

Adding one feature with AI, without becoming a blind AI user

Add dotenv support to a Playwright framework using an AI coding agent properly: plan mode first, review and push back on the plan, check the blast radius before touching shared files, catch the gitignored .env that breaks CI, approve file by file, then prove the values are really being injected.

Wed 26 Aug · 1h 13m

Playwright fixtures: a logged-in page for every test

Playwright custom fixtures explained: fixtures versus hooks, the built-in page, context, browser and request fixtures, building test-base.ts with test.extend, what use() does, environment-variable credentials, a visualStep wrapper for per-step screenshots, and the trace viewer.

Mon 24 Aug · 1h 15m

The Playwright framework build plan, from an empty folder

The seven-phase plan for rebuilding an advanced Playwright TypeScript framework from an empty folder: project structure, config and environments, utilities, page objects, specs, reporting and quality gates, CI and AI rules, plus the interview answers from the class and a verified audit of what the repo contains today.

Wed 12 Aug · 1h 33m

Filling the framework: BasePage, utilities, and the logger

Build a Playwright TypeScript framework: abstract BasePage, a Flex string-or-Locator utility wrapper, Faker data generator, Winston logger with scope tags, and the first passing login spec.

Mon 10 Aug · 58m

Advanced Playwright framework: fixtures, structure, config

Build an advanced Playwright framework: custom fixtures with storage state, folder structure, playwright.config retries, and env-based baseURL switching.

Fri 7 Aug · 1h 29m

Dynamic data with Faker, and the page object model

Faker JS and the Page Object Model in Playwright: generate realistic dynamic test data, build a LoginPage class with readonly locators and a constructor, and chain locator fallbacks with .or().

Wed 5 Aug · 49m

One test, many rows: data-driven testing in Playwright

Data-driven testing in Playwright: load JSON test data with import or fs, write JSON back with JSON.stringify, generate one test per row with template literal titles, and build a CSV reader from scratch before switching to ExcelJS and JS-YAML.