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

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

Issue 398653005: Add a details link to ct-tree-status. (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 | « Tools/GardeningServer/ui/ct-tree-status.html ('k') | 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 99611cc4cf1b34dbc636aeb676c90433b3758671..e125631e84fb8f51b41730fa699e255609c19709 100644
--- a/Tools/GardeningServer/ui/ct-tree-status-tests.html
+++ b/Tools/GardeningServer/ui/ct-tree-status-tests.html
@@ -29,7 +29,7 @@ closedTreeJson = {
"can_commit_freely": false
}
-asyncTest("basic", 9, function() {
+asyncTest("basic", 10, function() {
var simulator = new NetworkSimulator();
simulator.json = function(url) {
if (url.indexOf('closed') != -1)
@@ -50,7 +50,7 @@ asyncTest("basic", 9, function() {
simulator.runTest(function() {
var urlByName = treestatus.urlByName;
treestatus.urlByName = function(name) {
- return name + "-status.appspot.com/current?format=json";
+ return "http://" + name + "-status.appspot.com/";
}
Promise.all([
opentree.update().then(function() {
@@ -65,6 +65,7 @@ asyncTest("basic", 9, function() {
equal(closedtree.message,
"Tree is closed for maintenance by username@test.org");
equal(closedtree.status, "closed");
+ equal(closedtree.shadowRoot.querySelector('a').href, treestatus.urlByName('closed-tree-project'));
})
]).then(function() {
requestAnimationFrame(function() {
« no previous file with comments | « Tools/GardeningServer/ui/ct-tree-status.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698