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

Unified Diff: LayoutTests/inspector/elements/styles/perform-undo-perform-of-mergable-action.html

Issue 1158883003: DevTools: shard inspector/elements tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/inspector/elements/styles/perform-undo-perform-of-mergable-action.html
diff --git a/LayoutTests/inspector/elements/styles/perform-undo-perform-of-mergable-action.html b/LayoutTests/inspector/elements/styles/perform-undo-perform-of-mergable-action.html
deleted file mode 100644
index 19e45a16ea2f3aed6edc3806ca7cff936b3f2888..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/styles/perform-undo-perform-of-mergable-action.html
+++ /dev/null
@@ -1,66 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/elements-test.js"></script>
-
-<style>
-.container {
- font-weight: bold
-}
-</style>
-
-<script>
-
-function test()
-{
- InspectorTest.selectNodeAndWaitForStyles("container", step1);
-
- function step1()
- {
- InspectorTest.addResult("Initial value");
- InspectorTest.dumpSelectedElementStyles(true);
-
- var treeItem = InspectorTest.getMatchedStylePropertyTreeItem("font-weight");
- treeItem.applyStyleText("font-weight: normal", false);
- InspectorTest.waitForStyles("container", step2);
- }
-
- function step2()
- {
- InspectorTest.addResult("After changing property");
- InspectorTest.dumpSelectedElementStyles(true);
-
- InspectorTest.domModel.undo();
- InspectorTest.waitForStyles("container", step3);
- }
-
- function step3()
- {
- InspectorTest.addResult("After undo");
- InspectorTest.dumpSelectedElementStyles(true);
-
- var treeItem = InspectorTest.getMatchedStylePropertyTreeItem("font-weight");
- treeItem.applyStyleText("font-weight: normal", false);
- InspectorTest.waitForStyles("container", step4);
- }
-
- function step4()
- {
- InspectorTest.addResult("After perform");
- InspectorTest.dumpSelectedElementStyles(true);
- InspectorTest.completeTest();
- }
-}
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that perform-undo-perform of the mergeable action does not crash.
-</p>
-
-<div id="container" class="container"></div>
-<div id="other" class="container"></div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698