blob: 50e11acd94aadf2956e82fbd73dbbfb1f5bacdef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# frozen_string_literal: true
module QA
module Page
module Project
module Tag
class New < Page::Base
view 'app/views/projects/tags/new.html.haml' do
element :tag_name_field
element :tag_message_field
element :create_tag_button
end
def fill_tag_name(text)
fill_element(:tag_name_field, text)
end
def fill_tag_message(text)
fill_element(:tag_message_field, text)
end
def click_create_tag_button
click_element :create_tag_button
end
end
end
end
end
end
|