The ATF test result screenshots might look different than the actual portal page. This can be more often spotted during the testing of service portal.
Release or Environment
This is an expected behaviour. The ATF does not make an actual screenshot but builds the screenshot based on the information available on the page. The process doesn't allow for external resources (such as webfonts and icons) to be re-loaded.
Import the desired CSS/JS as a UI Script and use it locally instead of externally.
Below link will list the OOB JS that are imported from UI script