|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.editor.wysiwyg.WizardStepElement
org.xwiki.test.ui.po.editor.wysiwyg.UploadImagePane
public class UploadImagePane
Models the image upload wizard step that is accessible when inserting or editing an image with the WYSIWYG editor.
| Constructor Summary | |
|---|---|
UploadImagePane()
|
|
| Method Summary | |
|---|---|
ImageConfigPane |
configureImage()
Clicks on the "Image Settings" button, waits for the image to be uploaded and then for the image configuration pane to be loaded. |
void |
insertImage()
Clicks on the "Insert Image" button, waits for the image to be uploaded and then for the image wizard to close. |
void |
setImageToUpload(String imagePath)
Fills the URL with the specified image path. |
UploadImagePane |
waitToLoad()
Waits for this wizard step to load. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UploadImagePane()
| Method Detail |
|---|
public UploadImagePane waitToLoad()
WizardStepElement
waitToLoad in class WizardStepElementpublic void setImageToUpload(String imagePath)
imagePath - the path to the image to upload in URL formpublic ImageConfigPane configureImage()
public void insertImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||