本文整理匯總了Python中pageobjects.base.PageObject.get_lower_text方法的典型用法代碼示例。如果您正苦於以下問題:Python PageObject.get_lower_text方法的具體用法?Python PageObject.get_lower_text怎麽用?Python PageObject.get_lower_text使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類pageobjects.base.PageObject
的用法示例。
在下文中一共展示了PageObject.get_lower_text方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: test_stop_deploy
# 需要導入模塊: from pageobjects.base import PageObject [as 別名]
# 或者: from pageobjects.base.PageObject import get_lower_text [as 別名]
def test_stop_deploy(self):
"""Stop deploy
Scenario:
1. Add controller and compute nodes
2. Click deploy
3. Click stop
4. Verify that environment isn't deployed
"""
Tabs().nodes.click()
Nodes().add_controller_compute_nodes()
Nodes().deploy_changes.click()
DeployChangesPopup().deploy.click()
Actions().cancel_popup.click()
Actions().stop_deploy_process()
for node in Nodes().nodes:
self.assertEqual(
"pending addition", PageObject.get_lower_text(node, "status"), "Node status is Pending Addition"
)
self.assertTrue(Nodes().deploy_changes.is_enabled())