Skip to content

Commit fe99355

Browse files
committed
Use the correct demo_mode message for assert_exact_text()
1 parent fd488ff commit fe99355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ def assert_exact_text(self, text, selector="html", by=By.CSS_SELECTOR,
23172317

23182318
if self.demo_mode:
23192319
selector, by = self.__recalculate_selector(selector, by)
2320-
messenger_post = ("ASSERT TEXT {%s} in %s: %s"
2320+
messenger_post = ("ASSERT EXACT TEXT {%s} in %s: %s"
23212321
% (text, by, selector))
23222322
self.__highlight_with_assert_success(messenger_post, selector, by)
23232323
return True

0 commit comments

Comments
 (0)