Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this tutorial, we will create some E2E tests in JavaScript for Node.js, using TestCafé.

Requirements

  • TestCafé
  • "testcafe-reporter-xunit" module

Description

The following examples are taken from TestCafé's documentation; the first one implements a test test in a very simple way although hard to maintain in the long run. 

In the second example, two tests are built using the page object pattern.

 

Simple message validation after submission of input

...