diff options
Diffstat (limited to 'qa/qa/support/page/logging.rb')
-rw-r--r-- | qa/qa/support/page/logging.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qa/qa/support/page/logging.rb b/qa/qa/support/page/logging.rb index 43bc16d8c9a..5765a8041cc 100644 --- a/qa/qa/support/page/logging.rb +++ b/qa/qa/support/page/logging.rb @@ -85,6 +85,14 @@ module QA found end + def has_no_text?(text) + found = super + + log(%Q{has_no_text?('#{text}') returned #{found}}) + + found + end + def within_element(name) log("within element :#{name}") |