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

- Error: xit expects a function argument; received [object AsyncFunction] #90

Open
Xotabu4 opened this issue Jun 2, 2017 · 2 comments

Comments

@Xotabu4
Copy link

Xotabu4 commented Jun 2, 2017

Tried to skip protractor tests with typescript async/await, but getting pretty nasty error - - Error: xit expects a function argument; received [object AsyncFunction]

jasminewd -  "version": "2.1.0"
Nodejs - 7.8, 7.10
SELENIUM_PROMISE_MANAGER: false

spec:

    xit('can sort by favorited', async () => {
        await favoriteFilter.selectOption('No')

    })

I think this could be easily fixed, but not sure is this jasminewd error or jasmine?

If someone can point me how to fix locally or point to the line of code in this repo - i can prepare pull request

@mwsessom
Copy link

+1

@mwsessom
Copy link

This has been fixed in jasmine/jasmine#1356. Protractor needs updating now.

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

2 participants