Sha256: 6aa22c0400f99ec4726ecfd1c43d18f6451b6fb43a986ab4fe31a515f60bc1fa
Contents?: true
Size: 981 Bytes
Versions: 5
Compression:
Stored size: 981 Bytes
Contents
require File.expand_path('../../watirspec_desktophelper', __FILE__) require File.expand_path('../shared/shared', __FILE__) describe 'QuickThumbnail' do before(:all) do browser.open_window_with_key_press("Document Window", "t", :ctrl) end let(:widget) { browser.quick_thumbnail(:name, "Speed Dial 1") } subject { widget } it_behaves_like 'a widget' it_behaves_like 'a button' its(:type) { should == :thumbnail } #This is really on browser, widgets, and window describe '#quick_thumbnail' do it 'constructs thumbnail by its position' do browser.quick_thumbnail(:pos, 1).should exist end it 'constructs thumbnail by its name' do browser.quick_thumbnail(:name, "Speed Dial 1").should exist end it 'constructs thumbnail by its text' end describe '#move_with_drag' do it 'moves thumbnail' context 'when target is not a thumbnail' do it 'raises UnknownObjectException' end end end
Version data entries
5 entries across 5 versions & 1 rubygems