Chapter 1

Why and When to Migrate — quiz

5 questions · ~4 min

Chapter 1 quiz

Question 1 of 5

A QA team's Playwright test suite crashes at runtime with `TypeError: Cannot read properties of undefined (reading 'click')`. The variable `page` was passed as `null` due to a setup error — no editor warning appeared. With TypeScript's `strictNullChecks` enabled, this would have been: