1
0
mirror of https://github.com/google/nomulus synced 2026-01-04 04:04:22 +00:00

Add screenshot tests for the new registrar console (#2577)

This required updating to a newer version of Selenium, building the
console dist/ folder, and serving that folder.
This commit is contained in:
gbrodman
2024-10-09 12:44:34 -04:00
committed by GitHub
parent 6e77c89cd6
commit c32fb2fc71
84 changed files with 232 additions and 40 deletions

View File

@@ -97,9 +97,6 @@ public final class NetworkUtils {
if (localhost.isLoopbackAddress()) {
try {
Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces();
if (interfaces == null) {
return localhost;
}
while (interfaces.hasMoreElements()) {
NetworkInterface networkInterface = interfaces.nextElement();
Enumeration<InetAddress> addresses = networkInterface.getInetAddresses();