Software and technology · Frontend

Frontend testing

How and what to test in a frontend: why to test the way a person uses the page, Vitest and its environment, Testing Library with role queries, user-event and async waits, mocking the network with MSW and mocks, end-to-end tests with Playwright, flaky tests, visual comparisons and accessibility with axe, and the common and costly mistakes. Based on the Testing Library, Vitest, MSW and Playwright documentation and Martin Fowler's guide on non-deterministic tests. Questions are in Spanish.

  • Free
  • Tests that teach
  • Doomscrolling-style videos

100% free course. You learn with practice tests and short vertical doomscrolling-style videos.

Sections
7
Tests
8
Questions
80

Truly free

No card, no expiring trial and no locked content: the whole course is yours.

Tests that teach

Every question explains why the answer is right and reviews your mistakes until you master them.

Doomscrolling-style videos

Short vertical videos explain each topic before its questions: you swipe and you learn.

What you will learn

  1. What to test in a frontend and why 1 tests · 10 questions
  2. Testing Library 2 tests · 20 questions
  3. Mocking the network 1 tests · 10 questions
  4. End-to-end tests with Playwright 1 tests · 10 questions
  5. Flaky, visual and accessibility tests 1 tests · 10 questions
  6. Common mistakes 1 tests · 10 questions
  7. Costly mistakes 1 tests · 10 questions

This is what a test looks like

Pick an answer to try it.

Tu equipo discute qué deberían comprobar los tests de un formulario de registro. ¿Qué principio guía a Testing Library?

Correct! Inside the course every question comes with its explanation. Not that one. Inside the course every question explains why.

Based on expert sources

and 17 more sources

Start Frontend testing for free

Free, with tests and doomscrolling-style videos. All you need is your Google account.

Report a Bug

Please review the form.

Max 5MB. Supported formats: PNG, JPG, GIF, WebP.