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

text option for a button input should use its value #33

Open
adiel opened this issue Mar 17, 2016 · 1 comment
Open

text option for a button input should use its value #33

adiel opened this issue Mar 17, 2016 · 1 comment
Labels

Comments

@adiel
Copy link
Member

adiel commented Mar 17, 2016

<button id="one" value="1">one</button>
<input id="two" type="button" value="two">

should mean all these are true:

find('button#one').shouldHave({text: 'one');
find('button#one').shouldHave({value: 1});
find('input#two').shouldHave({text: 'two'});
find('input#two').shouldHave({value: 'two'});
@daniel-baptista-travcorp

view on requirebin

@dereke dereke added the bug label Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants