Skip to content

Conversation

SvetoslavTsenov
Copy link
Contributor

@SvetoslavTsenov SvetoslavTsenov commented Jan 10, 2019

Exposed new options which will help to run tests in developer mode ("--devMode" uses the application that is already installed by "tns").
It will use the first device that is from platform(android/ ios) or type(emulator/ simulator/ device)
npm run e2e -- android/ ios/ emulator/ simulator/ device
or
npm run e2e -- --device.platform=android | --device.name="Emulator-Api28-Google" | --device.name="iPhone XS"

BREAKING CHANGES:
validateArgs() already returns a promise.

Migration steps:
before:
nsCaps.validateArgs()
now
await nsCaps.validateArgs()

@SvetoslavTsenov SvetoslavTsenov changed the title refactor(devMode): pass as first option only ios or android. refactor(devMode): use android/ ios or --device.[prop] as option instead devMode Jan 10, 2019
@SvetoslavTsenov SvetoslavTsenov merged commit d5b773e into master Jan 13, 2019
@SvetoslavTsenov SvetoslavTsenov deleted the svetoslavtsenov/update-dev-mode branch January 13, 2019 23:30
@lock
Copy link

lock bot commented Jan 14, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Jan 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant