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

Unified Diff: LayoutTests/fast/harness/resources/archived-results-dashboard-test.js

Issue 502953003: Added support for re-running of layout tests form the dashboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing Failures Created 6 years, 3 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
Index: LayoutTests/fast/harness/resources/archived-results-dashboard-test.js
diff --git a/LayoutTests/fast/harness/resources/archived-results-dashboard-test.js b/LayoutTests/fast/harness/resources/archived-results-dashboard-test.js
index ca83eb458f1230c0e6389054a5144ab8bab9fe10..902dbf28d63f0836945add56488bf6f824e860a6 100644
--- a/LayoutTests/fast/harness/resources/archived-results-dashboard-test.js
+++ b/LayoutTests/fast/harness/resources/archived-results-dashboard-test.js
@@ -70,20 +70,20 @@ function runTests()
runTest(results, function() {
var table = document.getElementById('results-table');
assertTrue(table.rows.length == 4);
- assertTrue(table.rows[0].cells.length == 4);
- assertTrue(table.rows[1].cells[0].innerHTML == 'foo-1.html');
- assertTrue(table.rows[3].cells[0].innerHTML == 'virtual/foo-3.html');
- assertTrue(table.rows[1].cells[1].className == 'test-pass');
- assertTrue(table.rows[1].cells[2].className == 'test-fail');
- assertTrue(table.rows[1].cells[3].className == 'test-skip');
+ assertTrue(table.rows[0].cells.length == 5);
+ assertTrue(table.rows[1].cells[1].innerHTML == 'foo-1.html');
+ assertTrue(table.rows[3].cells[1].innerHTML == 'virtual/foo-3.html');
+ assertTrue(table.rows[1].cells[2].className == 'test-pass');
+ assertTrue(table.rows[1].cells[3].className == 'test-fail');
+ assertTrue(table.rows[1].cells[4].className == 'test-skip');
var row = table.rows[1];
var dummyhref = document.createElement("a");
dummyhref.href = 'dir1/results.html';
- assertTrue(row.cells[1].getElementsByTagName('a')[0] == dummyhref.href);
- dummyhref.href = 'dir2/results.html';
assertTrue(row.cells[2].getElementsByTagName('a')[0] == dummyhref.href);
- dummyhref.href = 'dir3/results.html';
+ dummyhref.href = 'dir2/results.html';
assertTrue(row.cells[3].getElementsByTagName('a')[0] == dummyhref.href);
+ dummyhref.href = 'dir3/results.html';
+ assertTrue(row.cells[4].getElementsByTagName('a')[0] == dummyhref.href);
});
document.body.innerHTML = '<pre>' + g_log.join('\n') + '</pre>';
}
« no previous file with comments | « LayoutTests/fast/harness/archived-results-dashboard.html ('k') | Tools/Scripts/webkitpy/tool/commands/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698