Sha256: 942e1533a62d6430c4628f2591857024c7facc1080ddbe0d6aa2f833d1b07310

Contents?: true

Size: 763 Bytes

Versions: 10

Compression:

Stored size: 763 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

10 entries across 10 versions & 1 rubygems

Version Path
operawatir-0.7.pre4-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.7.pre3-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.7.pre2-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.7.pre1-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.6.pre1-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.5.1-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.5-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.5.pre3-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.5.pre2-jruby spec/operawatir/desktop/quickdialogtab_spec.rb
operawatir-0.5.pre1-jruby spec/operawatir/desktop/quickdialogtab_spec.rb