org.xwiki.test.po.xe
Class SpacesPane

java.lang.Object
  extended by org.xwiki.test.ui.po.BaseElement
      extended by org.xwiki.test.po.xe.SpacesPane

public class SpacesPane
extends org.xwiki.test.ui.po.BaseElement

Represents the part of the home page that lists the existing spaces and allows the user to create a new space.

Since:
3.2M3
Version:
$Id: fe03b366de2009ddeaa0282c4a82c46379f58338 $

Constructor Summary
SpacesPane()
           
 
Method Summary
 org.xwiki.test.ui.po.ViewPage clickSpaceHome(String spaceName)
          Clicks on the link to the space home page.
 org.xwiki.index.test.po.SpaceIndexPage clickSpaceIndex(String spaceName)
           
 org.xwiki.test.ui.po.editor.WYSIWYGEditPage createSpace(String spaceName)
          Shows the space creation form, fills the space name text field with the given space name and submits the form.
 
Methods inherited from class org.xwiki.test.ui.po.BaseElement
executeJavascript, getDriver, getUtil, makeAlertDialogSilent, makeConfirmDialogSilent, makeElementVisible, makeElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilElementDisappears, waitUntilElementEndsWithAttributeValue, waitUntilElementHasAttributeValue, waitUntilElementHasTextContent, waitUntilElementIsVisible, waitUntilElementsAreVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpacesPane

public SpacesPane()
Method Detail

createSpace

public org.xwiki.test.ui.po.editor.WYSIWYGEditPage createSpace(String spaceName)
Shows the space creation form, fills the space name text field with the given space name and submits the form.

Parameters:
spaceName - the name of the space to create
Returns:
the WYSIWYG edit page for the space home page

clickSpaceIndex

public org.xwiki.index.test.po.SpaceIndexPage clickSpaceIndex(String spaceName)

clickSpaceHome

public org.xwiki.test.ui.po.ViewPage clickSpaceHome(String spaceName)
Clicks on the link to the space home page.

Parameters:
spaceName - the space name
Returns:
the page object corresponding to the space home page


Copyright © 2004-2013 XWiki. All Rights Reserved.