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-1.2.0 features/step_definitions/generic_element_steps.rb
page-object-1.1.1 features/step_definitions/generic_element_steps.rb
page_object-1.1.3 features/step_definitions/generic_element_steps.rb
page_object-1.1.2 features/step_definitions/generic_element_steps.rb
page_object-1.1.1 features/step_definitions/generic_element_steps.rb
page-object-1.1.0 features/step_definitions/generic_element_steps.rb
page-object-lds-0.0.14 features/step_definitions/generic_element_steps.rb
page-object-lds-0.0.13 features/step_definitions/generic_element_steps.rb
page-object-lds-0.0.12 features/step_definitions/generic_element_steps.rb
page-object-lds-0.0.11 features/step_definitions/generic_element_steps.rb
page-object-lds-0.0.1 features/step_definitions/generic_element_steps.rb
page-object-1.0.3 features/step_definitions/generic_element_steps.rb
meeane-page-object-0.1.11 features/step_definitions/generic_element_steps.rb
page-object-1.0.2 features/step_definitions/generic_element_steps.rb
page-object-1.0.1 features/step_definitions/generic_element_steps.rb
page-object-1.0 features/step_definitions/generic_element_steps.rb
page-object-0.9.8 features/step_definitions/generic_element_steps.rb
page-object-0.9.7 features/step_definitions/generic_element_steps.rb
page-object-0.9.6 features/step_definitions/generic_element_steps.rb
page-object-0.9.5 features/step_definitions/generic_element_steps.rb