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

Unified Diff: sky/tests/framework/flights-app-pixels.sky

Issue 836363003: Make a reftest for the flights app. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/compositor/display_delegate_bitmap.cc ('k') | sky/tests/framework/flights-app-pixels-expected.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/framework/flights-app-pixels.sky
diff --git a/sky/tests/framework/flights-app.sky b/sky/tests/framework/flights-app-pixels.sky
similarity index 61%
copy from sky/tests/framework/flights-app.sky
copy to sky/tests/framework/flights-app-pixels.sky
index e42ff36e275ee78bdd0f8258969f5dafdb00ba9e..ff06a09ebe7651fac03745a6ec64de08a814e052 100644
--- a/sky/tests/framework/flights-app.sky
+++ b/sky/tests/framework/flights-app-pixels.sky
@@ -1,10 +1,13 @@
<sky>
+ <import src="../resources/run-after-display.sky" as="runAfterDisplay" />
<import src="/sky/examples/flights-app/flights-app.sky" />
<script>
addEventListener("load", function() {
var app = document.createElement("flights-app");
document.querySelector("sky").appendChild(app);
- internals.notifyTestComplete(internals.renderTreeAsText());
+ runAfterDisplay(function() {
+ internals.notifyTestComplete("");
+ });
});
</script>
</sky>
« no previous file with comments | « sky/compositor/display_delegate_bitmap.cc ('k') | sky/tests/framework/flights-app-pixels-expected.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698