public void Market_SearchingEndsWithAsterisk()
 {
     storeResults = true;
     searchTerm = Test.extRef.Remove(Test.extRef.Length - 3) + "*";
     markets = new PO_MarketsPopUp();
     markets.SearchForMarket(searchTerm);
     Util.CheckIfTextPresented(Test.extRef);
     Test.result = "Passed";
 }
 public void MTMarket_SearchingFullName()
 {
     storeResults = true;
     searchTerm = Test.extRef;
     markets = PO_Dashboard.GoToMarkets();
     markets.SearchForMarket(searchTerm);
     Util.CheckIfTextPresented(Test.extRef);
     Test.result = "Passed";
 }
 public void Market_SearchingEndsAndStartsWithAsterisk()
 {
     storeResults = true;
     string substracted = "*" + Test.extRef.Substring(1);
     searchTerm = substracted.Remove(substracted.Length - 2) + "*";
     markets = new PO_MarketsPopUp();
     markets.SearchForMarket(searchTerm);
     Util.CheckIfTextPresented(Test.extRef);
     Test.result = "Passed";
 }
        public void SetUp()
        {
            Test.SetTestName(TestContext);
            Test.InitiateBrowser();
            PO_LoginPage login = new PO_LoginPage();
            login.LoginWithTenantA_EMIRUser();

            markets = PO_Dashboard.GoToMarkets();
            markets.CreateMarket()
                .Save();
            markets.VerifyMarketCreated();
            markets.Close();
            PO_UserAccountButton.LogOff();
            login.LoginWithTenantB_EMIRUser01();
        }
 public void Market_SearchingFullName()
 {
     storeResults = true;
     searchTerm = Test.extRef;
     markets = new PO_MarketsPopUp();
     markets.SearchForMarket(searchTerm);
     Util.CheckIfTextPresented(Test.extRef);
     Test.result = "Passed";
 }
 public void SetUp()
 {
     Test.SetTestName(TestContext);
     Test.LoginAsRegularUser();
     markets = PO_Dashboard.GoToMarkets();
     markets.CreateMarket()
         .Save();
     markets.VerifyMarketCreated();
 }
 public void Market_SearchingStartsWithAsteriskByMIC()
 {
     storeResults = true;
     mic = Test.extRef.Remove(Test.extRef.Length - 3);
     searchTerm = "*" + mic.Substring(1);
     markets = new PO_MarketsPopUp();
     markets.SearchForMarketByMIC(searchTerm);
     Util.CheckIfTextPresented(Test.extRef);
     Test.result = "Passed";
 }
 public void Market_SearchingFullNameByMIC()
 {
     storeResults = true;
     mic = Test.extRef.Remove(Test.extRef.Length - 3);
     searchTerm = mic;
     markets = new PO_MarketsPopUp();
     markets.SearchForMarketByMIC(searchTerm);
     Util.CheckIfTextPresented(Test.extRef);
     Test.result = "Passed";
 }