Hello, @Sashikus.
If the requested url contains only the port, host, and protocol TestCafe adds a trailing slash.
According to browsers behavior:
// Navigate to https://www.google.ru in Chrome, Firefox
> document.documentURI
< "https://www.google.ru/"
Could you please provide us an example with unexpected behavior?