public void AddOneLevelMenu_SendMessage_GoBack()
        {
            string filePath = PortalChromeDriver.CreateFolder(@"自定义菜单\发送消息是否能成功返回到上一级界面,当点击“重设菜单内容");

            MenuPage.AddMenu("一级菜单");
            MenuPage.AddMenu_Text("一级菜单");
            MenuPage.AddMenu_GoBack();
            PortalChromeDriver.ClickElementPerXpath(MenuElement.Send_Message);
            PortalChromeDriver.TakeScreenShot(filePath, "发送消息是否能成功返回到上一级界面,当点击“重设菜单内容");
            Assert.IsFalse(Utility.IsAt(MenuElement.TextInput, "一级菜单"));
        }
        public void AddOneLevelMenu_Text()
        {
            string filePath = PortalChromeDriver.CreateFolder(@"自定义菜单\添加一级菜单_文本");

            MenuPage.AddMenu("一");
            MenuPage.AddMenu_Text("这里是一级菜单");
            Thread.Sleep(300 * 1000);
            MobileAndroidDriver.AndroidInitialize();
            Mobile_WeChat_Utility.GetToTestAccount();
            Mobile_WeChat_Utility.ClickFirstLevelMenu("一");
            MobileAndroidDriver.GetScreenshot(filePath, "是否能成功添加一个一级菜单_文本");
            Assert.IsTrue(Mobile_WeChat_Utility.GetLatestMessageWithMenu().Text == "这里是一级菜单");
        }
        public void EditOneLevelMenu_Text()
        {
            string filePath = PortalChromeDriver.CreateFolder(@"自定义菜单\是否能够成功修改一级菜单内容");

            MenuPage.AddMenu("1");
            MenuPage.AddMenu_Text("这里是一级菜单");

            MenuPage.ResetMenuContent();

            Thread.Sleep(2 * 1000);
            Assert.IsTrue(Utility.IsAt(MenuElement.Notification, "保存成功"));
            PortalChromeDriver.TakeScreenShot(filePath, "是否能够成功修改一级菜单内容");
        }