Skip to content

Commit

Permalink
Add wait_displayed to read_cv method
Browse files Browse the repository at this point in the history
Co-authored-by: David Moore <[email protected]>
  • Loading branch information
sambible and damoore044 authored Oct 15, 2024
1 parent 291fcc4 commit 7917b42
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 @@ -83,6 +83,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 7917b42

Please sign in to comment.