CodeRoad tests not passing in "Learn Bash by Building a Boilerplate" multiple issues

Hi freeCodeCamp team/community,

I’m having repeated problems with the CodeRoad “Learn Bash by Building a Boilerplate” course.I have encountered more than one issue with the CodeRoad test runner. Because of the first issue, I had to restart the entire course from the beginning, and now I am stuck again on another step.

Current issue The lesson says - “There’s the hidden file. Do you see it? It didn’t display before. It also includes . and ... You used cd .. to go back a folder earlier. Change to the . directory.”

I run the required command: cd .

The terminal responds normally:

camper: /project$ cd .
camper: /project$

There is no Bash error, but the CodeRoad test does not pass.

I have already tried resetting the lesson several times, but the same problem occurs.

I also checked the CodeRoad test environment. The files:

/workspace/project/freeCodeCamp/test/.cwd
/workspace/project/freeCodeCamp/test/.next_command

exist, and .next_command contains cd .. The .cwd file records /workspace/project.

So it appears that the command is being executed and recorded, but CodeRoad is still not recognizing the step as completed.

Previous issue

This is not the first problem I’ve encountered with this course. I had another CodeRoad/test-runner issue earlier, and after trying to troubleshoot it I eventually had to start the course again from the beginning.

Having to restart the course because the automated tests are not recognizing correctly executed commands is quite frustrating, especially when the terminal itself shows that the commands are executing successfully.

Suggestion

Could someone please check whether the CodeRoad integration and tests for this course need maintenance or an update?

From the issues I’ve experienced, it seems like this course/environment may need a major update, repair, or review of its test runner and Codespace configuration.

I’m happy to provide additional screenshots, terminal output, or other information if that would help diagnose the problem.

Thank you for looking into this.

it does not look like you are in the correct path, press Get a Hint for as many times as you need to get all of them, it tells you how to go back to the correct path to run the command

Hi ILM, thanks for the reply.

I did use Get a Hint multiple times and followed the instructions to get back to the correct path.

Here is what I currently get:

camper: /project$ pwd
/workspace/project

Then I run exactly:

camper: /project$ cd .
camper: /project$

So cd . is being executed successfully, and the path remains /workspace/project, which is expected because . means the current directory.

I also checked the test files and the hidden files used by the test:

ls -la freeCodeCamp/test

and I can see:

.cwd
.next_command

I also checked them with:

cat freeCodeCamp/test/.cwd

which shows:

/workspace/project

So I believe I am in the correct path when I run cd ..

I have also reset the lesson several times and started again from the beginning. The same issue keeps happening.

Could you please tell me which directory the test expects me to be in when I run cd .? If it is not /workspace/project, could you show me the expected path?

I would also appreciate it if someone could check the CodeRoad test validation, because the command runs successfully but the step still does not pass.

Thanks.

Can you please tell me what do the hints say? Like the 3rd and 4th one?