Index: src/test/it/com/xpn/xwiki/it/selenium/AllTests.java
===================================================================
--- src/test/it/com/xpn/xwiki/it/selenium/AllTests.java	(revision 11289)
+++ src/test/it/com/xpn/xwiki/it/selenium/AllTests.java	(working copy)
@@ -49,6 +49,7 @@
         // think the tests are all running fine. I haven't found a simple solution to this yet
         // (there are complex solutions like searching for all tests by parsing the source tree).
         // I think there are TestSuite that do this out there but I haven't looked for them yet.
+
         addTestCase(suite, DeletePageTest.class);
         addTestCase(suite, LoginLogoutTest.class);
         addTestCase(suite, UserProfileTest.class);        
@@ -73,7 +74,8 @@
         addTestCase(suite, CopyPageTest.class);
         addTestCase(suite, AdministrationTest.class);
         addTestCase(suite, LanguageTest.class);
-
+        addTestCase(suite, WizardPanelTest.class);
+         
         return new XWikiSeleniumTestSetup(new XWikiTestSetup(suite));
     }
 
Index: src/test/it/com/xpn/xwiki/it/selenium/WizardPanelTest.java
===================================================================
--- src/test/it/com/xpn/xwiki/it/selenium/WizardPanelTest.java	(revision 0)
+++ src/test/it/com/xpn/xwiki/it/selenium/WizardPanelTest.java	(revision 0)
@@ -0,0 +1,150 @@
+/*
+ * See the NOTICE file distributed with this work for additional
+ * information regarding copyright ownership.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package com.xpn.xwiki.it.selenium;
+
+import junit.framework.Test;
+
+import com.xpn.xwiki.it.selenium.framework.AbstractXWikiTestCase;
+import com.xpn.xwiki.it.selenium.framework.AlbatrossSkinExecutor;
+import com.xpn.xwiki.it.selenium.framework.XWikiTestSuite;
+
+public class WizardPanelTest extends AbstractXWikiTestCase{
+	
+	public static Test suite()
+	{
+		XWikiTestSuite suite=new XWikiTestSuite("Verify the WizardPanel XWiki feature");
+		suite.addTestSuite(WizardPanelTest.class, AlbatrossSkinExecutor.class);
+		return suite;
+	}
+	
+	@Override
+    public void setUp() throws Exception
+    {
+		super.setUp();
+       	loginAsAdmin();
+       	open("Panels","PanelWizard");
+    }
+	
+	/**
+     * This method makes the following tests :
+     *
+     * <ul>
+     * <li>Opens the Wizard Panels page for XWiki instance.</li>
+     * <li>Checks for existence of 2 sections.</li>
+     * </ul>
+     */
+	public void testSections()
+    {
+		clickLinkWithXPath("//span[text()='Panel Wizard']");
+		assertElementPresent("//a[text()='Page Layout']");
+		assertElementPresent("//a[text()='Panel List']");
+    }
+
+	/**
+     * This method makes the following tests :
+     *
+     * <ul>
+     * <li>Opens the Wizard Panels page for XWiki instance.</li>
+     * <li>Opens and test for all 4 layouts for page.</li>
+     * </ul>
+     */
+	public void testPageLayout()
+	{
+		clickLinkWithXPath("//span[text()='Panel Wizard']",true);
+		clickLinkWithXPath("//a[@href='#PageLayoutSection']",false);
+		//tests the page layouts
+		clickLinkWithXPath("//div[@id='nosidecolumn']",false);
+		assertElementPresent( "//div[@id='rightPanels' and @style='display: none;']");
+		assertElementPresent( "//div[@id='leftPanels' and @style='display: none;']");
+		clickLinkWithXPath("//div[@id='leftcolumn']",false);
+		assertElementPresent( "//div[@id='rightPanels' and @style='display: none;']");
+		assertElementPresent( "//div[@id='leftPanels' and @style='display: block;']");
+		clickLinkWithXPath("//div[@id='rightcolumn']",false);
+		assertElementPresent( "//div[@id='rightPanels' and @style='display: block;']");
+		assertElementPresent( "//div[@id='leftPanels' and @style='display: none;']");
+		clickLinkWithXPath("//div[@id='bothcolumns']",false);
+		assertElementPresent( "//div[@id='rightPanels' and @style='display: block;']");
+		assertElementPresent( "//div[@id='leftPanels' and @style='display: block;']");
+	}
+	
+	/**
+     * This method makes the following tests :
+     *
+     * <ul>
+     * <li>Opens the Wizard Panels page for XWiki instance.</li>
+     * <li>Selects 'bothcolums' layout.</li>
+     * <li>Then puts QuickLinks panel on the left side.</li>
+     * </ul>
+     */
+	public void testInsertQuickLinksPanelInLeftColumn()
+	{
+		clickLinkWithXPath("//span[text()='Panel Wizard']",true);
+		clickLinkWithXPath("//a[@href='#PageLayoutSection']",false);
+		clickLinkWithXPath("//div[@id='rightcolumn']",false);
+		clickLinkWithXPath("//div[@id='bothcolumns']",false);
+		clickLinkWithXPath("//a[@href='#PanelListSection']",false);
+        getSelenium().dragAndDropToObject("//div[@class='panel expanded QuickLinks']", "//div[@id='leftPanels']");
+        getSelenium().dragAndDropToObject("//div[@class='panel expanded Backlinks']", "//div[@id='rightPanels']");
+        clickLinkWithXPath("//a[text()='Save the new layout']",false);
+        waitForCondition("selenium.isAlertPresent()");
+        assertEquals("The layout has been saved properly.", getSelenium().getAlert());
+        open("Panels","PanelWizard");
+        assertElementPresent("//div[@class='panel expanded QuickLinks']");
+        assertElementPresent("//div[@class='panel expanded Backlinks']");
+        assertElementPresent("leftPanels");
+        assertElementPresent("rightPanels");
+	}
+	
+	/**
+     * This method makes the following tests :
+     *
+     * <ul>
+     * <li>Opens the Wizard Panels page for XWiki instance.</li>
+     * <li>Test all 3 buttons.</li>
+     * </ul>
+     */
+	public void testButtons()
+	{
+		//test button 'Go to Panels home page'
+		clickLinkWithXPath("//span[text()='Panel Wizard']",true);
+		assertElementPresent("//a[text()='Page Layout']");
+		assertElementPresent("//a[text()='Panel List']");
+		clickLinkWithText("Go to Panels home page");
+		
+		//test button 'Revert' 
+		open("/xwiki/bin/view/Panels/PanelWizard");
+		clickLinkWithXPath("//span[text()='Panel Wizard']",true);
+		assertElementPresent("//a[text()='Page Layout']");
+		assertElementPresent("//a[text()='Panel List']");
+		clickLinkWithXPath("//a[@href='#PageLayoutSection']",false);
+		clickLinkWithXPath("//div[@id='rightcolumn']",false);
+		clickLinkWithXPath("//a[@href='#PanelListSection']",false);
+		getSelenium().dragAndDropToObject("//div[@class='panel expanded BlogCategories']", "//div[@id='leftPanels']");
+		clickLinkWithXPath("//a[text()='Revert']",false);
+		
+		//test button 'Save the new layout' 
+		clickLinkWithXPath("//span[text()='Panel Wizard']",true);
+		assertElementPresent("//a[text()='Page Layout']");
+		assertElementPresent("//a[text()='Panel List']");
+		clickLinkWithXPath("//a[text()='Save the new layout']",false);
+		waitForCondition("selenium.isAlertPresent()");
+        assertEquals("The layout has been saved properly.", getSelenium().getAlert());
+	}
+}
\ No newline at end of file
