public void TestInitialize() { BrowserStateManager.RefreshState(); HomePageHelper.OpenPage(); WelcomeScreenHelper.CloseWelcomePopup(); SearchHelper.InitSearchWindow(); }
public void TestInitialize() { BrowserStateManager.RefreshState(); HomePageHelper.OpenPage(); WelcomeScreenHelper.CloseWelcomePopup(); AuthorizationHelper.OpenLoginPage(); }
public void TestCleanup() { CreateScreenshotsIfTestFail(TestContext); if (TestContext.CurrentTestOutcome != UnitTestOutcome.Passed && TestContext.CurrentTestOutcome != UnitTestOutcome.Inconclusive) { HomePageHelper.OpenPage(); } }
public void TestInitialize() { BrowserStateManager.RefreshState(); HomePageHelper.OpenPage(); AuthorizationHelper.OpenLoginPage(); AuthorizationHelper.AuthenticateAsExistedGoogleUser(); HomePageHelper.DeleteAllElementsLocally(); }
public void TestInitialize() { BrowserStateManager.RefreshState(); HomePageHelper.OpenPage(); if (AuthorizationHelper.IsUserNamePresented()) { AuthorizationHelper.OpenLoginPage(); AuthorizationHelper.AuthenticateAsMicrosoftUser(); } }
public void AddTimelinesToFavorites() { HomePageHelper.OpenPage(); AuthorizationHelper.OpenLoginPage(); AuthorizationHelper.AuthenticateAsExistedGoogleUser(); Collection <Timeline> timelines = ApiHelper.GetCurrentUserTimelines(); NavigationHelper.OpenHomePage(); ApiHelper.SetUserTimelinesAsNotFavorite(timelines); Guid[] selectedAsFavoriteTimelineGuids = ApiHelper.SelectAllTimelinesAsFavorites(timelines); Guid[] currentUserFavoriteTimelineGuids = ApiHelper.GetFavoriteTimelines(); Assert.IsTrue(selectedAsFavoriteTimelineGuids.OrderBy(a => a).SequenceEqual(currentUserFavoriteTimelineGuids.OrderBy(a => a))); }
public void TestInitialize() { BrowserStateManager.RefreshState(); HomePageHelper.OpenPage(); AuthorizationHelper.OpenLoginPage(); AuthorizationHelper.AuthenticateAsMicrosoftUser(); //authenticate as existing cz user HomePageHelper.DeleteAllElementsLocally(); var exhibit = new Exhibit { Title = "WebdriverExhibitWithContent" }; ExhibitHelper.AddExhibitWithoutFormClosing(exhibit); ExhibitHelper.ClickByAddArtifact(); }
public static void ClassInitialize(TestContext testContext) { HomePageHelper.OpenPage(); WelcomeScreenHelper.CloseWelcomePopup(); }
public void TestInitialize() { BrowserStateManager.RefreshState(); WelcomeScreenHelper.ResetPopupState(); HomePageHelper.OpenPage(); }
public void TestInitialize() { BrowserStateManager.RefreshState(); HomePageHelper.OpenPage(); }
public void TestInitialize() { BrowserStateManager.RefreshState(); HomePageHelper.OpenPage(); AuthorizationHelper.OpenLoginPage(); }
public static void ClassInitialize(TestContext testContext) { HomePageHelper.OpenPage(); }
public static void ClassInitialize(TestContext testContext) { BrowserStateManager.RefreshState(); HomePageHelper.OpenPage(); _homePageTitle = HomePageHelper.GetTitle(); }
public void TestInitialize() { BrowserStateManager.RefreshState(); HomePageHelper.OpenPage(); SearchHelper.InitSearchWindow(); }