Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Unified Diff: dart/samples/swarm/test/swarm_test.dart

Issue 66253002: Version 0.8.10.9 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: dart/samples/swarm/test/swarm_test.dart
===================================================================
--- dart/samples/swarm/test/swarm_test.dart (revision 30098)
+++ dart/samples/swarm/test/swarm_test.dart (working copy)
@@ -96,12 +96,12 @@
Expect.equals(getView(swarm.sections[0]), swarm.frontView.currentSection);
// Find the first slider menu item, and click on the one next after it.
- click(document.queryAll('.${CSS.SM_ITEM}')[1]);
+ click(document.querySelectorAll('.${CSS.SM_ITEM}')[1]);
Expect.equals(getView(swarm.sections[1]), swarm.frontView.currentSection);
// Find the first menu item again and click on it.
- click(document.query('.${CSS.SM_ITEM}'));
+ click(document.querySelector('.${CSS.SM_ITEM}'));
Expect.equals(getView(swarm.sections[0]), swarm.frontView.currentSection);
});

Powered by Google App Engine
This is Rietveld 408576698