My solution on Glitch is currently failing the test for two reasons:
I followed the advice here and added a timeout delay to HTTP methods in order to ensure the server can respond before the test is run. That doesn’t seem to be the issue however, as I am failing not just the login test but the registration test.
When I visit the interface of the app via a browser, I can register a new user and end up on the profile page. I can also login via that registered user and end up on the profile page. Also, when I run the freeCodeCamp tests, a new user entry is successfully added to the database. I do not understand why the tests are still failing.
Any help would be appreciated.