public void Dashboard_CollapseValuationMenuItem()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     dash.DailyValuations().CollapseSection();
     Test.result = "Passed";
 }
 public void Dashboard_WorkQ_Valuations_Valid_AwaitingParentConfirmationQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue awaiting = dash.DailyValuations().Valid().AwaitingParentConfirmationQueue();
     awaiting.CheckResultTableAppears();
     result = "Passed";
 }
 public void Dashboard_WorkQ_Valuations_InValid_OtherQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue other = dash.DailyValuations().Invalid().OtherQueue();
     other.CheckResultTableAppears();
     result = "Passed";
 }
 public void Dashboard_WorkQ_Valuations_InValid_RepairQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue repair = dash.DailyValuations().Invalid().RepairRequiredQueue();
     repair.CheckResultTableAppears();
     result = "Passed";
 }
 public void Dashboard_WorkQ_Valuations_InProgress_AwaitingQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue awaiting = dash.DailyValuations().InProgress().AwaitingQueue();
     awaiting.CheckResultTableAppears();
     result = "Passed";
 }
 public void Dashboard_WorkQ_Valuations_InProgress_UnmatchedQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue unmached = dash.DailyValuations().InProgress().UnmachedQueue();
     unmached.CheckResultTableAppears();
     result = "Passed";
 }
 public void Dashboard_WorkQ_Valuations_Valid_EmirConfirmedQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue confirmed = dash.DailyValuations().Valid().ConfirmedQueue();
     confirmed.CheckResultTableAppears();
     result = "Passed";
 }
 public void Dashboard_WorkQ_Valuations_Valid_ReadyQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue readyQueue = dash.DailyValuations().Valid().ReadyQueue();
     readyQueue.CheckResultTableAppears();
     result = "Passed";
 }
        public void Dashboard_VerifyValuationsValidCountsSum()
        {
            storeResults = true;
            PO_Dashboard dash = new PO_Dashboard();

            int ready = dash.DailyValuations()
                .Valid()
                .GetReadyCount();
            int reported = dash.DailyValuations()
                .Valid().GetReported();
            int confirmed = dash.DailyValuations().Valid().GetConfirmed();
            int awaiting = dash.DailyValuations().Valid().GetAwaitingParentConfirmationCount();

            Assert.IsTrue(ready + awaiting + reported + confirmed == dash.DailyValuations().Valid().GetTotal());

            Test.result = "Passed";
        }
        public void Dashboard_VerifyValuationsSum()
        {
            storeResults = true;
            PO_Dashboard dash = new PO_Dashboard();

            int valid = dash.DailyValuations().Valid().GetTotal();

            int inProgress = dash.DailyValuations().InProgress().GetTotal();

            int invalid = dash.DailyValuations().Invalid().GetTotal();

            int total = dash.DailyValuations().GetTotal();

            Assert.IsTrue(valid + inProgress + invalid == total);

            Test.result = "Passed";
        }
        public void Dashboard_VerifyValuationsInvalidCountsSum()
        {
            storeResults = true;
            PO_Dashboard dash = new PO_Dashboard();

            int repair = dash.DailyValuations().Invalid().GetRepairRequiredCount();
            int rejected = dash.DailyValuations().Invalid().GetRejectedCount();
            int other = dash.DailyValuations().Invalid().GetOtherCount();

            Assert.IsTrue(repair + rejected + other == dash.DailyValuations().Invalid().GetTotal());

            Test.result = "Passed";
        }
        public void Dashboard_VerifyValuationsInprogressCountsSum()
        {
            storeResults = true;
            PO_Dashboard dash = new PO_Dashboard();

            int awaiting = dash.DailyValuations().InProgress().GetAwaitingCount();
            int unmatched = dash.DailyValuations().InProgress().GetUnmatchedCount();

            Assert.IsTrue(awaiting + unmatched == dash.DailyValuations().InProgress().GetTotal());

            Test.result = "Passed";
        }