Sha256: 90564dc6d47f8b85a5ad2f135859050133b5bd4d585f5045facda5f76642d206
Contents?: true
Size: 403 Bytes
Versions: 33
Compression:
Stored size: 403 Bytes
Contents
require 'spec_helper' describe Uia::Patterns::Invoke do let(:main) { Uia.find_element id: 'MainFormWindow' } let(:radio_label) { main.find(id: 'radioButtonLabel') } Given(:reset) { main.find(name: 'Reset').as :invoke } context '#invoke' do Given { main.find(name: 'Option 2').click } When { reset.invoke } Then { radio_label.name == 'No option selected' } end end
Version data entries
33 entries across 33 versions & 1 rubygems