public void AddMenu_AddNews_NextPage() { string filePath = PortalChromeDriver.CreateFolder(@"自定义菜单\检查图文选择素材对话框"); MenuPage.AddMenu("1"); MenuPage.AddNews_NextPage(); Thread.Sleep(2 * 1000); Assert.IsTrue(Utility.IsAt(MenuElement.Notification, "保存成功")); PortalChromeDriver.TakeScreenShot(filePath, "检查图文选择素材对话框"); }