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

fix unstable error irregullary happening while asserting conditions that uses functions from predicates.ts #120

Open
alex-popov-tech opened this issue Nov 18, 2019 · 0 comments
Assignees

Comments

@alex-popov-tech
Copy link
Collaborator

alex-popov-tech commented Nov 18, 2019

Timed out after 10000ms, while waiting for:
    	browser.element(By(css selector, .iWmctU)).all(By(css selector, .jHlJoQ)).has texts Point 1,Point 2,Point 3
    Reason:
    	Cannot read property 'includes' of undefined

https://github.com/KnowledgeExpert/selenidejs/blob/master/lib/conditions.ts#L230
https://github.com/KnowledgeExpert/selenidejs/blob/master/lib/utils/predicates.ts#L31
https://github.com/KnowledgeExpert/selenidejs/blob/master/lib/utils/predicates.ts#L23

not sure what its happening, but seems like actual text of webelement is undefined somehow...

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