Sha256: 28f26a20e5a7bf6a0f35ead30021490b8e7ab27348cf9204a80c56cdbb503458

Contents?: true

Size: 643 Bytes

Versions: 31

Compression:

Stored size: 643 Bytes

Contents

When /^I get the text from the article$/ do
  @text = @page.article_id
end

When /^I get the text from the header$/ do
  @text = @page.header_id
end

When /^I get the text from the footer$/ do
	@text = @page.footer_id
end

When /^I get the text from the summary$/ do
	@text = @page.summary_id
end

When /^I get the text from the details$/ do
	@text = @page.details_id
end

When /^I get the svg element$/ do
  @svg = @page.svg_id_element
end

Then /^the svg width should be "(.*?)"$/ do |width|
  @svg.attribute('width').should == width
end

Then /^the svg height should be "(.*?)"$/ do |height|
  @svg.attribute('height').should == height
end

Version data entries

31 entries across 31 versions & 4 rubygems

Version Path
page-object-0.9.4 features/step_definitions/generic_element_steps.rb
page-object-0.9.3 features/step_definitions/generic_element_steps.rb
page-object-0.9.2 features/step_definitions/generic_element_steps.rb
page-object-0.9.1 features/step_definitions/generic_element_steps.rb
page-object-0.9.0 features/step_definitions/generic_element_steps.rb
page-object-0.8.10 features/step_definitions/generic_element_steps.rb
page-object-0.8.9 features/step_definitions/generic_element_steps.rb
page-object-0.8.8 features/step_definitions/generic_element_steps.rb
page-object-0.8.7 features/step_definitions/generic_element_steps.rb
page-object-0.8.6.1 features/step_definitions/generic_element_steps.rb
page-object-0.8.6 features/step_definitions/generic_element_steps.rb