Sha256: 999fa4936d495f41537cf7ea714bdf2c1df3b3f8aa5cfc6185e620c8545bf7df
Contents?: true
Size: 497 Bytes
Versions: 5
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true describe TestCentricity::AppButton, required: true do subject(:test_button) { described_class.new(:test_button, self, { accessibility_id: 'button 1' }, :page) } it 'returns class' do expect(test_button.class).to eql TestCentricity::AppButton end it 'registers with type button' do expect(test_button.get_object_type).to eql :button end it 'should click the button' do expect(test_button).to receive(:click) test_button.click end end
Version data entries
5 entries across 5 versions & 1 rubygems