Fix nextcloud tests

This commit is contained in:
Tobias Knöppler 2025-09-13 18:11:39 +02:00
parent 06f50ed3de
commit 42f8ee11b0

View File

@ -213,7 +213,8 @@ def test_nextcloud(IP: str, nc_port: str, driver: WebDriver, skip_release_check:
infos = driver.find_elements(By.CSS_SELECTOR, "#postsetupchecks > .info > li")
for info in infos:
if re.match(r'.*Your installation has no default phone region set.*', info.text) \
or re.match(r'The PHP module "imagick" is not enabled', info.text):
or re.match(r'The PHP module "imagick" is not enabled', info.text) \
or re.match(r'The PHP module "imagick" in this instance has no SVG support.*', info.text):
continue
else:
print(f'INFO: {info.text}')