Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/support/page/logging.rb')
-rw-r--r--qa/qa/support/page/logging.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/qa/qa/support/page/logging.rb b/qa/qa/support/page/logging.rb
index e183d711b30..f5299ed840d 100644
--- a/qa/qa/support/page/logging.rb
+++ b/qa/qa/support/page/logging.rb
@@ -52,19 +52,19 @@ module QA
elements
end
- def check_element(name)
+ def check_element(name, click_by_js = nil)
log("checking :#{name}")
super
end
- def uncheck_element(name)
+ def uncheck_element(name, click_by_js = nil)
log("unchecking :#{name}")
super
end
- def click_element_coordinates(name)
+ def click_element_coordinates(name, **kwargs)
log(%Q(clicking the coordinates of :#{name}))
super
@@ -81,7 +81,7 @@ module QA
end
def fill_element(name, content)
- masked_content = name.to_s.include?('password') ? '*****' : content
+ masked_content = name.to_s.match?(/token|key|password/) ? '*****' : content
log(%Q(filling :#{name} with "#{masked_content}"))