[kune-commits] r1540 - in trunk: . img/icons src/main/java/cc/kune/core/client/sitebar/spaces src/main/java/cc/kune/core/client/sub src/main/java/cc/kune/core/public src/test/java/cc/kune/selenium src/test/java/cc/kune/selenium/chat src/test/java/cc/kune/selenium/general src/test/java/cc/kune/selenium/login src/test/java/cc/kune/selenium/tools
Vicente J. Ruiz Jurado
vjrj_ at ourproject.org
Wed Sep 28 16:04:58 CEST 2011
Author: vjrj_
Date: 2011-09-28 16:04:57 +0200 (Wed, 28 Sep 2011)
New Revision: 1540
Added:
trunk/img/icons/Black_Cursor.svg
trunk/img/icons/cursor-red.png
trunk/src/test/java/cc/kune/selenium/general/
trunk/src/test/java/cc/kune/selenium/general/EntityHeaderPageObject.java
trunk/src/test/java/cc/kune/selenium/general/SpacesPageObject.java
Removed:
trunk/src/test/java/cc/kune/selenium/login/EntityHeaderPageObject.java
Modified:
trunk/COPYRIGHT
trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPanel.java
trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPresenter.java
trunk/src/main/java/cc/kune/core/client/sub/SubtitlesWidget.java
trunk/src/main/java/cc/kune/core/public/ws.css
trunk/src/test/java/cc/kune/selenium/CustomWebDriverEventListener.java
trunk/src/test/java/cc/kune/selenium/KuneSeleniumDefaults.java
trunk/src/test/java/cc/kune/selenium/PageObject.java
trunk/src/test/java/cc/kune/selenium/SeleniumModule.java
trunk/src/test/java/cc/kune/selenium/SeleniumUtils.java
trunk/src/test/java/cc/kune/selenium/chat/ChatPageObject.java
trunk/src/test/java/cc/kune/selenium/chat/ChatSeleniumTests.java
trunk/src/test/java/cc/kune/selenium/login/LoginPageObject.java
trunk/src/test/java/cc/kune/selenium/login/LoginSeleniumTests.java
trunk/src/test/java/cc/kune/selenium/login/RegisterSeleniumTests.java
trunk/src/test/java/cc/kune/selenium/tools/SeleniumConstants.java
Log:
CLOSED - # 53: Add Selenium Framework testing
http://kune.ourproject.org/issues/ticket/53
Modified: trunk/COPYRIGHT
===================================================================
--- trunk/COPYRIGHT 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/COPYRIGHT 2011-09-28 14:04:57 UTC (rev 1540)
@@ -185,4 +185,8 @@
Creative Commons Attribution 3.0 Unported license
https://secure.wikimedia.org/wikipedia/commons/wiki/File:Acer_japonicum_Vitifolium_JPG1fu.jpg
-
+#Cursor#
+https://secure.wikimedia.org/wikipedia/commons/wiki/File:Black_Cursor.svg
+Ort43v
+Creative Commons Attribution-Share Alike 3.0 Unported license
+http://creativecommons.org/licenses/by-sa/3.0/deed.en
Added: trunk/img/icons/Black_Cursor.svg
===================================================================
--- trunk/img/icons/Black_Cursor.svg (rev 0)
+++ trunk/img/icons/Black_Cursor.svg 2011-09-28 14:04:57 UTC (rev 1540)
@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ width="20"
+ height="20"
+ id="svg2"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="Black_Cursor.svg">
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1078"
+ inkscape:window-height="897"
+ id="namedview35"
+ showgrid="false"
+ inkscape:showpageshadow="false"
+ showborder="false"
+ inkscape:zoom="1"
+ inkscape:cx="6.5104813"
+ inkscape:cy="10.563713"
+ inkscape:window-x="0"
+ inkscape:window-y="947"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="svg2" />
+ <defs
+ id="defs4">
+ <clipPath
+ id="clipPath3058">
+ <path
+ d="m 17,550 181,0 0,266 -181,0 0,-266 z"
+ id="path3060" />
+ </clipPath>
+ <clipPath
+ id="clipPath3054">
+ <path
+ d="m 17,550 181,0 0,266 -181,0 0,-266 z"
+ id="path3056" />
+ </clipPath>
+ <clipPath
+ id="clipPath3048">
+ <path
+ d="m 0.1400146,0 594.8599954,0 0,841 -594.8599954,0 0,-841 z"
+ id="path3050" />
+ </clipPath>
+ <mask
+ id="mask3036">
+ <image
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN0AAAEyCAAAAABbyoolAAAAAXNCSVQI5gpbmQAAF59JREFUeJztnWt34roOhnWxw/n//3WXxNblfJBzgQKhECCzFpq92xmgpU9ly7JexQH42te+9rWvfe1rX/va1772ta997Wtfe5XhH17kr/xBXmLrdCev+McA1+h+Pf9P8d2mi2dxGpnePv8rtkaHZ69wB/h3+G7SNbiRMHznDv8M3m26wKMFnXvw/Rt4t+gQEAEREREQAs1tRHzbj/iEpVtPIgISECI1OgMHMEdwwH8B74bvEBCRgJGQkADc3dqff8V7K75DIGQiJAIAN1c0MHL7R7x3iw4BkIiJmRqdkamiGf0jeNfpWkQh4kSJGNBBTRVRAfUfwbvtOyQiZs7MjAiuppUIUeEfwbs57wCAiDinzMwAoKpcBRAFDAzR9o53lQ4BAImQOHHOKTGiqwojYQUQADCgvePd8B0iAiITp9ylnAhAtVaqCAigAOC+d7wbUQUAEAiZU8pdToygmhJTJGgAYLB3vJV5FzEz5y53TO6SEhHSmATsHm91NUdiTjkfukRoKgMz4bTj2zvemu+IiJhT13WZ0VWYCRd7Prdd462sd7HmMafcdQnBJDETzXRGu8a7RofjB0QkTil3h0SompgWI3PveGt5JiISEaeUc2Z0TZFyzrZrvNvz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YHHjBHR8MxsPCQW4dVcC27kOIEHHNTbyvrHWd3XLfVroCTfOLRt1kGlsK5TzmluFzSwZdVCAd3VVMd8Z54U7iv5+HpwAwAjh6BhQunNCROHH2NFteENj6PhgpRVbF2NlpTZR951zdd9+poFIGlUipxKW9kYpyU5iqLRRFAROIQB/X1sy1u2Puu6l0EFk49J0JEN0sajeHNdw7qIiUOv1E185uHLK7Yu+hiVXBTQSaOkAJgpomZ5q1QHDwltQy1tKrDzaMOVuxtvgvdGE2phlKJCK4aTTC48J2Zam2Ft+jvGdvT/v6mb7zevO0VmlyJ6G4qXax7i5eZmdRS+n4oVSSOIty978aMBU2oYFxbrlLLRDcurOaqUsoQPYOij2sk7z0rwAFcAbHG+WauWrucmHh5u8K4OqXUYRj6odRofPhj3j7Ze0cmOroiCmL4KJfMzFEZQoj9QKwbtdR+PO/o8WT6vec8tMAC2IrbOaU0FrtHMzdXqbWWMtRabazVvqDit6k5xtgEqBAnNqXUDiA5yaNjNyG11Pkorsfsrb6LZlIDAHC3rNLgFns8H0tvIZNIm3cPRs03n0DiAO2oHjOTxHN71fwS9ziMUGskY08I52+ed+gARhatiiTESHNMAWhxxZs+GbuF6wf7rNonTik0MnBjC/WMzpTK6Lz2dqbwWD99DO/JguED74cISEBIyDC2Hp2at0Mj4lTbuw4Ovfpub7bpxouESDBtD+aRCa264m5z+fTBkfkBuoVCgPDbcwBRXoGptPJ4ceXtdGOPFYx3wTkVCxpHq/w9Uj49f683W1Mbp56BS68ZkdYOAr/nrd5urctq7WUPVU9/vc8HDH99XJj/+vjUu3zC7nrnJ8txn6NbffctCo1f+9rXvva1r33ta1/72te+9rWvfe1rX/va1772j9j/AYLaG1XR4/6YAAAAAElFTkSuQmCC"
+ width="1"
+ height="1"
+ id="image3038" />
+ </mask>
+ <clipPath
+ id="clipPath3020">
+ <path
+ d="m 0.1400146,0 594.8599954,0 0,841 -594.8599954,0 0,-841 z"
+ id="path3022" />
+ </clipPath>
+ <mask
+ id="mask3036-4">
+ <image
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN0AAAEyCAAAAABbyoolAAAAAXNCSVQI5gpbmQAAF59JREFUeJztnWt34roOhnWxw/n//3WXxNblfJBzgQKhECCzFpq92xmgpU9ly7JexQH42te+9rWvfe1rX/va1772ta997Wtfe5XhH17kr/xBXmLrdCev+McA1+h+Pf9P8d2mi2dxGpnePv8rtkaHZ69wB/h3+G7SNbiRMHznDv8M3m26wKMFnXvw/Rt4t+gQEAEREREQAs1tRHzbj/iEpVtPIgISECI1OgMHMEdwwH8B74bvEBCRgJGQkADc3dqff8V7K75DIGQiJAIAN1c0MHL7R7x3iw4BkIiJmRqdkamiGf0jeNfpWkQh4kSJGNBBTRVRAfUfwbvtOyQiZs7MjAiuppUIUeEfwbs57wCAiDinzMwAoKpcBRAFDAzR9o53lQ4BAImQOHHOKTGiqwojYQUQADCgvePd8B0iAiITp9ylnAhAtVaqCAigAOC+d7wbUQUAEAiZU8pdToygmhJTJGgAYLB3vJV5FzEz5y53TO6SEhHSmATsHm91NUdiTjkfukRoKgMz4bTj2zvemu+IiJhT13WZ0VWYCRd7Prdd462sd7HmMafcdQnBJDETzXRGu8a7RofjB0QkTil3h0SompgWI3PveGt5JiISEaeUc2Z0TZFyzrZrvNvzrvFF4OyYXRMzIWJ4FQD2jbcWVaZsM6WcGCzCSqyF7cOO8dbyzHF0MqfUMboyjb6bYst+8W6vd+1jWxc4EShzzDucI8t+8dZ8B9B2ekScMoPJ7LvZHPaJdw9dlFiImZmMeWSbSrkISg1vZ8WWe31HREScCJSI5jE7fhzxdua++3wXwYWYCVhjZM6js+0X9oh3Nx3GVhadcFF8j+egbWedfF/ViHW6WNtG5yE40vjEghADb2fFljt9N2oKSOgYeeYyEx0594Z3Nx0AACExAJ3Xr3H+y87quH+hQwAAAkCkxUMIY16GwjurBN5BN88vRCREZ4Bu9hguFoa94d3vu5Y6I4EDQIdN/woxZXTgzvD+NO9iUM5yZTw0/gOh7M17f553gIiOk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FcAbHG+WauWrucmHh5u8K4OqXUYRj6odRofPhj3j7Ze0cmOroiCmL4KJfMzFEZQoj9QKwbtdR+PO/o8WT6vec8tMAC2IrbOaU0FrtHMzdXqbWWMtRabazVvqDit6k5xtgEqBAnNqXUDiA5yaNjNyG11Pkorsfsrb6LZlIDAHC3rNLgFns8H0tvIZNIm3cPRs03n0DiAO2oHjOTxHN71fwS9ziMUGskY08I52+ed+gARhatiiTESHNMAWhxxZs+GbuF6wf7rNonTik0MnBjC/WMzpTK6Lz2dqbwWD99DO/JguED74cISEBIyDC2Hp2at0Mj4lTbuw4Ovfpub7bpxouESDBtD+aRCa264m5z+fTBkfkBuoVCgPDbcwBRXoGptPJ4ceXtdGOPFYx3wTkVCxpHq/w9Uj49f683W1Mbp56BS68ZkdYOAr/nrd5urctq7WUPVU9/vc8HDH99XJj/+vjUu3zC7nrnJ8txn6NbffctCo1f+9rXvva1r33ta1/72te+9rWvfe1rX/va1772j9j/AYLaG1XR4/6YAAAAAElFTkSuQmCC"
+ width="1"
+ height="1"
+ id="image3038-4" />
+ </mask>
+ <clipPath
+ id="clipPath3048-6">
+ <path
+ inkscape:connector-curvature="0"
+ d="m 0.1400146,0 594.8599954,0 0,841 -594.8599954,0 0,-841 z"
+ id="path3050-0" />
+ </clipPath>
+ <clipPath
+ id="clipPath3054-7">
+ <path
+ inkscape:connector-curvature="0"
+ d="m 17,550 181,0 0,266 -181,0 0,-266 z"
+ id="path3056-4" />
+ </clipPath>
+ <clipPath
+ id="clipPath3058-3">
+ <path
+ inkscape:connector-curvature="0"
+ d="m 17,550 181,0 0,266 -181,0 0,-266 z"
+ id="path3060-7" />
+ </clipPath>
+ </defs>
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ transform="translate(0,-1032.3622)"
+ id="layer1"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/cursor-red.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <g
+ transform="matrix(0.05527655,0,0,0.05527655,-22.484133,1026.5598)"
+ id="g3147">
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3014" />
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3028" />
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3030" />
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3032">
+ <g
+ transform="matrix(221,0,0,306,1,526)"
+ id="g3034">
+ <image
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN0AAAEyCAYAAAB+odX5AAAABHNCSVQICAgIfAhkiAAAA2dJREFUeJzt0zEBACAMwLCBf8/gohwkCvp0zcwZILNfB8BvTAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcRMBzHTQcx0EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcQu1KYDY6GxuR4AAAAASUVORK5CYII="
+ width="1"
+ height="1"
+ transform="matrix(1,0,0,-1,0,1)"
+ mask="url(#mask3036)"
+ id="image3040" />
+ </g>
+ </g>
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3042" />
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ clip-path="url(#clipPath3048)"
+ id="g3046">
+ <g
+ id="g3052" />
+ <g
+ id="g3062">
+ <g
+ clip-path="url(#clipPath3054)"
+ id="g3064">
+ <g
+ id="g3066" />
+ <g
+ id="g3068">
+ <g
+ clip-path="url(#clipPath3058)"
+ id="g3070">
+ <path
+ d="m 41.14001,791.145 0,-187.8 42.2,40.8 40.99999,-69.2 22.8,0 0.4,19 -36.2,68 c 0,0 16.8,0 26.4,0 11.2667,0 36.2,0 36.2,0 l -132.79999,129.2 z"
+ id="path3072"
+ style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none" />
+ <g
+ transform="matrix(1,0,0,-1,0.1400146,841.945)"
+ id="g3074">
+ <path
+ d="M 41,50.79999 41,238.6 l 42.2,-40.8 41,69.2 22.8,0 0.4,-19 -36.2,-68 c 0,0 16.8,0 26.4,0 11.2667,0 36.2,0 36.2,0 L 41,50.79999 z"
+ id="path3076"
+ style="fill:none;stroke:#ffffff;stroke-width:12;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ </g>
+ </g>
+ </g>
+ </g>
+ </g>
+ </g>
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3078" />
+ </g>
+ </g>
+ <g
+ transform="matrix(0.72543777,1.3129128,-1.3129128,0.72543777,1407.0677,-758.30765)"
+ id="layer1-9"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/cursor-red.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <g
+ transform="matrix(0.05527655,0,0,0.05527655,-22.484133,1026.5598)"
+ id="g3147-0">
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3014-0" />
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3028-2" />
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3030-2" />
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3032-6">
+ <g
+ transform="matrix(221,0,0,306,1,526)"
+ id="g3034-9">
+ <image
+ xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAN0AAAEyCAYAAAB+odX5AAAABHNCSVQICAgIfAhkiAAAA2dJREFUeJzt0zEBACAMwLCBf8/gohwkCvp0zcwZILNfB8BvTAcx00HMdBAzHcRMBzHTQcx0EDMdxEwH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EDMdxEwHMdNBzHQQMx3ETAcx00HMdBAzHcQu1KYDY6GxuR4AAAAASUVORK5CYII="
+ width="1"
+ height="1"
+ transform="matrix(1,0,0,-1,0,1)"
+ mask="url(#mask3036-4)"
+ id="image3040-0" />
+ </g>
+ </g>
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3042-3" />
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ clip-path="url(#clipPath3048-6)"
+ id="g3046-5">
+ <g
+ id="g3052-5" />
+ <g
+ id="g3062-8">
+ <g
+ clip-path="url(#clipPath3054-7)"
+ id="g3064-7">
+ <g
+ id="g3066-1" />
+ <g
+ id="g3068-7">
+ <g
+ clip-path="url(#clipPath3058-3)"
+ id="g3070-0">
+ <path
+ d="m 41.14001,791.145 0,-187.8 42.2,40.8 40.99999,-69.2 22.8,0 0.4,19 -36.2,68 c 0,0 16.8,0 26.4,0 11.2667,0 36.2,0 36.2,0 l -132.79999,129.2 z"
+ id="path3072-6"
+ style="fill:#d40000;fill-opacity:1;fill-rule:nonzero;stroke:none"
+ inkscape:connector-curvature="0" />
+ <g
+ transform="matrix(1,0,0,-1,0.1400146,841.945)"
+ id="g3074-0">
+ <path
+ d="M 41,50.79999 41,238.6 l 42.2,-40.8 41,69.2 22.8,0 0.4,-19 -36.2,-68 c 0,0 16.8,0 26.4,0 11.2667,0 36.2,0 36.2,0 L 41,50.79999 z"
+ id="path3076-4"
+ style="fill:none;stroke:#ffffff;stroke-width:12;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ inkscape:connector-curvature="0" />
+ </g>
+ </g>
+ </g>
+ </g>
+ </g>
+ </g>
+ <g
+ transform="matrix(1.25,0,0,-1.25,385.16156,1124.4318)"
+ id="g3078-1" />
+ </g>
+ </g>
+</svg>
Added: trunk/img/icons/cursor-red.png
===================================================================
(Binary files differ)
Property changes on: trunk/img/icons/cursor-red.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPanel.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPanel.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -72,6 +72,11 @@
userSpaceTooltip.setWidth(190);
groupSpaceTooltip.setWidth(170);
publicSpaceTooltip.setWidth(150);
+
+ homeButton.ensureDebugId(HOME_SPACE_ID);
+ userButton.ensureDebugId(USER_SPACE_ID);
+ groupButton.ensureDebugId(GROUP_SPACE_ID);
+ publicButton.ensureDebugId(PUBLIC_SPACE_ID);
}
@Override
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPresenter.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/spaces/SpaceSelectorPresenter.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -56,6 +56,11 @@
public interface SpaceSelectorView extends View {
+ public static String GROUP_SPACE_ID = "k-space-group-id";
+ public static String HOME_SPACE_ID = "k-space-home-id";
+ public static String PUBLIC_SPACE_ID = "k-space-public-id";
+ public static String USER_SPACE_ID = "k-space-user-id";
+
HasClickHandlers getGroupBtn();
HasClickHandlers getHomeBtn();
Modified: trunk/src/main/java/cc/kune/core/client/sub/SubtitlesWidget.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sub/SubtitlesWidget.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/main/java/cc/kune/core/client/sub/SubtitlesWidget.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -49,7 +49,7 @@
@Override
public void onClick(final ClickEvent event) {
if (showing) {
- final SlideRight slideAtEnd = new SlideRight(popup.getElement());
+ final SlideRight slideAtEnd = new SlideRight(widget.getElement());
slideAtEnd.invert();
slideAtEnd.setDuration(2);
slideAtEnd.play();
@@ -101,11 +101,11 @@
setSize(Window.getClientWidth(), Window.getClientHeight());
popup.sinkEvents(Event.MOUSEEVENTS);
popup.show();
- final Show showAtIni = new Show(popup.getElement());
- showAtIni.setDuration(3);
+ final Show showAtIni = new Show(widget.getElement());
+ showAtIni.setDuration(2);
showAtIni.play();
- final SlideRight slideAtIni = new SlideRight(popup.getElement());
- slideAtIni.setDuration(3);
+ final SlideRight slideAtIni = new SlideRight(widget.getElement());
+ slideAtIni.setDuration(2);
slideAtIni.play();
this.showing = true;
}
Modified: trunk/src/main/java/cc/kune/core/public/ws.css
===================================================================
--- trunk/src/main/java/cc/kune/core/public/ws.css 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/main/java/cc/kune/core/public/ws.css 2011-09-28 14:04:57 UTC (rev 1540)
@@ -1,4 +1,4 @@
-CHARSET "UTF-8 "; body {
+GCHARSET "UTF-8 "; body {
background-color: transparent;
color: black;
font-family: 'Ubuntu', Arial;
@@ -944,7 +944,7 @@
border-color: #CCCCCC !important;
background: inherits !important;
kfilter: alpha(opacity =
- 60) !important;
+ 60) !important;
-moz-opacity: 0.60 !important;
-khtml-opacity: 0.60 !important;
opacity: 0.60 !important;
@@ -1230,7 +1230,7 @@
-moz-border-radius-bottomleft: 5px;
border-bottom-left-radius: 5px;
kfilter: alpha(opacity =
- 90);
+ 90);
-moz-opacity: 0.90;
-khtml-opacity: 0.90;
opacity: 0.90;
@@ -1527,3 +1527,8 @@
outline: #f90 solid 2px !important;
outline-offset: -2px !important;
}
+
+div.jGrowl div.jGrowl-notification div.header {
+ background-color: #000000 !important;
+ padding: 0 !important;
+}
\ No newline at end of file
Modified: trunk/src/test/java/cc/kune/selenium/CustomWebDriverEventListener.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/CustomWebDriverEventListener.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/CustomWebDriverEventListener.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -44,6 +44,7 @@
@Override
public void beforeChangeValueOf(final WebElement element, final WebDriver driver) {
+ SeleniumUtils.hightlight(element, driver);
}
@Override
Modified: trunk/src/test/java/cc/kune/selenium/KuneSeleniumDefaults.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/KuneSeleniumDefaults.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/KuneSeleniumDefaults.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -24,6 +24,7 @@
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
+import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.pagefactory.ElementLocatorFactory;
import org.testng.ITestContext;
@@ -36,7 +37,8 @@
import cc.kune.core.client.sub.SubtitlesWidget;
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.selenium.chat.ChatPageObject;
-import cc.kune.selenium.login.EntityHeaderPageObject;
+import cc.kune.selenium.general.EntityHeaderPageObject;
+import cc.kune.selenium.general.SpacesPageObject;
import cc.kune.selenium.login.LoginPageObject;
import cc.kune.selenium.login.RegisterPageObject;
import cc.kune.selenium.tools.SeleniumConstants;
@@ -56,6 +58,7 @@
private final Injector injector;
protected LoginPageObject login;
protected RegisterPageObject register;
+ protected final SpacesPageObject spaces;
private final WebDriver webdriver;
public KuneSeleniumDefaults() {
@@ -66,11 +69,13 @@
login = injector.getInstance(LoginPageObject.class);
register = injector.getInstance(RegisterPageObject.class);
entityHeader = injector.getInstance(EntityHeaderPageObject.class);
+ spaces = injector.getInstance(SpacesPageObject.class);
chat = injector.getInstance(ChatPageObject.class);
final ElementLocatorFactory locator = injector.getInstance(ElementLocatorFactory.class);
PageFactory.initElements(locator, login);
PageFactory.initElements(locator, register);
PageFactory.initElements(locator, entityHeader);
+ PageFactory.initElements(locator, spaces);
PageFactory.initElements(locator, chat);
}
@@ -145,24 +150,39 @@
public void resize() {
final JavascriptExecutor js = (JavascriptExecutor) webdriver;
+ // Some others tested values:
// 1024,769
- js.executeScript("window.resizeTo(840,770); window.moveTo(0,0);");
+ // 840,770
+ // 806,707
+ js.executeScript("window.resizeTo(806,707); window.moveTo(0,0);");
}
- public void showSubtitle(final String title) {
- showSubtitle(title, "", "");
+ public void showMsg(final String msg) {
+ SeleniumUtils.showMsg(webdriver, "", msg);
}
- public void showSubtitle(final String title, final String description) {
- showSubtitle(title, description, "");
+ public void showMsg(final String title, final String msg) {
+ SeleniumUtils.showMsg(webdriver, title, msg);
}
- public void showSubtitle(final String title, final String description, final String token) {
+ public void showTitleSlide(final String title) {
+ showTitleSlide(title, "", "");
+ }
+
+ public void showTitleSlide(final String title, final String description) {
+ showTitleSlide(title, description, "");
+ }
+
+ public void showTitleSlide(final String title, final String description, final String token) {
gotoToken(TokenUtils.subtitle(title, description, token));
sleep(3000);
webdriver.findElement(By.id(SeleniumConstants.GWTDEV + SubtitlesWidget.SUBTITLE_MANAGER_ID)).click();
}
+ public void showTooltip(final WebElement element) {
+ SeleniumUtils.showTooltip(webdriver, element);
+ }
+
public void sleep(final int milliseconds) {
SeleniumUtils.sleep(milliseconds);
}
Modified: trunk/src/test/java/cc/kune/selenium/PageObject.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/PageObject.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/PageObject.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -32,7 +32,6 @@
import org.openqa.selenium.WebDriver.Options;
import org.openqa.selenium.WebDriver.TargetLocator;
import org.openqa.selenium.WebElement;
-import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.ByIdOrName;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.Wait;
@@ -120,12 +119,6 @@
return webdriver.manage();
}
- public void moveMouseTo(final WebElement element) {
- final Actions actions = new Actions(webdriver);
- actions.moveToElement(element);
- sleep(1000);
- }
-
public Navigation navigate() {
return webdriver.navigate();
}
@@ -134,6 +127,10 @@
webdriver.quit();
}
+ public void showTooltip(final WebElement element) {
+ SeleniumUtils.showTooltip(webdriver, element);
+ }
+
public void sleep(final int milliseconds) {
SeleniumUtils.sleep(milliseconds);
}
Modified: trunk/src/test/java/cc/kune/selenium/SeleniumModule.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/SeleniumModule.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/SeleniumModule.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -33,7 +33,8 @@
import org.openqa.selenium.support.pagefactory.ElementLocatorFactory;
import cc.kune.selenium.chat.ChatPageObject;
-import cc.kune.selenium.login.EntityHeaderPageObject;
+import cc.kune.selenium.general.EntityHeaderPageObject;
+import cc.kune.selenium.general.SpacesPageObject;
import cc.kune.selenium.login.LoginPageObject;
import cc.kune.selenium.login.RegisterPageObject;
import cc.kune.selenium.tools.SeleniumConstants;
@@ -59,6 +60,7 @@
bind(RegisterPageObject.class).in(Singleton.class);
bind(EntityHeaderPageObject.class).in(Singleton.class);
bind(ChatPageObject.class).in(Singleton.class);
+ bind(SpacesPageObject.class).in(Singleton.class);
}
@SuppressWarnings("unused")
Modified: trunk/src/test/java/cc/kune/selenium/SeleniumUtils.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/SeleniumUtils.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/SeleniumUtils.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -3,19 +3,42 @@
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
+import org.openqa.selenium.interactions.Actions;
import org.testng.Assert;
+import cc.kune.common.client.utils.TextUtils;
+
public class SeleniumUtils {
public static void hightlight(final WebElement element, final WebDriver webdriver) {
final JavascriptExecutor js = (JavascriptExecutor) webdriver;
final String script = "window.jQuery('#" + element.getAttribute("id") + "').addClass('k-outline');"
+ "setTimeout('window.jQuery(\"#" + element.getAttribute("id")
- + "\").removeClass(\"k-outline\")', 700);";
+ + "\").removeClass(\"k-outline\")', 1200);";
+ // Antes 700
// LOG.info("High: " + script);
js.executeScript(script);
}
+ public static void moveMouseTo(final WebDriver webdriver, final WebElement element) {
+ final Actions actions = new Actions(webdriver);
+ actions.moveToElement(element);
+ }
+
+ public static void showMsg(final WebDriver webdriver, final String header, final String msg) {
+ final JavascriptExecutor js = (JavascriptExecutor) webdriver;
+ final String opts = TextUtils.notEmpty(header) ? "header: '" + header + "'," : "";
+ // sticky: true,
+ final String script = "window.jQuery.jGrowl(\"" + msg + "\", { " + opts + " theme: 'k-jgrowl' } )";
+ js.executeScript(script);
+ }
+
+ public static void showTooltip(final WebDriver webdriver, final WebElement element) {
+ SeleniumUtils.moveMouseTo(webdriver, element);
+ SeleniumUtils.hightlight(element, webdriver);
+ sleep(2000);
+ }
+
public static void sleep(final int milliseconds) {
try {
Thread.sleep(milliseconds);
Modified: trunk/src/test/java/cc/kune/selenium/chat/ChatPageObject.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/chat/ChatPageObject.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/chat/ChatPageObject.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -75,6 +75,10 @@
return findElement(new ByIdOrName(id));
}
+ public WebElement icon() {
+ return chatIcon;
+ }
+
public void openChat(final XmppURI uri) {
openChat.click();
jid.sendKeys(uri.toString());
Modified: trunk/src/test/java/cc/kune/selenium/chat/ChatSeleniumTests.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/chat/ChatSeleniumTests.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/chat/ChatSeleniumTests.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -31,10 +31,11 @@
public void basicChat() {
// 15 chars, the limit, so we don't use shortName
login();
- showSubtitle("Chat with your buddies", "compatible with gmail and similars");
+ showTitleSlide("Chat with your buddies", "compatible with gmail and similars");
chat.show();
final XmppURI jid = XmppURI.jid(ChatPageObject.DEF_TESTING_USER);
final String jids = jid.toString();
+ showMsg("We need to add buddies (contacts) before chat with them");
chat.openChat(jid);
// chat.getPage(jids).click();
chat.getTalkBox(jids).sendKeys("Helloo... ;)");
Copied: trunk/src/test/java/cc/kune/selenium/general/EntityHeaderPageObject.java (from rev 1538, trunk/src/test/java/cc/kune/selenium/login/EntityHeaderPageObject.java)
===================================================================
--- trunk/src/test/java/cc/kune/selenium/general/EntityHeaderPageObject.java (rev 0)
+++ trunk/src/test/java/cc/kune/selenium/general/EntityHeaderPageObject.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -0,0 +1,42 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program 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 Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.selenium.general;
+
+import org.openqa.selenium.WebElement;
+import org.openqa.selenium.support.FindBy;
+
+import cc.kune.core.client.ws.entheader.EntityTextLogo;
+import cc.kune.selenium.PageObject;
+import cc.kune.selenium.tools.SeleniumConstants;
+
+public class EntityHeaderPageObject extends PageObject {
+
+ @FindBy(id = SeleniumConstants.GWTDEV + EntityTextLogo.LOGO_IMAGE)
+ protected WebElement logoImage;
+ @FindBy(id = SeleniumConstants.GWTDEV + EntityTextLogo.LOGO_NAME)
+ protected WebElement logoName;
+
+ public EntityHeaderPageObject() {
+ }
+
+ public void waitForEntityTitle(final String text) {
+ waitFor(logoName, text);
+ }
+}
Added: trunk/src/test/java/cc/kune/selenium/general/SpacesPageObject.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/general/SpacesPageObject.java (rev 0)
+++ trunk/src/test/java/cc/kune/selenium/general/SpacesPageObject.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -0,0 +1,59 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program 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 Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.selenium.general;
+
+import org.openqa.selenium.WebElement;
+import org.openqa.selenium.support.FindBy;
+
+import cc.kune.core.client.sitebar.spaces.SpaceSelectorPresenter.SpaceSelectorView;
+import cc.kune.selenium.PageObject;
+import cc.kune.selenium.tools.SeleniumConstants;
+
+public class SpacesPageObject extends PageObject {
+
+ @FindBy(id = SeleniumConstants.GWTDEV + SpaceSelectorView.GROUP_SPACE_ID)
+ protected WebElement groupSpaceBtn;
+ @FindBy(id = SeleniumConstants.GWTDEV + SpaceSelectorView.HOME_SPACE_ID)
+ protected WebElement homeSpaceBtn;
+ @FindBy(id = SeleniumConstants.GWTDEV + SpaceSelectorView.PUBLIC_SPACE_ID)
+ protected WebElement publicSpaceBtn;
+ @FindBy(id = SeleniumConstants.GWTDEV + SpaceSelectorView.USER_SPACE_ID)
+ protected WebElement userSpaceBtn;
+
+ public SpacesPageObject() {
+ }
+
+ public WebElement groupBtn() {
+ return groupSpaceBtn;
+ }
+
+ public WebElement homeBtn() {
+ return homeSpaceBtn;
+ }
+
+ public WebElement publicBtn() {
+ return publicSpaceBtn;
+ }
+
+ public WebElement userBtn() {
+ return userSpaceBtn;
+ }
+
+}
Deleted: trunk/src/test/java/cc/kune/selenium/login/EntityHeaderPageObject.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/login/EntityHeaderPageObject.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/login/EntityHeaderPageObject.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -1,42 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.selenium.login;
-
-import org.openqa.selenium.WebElement;
-import org.openqa.selenium.support.FindBy;
-
-import cc.kune.core.client.ws.entheader.EntityTextLogo;
-import cc.kune.selenium.PageObject;
-import cc.kune.selenium.tools.SeleniumConstants;
-
-public class EntityHeaderPageObject extends PageObject {
-
- @FindBy(id = SeleniumConstants.GWTDEV + EntityTextLogo.LOGO_IMAGE)
- protected WebElement logoImage;
- @FindBy(id = SeleniumConstants.GWTDEV + EntityTextLogo.LOGO_NAME)
- protected WebElement logoName;
-
- public EntityHeaderPageObject() {
- }
-
- public void waitForEntityTitle(final String text) {
- waitFor(logoName, text);
- }
-}
Modified: trunk/src/test/java/cc/kune/selenium/login/LoginPageObject.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/login/LoginPageObject.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/login/LoginPageObject.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -90,8 +90,7 @@
public void signIn(final String username, final String password, final boolean withReturn) {
assertIsDisconnected();
- // hightlight(signInLink);
- moveMouseTo(signInLink);
+ showTooltip(signInLink);
signInLink.click();
fillSigInInForm(username, password, withReturn);
}
Modified: trunk/src/test/java/cc/kune/selenium/login/LoginSeleniumTests.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/login/LoginSeleniumTests.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/login/LoginSeleniumTests.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -47,7 +47,7 @@
@Test(dataProvider = "correctlogin")
public void basicSignIn(final String user, final String passwd) {
login.assertIsDisconnected();
- showSubtitle("User sign in", "to get full access to this site");
+ showTitleSlide("User sign in", "to get full access to this site");
login.signIn(user, passwd);
login.assertIsConnectedAs(user);
login.logout();
Modified: trunk/src/test/java/cc/kune/selenium/login/RegisterSeleniumTests.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/login/RegisterSeleniumTests.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/login/RegisterSeleniumTests.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -21,8 +21,12 @@
import org.testng.annotations.Test;
+import cc.kune.core.client.state.SiteTokens;
import cc.kune.selenium.KuneSeleniumTest;
+import cc.kune.selenium.tools.SeleniumConstants;
+import com.calclab.emite.core.client.xmpp.stanzas.XmppURI;
+
public class RegisterSeleniumTests extends KuneSeleniumTest {
@Test(dataProvider = "correctregister")
@@ -30,15 +34,36 @@
final String email) {
// 15 chars, the limit, so we don't use shortName
final String prefix = getTempString();
- showSubtitle("User registration", "to get full access to this site tools/contents");
+ showTitleSlide("User registration", "to get full access to this site tools/contents");
login.createOne();
register.fillRegisterForm(prefix, prefix + longName, passwd, prefix + email, false);
login.assertIsConnectedAs(prefix);
sleep(1000);
entityHeader.waitForEntityTitle(prefix + longName);
register.getWelcomeMsg().click();
+
+ // user space
+ showTitleSlide("User space (your Inbox)", "contents in which you participate");
+ showTooltip(spaces.userBtn());
+ spaces.userBtn().click();
+
+ // chat
+ showTitleSlide("Chat with your buddies", "compatible with gmail and similars", SiteTokens.WAVEINBOX);
+ showTooltip(chat.icon());
chat.show();
sleep(3000);
+
+ final XmppURI jid = XmppURI.jid(SeleniumConstants.USER_EMAIL);
+ final String jids = jid.toString();
+ showMsg("We need to add buddies (contacts) before chat with them");
+ chat.openChat(jid);
+
+ // chat.getPage(jids).click();
+ chat.getTalkBox(jids).sendKeys("Helloo... ;)");
+ chat.getSend(jids).click();
+ chat.getTalkBox(jids).sendKeys("I'm just testing");
+ chat.getSend(jids).click();
+
login.logout();
}
Modified: trunk/src/test/java/cc/kune/selenium/tools/SeleniumConstants.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/tools/SeleniumConstants.java 2011-09-27 21:01:37 UTC (rev 1539)
+++ trunk/src/test/java/cc/kune/selenium/tools/SeleniumConstants.java 2011-09-28 14:04:57 UTC (rev 1540)
@@ -23,7 +23,7 @@
public static final String FIREFOX_PROFILE_NAME = "selenium";
public static final String GWTDEV = "gwt-debug-";
public static final String INPUT = "-input";
- public static final int TIMEOUT = 15;
+ public static final int TIMEOUT = 20;
public static final String USER_EMAIL = "admin at example.org";
public static final String USER_LONGNAME = "Administrator";
public static final String USER_PASSWD = "easyeasy";
More information about the kune-commits
mailing list