From 902a209f737897af2ec93115015f08da4002a5e2 Mon Sep 17 00:00:00 2001 From: David Moore Date: Wed, 9 Oct 2024 14:32:04 -0400 Subject: [PATCH] wait_displayed for read_cv --- airgun/entities/contentview_new.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airgun/entities/contentview_new.py b/airgun/entities/contentview_new.py index 1961d2e7b..a7d25bec1 100644 --- a/airgun/entities/contentview_new.py +++ b/airgun/entities/contentview_new.py @@ -90,6 +90,8 @@ def add_cv(self, ccv_name, cv_name, always_update=False, version=None): def read_cv(self, entity_name, version_name): """Reads the table for a specified Content View's specified Version""" view = self.navigate_to(self, 'Edit', entity_name=entity_name) + self.browser.plugin.ensure_page_safe(timeout='5s') + view.wait_displayed() view.versions.search(version_name) return view.versions.table.row(version=version_name).read()