From: xy.qian Date: Mon, 23 Oct 2017 07:34:49 +0000 (+0800) Subject: [common][tct-notification-tizen-tests][Modify tc due to tc issue] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccd2e9f34258ece04c2e9c8968e4ae02f99c6345;p=test%2Ftct%2Fweb%2Fapi.git [common][tct-notification-tizen-tests][Modify tc due to tc issue] Change-Id: I6eeb8a7419dfe80080a2aeb8c996350a2c62ce41 Signed-off-by: xy.qian --- diff --git a/common/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications.html b/common/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications.html index 0fe8fac18..b6634d49a 100644 --- a/common/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications.html +++ b/common/tct-notification-tizen-tests/notification/NotificationManager_getAllNotifications.html @@ -91,9 +91,9 @@ test(function () { assert_array_equals(userNotification.thumbnails.thumbnails, thumbnailsToSet, "thumbnails attribute."); assert_equals(userNotification.textContents.detailInfo.length, detailInfoToSet.length, "detailInfo attribute length."); - for (i = 0; i < detailInfoToSet.length; i++) { - assert_equals(userNotification.textContents.detailInfo[i].mainText, detailInfoToSet[i].mainText, "detailInfo.mainText attribute for index = " + i + "."); - assert_equals(userNotification.textContents.detailInfo[i].subText, detailInfoToSet[i].subText, "detailInfo.subText attribute for index = " + i + "."); + for (j = 0; j < detailInfoToSet.length; j++) { + assert_equals(userNotification.textContents.detailInfo[j].mainText, detailInfoToSet[j].mainText, "detailInfo.mainText attribute for index = " + j + "."); + assert_equals(userNotification.textContents.detailInfo[j].subText, detailInfoToSet[j].subText, "detailInfo.subText attribute for index = " + j + "."); } } } finally {