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

Spec 'absent' should pass in case locator is not found for object name #269

Closed
ishubin opened this issue Apr 23, 2015 · 0 comments
Closed

Comments

@ishubin
Copy link
Member

ishubin commented Apr 23, 2015

In case there are only 5 elements on page Galen would fail with such spec

=================
menu-item-*     #menu li
=================

menu-item-6
    absent

It will give an error "Cannot find locator for menu-item-6" which is completely unclear for users. In case the element is not there Galen should consider it as an absent element.

@ishubin ishubin added this to the Version 2.0 milestone Apr 23, 2015
@ishubin ishubin changed the title Multi-objects should be refactored so that they are not resolved in the beginning Spec 'absent' should pass in case locator is not found for object name May 16, 2015
ishubin added a commit that referenced this issue May 17, 2015
@ishubin ishubin closed this as completed Jul 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant