mercredi 28 août 2019

Why does the test fail?

i dont understand why my test is failing can anyone help me ?

        string email = "eldan@dairy.com";
        string password = "010avi";

        LoginPageContext context = new LoginPageContext(_app, false, email, password);
        //Page Navigate
       UserAccountHomePageObject userAccountHomePageObject = new UserAccountHomePageObject(context);
         userAccountHomePageObject.NavigateToPage();

        //Test
        bool status = userAccountHomePageObject.WaitForPage();

        //Assertion
        Assert.IsTrue(status, "Login succeeded");

Aucun commentaire:

Enregistrer un commentaire