Skip to content

fix: add more verification in debug-brk test #346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/cli/debug/test_debug_js.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ def __debug_brk(self, platform, device):
assert self.dev_tools.find_element_by_text(text="function") is not None, 'Failed to stop on first line of code.'
assert 'NativeScript' in device.get_text(), 'Failed to stop on first line of code.'

# Resume execution
self.dev_tools.continue_debug()
device.wait_for_text(text='TAP')

def __debug_start(self, platform, device):
# Run the app and verify it is deployed
Tns.run(app_name=self.app_name, platform=platform, emulator=True, source_map=True, just_launch=True)
Expand Down