Ejemplo n.º 1
0
        public void EditSubMenu_Text()
        {
            string filePath = PortalChromeDriver.CreateFolder(@"自定义菜单\是否能够成功修改二级菜单内容");

            MenuPage.AddMenu("1");
            MenuPage.AddSubMenu("1.1");
            MenuPage.AddSubMenu_Text("文本");

            MenuPage.ResetSubMenuContent();

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