diff --git a/tests/integration/test_connection_banner.py b/tests/integration/test_connection_banner.py index 678fad777..bfc9ea0ae 100644 --- a/tests/integration/test_connection_banner.py +++ b/tests/integration/test_connection_banner.py @@ -119,9 +119,7 @@ def has_cloud_banner(driver: WebDriver) -> bool: True if the banner is displayed, False otherwise. """ try: - driver.find_element( - By.XPATH, "//*[ contains(text(), 'This app is paused') ]" - ) + driver.find_element(By.XPATH, "//*[ contains(text(), 'This app is paused') ]") except NoSuchElementException: return False else: