Merge branch 'qa-staging-61-fix-ee-project-templates-spec-ce' into 'master'
CE port of EE branch qa-staging-61-fix-ee-project-templates-spec See merge request gitlab-org/gitlab-ce!30835
This commit is contained in:
commit
53e444fe87
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ module QA
|
|||
find('.select2-result-label', text: item_text, match: :prefer_exact).click
|
||||
end
|
||||
|
||||
def current_selection
|
||||
find('.select2-chosen').text
|
||||
end
|
||||
|
||||
def clear_current_selection_if_present
|
||||
if has_css?('a > abbr.select2-search-choice-close', wait: 1.0)
|
||||
find('a > abbr.select2-search-choice-close').click
|
||||
|
|
Loading…
Reference in a new issue