Fix e2e test in step-4

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