Skip to content

Commit

Permalink
wait_displayed for read_cv
Browse files Browse the repository at this point in the history
  • Loading branch information
damoore044 committed Oct 9, 2024
1 parent e33ff5c commit 4bccea4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airgun/entities/contentview_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 4bccea4

Please sign in to comment.