blob: f88d6450a33ace61dd7dacdf2640784816fb3e55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
module QA
module Page
module Component
module UsersSelect
def select_user(element, username)
find("#{element_selector_css(element)} input").set(username)
find('.ajax-users-dropdown .user-username', text: "@#{username}").click
end
end
end
end
end
|