Fastscroll shortcut operation test case fix
authoruser <rohitkumar@rohitkumar-ubuntu.(none)>
Wed, 28 Aug 2013 22:53:00 +0000 (04:23 +0530)
committeruser <rohitkumar@rohitkumar-ubuntu.(none)>
Wed, 28 Aug 2013 22:53:00 +0000 (04:23 +0530)
tct-webuifw-tests/tests/unit-tests/fastscroll/fastscroll-tests.js

index b4e41acd898964281aff66c301b3fd8b793b8efd..d449ee502e72e984f11a09887870cb6d71f54e3d 100644 (file)
@@ -23,7 +23,8 @@
 
                /* Shortcuts */
                for ( i = 0; i < divider.length; i++ ) {
-                       equal( $( divider[i] ).text(), $( shortcut[i+1] ).text(), "Opertaition test Shortcut");
+                        /* As first item, in shortcut is # for all 'numbers', We need to start with second item in shortcut*/
+                        equal( $( divider[i] ).text(), $( shortcut[i+1] ).text(), "FastScroll shortcut operation test");
                }
 
                /* indexString */