def test_login_successful(self, driver, user): if user is None: TestBase.skip_test( " login_successful - This test required a regustered user's email and password. \n Please provide user email (--email) and password (--pwd) as command line arguments and try again" ) sign_in = Home(driver).sign_in() sign_in.write_email(user["email"]) sign_in.write_password(user["password"]) account = sign_in.sign_in() assert account.read_account_welcome_msg( ) == "Welcome to your account. Here you can manage all of your personal information and orders.", " Expected a successful Sign in" sign_in.logout()