From 375de50be66ce9a40cd8f2d23565ebff0d50175a Mon Sep 17 00:00:00 2001 From: dosas Date: Thu, 8 Feb 2024 17:34:57 +0100 Subject: [PATCH] Adapt to additional div taxonomy mismatch locator (#1206) --- airgun/views/host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airgun/views/host.py b/airgun/views/host.py index 1cf74278b..e559888fe 100644 --- a/airgun/views/host.py +++ b/airgun/views/host.py @@ -743,7 +743,7 @@ class HostsTaxonomyMismatchRadioGroup(GenericLocatorWidget): def __init__(self, parent, **kwargs): self.taxonomy = kwargs.pop('taxonomy') - super().__init__(parent, "//div[@class='modal-body']//div[@id='content']/form", **kwargs) + super().__init__(parent, "//div[@class='modal-body']//div[@id='content']//form", **kwargs) def _is_checked(self, widget): """Returns whether the widget is checked"""