The DOM

In order to test front-end code, we need to understand how to manipulate a web page using JavaScript. We do this with the DOM—the Document Object Model. In this episode, we introduce the DOM and demonstrate how to add, modify, and remove elements using JavaScript. We also demonstrate how to debug DOM manipulation code from our tests.

  1. LL7Unit Testing DOM Manipulation Code

    Fri, 9 Nov ’12
  2. E20Red Green Refactor

    Fri, 16 Oct ’15
  3. E21The DOM

    Fri, 23 Oct ’15
  4. E22Our First Front-End Test

    Fri, 30 Oct ’15
  5. E23Debugging Tests

    Fri, 6 Nov ’15