spec/watirspec/elements/text_field_spec.rb in watir-6.15.0 vs spec/watirspec/elements/text_field_spec.rb in watir-6.15.1

- old
+ new

@@ -18,10 +18,10 @@ expect(browser.text_field(class: 'name')).to exist expect(browser.text_field(class: /name/)).to exist expect(browser.text_field(index: 0)).to exist expect(browser.text_field(xpath: "//input[@id='new_user_email']")).to exist expect(browser.text_field(label: 'First name')).to exist - expect(browser.text_field(label: /(Last|First) name/)).to exist + expect(browser.text_field(label: /(q|a)st? name/)).to exist expect(browser.text_field(label: 'Without for')).to exist expect(browser.text_field(label: /Without for/)).to exist expect(browser.text_field(label: 'With hidden text')).to exist expect(browser.text_field(label: 'With text')).not_to exist expect(browser.text_field(visible_label: 'With hidden text')).not_to exist