mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 23:23:30 -06:00
WebUI tests: Add simple test to check topology graph page is available
Ticket: https://pagure.io/freeipa/issue/8523 Signed-off-by: Serhii Tsymbaliuk <stsymbal@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
parent
1512acc7de
commit
69368fccdb
@ -1238,6 +1238,7 @@ jobs:
|
||||
test_webui/test_config.py
|
||||
test_webui/test_range.py
|
||||
test_webui/test_realmdomains.py
|
||||
test_webui/test_topology.py
|
||||
test_webui/test_trust.py
|
||||
template: *ci-master-latest
|
||||
timeout: 7200
|
||||
|
@ -1335,6 +1335,7 @@ jobs:
|
||||
test_webui/test_config.py
|
||||
test_webui/test_range.py
|
||||
test_webui/test_realmdomains.py
|
||||
test_webui/test_topology.py
|
||||
test_webui/test_trust.py
|
||||
template: *ci-master-latest
|
||||
timeout: 7200
|
||||
|
@ -1335,6 +1335,7 @@ jobs:
|
||||
test_webui/test_config.py
|
||||
test_webui/test_range.py
|
||||
test_webui/test_realmdomains.py
|
||||
test_webui/test_topology.py
|
||||
test_webui/test_trust.py
|
||||
template: *testing-master-latest
|
||||
timeout: 7200
|
||||
|
@ -1432,6 +1432,7 @@ jobs:
|
||||
test_webui/test_config.py
|
||||
test_webui/test_range.py
|
||||
test_webui/test_realmdomains.py
|
||||
test_webui/test_topology.py
|
||||
test_webui/test_trust.py
|
||||
template: *testing-master-latest
|
||||
timeout: 7200
|
||||
|
@ -1238,6 +1238,7 @@ jobs:
|
||||
test_webui/test_config.py
|
||||
test_webui/test_range.py
|
||||
test_webui/test_realmdomains.py
|
||||
test_webui/test_topology.py
|
||||
test_webui/test_trust.py
|
||||
template: *ci-master-previous
|
||||
timeout: 7200
|
||||
|
@ -1335,6 +1335,7 @@ jobs:
|
||||
test_webui/test_config.py
|
||||
test_webui/test_range.py
|
||||
test_webui/test_realmdomains.py
|
||||
test_webui/test_topology.py
|
||||
test_webui/test_trust.py
|
||||
template: *ci-master-frawhide
|
||||
timeout: 7200
|
||||
|
14
ipatests/test_webui/test_topology.py
Normal file
14
ipatests/test_webui/test_topology.py
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
|
||||
#
|
||||
|
||||
from ipatests.test_webui.ui_driver import screenshot, UI_driver
|
||||
|
||||
|
||||
class TestTopology(UI_driver):
|
||||
|
||||
@screenshot
|
||||
def test_topology_graph(self):
|
||||
self.init_app()
|
||||
self.navigate_to_page('topology-graph')
|
||||
self.assert_visible('.topology-view')
|
@ -505,6 +505,10 @@ class UI_driver:
|
||||
self.driver.get(self.get_url(entity, facet))
|
||||
self.wait_for_request(n=3, d=0.4)
|
||||
|
||||
def navigate_to_page(self, page):
|
||||
self.driver.get('/'.join([self.get_base_url(), '#', 'p', page]))
|
||||
self.wait_for_request(n=3, d=0.4)
|
||||
|
||||
def navigate_by_menu(self, item, complete=True):
|
||||
"""
|
||||
Navigate by using menu
|
||||
|
Loading…
Reference in New Issue
Block a user