Sha256: a2c22284e8f24991955dffec99ff218591de5c507c4ad8c4a204f2e342edc753
Contents?: true
Size: 642 Bytes
Versions: 33
Compression:
Stored size: 642 Bytes
Contents
require 'spec_helper' describe Uia::Patterns::ExpandCollapse do let(:main) { Uia.find_element id: 'MainFormWindow' } Given(:parent_one) { main.find(name: 'Parent One').as :expand_collapse } context 'properties' do context '#expand_collapse_state' do Then { parent_one.expand_collapse_state == :collapsed } end end context '#expand' do When { parent_one.expand } Then { parent_one.expand_collapse_state == :expanded } end context '#collapse' do Given { parent_one.expand } When { parent_one.collapse } Then { parent_one.expand_collapse_state == :collapsed } end end
Version data entries
33 entries across 33 versions & 1 rubygems