Sha256: 11dee67df1693363885d6c79ed513bfa33444a5655a431d7fbe28d1c6adbd8c2
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
require 'mock/page' require File.dirname(__FILE__) + "/spec_helper" describe "Class with element" do describe "Element interface" do before(:all) do @page = Mock::Site::MockPage.new "foo" end it "Verify if the element exists method exists" do (@page.methods.map.include? :element_is_real?).should be true end it "Click on the element method exists" do (@page.methods.map.include? :element_click).should be true end it "Verify if the element is visible method exists" do (@page.methods.map.include? :element_is_visible?).should be true end it "Verify if the element is enable methods exists" do (@page.methods.map.include? :element_is_enable?).should be true end it "Click with the right button on the element method exists" do (@page.methods.map.include? :element_right_click).should be true end it "Wait visible for on the element method exists" do (@page.methods.map.include? :element_wait_visible_for).should be true end it "Wait exists for on the element method exists" do (@page.methods.map.include? :element_wait_exists_for).should be true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cello-0.0.27 | spec/element_spec.rb |