1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update sorting menus

This commit is contained in:
Luke Pulverenti 2015-12-10 23:48:28 -05:00
parent 9622aceeca
commit 705a817b12
29 changed files with 361 additions and 222 deletions

View file

@ -19,7 +19,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
<script src="../../web-component-tester/browser.js"></script>
<link rel="import" href="../iron-pages.html">
</head>
<body>
@ -48,8 +48,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
assert.equal(pages.selected, 'page0');
});
test('selected item', function() {
assert.equal(pages.selectedItem, pages.items[0]);
test('selected item', function(done) {
// iron-selector uses observeNodes, which is async.
Polymer.Base.async(function() {
assert.equal(pages.selectedItem, pages.items[0])
done();
}, 1);
});
test('selected item is display:block and all others are display:none', function() {