Skip to content

Commit 3af6ac5

Browse files
authored
fix: debug test (#431)
1 parent 711f81e commit 3af6ac5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/cli/debug/test_debug_ng.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import unittest
21
import time
2+
import unittest
33

44
from core.base_test.tns_run_test import TnsRunTest
55
from core.enums.os_type import OSType
@@ -82,7 +82,9 @@ def __debug_elements(self, platform, device):
8282
self.dev_tools.doubleclick_line(text='ListView')
8383
if platform == Platform.ANDROID:
8484
self.dev_tools.doubleclick_line(text='StackLayout')
85-
self.dev_tools.wait_element_by_text(text='Label', timeout=10)
85+
self.dev_tools.wait_element_by_text(text='Label', timeout=10)
86+
if platform == Platform.IOS:
87+
self.dev_tools.wait_element_by_text(text='StackLayout', timeout=10)
8688

8789
def __debug_sources(self, platform, device):
8890
# Start debug and wait until app is deployed

0 commit comments

Comments
 (0)