Sha256: 63fc35916961eb362fbbb04f79c929f101be599376a8b28a048037eb330a786a

Contents?: true

Size: 750 Bytes

Versions: 5

Compression:

Stored size: 750 Bytes

Contents

require File.expand_path('../../watirspec_desktophelper', __FILE__)
require File.expand_path('../shared/shared', __FILE__)

describe 'QuickDialogTab' do
	before(:all) do
		browser.open_dialog_with_action("New Preferences Dialog", "Show preferences").should > 0
	end
	
	after(:all) do
		browser.close_all_dialogs
	end
  
  let(:widget) { browser.quick_dialogtab(:name, "tab_prefs_advanced") }
  subject { widget }
    
  it_behaves_like 'a widget'
  
  its(:type) { should == :dialogtab }

  describe '#activate_tab_with_click' do
	 it 'activates a tab with click' do
	   browser.quick_dialogtab(:name, "tab_prefs_advanced").activate_tab_with_click
	   browser.quick_checkbox(:name, "Thumbnails_in_tab_cycle").should be_visible
	 end
  end
   
end



Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
operawatir-0.4.3.pre1-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.4.2-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.4.1-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.4.1.pre7-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.4.1.pre6-jruby spec/operawatir/desktop/quickdialogtab_spec.rb