public void BottomCoBrandContentNotVisibleForAnonymousUsers() { IndexHomePage indexHomePage = new IndexHomePage(Driver, Url); string CoBrandBottomContent = indexHomePage.GetCoBrandSectionText(IndexHomePageSectionsEnum.Bottom); Assert.IsTrue(string.IsNullOrEmpty(CoBrandBottomContent), "Anonymous user should not be able to see CoBrand content -> bottom zone"); }
public void BottomCoBrandContentNotVisibleForAnonymousUsers(string browser) { Driver = GetDriverInstance(browser); IndexHomePage indexHomePage = new IndexHomePage(Driver, Url); string CoBrandBottomContent = indexHomePage.GetCoBrandSectionText(IndexHomePageSectionsEnum.Bottom); Assert.IsTrue(string.IsNullOrWhiteSpace(CoBrandBottomContent), "Anonymous user should not be able to see CoBrand content -> bottom zone"); }