mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Removed Planned downtime tests until further optimisation. Fixed Misc test
This commit is contained in:
parent
5727aca9d3
commit
6df9c1d25d
@ -6,6 +6,7 @@ from include.reports_functions import create_report, delete_report
|
|||||||
from include.user_functions import create_user
|
from include.user_functions import create_user
|
||||||
from include.agent_functions import create_agent
|
from include.agent_functions import create_agent
|
||||||
from include.module_functions import create_module
|
from include.module_functions import create_module
|
||||||
|
from include.event_functions import *
|
||||||
from selenium import webdriver
|
from selenium import webdriver
|
||||||
from selenium.webdriver.common.by import By
|
from selenium.webdriver.common.by import By
|
||||||
from selenium.webdriver.common.keys import Keys
|
from selenium.webdriver.common.keys import Keys
|
||||||
|
@ -22,7 +22,7 @@ class PAN13(PandoraWebDriverTestCase):
|
|||||||
test_description = u'Planed downtime test'
|
test_description = u'Planed downtime test'
|
||||||
tickets_associated = []
|
tickets_associated = []
|
||||||
|
|
||||||
def test_A_create_planned_downtime_Quiet(self):
|
def avoid_test_A_create_planned_downtime_Quiet(self):
|
||||||
|
|
||||||
u"""
|
u"""
|
||||||
Create and search planned downtime quiet
|
Create and search planned downtime quiet
|
||||||
@ -42,7 +42,7 @@ class PAN13(PandoraWebDriverTestCase):
|
|||||||
element = driver.find_element_by_xpath('//img[@data-title="Running"]')
|
element = driver.find_element_by_xpath('//img[@data-title="Running"]')
|
||||||
self.assertIsInstance(element,WebElement)
|
self.assertIsInstance(element,WebElement)
|
||||||
|
|
||||||
def test_B_create_planned_downtime_disabled_agents(self):
|
def avoid_test_B_create_planned_downtime_disabled_agents(self):
|
||||||
|
|
||||||
u"""
|
u"""
|
||||||
Create and search planned downtime disabled agents
|
Create and search planned downtime disabled agents
|
||||||
@ -60,7 +60,7 @@ class PAN13(PandoraWebDriverTestCase):
|
|||||||
element = driver.find_element_by_xpath('//img[@data-title="Running"]')
|
element = driver.find_element_by_xpath('//img[@data-title="Running"]')
|
||||||
self.assertIsInstance(element,WebElement)
|
self.assertIsInstance(element,WebElement)
|
||||||
|
|
||||||
def test_C_create_planned_downtime_disabled_only_alerts(self):
|
def avoid_test_C_create_planned_downtime_disabled_only_alerts(self):
|
||||||
|
|
||||||
u"""
|
u"""
|
||||||
Create and search planned downtime disabled only alerts
|
Create and search planned downtime disabled only alerts
|
||||||
@ -78,7 +78,7 @@ class PAN13(PandoraWebDriverTestCase):
|
|||||||
element = driver.find_element_by_xpath('//img[@data-title="Running"]')
|
element = driver.find_element_by_xpath('//img[@data-title="Running"]')
|
||||||
self.assertIsInstance(element,WebElement)
|
self.assertIsInstance(element,WebElement)
|
||||||
|
|
||||||
def test_D_delete_planned_downtime(self):
|
def avoid_test_D_delete_planned_downtime(self):
|
||||||
|
|
||||||
|
|
||||||
driver=self.driver
|
driver=self.driver
|
||||||
@ -89,7 +89,7 @@ class PAN13(PandoraWebDriverTestCase):
|
|||||||
|
|
||||||
delete_planned_downtime(driver,planned_name)
|
delete_planned_downtime(driver,planned_name)
|
||||||
|
|
||||||
def test_E_quiet_functionality(self):
|
def avoid_test_E_quiet_functionality(self):
|
||||||
|
|
||||||
driver=self.driver
|
driver=self.driver
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user