Skip to content

Commit

Permalink
fix: remove appended dot in waitactivity (#383)
Browse files Browse the repository at this point in the history
Remove appending of dot in Android wait_activity

copying from: #169
  • Loading branch information
euphonious28 authored Apr 29, 2024
1 parent c5e6c95 commit 9aead99
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions AppiumLibrary/keywords/_android_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ def wait_activity(self, activity, timeout, interval=1):
- _timeout_ - max wait time, in seconds
- _interval_ - sleep interval between retries, in seconds
"""

if not activity.startswith('.'):
activity = ".%s" % activity

driver = self._current_application()
if not driver.wait_activity(activity=activity, timeout=float(timeout), interval=float(interval)):
raise TimeoutException(msg="Activity %s never presented, current activity: %s" % (activity, self.get_activity()))
Expand Down

0 comments on commit 9aead99

Please sign in to comment.