Exemplo n.º 1
0
        public void AP_Given_LogInIntoAccount_When_ValidInformationIsUsed_Then_UserIsNowLogIn()
        {
            //ARRANGE
            HomePage home = new HomePage(driver);

            home.goToPage();
            SignIn signIn = home.goToSignInPage();

            //ACT
            AccountPage logInIntoAccountPage = signIn.logInIntoAccountPage();
        }
Exemplo n.º 2
0
        public void AP_Given_AddNewWishlist_When_WishlistNameAdded_Then_NewWishlistAdded()
        {
            //ARRANGE
            HomePage home = new HomePage(driver);

            home.goToPage();
            SignIn       signIn = home.goToSignInPage();
            AccountPage  logInIntoAccountPage = signIn.logInIntoAccountPage();
            WishlistPage openWishlistPage     = logInIntoAccountPage.goToWishlist();

            openWishlistPage.addWishlistName();
        }