Sha256: f1dfe0d2d6b6ec347492d4bef735f8216e63ab9e7959d7ed7b775d954b16b202

Contents?: true

Size: 667 Bytes

Versions: 9

Compression:

Stored size: 667 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|
  expect(@svg.attribute('width')).to eql width
end

Then(/^the svg height should be "([^"]*)"$/) do |height|
  expect(@svg.attribute('height')).to eql height
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
druid-s-1.0.0 features/step_definations/generic_element_steps.rb
druid-ts-1.2.6 features/step_definations/generic_element_steps.rb
druid-ts-1.2.5 features/step_definations/generic_element_steps.rb
druid-ts-1.2.4 features/step_definations/generic_element_steps.rb
druid-ts-1.2.3 features/step_definations/generic_element_steps.rb
druid-ts-1.2.2 features/step_definations/generic_element_steps.rb
druid-ts-1.2.1 features/step_definations/generic_element_steps.rb
druid-ts-1.2.0 features/step_definations/generic_element_steps.rb
druid-ts-1.1.8 features/step_definations/generic_element_steps.rb