Sha256: 9f3be94b9d1e55c8de8dc18422e9f19f0cb1a26664dbfd9f040ddb5fbe622bb5

Contents?: true

Size: 932 Bytes

Versions: 18

Compression:

Stored size: 932 Bytes

Contents

module Selectors
  module Dashboard
    def db_item_actions_toggle(item)
      within "#document_#{item.id}" do
        find '.dropdown-toggle'
      end
    end
  end

  module NewTransfers
    def new_owner_dropdown
      find '#s2id_proxy_deposit_request_transfer_to'
    end

    def new_owner_search_field
      within '#select2-drop' do
        find '.select2-input'
      end
    end

    def new_owner_search_result
      within '#select2-drop' do
        find '.select2-result-selectable'
      end
    end
  end

  module Transfers
    def first_sent_cancel_button
      within '#outgoing-transfers' do
        find '.btn.btn-danger'
      end
    end

    def first_received_accept_dropdown
      within '#incoming-transfers' do
        find '.dropdown-toggle.accept'
      end
    end

    def first_received_reject_button
      within '#incoming-transfers' do
        find '.btn.btn-danger'
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hyrax-1.1.1 spec/support/selectors.rb
hyrax-2.0.3 spec/support/selectors.rb
hyrax-1.1.0 spec/support/selectors.rb
hyrax-2.0.2 spec/support/selectors.rb
hyrax-2.1.0.beta1 spec/support/selectors.rb
hyrax-2.0.1 spec/support/selectors.rb
hyrax-2.0.0 spec/support/selectors.rb
hyrax-2.0.0.rc3 spec/support/selectors.rb
hyrax-2.0.0.rc2 spec/support/selectors.rb
hyrax-2.0.0.rc1 spec/support/selectors.rb
hyrax-1.0.5 spec/support/selectors.rb
hyrax-2.0.0.beta5 spec/support/selectors.rb
hyrax-2.0.0.beta4 spec/support/selectors.rb
hyrax-2.0.0.beta3 spec/support/selectors.rb
hyrax-2.0.0.beta2 spec/support/selectors.rb
hyrax-2.0.0.beta1 spec/support/selectors.rb
hyrax-1.0.4 spec/support/selectors.rb
hyrax-1.0.3 spec/support/selectors.rb