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

Unified Diff: Tools/GardeningServer/ui/ct-tree-status-tests.html

Issue 408603002: Fix tests broken in r178299. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-tree-status-tests.html
diff --git a/Tools/GardeningServer/ui/ct-tree-status-tests.html b/Tools/GardeningServer/ui/ct-tree-status-tests.html
index f2036923c21e0960aa3098b73cb1ac7bc084b7e0..cdac1562d366954ee16c13c2f5bf0cd9b90c4ae5 100644
--- a/Tools/GardeningServer/ui/ct-tree-status-tests.html
+++ b/Tools/GardeningServer/ui/ct-tree-status-tests.html
@@ -52,20 +52,18 @@ asyncTest("basic", 7, function() {
}
Promise.all([
opentree.update().then(function() {
- equal(opentree.status, "Tree is open");
- equal(opentree.$.content.style.backgroundColor, "rgb(72, 209, 204)");
+ equal(opentree.message, "Tree is open");
+ equal(opentree.status, "open");
}),
throttledtree.update().then(function() {
- equal(throttledtree.status,
+ equal(throttledtree.message,
"Tree is throttled just for fun by username@test.org");
- equal(throttledtree.$.content.style.backgroundColor,
- "rgb(240, 230, 140)");
+ equal(throttledtree.status, "throttled");
}),
closedtree.update().then(function() {
- equal(closedtree.status,
+ equal(closedtree.message,
"Tree is closed for maintenance by username@test.org");
- equal(closedtree.$.content.style.backgroundColor,
- "rgb(255, 99, 71)");
+ equal(closedtree.status, "closed");
})
]).then(function() {
start();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698