From f46c5d49d43fd599575fd87bacd2b0ea47a00ba0 Mon Sep 17 00:00:00 2001 From: Hixie Date: Fri, 10 Apr 2015 15:04:54 -0700 Subject: [PATCH] Fix the test broken by https://codereview.chromium.org/1078973002 by making sure the basic.sky test exposes the right (new) DOM now that text is always wrapped in a display:paragraph div. BUG=85 R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1083443002 --- tests/TestExpectations | 2 -- tests/framework/basic-expected.txt | 6 ++++-- tests/framework/basic.sky | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/TestExpectations b/tests/TestExpectations index 3d4f4b2b9eb..b13b16e8921 100644 --- a/tests/TestExpectations +++ b/tests/TestExpectations @@ -37,5 +37,3 @@ https://github.com/domokit/mojo/issues/64 lowlevel/layers.sky [ Skip ] # Flaky https://github.com/domokit/mojo/issues/62 custom-elements/registration.sky [ Skip ] - -https://github.com/domokit/mojo/issues/85 framework/basic.sky [ Skip ] diff --git a/tests/framework/basic-expected.txt b/tests/framework/basic-expected.txt index ca6c48bc281..639bd0e8dca 100644 --- a/tests/framework/basic-expected.txt +++ b/tests/framework/basic-expected.txt @@ -1,5 +1,7 @@
-
I am Text +
+
I am Text
+
-
+
diff --git a/tests/framework/basic.sky b/tests/framework/basic.sky index 14674271d02..244057a6420 100644 --- a/tests/framework/basic.sky +++ b/tests/framework/basic.sky @@ -8,7 +8,7 @@ import 'dart:sky.internals' as internals; void main() { new TestApp(); runAfterDisplay(() { - internals.notifyTestComplete(serializeNode(document.lastChild)); + internals.notifyTestComplete(serializeNode(document.lastChild.previousSibling) + serializeNode(document.lastChild)); }); }