Fix e2e test in tutorial step-4

The online documentation doesn't match the code in the `test/e2e/scenarios.js` file.