Skip to content

Commit

Permalink
test(test_ossec_alert_button): don't search for source string in tran…
Browse files Browse the repository at this point in the history
…slation
  • Loading branch information
cfm committed Oct 8, 2024
1 parent 7edff79 commit 5719e25
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ def test_ossec_alert_button(self, locale, sd_servers, firefox_web_driver):
# Then it succeeds
def test_alert_sent():
flash_msg = journ_app_nav.driver.find_element(By.CSS_SELECTOR, ".flash")
assert "Test alert sent. Please check your email." in flash_msg.text
if not journ_app_nav.accept_languages:
assert "Test alert sent. Please check your email." in flash_msg.text

journ_app_nav.nav_helper.wait_for(test_alert_sent)

Expand Down

0 comments on commit 5719e25

Please sign in to comment.