MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / fail

Method fail

seleniumbase/fixtures/base_case.py:9430–9432  ·  view source on GitHub ↗

Fail immediately, with the given message.

(self, msg="fail() called!")

Source from the content-addressed store, hash-verified

9428 self.__overrided_default_timeouts = False
9429
9430 def fail(self, msg="fail() called!"):
9431 """Fail immediately, with the given message."""
9432 super().fail(msg)
9433
9434 def skip(self, reason=""):
9435 """Mark the test as Skipped."""

Callers 15

assert_no_404_errorsMethod · 0.95
assert_pdf_textMethod · 0.95
assert_no_js_errorsMethod · 0.95
mislukkenMethod · 0.80
échouerMethod · 0.80
fallireMethod · 0.80
fallarMethod · 0.80
실패Method · 0.80
провалитьMethod · 0.80
失敗Method · 0.80
失败Method · 0.80
falharMethod · 0.80

Calls

no outgoing calls

Tested by 7

test_wordleMethod · 0.64
login_to_swag_labsMethod · 0.64
login_to_swag_labsMethod · 0.64
test_wordleMethod · 0.64
test_xfailMethod · 0.64