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

Unified Diff: content/test/gpu/page_sets/pixel_tests.json

Issue 23478021: Made Pixel tests functional. Captures tab content and compares to ref image (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Brought functionality closer inline with original browsertests Created 7 years, 2 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: content/test/gpu/page_sets/pixel_tests.json
diff --git a/content/test/gpu/page_sets/pixel_tests.json b/content/test/gpu/page_sets/pixel_tests.json
index bd83281ff43b44209d728312cbfb883e0604064d..d8299119dcc2c3bdabaedcc35a1f7d24fd27e4f6 100644
--- a/content/test/gpu/page_sets/pixel_tests.json
+++ b/content/test/gpu/page_sets/pixel_tests.json
@@ -3,11 +3,46 @@
"user_agent_type": "desktop",
"pages": [
{
+ "name": "Pixel.Canvas2DRedBox",
+ "url": "file:///../../data/gpu/pixel_canvas2d.html",
Ken Russell (switch to Gerrit) 2013/10/15 23:31:16 I think dtu is in the process of landing a CL whic
dtu 2013/10/16 01:20:41 Yup, https://chromiumcodereview.appspot.com/244510
+ "navigate_steps": [
+ { "action": "navigate"},
+ {
+ "action": "wait",
+ "javascript": "domAutomationController._finished",
+ "timeout": 30
+ }
+ ],
+ "revision": 1,
+ "test_rect": [0, 0, 400, 300]
+ },
+ {
+ "name": "Pixel.CSS3DBlueBox",
+ "url": "file:///../../data/gpu/pixel_css3d.html",
+ "navigate_steps": [
+ { "action": "navigate"},
+ {
+ "action": "wait",
+ "javascript": "domAutomationController._finished",
+ "timeout": 30
+ }
+ ],
+ "revision": 1,
+ "test_rect": [0, 0, 400, 300]
+ },
+ {
+ "name": "Pixel.WebGLGreenTriangle",
"url": "file:///../../data/gpu/pixel_webgl.html",
"navigate_steps": [
{ "action": "navigate"},
- { "action": "wait", "seconds": 4 }
- ]
+ {
+ "action": "wait",
+ "javascript": "domAutomationController._finished",
+ "timeout": 30
+ }
+ ],
+ "revision": 1,
+ "test_rect": [0, 0, 400, 300]
}
]
}

Powered by Google App Engine
This is Rietveld 408576698