Why my Tests are not passing Through application works fine

Anyone with the Ideas for what heck is with my code running for tests

Here is a link to my codes

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36.

Challenge: Registration of New Users

Link to the challenge:

Hello there,

There are a few known bugs with these challenges, and they are being fixed, but it takes time. For now, it is best to understand the content of the lessons, and then look at the tests to see what they are expecting. https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/registration-of-new-users.english.md

In your case, it might be beneficial to edit the following line of code in views/pug/profile:

h1.border.center FCC Advanced Node and Express

to

h1.border.center FCC Advanced Node and Express Profile

And in views/pug/index:

h1.border.center FCC Advanced Node and Express

to

h1.border.center FCC Advanced Node and Express Home

Let us know if you get stuck anywhere else, or cannot understand the tests.

Also, there may be a need to add cookie: {secure: false} to:

app.use(session({
  secret: process.env.SESSION_SECRET,
  resave: true,
  saveUninitialized: true,
}));

Not fixed for all tests. I cant even understand tests

Finally, it worked

changed h1 in the index.pug with

h1.border.center Home Page

and profile.pug

h1.border.center Profile Home

Dropped the DB and run tests again