@@ -0,0 +1,1983 @@
+/*%0A * Copyright 2014, Red Hat, Inc. and individual contributors as indicated by the%0A * @author tags. See the copyright.txt file in the distribution for a full%0A * listing of individual contributors.%0A * %0A * This is free software; you can redistribute it and/or modify it under the%0A * terms of the GNU Lesser General Public License as published by the Free%0A * Software Foundation; either version 2.1 of the License, or (at your option)%0A * any later version.%0A * %0A * This software is distributed in the hope that it will be useful, but WITHOUT%0A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS%0A * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more%0A * details.%0A * %0A * You should have received a copy of the GNU Lesser General Public License%0A * along with this software; if not, write to the Free Software Foundation,%0A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF%0A * site: http://www.fsf.org.%0A */%0Apackage org.zanata.feature.account;%0A%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.experimental.categories.Category;%0Aimport org.zanata.feature.BasicAcceptanceTest;%0Aimport org.zanata.page.utility.DashboardPage;%0Aimport org.zanata.util.AddUsersRule;%0Aimport org.zanata.util.NoScreenshot;%0Aimport org.zanata.workflow.LoginWorkFlow;%0A%0A/**%0A * @author Carlos Munoz %3Ca%0A *         href=%22mailto:camunoz@redhat.com%22%3Ecamunoz@redhat.com%3C/a%3E%0A */%0A@Category(BasicAcceptanceTest.class)%0A@NoScreenshot%0Apublic class InactiveUserLoginTest %7B%0A%0A    @Rule%0A    public AddUsersRule addUsersRule = new AddUsersRule();%0A%0A    @Test%0A    public void loginWithInactiveUser() %7B%0A        DashboardPage dashboardPage =%0A                new LoginWorkFlow().signIn(%22admin%22, %22admin%22);%0A        dashboardPage.goToAdministration().goToManageUserPage()%0A                .editUserAccount(%22translator%22).clickEnabled().saveUser()%0A                .logout();%0A%0A        new LoginWorkFlow().signInFailure(%22translator%22, %22translator%22);%0A    %7D%0A%0A%7D%0A

Add BAT for Inactive users attempting to log in.