Sha256: e35f47c1c1ae7e615399a513fa44e954525451e641ab250d890020891fbc0608
Contents?: true
Size: 882 Bytes
Versions: 2
Compression:
Stored size: 882 Bytes
Contents
Then (/^the book title text field should not be read only$/) do @web_object = @page.bookTitleID_object @attr = @web_object.attribute('readonly') @attr.should be_false if @attr.is_a? FalseClass @attr.should == "false" if @attr.is_a? String end Then (/^the reference ID text field should be read only$/) do @web_object = @page.bookRefID_object @attr = @web_object.attribute('readonly') @attr.should be_true if @attr.is_a? TrueClass @attr.should == "true" if @attr.is_a? String end Then (/^the reference ID text field should have a black background$/) do @web_object = @page.bookRefID_object @style = @web_object.style('background-color') @style.should == "rgb(0, 0, 0)" end Then (/^the reference ID text field should have yellow text$/) do @web_object = @page.bookRefID_object @style = @web_object.style('color') @style.should == "rgb(255, 255, 0)" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
symbiont-0.1.2 | specs/support/test_steps/action_steps_webobjects.rb |
symbiont-0.1.1 | specs/support/test_steps/action_steps_webobjects.rb |