Beispiel #1
0
 def setUp(self):
    database.deploy('OneFakePlugin')
    config.deploy("withDeveloperMode")
    self.serverProcess = yadomsServer.start()
    self.browser = webdriver.Firefox()
    self.browser.implicitly_wait(10)
    yadomsServer.openClient(self.browser)
 def setUp(self):
     yadomsServer.ensureStopped()
     config.deploy("nominal")
     scripts.deleteAll()
     self.browser = webdriver.Chrome()
     self.browser.implicitly_wait(10)
     self.serverProcess = None
Beispiel #3
0
 def setUp(self):
    database.deploy('OneFakePlugin')
    config.deploy("withDeveloperMode")
    self.serverProcess = yadomsServer.start()
    self.browser = webdriver.Firefox()
    self.browser.implicitly_wait(10)
    yadomsServer.openClient(self.browser)
Beispiel #4
0
 def setUp(self):
    database.deploy('OneStoppedRule')
    config.deploy("nominal")
    scripts.deploy(["DisplayServerVersion"])
    self.serverProcess = yadomsServer.start()
    self.browser = webdriver.Firefox()
    self.browser.implicitly_wait(10)
    yadomsServer.openClient(self.browser)
Beispiel #5
0
 def setUp(self):
     database.new()
     config.deploy("nominal")
     scripts.deleteAll()
     self.serverProcess = yadomsServer.start()
     self.browser = webdriver.Firefox()
     self.browser.implicitly_wait(10)
     yadomsServer.openClient(self.browser)
Beispiel #6
0
 def setUp(self):
     yadomsServer.ensureStopped()
     database.new()
     config.deploy("nominal")
     self.serverProcess = yadomsServer.start()
     self.browser = webdriver.Chrome()
     self.browser.implicitly_wait(10)
     yadomsServer.openClient(self.browser)
 def setUp(self):
    database.new()
    config.deploy("nominal")
    scripts.deleteAll()
    self.serverProcess = yadomsServer.start()
    self.browser = webdriver.Firefox()
    self.browser.implicitly_wait(10)
    yadomsServer.openClient(self.browser)
Beispiel #8
0
 def setUp(self):
    yadomsServer.ensureStopped()
    database.deploy('OneFakePlugin')
    config.deploy("withDeveloperMode")
    self.serverProcess = yadomsServer.start()
    self.browser = webdriver.Chrome(options=tools.ChromeOptionsHelper.get())
    self.browser.implicitly_wait(10)
    yadomsServer.openClient(self.browser)
Beispiel #9
0
 def setUp(self):
     yadomsServer.ensureStopped()
     database.deploy('OneFakePlugin')
     config.deploy("withDeveloperMode")
     scripts.deleteAll()
     self.serverProcess = yadomsServer.start()
     self.browser = webdriver.Chrome()
     self.browser.implicitly_wait(10)
     yadomsServer.openClient(self.browser)
Beispiel #10
0
 def setUp(self):
    yadomsServer.ensureStopped()
    database.deploy('OneStoppedRule')
    config.deploy("nominal")
    scripts.deploy(["DisplayServerVersion"])
    self.serverProcess = yadomsServer.start(["logLevel=information"])
    self.browser = webdriver.Chrome()
    self.browser.implicitly_wait(10)
    yadomsServer.openClient(self.browser)
Beispiel #11
0
 def setUp(self):
    yadomsServer.ensureStopped()
    database.new()
    config.deploy("nominal")
    scripts.deleteAll()
    self.serverProcess = yadomsServer.start()
    self.browser = webdriver.Chrome(options=tools.ChromeOptionsHelper.get())
    self.browser.implicitly_wait(10)
    yadomsServer.openClient(self.browser)
Beispiel #12
0
 def setUp(self):
     yadomsServer.ensureStopped()
     database.new()
     config.deploy("nominal")
     scripts.deleteAll()
     # We have to activate log to be able to check rules logs
     self.serverProcess = yadomsServer.start(["logLevel=trace"])
     self.browser = webdriver.Chrome()
     self.browser.implicitly_wait(10)
     yadomsServer.openClient(self.browser)
Beispiel #13
0
    def deploy(self, deployLocations=None):
        # deploy at path

        if deployLocations is None:
            config.deploy(['clfs', 'data', 'data/Unknown', 'validation'])
        else:
            if 'clfs' not in deployLocations:
                deployLocations.append('clfs')

            config.deploy(deployLocations)
Beispiel #14
0
 def setUp(self):
    yadomsServer.ensureStopped()
    database.deploy('OneFakePlugin')
    config.deploy("withDeveloperMode")
    self.serverProcess = yadomsServer.start()
    self.browser = webdriver.Chrome()
    self.browser.implicitly_wait(10)
    yadomsServer.openClient(self.browser)
    
    # Open plugins dashboard
    dashboard.open(self.browser)
    dashboard.openDevice(self.browser)
    def setUp(self):
        yadomsServer.ensureStopped()
        database.deploy('OneStoppedRule')
        config.deploy("nominal")
        self.serverProcess = yadomsServer.start()
        self.browser = webdriver.Chrome()
        self.browser.implicitly_wait(10)
        yadomsServer.openClient(self.browser)

        # Open rules dashboard
        dashboard.open(self.browser)
        dashboard.openAutomation(self.browser)
    def setUp(self):
        yadomsServer.ensureStopped()
        database.deploy('OneVirtualDeviceApparentPower')
        config.deploy("withDeveloperMode")
        self.serverProcess = yadomsServer.start()
        self.browser = webdriver.Chrome(
            options=tools.ChromeOptionsHelper.get())
        self.browser.implicitly_wait(10)
        yadomsServer.openClient(self.browser)

        # Open plugins dashboard
        dashboard.open(self.browser)
        dashboard.openDevice(self.browser)
Beispiel #17
0
    def setUp(self):
        yadomsServer.ensureStopped()
        database.deploy('OneStoppedRule')
        config.deploy("nominal")
        scripts.deploy(["DisplayServerVersion"])
        self.serverProcess = yadomsServer.start()
        self.browser = webdriver.Chrome(
            options=tools.ChromeOptionsHelper.get())
        self.browser.implicitly_wait(10)
        yadomsServer.openClient(self.browser)

        # Open rules dashboard
        dashboard.open(self.browser)
        dashboard.openAutomation(self.browser)