Sha256: 9289075c7ffb7d87cbbb56da03c573a2eaf2bee0935c73b20f433dffb9adc846
Contents?: true
Size: 545 Bytes
Versions: 12
Compression:
Stored size: 545 Bytes
Contents
When(/^I retrieve the area element$/) do @element = @page.area_id_element end When(/^I search for the area by "([^"]*)"$/) do |how| @how = how end Then(/^I should be able to click the area$/) do @page.send("area_#{@how}") end Then(/^I should see the coordinates are "([^"]*)"$/) do |coords| expect(@element.coords).to eql coords end Then(/^I should see the shape are "([^"]*)"$/) do |shape| expect(@element.shape).to eql shape end Then(/^I should see the href is "([^"]*)"$/) do |href| expect(@element.href).to include href end
Version data entries
12 entries across 12 versions & 2 rubygems