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

SelectList#select_value behaves differently than watir equivalent. #5

Closed
lastobelus opened this issue Aug 24, 2009 · 2 comments
Closed

Comments

@lastobelus
Copy link

SUMMARY:
Celerity selects only by option label/text; watir can select by value

DESCRIPTION:
In Watir, SelectList has two methods for selecting:
select (selects by text, or label)
select_value (selects by value)

in celerity select_value is aliased to select. However, matches_option? checks the passed value only against option labels, not against option values.

EFFECT:
Tests written to select dropdown items by value (very typical in multi-language applications for example) will fail.

@jarib
Copy link
Owner

jarib commented Aug 25, 2009

Implement SelectList#select_value. Closed by 95c2920.

Also updated watirspec to 4c364821.

@jarib
Copy link
Owner

jarib commented Aug 25, 2009

Thanks for the report.

This issue was closed.
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