class Selenium::WebDriver::Support::Guards::Guard
def message
def message details = case reason when Integer "Bug Filed: #{tracker}/#{reason}" when Symbol messages[reason] else "Guarded by #{guarded};" end case type when :exclude "Test skipped because it breaks test run; #{details}" when :flaky "Test skipped because it is unreliable in this configuration; #{details}" when :exclusive "Test does not apply to this configuration; #{details}" else "Test guarded; #{details}" end end