Sha256: d8fe593ad252e34c405e642e93e5d08791e14e5b74e35ca6e66a01fd65f1868e

Contents?: true

Size: 383 Bytes

Versions: 88

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

require_relative "../page_object"

module Pages
  module Letters
    class PatientLetters < PageObject
      def go(patient)
        visit patient_letters_letters_path(patient)
        self
      end

      def create_simple_letter
        click_on "Create"
        click_on "Simple Letter"
        Pages::Letters::Form.new
      end
    end
  end
end

Version data entries

88 entries across 88 versions & 1 rubygems

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