summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonseop Kim <wonseop.kim@samsung.com>2013-04-26 11:04:04 +0900
committerhjnim.kim <hjnim.kim@samsung.com>2013-05-03 15:29:07 +0900
commited0455daf88f477780d1666645b98c5b243cb780 (patch)
tree809355c47d8e9844d8e1f61b50b42ee10ec3803b
parent21e55e9971ac5cf380ca1d8ae2b55f53402cbb50 (diff)
downloadweb-ui-fw-ed0455daf88f477780d1666645b98c5b243cb780.tar.gz
web-ui-fw-ed0455daf88f477780d1666645b98c5b243cb780.tar.bz2
web-ui-fw-ed0455daf88f477780d1666645b98c5b243cb780.zip
Gallery3d: Fix Gallery3d TC failure
Modify delay time for target device. Change-Id: I3ebec0dfd9dba0105dd8e1ce43feaa0635136aff
-rw-r--r--tests/unit-tests/gallery3d/gallery3d-tests.js19
1 files changed, 9 insertions, 10 deletions
diff --git a/tests/unit-tests/gallery3d/gallery3d-tests.js b/tests/unit-tests/gallery3d/gallery3d-tests.js
index cd16f78c..b59695e2 100644
--- a/tests/unit-tests/gallery3d/gallery3d-tests.js
+++ b/tests/unit-tests/gallery3d/gallery3d-tests.js
@@ -46,18 +46,17 @@
widget.gallery3d( "select", 1 );
setTimeout( function () {
equal( widget.gallery3d( "select" ), imageList[0], "API : select" );
-
widget.gallery3d( "next" );
- setTimeout( function () {
- equal( widget.gallery3d( "select" ), imageList[1], "API : next" );
+ }, 600 );
- widget.gallery3d( "prev" );
- setTimeout( function () {
- equal( widget.gallery3d( "select" ), imageList[0], "API : prev" );
- start();
+ setTimeout( function () {
+ equal( widget.gallery3d( "select" ), imageList[1], "API : next" );
+ widget.gallery3d( "prev" );
+ }, 1200 );
- }, 340 );
- }, 340 );
- }, 340 );
+ setTimeout( function () {
+ equal( widget.gallery3d( "select" ), imageList[0], "API : prev" );
+ start();
+ }, 1800 );
});
}( jQuery ));