コード例 #1
0
 public void SocialStream_FollowFeatures_WS_1190()
 {
     if (!DataParser.ReturnExecution("WS_1190"))
     {
         Assert.Ignore();
     }
     else
     {
         MainHomePage mainPage = InitialPage.Go().Logon().ClickLogin();
         Assert.IsTrue(mainPage.IsEveryoneSelected(), "Everyone is not selected in display options");
         if (mainPage.IsFollowBannerPresent())
         {
             mainPage.ClickFollow();
         }
         mainPage.ClickFollow();
         Assert.IsTrue(mainPage.IsFollowBannerPresent(), "Follow banner is not present");
         mainPage = mainPage.NavigateToRedeemA().NavigateToHomePage();
         Assert.AreEqual("FOLLOWING", mainPage.GetFollowingRibbonMsg(),
                         "Following is not present or not spell well");
     }
 }