From 7e2dded20a0f0094a3bbb40d8955e97bf2715197 Mon Sep 17 00:00:00 2001 From: Ladislav Vasina Date: Tue, 27 Feb 2024 15:51:44 +0100 Subject: [PATCH] Improve stability of before_fill function (cherry picked from commit 478a2bf83be3d9d397ac0845dffe8f74304c88ba) --- airgun/views/host.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airgun/views/host.py b/airgun/views/host.py index 1ecc96565..adf5595dd 100644 --- a/airgun/views/host.py +++ b/airgun/views/host.py @@ -1,4 +1,5 @@ import re +import time from wait_for import wait_for from widgetastic.utils import ParametrizedLocator @@ -571,6 +572,7 @@ def before_fill(self, values): logger=self.logger, ) self.general.__getattribute__(field).fill(field_value) + time.sleep(1) class RecommendationWidget(GenericLocatorWidget):