Examples of logout()


Examples of org.zanata.page.dashboard.DashboardBasePage.logout()

                .gotoSettingsAccountTab()
                .typeOldPassword("translator")
                .typeNewPassword("newpassword")
                .clickUpdatePasswordButton();
        dashboard.expectNotification(DashboardAccountTab.PASSWORD_UPDATE_SUCCESS);
        dashboard.logout();

        assertThat(new BasicWorkFlow().goToHome().hasLoggedIn()).isFalse()
                .as("User is logged out");

        DashboardBasePage dashboardPage = new LoginWorkFlow()
View Full Code Here

Examples of org.zanata.page.projects.ProjectMaintainersPage.logout()

        assertThat(projectMaintainersPage.getMaintainers())
                .contains("translator @translator")
                .as("The translator user is shown in the list");

        projectMaintainersPage.logout();

        assertThat(new LoginWorkFlow()
                .signIn("translator", "translator")
                .goToProjects()
                .goToProject("about fedora")
View Full Code Here

Examples of org.zanata.page.projects.ProjectsPage.logout()

        assertThat(projectsPage.getProjectNamesOnCurrentPage())
                .contains("about fedora")
                .as("The project is now displayed");

        projectsPage.logout();

        assertThat(new LoginWorkFlow()
                .signIn("translator", "translator")
                .goToProjects()
                .getProjectNamesOnCurrentPage())
View Full Code Here

Examples of org.zanata.page.projects.projectsettings.ProjectGeneralTab.logout()

        assertThat(projectGeneralTab.isArchiveButtonAvailable())
                .isTrue()
                .as("The archive button is now available");

        projectGeneralTab.logout();

        assertThat(new LoginWorkFlow()
                .signIn("translator", "translator")
                .goToProjects()
                .goToProject("about fedora")
View Full Code Here

Examples of org.zanata.page.utility.HomePage.logout()

    }

    private static HomePage logoutIfLoggedIn() {
        HomePage homePage = new BasicWorkFlow().goToHome();
        if (homePage.hasLoggedIn()) {
            homePage.logout();
        }
        return homePage;
    }
}
View Full Code Here

Examples of se.lu.esss.ics.rbac.access.ISecurityFacade.logout()

        boolean result = false;
       
        try {
            final ISecurityFacade securityFacade = SecurityFacadeHandler.getSecurityFacade();
            LOGGER.log(Level.FINE, "Security Facade instance used: " + securityFacade);
            result = securityFacade.logout();
        } catch (Exception e) {
            throw new LoginException(RBACLoginModule.class.getName() + "Failed to logout from RBAC: " + e.getMessage());
        }
       
        username=null;
View Full Code Here

Examples of simpleserver.bot.NpcBot.logout()

      notifyError("An NPC with this name is not logged on!");
      return;
    }

    try {
      b.logout();
    } catch (IOException e) {
      notifyError("Error while logging out bot!");
      e.printStackTrace();
    }
  }
View Full Code Here

Examples of sos.net.SOSFTP.logout()

      spooler_log_warn("could not process file transfer: " + e.getMessage());
    } finally {
      if (ftpClient != null) {
        if (isLoggedIn)
          try {
            ftpClient.logout();
          } catch (Exception e) {} // no error handling
        if (ftpClient.isConnected())
          try {
            ftpClient.disconnect();
          } catch (Exception e) {} // no error handling
View Full Code Here

Examples of teammates.testing.lib.BrowserInstance.logout()

      assertEquals(bi.getElementValue(bi.getSubmissionJustification(i)), String.format("Student Edit:: Justification from %s to %s.", student.email, student.team.students.get(i).email));
      assertEquals(bi.getElementValue(bi.getSubmissionComments(i)), String.format("Student Edit:: Comments from %s to %s.", student.email, student.team.students.get(i).email));
    }
    bi.waitAndClick(bi.studentEvaluationCancelButton);// [cancel]

    bi.logout();
    BrowserInstancePool.release(bi);
  }

  private void setStudent(Student student) {
    this.student = student;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.