Commit 5d6824dd authored by Dan Davison's avatar Dan Davison

Merge branch 'ml-fix-kwargs-deprecation' into 'master'

Pass keyword args explicitly

See merge request gitlab-org/gitlab!68425
parents f07a46cf 2e8df9b5
...@@ -236,7 +236,7 @@ module QA ...@@ -236,7 +236,7 @@ module QA
if disabled.nil? if disabled.nil?
has_css?(element_selector_css(name, kwargs), text: text, wait: wait, class: klass, visible: visible) has_css?(element_selector_css(name, kwargs), text: text, wait: wait, class: klass, visible: visible)
else else
find_element(name, original_kwargs).disabled? == disabled find_element(name, **original_kwargs).disabled? == disabled
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment