Sha256: 1a55bb24e125382460945996ad123df6689a0ab60b2e69335b419398a41175d9
Contents?: true
Size: 760 Bytes
Versions: 1
Compression:
Stored size: 760 Bytes
Contents
Then(/^I should know its' text is "(.*?)"$/) do |text| expect(@element.text).to eql text end Then(/^I should know it is equal to itself$/) do expect(@element==@element).to be true end Then(/^I should know its' tag name is "(.*?)"$/) do |tagname| expect(@element.tag_name).to eql tagname end Then(/^I should know the attribute "(.*?)" is false$/) do |attr_name| @attr = @element.attribute_value(attr_name) # expect(@attr.is_a? NilClass).to be true expect(@attr).to be_nil end Then(/^I should be able to click it$/) do @element.click end Then(/^I should know its' value is "(.*?)"$/) do |value| expect(@element.value).to eql value end Then(/^I should know its' text includes "(.*?)"$/) do |text| expect(@element.text).to include text end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-0.0.1 | features/step_definations/element_steps.rb |