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

Unified Diff: LayoutTests/inspector/elements/styles/commit-selector-mark-matching.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/commit-selector-mark-matching.html
diff --git a/LayoutTests/inspector/elements/styles/commit-selector-mark-matching.html b/LayoutTests/inspector/elements/styles/commit-selector-mark-matching.html
deleted file mode 100644
index c77efdd4906bffda34ac2809d8d8775ce9c8d39f..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/styles/commit-selector-mark-matching.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/elements-test.js"></script>
-<script>
-
-function test()
-{
- var nodeId;
- var stylesPane;
-
- InspectorTest.runTestSuite([
- function setUp(next) {
- InspectorTest.selectNodeAndWaitForStyles("inspected", next);
- },
-
- function addRule(next)
- {
- InspectorTest.nodeWithId("inspected", nodeCallback);
-
- function nodeCallback(node)
- {
- nodeId = node.id;
- stylesPane = WebInspector.panels.elements.sidebarPanes.styles;
- InspectorTest.addNewRule("foo, #inspected, .bar, #inspected", callback);
- }
-
- function callback()
- {
- InspectorTest.dumpSelectedElementStyles(true, false, false, true);
- next();
- }
- },
-
- function changeSelector(next)
- {
- var section = InspectorTest.firstMatchedStyleSection();
- section.startEditingSelector();
- var selectorElement = section._selectorElement;
- selectorElement.textContent = "#inspected, a, hr";
- InspectorTest.waitForSelectorCommitted(callback);
- selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
-
- function callback()
- {
- InspectorTest.dumpSelectedElementStyles(true, false, false, true);
- next();
- }
- }
- ]);
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that matching selectors are marked properly after new rule creation and selector change.
-</p>
-
-<div id="inspected"></div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698