Skip to content

Commit

Permalink
Wait for out IP address to show
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasberglund committed Aug 23, 2024
1 parent 42d44fb commit d1c8c10
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,7 @@ class AppInteractor(
fun extractIpAddress(): String {
device.findObjectWithTimeout(By.res("location_info_test_tag")).click()
return device
.findObjectWithTimeout(
By.res("location_info_connection_out_test_tag"),
CONNECTION_TIMEOUT
)
.findObjectWithTimeout(By.res("location_info_connection_out_test_tag").textStartsWith("Out"))
.text
.extractIpAddress()
}
Expand Down

0 comments on commit d1c8c10

Please sign in to comment.