Sha256: 04d79aae2f98215f2c17a71558e87694af233892398021d406539ee1476f2569
Contents?: true
Size: 550 Bytes
Versions: 9
Compression:
Stored size: 550 Bytes
Contents
require 'spec_helper' require 'druid/elements' describe Druid::Elements::Label do describe "when mapping how to find an element" do it "should map watir types to same" do [:class, :id, :text, :index, :xpath].each do |t| identifier = Druid::Elements::Label.identifier_for t => 'value' expect(identifier.keys.first).to eql t end end end describe "interface" do it "should register with tag :label" do expect(Druid::Elements.element_class_for(:label)).to be Druid::Elements::Label end end end
Version data entries
9 entries across 9 versions & 1 rubygems