diff options
author | Giovane <giovaneliberato@gmail.com> | 2015-09-16 14:46:15 -0300 |
---|---|---|
committer | Giovane <giovaneliberato@gmail.com> | 2015-09-16 14:46:21 -0300 |
commit | ab4387345975cde8681c6af4ee92a10dc7e3be8e (patch) | |
tree | aa8a14e1ec64607c9f40cf85afee351b97eaeb95 /web-ui/test/spec/page | |
parent | 660e0d9de3188bad894b73f7f0ae236d5313b715 (diff) |
#442 Renames feedback box file and improve feedback box html.
Diffstat (limited to 'web-ui/test/spec/page')
-rw-r--r-- | web-ui/test/spec/page/pane_contract_expand.spec.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web-ui/test/spec/page/pane_contract_expand.spec.js b/web-ui/test/spec/page/pane_contract_expand.spec.js index 4f4ff49b..0320705f 100644 --- a/web-ui/test/spec/page/pane_contract_expand.spec.js +++ b/web-ui/test/spec/page/pane_contract_expand.spec.js @@ -44,6 +44,13 @@ describeComponent('page/pane_contract_expand', function () { expect($('#right-pane').attr('class')).toEqual(this.component.attr.RIGHT_PANE_EXPAND_CLASSES); }); + it('contracts middle pane and expands right pane on open draft', function () { + $(document).trigger(Pixelated.events.ui.feedback.open); + + expect($('#middle-pane-container').attr('class')).toEqual(this.component.attr.MIDDLE_PANE_CONTRACT_CLASSES); + expect($('#right-pane').attr('class')).toEqual(this.component.attr.RIGHT_PANE_EXPAND_CLASSES); + }); + it('expands middle pane and contracts right pane on event on open no message selected pane', function () { $(document).trigger(Pixelated.events.dispatchers.rightPane.openNoMessageSelected); |