-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added views and entities to fetch the dynflow console output (#1577)
- Loading branch information
1 parent
e6c1ffe
commit b9b0f32
Showing
4 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from widgetastic.widget import Text | ||
from widgetastic_patternfly4 import Pagination as PF4Pagination | ||
|
||
from airgun.views.common import BaseLoggedInView | ||
|
||
|
||
class DynflowConsoleView(BaseLoggedInView): | ||
title = Text("//a[@class='navbar-brand']//img") | ||
output = Text("//div[@class='action']/pre[2]") | ||
|
||
pagination = PF4Pagination() | ||
|
||
@property | ||
def is_displayed(self): | ||
return self.browser.wait_for_element(self.title, exception=False) is not None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters