the following step:</p>
<pre><code class="hljs css language-gherkin"><span class="hljs-keyword">When</span> the <span class="hljs-string">"dashboard"</span> page is displayed
</code></pre>
<p>expects that there is a file named <code>dashboard.js</code> inside the <code>pages</code> directory.</p>
<p>Every step that we are using is somehow connected to an object called <code>currentPage</code>. This object value is set to a
page object that we expect to be on.</p>
<p>This is done by two kinds of steps:</p>
<