Skip to content
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

Script tests with single command eg. combineSteps - does not work #116

Open
abhagupta opened this issue Jul 13, 2018 · 0 comments
Open

Script tests with single command eg. combineSteps - does not work #116

abhagupta opened this issue Jul 13, 2018 · 0 comments

Comments

@abhagupta
Copy link

how do i send single line commands to the api in script test.

example combineSteps in following script.

combineSteps
navigate https://www.walmart.com/account/login
execAndWait document.querySelector('[name="email"]').value='[email protected]'
<more steps here>

It does not accept combineSteps as JSON object without value

        {combineSteps},
        {navigate: 'https://www.walmart.com/account/login'},
            {execAndWait: ["document.querySelector('[name=email]').value='[email protected]'"]},
           
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant