Sha256: e8c5f8d431cd54ac479b4a2ee857526e2ed747b5ea41a958654799125096d573
Contents?: true
Size: 647 Bytes
Versions: 7
Compression:
Stored size: 647 Bytes
Contents
require 'spec_helper' describe 'tabs' do Given(:screen) { start_app.about; on(About) } Then { screen.tab == 'Info' } Then { screen.tab_items == ['Info', 'Other Info'] } Then { screen.tab_view.class == Mohawk::Adapters::UIA::TabControl } context '#select_tab' do context 'by index' do When { screen.tab = 1 } Then { screen.tab == 'Other Info' } end context 'by value' do When { screen.tab = 'Other Info' } When { screen.tab == 'Other Info' } end context 'by Regex' do When { screen.tab = /[Oo]th/ } Then { screen.tab == 'Other Info' } end end end
Version data entries
7 entries across 7 versions & 1 rubygems