Skip to content

Commit

Permalink
brought back task pagination (#1204) (#1212)
Browse files Browse the repository at this point in the history
(cherry picked from commit 65a62db)

Co-authored-by: Peter Ondrejka <[email protected]>
  • Loading branch information
Satellite-QE and pondrejk authored Jan 30, 2024
1 parent 2353f64 commit a781e40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions airgun/views/task.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from wait_for import wait_for
from widgetastic.widget import Table, Text, View
from widgetastic_patternfly import BreadCrumb
from widgetastic_patternfly4 import Pagination as PF4Pagination

from airgun.views.common import BaseLoggedInView, SatTab, SearchableViewMixinPF4
from airgun.widgets import (
Expand Down Expand Up @@ -33,6 +34,8 @@ class TasksView(BaseLoggedInView, SearchableViewMixinPF4):
},
)

pagination = PF4Pagination()

@property
def is_displayed(self):
return self.browser.wait_for_element(self.title, exception=False) is not None
Expand Down

0 comments on commit a781e40

Please sign in to comment.