Index: LayoutTests/inspector/elements/styles/styles-disable-property-after-selector-edit.html |
diff --git a/LayoutTests/inspector/elements/styles/styles-disable-property-after-selector-edit.html b/LayoutTests/inspector/elements/styles/styles-disable-property-after-selector-edit.html |
index b3246f23f13cf2caca643ae04a42dd596876ab0d..32334da15e19d8c5d7d176be5268cc38e3beee16 100644 |
--- a/LayoutTests/inspector/elements/styles/styles-disable-property-after-selector-edit.html |
+++ b/LayoutTests/inspector/elements/styles/styles-disable-property-after-selector-edit.html |
@@ -14,7 +14,7 @@ function test() |
function editSelector(next) |
{ |
- var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1]; |
+ var section = InspectorTest.firstMatchedStyleSection(); |
section.startEditingSelector(); |
section._selectorElement.textContent = "#inspected, .INSERTED-OTHER-SELECTOR"; |
InspectorTest.waitForSelectorCommitted(next); |