diff --git a/tests/unit/listview/index.html b/tests/unit/listview/index.html
index d8039b8e..f073dd60 100644
--- a/tests/unit/listview/index.html
+++ b/tests/unit/listview/index.html
@@ -71,6 +71,37 @@
+
+
+
+
Basic multiple lists view
+
+
+
+ - Item 1
+ - Item 2
+ - Parent Item
+
+ - Sub Item 10
+ - Sub Item 11
+ - Sub Item 12
+
+
+
+
+ - Item 3
+ - Item 4
+ - Parent Item
+
+ - Sub Item 20
+ - Sub Item 21
+ - Sub Item 22
+
+
+
+
+
+
diff --git a/tests/unit/listview/listview_core.js b/tests/unit/listview/listview_core.js
index 3bb8ab76..ac7ac4f3 100644
--- a/tests/unit/listview/listview_core.js
+++ b/tests/unit/listview/listview_core.js
@@ -81,6 +81,18 @@
ok($('#nested-list-test .linebreaknode').text() === "More animals", 'Text should be "More animals"');
});
+ asyncTest( "Multiple nested lists on a page", function() {
+ // https://github.com/jquery/jquery-mobile/issues/1617
+ $.testHelper.openPage("#nested-lists-test");
+
+ setTimeout(function() {
+ $('.ui-page-active li:eq(2) a:eq(0)').click();
+
+ equal($('.ui-page-active .ui-content .ui-listview li').text(), "Sub Item 10Sub Item 11Sub Item 12", 'Text should be "Sub Item 10Sub Item 11Sub Item 12"');
+ start();
+ }, 500);
+ });
+
module('Ordered Lists');
asyncTest( "changes to the numbered list page and enhances it", function() {