Sha256: cb37c76776f49d492ed716236adafe44ffb3ad37ff451e7d801804d52b3b92a4

Contents?: true

Size: 496 Bytes

Versions: 95

Compression:

Stored size: 496 Bytes

Contents

# frozen_string_literal: true

require_relative "../page_object"

module Pages
  module Admissions
    class Consults < PageObject
      def go
        visit admissions_consults_path
        self
      end

      def sort_by_modality
        within ".admissions-consults-table thead" do
          click_on "Modality"
        end
      end

      def has_patient?(patient)
        within ".admissions-consults-table" do
          has_content?(patient.to_s)
        end
      end
    end
  end
end

Version data entries

95 entries across 95 versions & 1 rubygems

Version Path
renalware-core-2.0.153 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.152 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.151 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.149 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.148 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.147 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.146 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.145 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.144 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.143 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.142 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.141 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.140 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.139 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.138 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.137 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.136 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.135 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.134 spec/support/pages/admissions/consults_page.rb
renalware-core-2.0.133 spec/support/pages/admissions/consults_page.rb