Esempio n. 1
0
 public static void main(String[] args) {
   HomePage homePage = new HomePage(null);
   LoginPage loginPage = homePage.clickSignIn();
   loginPage.enterCredentials("*****@*****.**", "wixwixwix");
   loginPage.checkSignIn();
   MyAccountPage myAccount = loginPage.clickGo();
   // EditorPage editor = myAccount.clickEditSite("tailor");
   TemplatesPage templates = myAccount.clickCreateNewSite();
   EditorPage editor = templates.clickEditSite();
   MarketPage market = editor.clickAppMarket();
   market.findApp("wix weather");
   market.addApp("wix weather");
   editor.openSettings();
   // editor.resize();
 }
Esempio n. 2
0
  @Test
  public void test() {

    HomePage.lnk_MyAccount.click();

    LoginPage.LogIn_Action("testuser_1", "Test@123");

    System.out.println(" Login Successfully, now it is the time to Log Off buddy.");

    //	      HomePage.lnk_LogOut.click();

  }
Esempio n. 3
0
 @Test(priority = 1)
 public void verifyAllColumnsDisplayedOnPersonHp() {
   loginPage = new LoginPage(driver);
   homePage = loginPage.clickLoginBtn(logger);
   person = homePage.clickOnPersonHome();
   Assert.assertTrue(
       person.verifyDifferentColumnsOnPersonHP(),
       "Not all columns are displayed on Person home page");
   logger.info(
       "Test case passed: verify all the person columns are displayed on Person home page");
   Reporter.log(
       "Test case passed: verify all the person columns are displayed on Person home page");
 }