From 89abb65e6b0b2e3c45949118fe31eecf4519dfd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Fri, 14 Jun 2024 16:24:42 +0200 Subject: [PATCH] chore: Refresh page after navigating to configs page so that we don't get blocked because of a flash message in web UI tests --- tests/ui/configs_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/configs_page.py b/tests/ui/configs_page.py index cfa1290f0..5201cfebf 100644 --- a/tests/ui/configs_page.py +++ b/tests/ui/configs_page.py @@ -38,7 +38,7 @@ log_info("Navigating to the configs page ...") access_page(DRIVER, "/html/body/aside[1]/div[2]/ul[1]/li[5]/a", "configs") - sleep(2) + DRIVER.refresh() log_info("Trying to create a new config ...")