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 11, 2024
1 parent 3e740c1 commit f8ecf5e
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 f8ecf5e

Please sign in to comment.