Could this be because of .dev instead of .test?
https://roots.io/guides/updating-development-tld-from-dev-to-test/