Example #1
0
        public void GivenNavigateToOwnersPageAndSelectMyPropertyPage()
        {
            MyPropertyPage mp = new MyPropertyPage(Hooks.driver);

            mp.NavigateToOWner();
            mp.NavigateToMyProperty();
        }
Example #2
0
        public void GivenIHaveRedirectedToTheDashboardPage()
        {
            String currentPageTitle   = MyPropertyPage.Can_getAfterLogin_pageTitle();
            String dashboardPageTitle = "Dashboard";

            Assert.Equal(dashboardPageTitle, currentPageTitle);
        }
Example #3
0
        public void ThenIShouldHaveRedirectedToTheMyPropertiesPage()
        {
            String actualPageTitle   = MyPropertyPage.Check_MyProperty_Title();
            String expectedPageTitle = "Properties | Property Community";

            Assert.Equal(expectedPageTitle, actualPageTitle);
            MyPropertyPage.CloseBrowser();
        }
Example #4
0
        public void WhenISelectListARentalOption()
        {
            MyPropertyPage mp = new MyPropertyPage(Hooks.driver);

            mp.ListARental();
        }
Example #5
0
 public void WhenIClickOnOwnerAndThenPropertiesMenu()
 {
     MyPropertyPage.Can_Goto_MyProperty();
 }
Example #6
0
 public void GivenIHaveLoginSuccessfullyUsingPropertyOwnerCredentials()
 {
     MyPropertyPage.Can_Do_Login();
 }
 public void GivenIHaveRedirectedToThePropertyPage()
 {
     MyPropertyPage.Can_getAfterLogin_pageTitle();
     MyPropertyPage.Can_Goto_MyProperty();
     MyPropertyPage.Check_MyProperty_Title();
 }