- InspectorTest.runAfterPendingDispatches(callbackName);
-
- function callbackName()
- {
- treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("U+001B"));
- treeElement.valueElement.textContent = "hsl(120, 100%, 25%)";
- treeElement.kickFreeFlowStyleEditForTest();
- InspectorTest.runAfterPendingDispatches(kicked);
- }
+ treeElement.valueElement.textContent = "hsl(120, 100%, 25%)";
+ treeElement.kickFreeFlowStyleEditForTest();
+ InspectorTest.waitForStyleApplied(kicked);