Commit 5d55714c by Anton Stupak Committed by Adam Palay

Fix test.

parent 961bd4c9
<div class="base_wrapper"> <div class="component-editor">
<div class="base_wrapper">
<section class="editor-with-tabs"> <section class="editor-with-tabs">
<div class="wrapper-comp-editor" id="editor-tab-id" data-html_id='test_id'> <div class="wrapper-comp-editor" id="editor-tab-id" data-html_id='test_id'>
<div class="edit-header"> <div class="edit-header">
...@@ -29,5 +30,6 @@ ...@@ -29,5 +30,6 @@
</section> </section>
<div class="component-edit-header" style="display: block"/> <div class="component-edit-header" style="display: block"/>
</div>
</div> </div>
...@@ -65,7 +65,7 @@ describe "TabsEditingDescriptor", -> ...@@ -65,7 +65,7 @@ describe "TabsEditingDescriptor", ->
describe "editor/settings header", -> describe "editor/settings header", ->
it "is hidden", -> it "is hidden", ->
expect(@descriptor.element.find(".component-edit-header").css('display')).toEqual('none') expect(@descriptor.element.closest(".component-editor").find(".component-edit-header")).toBeHidden()
describe "TabsEditingDescriptor special save cases", -> describe "TabsEditingDescriptor special save cases", ->
beforeEach -> beforeEach ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment