public void launchUnitWorkflow()
        {
            testPOMLogIn();
            MapPageLeo mapPageLeo = new MapPageLeo(driver);

            MenuTabsPage menuTabsPage = mapPageLeo.openMenu();

            Assert.IsTrue(menuTabsPage.IsDisplayed);
            LaunchUnitWorkflowPage  launchUnitWorkflowPage  = menuTabsPage.openLaunchUnitWorkflowPage();
            UnitWorkflowDetailsPage unitWorkflowDetailsPage = launchUnitWorkflowPage.ClickOnLaunchButtonOfSelectedUnitWorkflow();

            unitWorkflowDetailsPage.EnterNameOfUnitWorkflow();
            unitWorkflowDetailsPage.SelectPropertiesAndDate();
            SelectUnitPage selectUnitPage = unitWorkflowDetailsPage.ClickLaunchButton();

            selectUnitPage.FilterUnits();
            UnitWorkflowTasksPage unitWorkflowTasksPage = selectUnitPage.SelectUnitsandClickLaunch();

            Assert.IsTrue(unitWorkflowTasksPage.IsDisplayed);
            UnitFilterPage unitFilterPage = unitWorkflowTasksPage.ClickOnFilterBy();

            Assert.IsTrue(unitFilterPage.IsDisplayed);
            unitFilterPage.EnterUnitNumberAndBuildingAndPressFilterButton();
            Assert.IsTrue(unitWorkflowTasksPage.IsDisplayed);
            Assert.IsTrue(unitWorkflowTasksPage.FilterDisplayCorectResults);
        }
        public void setOfflinePropertiesAndSave()
        {
            testPOMLogIn();
            MapPageLeo mapPageLeo = new MapPageLeo(driver);

            MenuTabsPage menuTabsPage = mapPageLeo.openMenu();

            Assert.IsTrue(menuTabsPage.IsDisplayed);
            SetOfflineProperiesPage setOfflineProperiesPage = menuTabsPage.openSetOfflinePropertiesPage();

            setOfflineProperiesPage.ClickAcceptConnectionWaringButtonIfPresent();
            setOfflineProperiesPage.SelectPropertiesToBeSyncked();
            setOfflineProperiesPage.ClickSaveButton();
            Assert.IsTrue(mapPageLeo.isDisplayedAfterSynckingProperiesFromOfflinePage);
        }
        public void skipDFandCompleteTask()
        {
            testPOMLogIn();
            MapPageLeo mapPageLeo = new MapPageLeo(driver);

            MenuTabsPage menuTabsPage = mapPageLeo.openMenu();

            Assert.IsTrue(menuTabsPage.IsDisplayed);
            PropertyTasksPage propertyTasksPage = menuTabsPage.openTasksPage();

            Assert.IsTrue(propertyTasksPage.IsDisplayed);

            DynamicFormPage dynamicFormPage = propertyTasksPage.tapOnDFiconOnTask();

            dynamicFormPage.tapOnSkipButtonAndCompleteTask();
            Assert.IsTrue(dynamicFormPage.taskIsCompleted);
        }