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

Unified Diff: chrome/test/functional/ispy/server/views/main_view.html

Issue 106523003: [I-Spy] Add support for rebaselining expectations from the web UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing dom.py Created 6 years, 12 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 | « chrome/test/functional/ispy/server/views/empty_view.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/ispy/server/views/main_view.html
diff --git a/chrome/test/functional/ispy/server/views/main_view.html b/chrome/test/functional/ispy/server/views/main_view.html
index 4bc95ad7a8cc0e42bceeb396732ced6289dca247..6944fa00b08ed16ea1776701df57765c88d7e76f 100644
--- a/chrome/test/functional/ispy/server/views/main_view.html
+++ b/chrome/test/functional/ispy/server/views/main_view.html
@@ -24,8 +24,25 @@
height: 350px;
}
</style>
+
+ <script language="javascript">
+ var confirmSubmit = function() {
+ return confirm("The screenshots generated with this version of chrome will be used as the expected images for future comparisions. Are you sure?");
+ }
+ </script>
</head>
<body>
+ <h3>Test Run: {{ test_run }}</h3>
+ {% if can_rebaseline and comparisons %}
+ <form action="/rebaseline" method="post" onsubmit="return confirmSubmit();">
+ <input type="hidden" name="test_run" value="{{ test_run }}"/>
+ <input type="submit" value="This Chrome version looks good!"/>
+ </form>
+ <br>
+ {% endif %}
+ {% if not comparisons %}
+ <h2>No failures.</h2>
+ {% endif %}
{% for comp in comparisons %}
<div class="row">
<div class="cell">
« no previous file with comments | « chrome/test/functional/ispy/server/views/empty_view.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698