Skip to content

Commit

Permalink
Temporary debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasberglund committed Aug 23, 2024
1 parent 30d6c3f commit 30ffd4a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import android.widget.Button
import androidx.test.uiautomator.By
import androidx.test.uiautomator.UiDevice
import androidx.test.uiautomator.Until
import co.touchlab.kermit.Logger
import net.mullvad.mullvadvpn.lib.endpoint.CustomApiEndpointConfiguration
import net.mullvad.mullvadvpn.lib.endpoint.putApiEndpointConfigurationExtra
import net.mullvad.mullvadvpn.test.common.constant.APP_LAUNCH_TIMEOUT
Expand Down Expand Up @@ -124,6 +125,7 @@ class AppInteractor(
}

private fun String.extractIpAddress(): String {
Logger.v("Extracting IP address from: $this")
return split(" ")[1].split(" ")[0]
}
}

0 comments on commit 30ffd4a

Please sign in to comment.