blob: 655254d74fa9dbb4466e637628b4ca648ffe1036 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# frozen_string_literal: true
module QA
module Page
module Milestone
class New < Page::Base
view 'app/views/shared/milestones/_form_dates.html.haml' do
element :due_date_field
element :start_date_field
end
def set_due_date(due_date)
fill_element(:due_date_field, due_date.to_s + "\n")
end
def set_start_date(start_date)
fill_element(:start_date_field, start_date.to_s + "\n")
end
end
end
end
end
|