test update

This commit is contained in:
Thomas Walpole 2017-03-27 09:55:56 -07:00
parent 362188e803
commit 883aaafb21
2 changed files with 7 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Capybara::SpecHelper.spec '#find_field' do
expect(@session.find_field('Dog').value).to eq('dog')
expect(@session.find_field('form_description').text).to eq('Descriptive text goes here')
expect(@session.find_field('Region')[:name]).to eq('form[region]')
expect(@session.find_field('With Asterisk*')).to be
end
context "aria_label attribute with Capybara.enable_aria_label" do

View File

@ -586,6 +586,11 @@ New line after and before textarea tag
</label>
<label>Confusion
<textarea id="confusion_textarea" class="confusion confusion-textarea"/>
<textarea id="confusion_textarea" class="confusion confusion-textarea"></textarea>
</label>
<p>
<label for="asterisk_input">With Asterisk<abbr title="required">*</abbr></label>
<input id="asterisk_input" type="number"value="2016"/>
</p>