summaryrefslogtreecommitdiff
path: root/qa/qa/page/trials/new.rb
blob: 268f3b717170ea5124bff77fdb45b42e43490b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

module QA
  module Page
    module Trials
      class New < Chemlab::Page
        path '/-/trials/new'

        # TODO: Supplant with data-qa-selectors
        text_field :first_name, id: 'first_name'
        text_field :last_name, id: 'last_name'
        text_field :company_name, id: 'company_name'
        select :number_of_employees, id: 'company_size'
        text_field :telephone_number, id: 'phone_number'
        text_field :number_of_users, id: 'number_of_users'

        select :country, id: 'country_select'

        button :continue, value: 'Continue'
      end
    end
  end
end