Change the src_folders path in the nightwatch.conf.js file
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3536945. -->
Reported by: [tasneem natshah](https://www.drupal.org/user/1891690)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>In CircleCI, the 'Automated Functional Acceptance Testing' step fails with: Cannot read source — stat failed on path /var/www/html/test/webship/web/profiles/contrib/webship/web/profiles/contrib/webship/tests/step-definitions.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Change the src_folders path in the nightwatch.conf.js file to:<br>
<code>src_folders: ['./tests/step-definitions']</code><br>
instead of:<br>
<code>src_folders: ['web/profiles/contrib/webship/tests/step-definitions']</code><br>
to avoid duplicating the base path.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li>✅ File an issue</li>
<li>✅ Addition/Change/Update/Fix</li>
<li>✅ Merge request, Patch, or Commit</li>
<li>✅ Testing to ensure no regression</li>
<li>✅ Automated unit testing coverage</li>
<li>✅ Automated functional testing coverage</li>
<li>➖ UX/UI designer responsibilities</li>
<li>➖ Readability</li>
<li>➖ Accessibility</li>
<li>➖ Performance</li>
<li>➖ Security</li>
<li>➖ Documentation</li>
<li>➖ Code review by maintainers</li>
<li>✅ Full testing and approval</li>
<li>✅ Credit contributors</li>
<li>✅ Review with the product owner</li>
<li>✅ Release notes snippet</li>
<li>✅ Release webship-11.0.0-beta1</li>
</ul>
<h3 id="summary-ui-changes">User interface changes</h3>
<ul>
<li>N/A</li>
</ul>
<h3 id="summary-api-changes">API changes</h3>
<ul>
<li>N/A</li>
</ul>
<h3 id="summary-data-model-changes">Data model changes</h3>
<ul>
<li>N/A</li>
</ul>
<h3 id="summary-release-notes">Release notes snippet</h3>
<ul>
<li>Issue <a href="https://www.drupal.org/i/3536945">#3536945</a>: Change the src_folders path in the nightwatch.conf.js file</li>
</ul>
issue