Skip to content

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

@adiel

Description

@adiel
<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'});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions