#!usr/bin/env python  
# -*- coding:utf-8 -*-
""" 
@author:user 
@file: menu_check.py 
@time: 2018/01/04 
"""
from com.ea.common import tools, login, menu
from selenium.webdriver.common.by import By
import unittest
import os
from com.ea.resource import globalparameter as gl


class MyTestCase(unittest.TestCase):
    screenshot_path = os.path.join(gl.screenshot_path, os.path.splitext(os.path.basename(__file__))[0])

    @classmethod
    def setUpClass(cls):
        cls.driver = tools.get_chrome_driver()
        tools.del_pics(cls.screenshot_path)
        login.login(cls.driver)

    @classmethod
    def tearDownClass(cls):
        cls.driver.quit()

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_khgl_ppgl(self):
        u"""客户管理下的品牌管理"""
        menu.go_to_brand_manage(self.driver)
        self.driver.find_elements_by_css_selector("input[value='搜索']")
        els = self.driver.find_elements(By.CSS_SELECTOR,"input[value='搜索']")
        els.
        self.assertEqual(True, False)


if __name__ == '__main__':
    unittest.main()
