diff options
author | Adriel Santiago <asantiago@gitlab.com> | 2019-06-04 09:09:06 +0300 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-06-04 09:09:06 +0300 |
commit | a23ea78efe4156ae9f7a77eff3b1b1bb027dcda4 (patch) | |
tree | 5c0cdcfe2b2fb722507bfad9c02fa9e1134d7971 /spec | |
parent | 0923456678e1a9c1b20279693a9cdd3e421a0fd8 (diff) |
Add expand/collapse button
Add ability to expand/collapse operation settings
Diffstat (limited to 'spec')
-rw-r--r-- | spec/frontend/operation_settings/components/external_dashboard_spec.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/frontend/operation_settings/components/external_dashboard_spec.js b/spec/frontend/operation_settings/components/external_dashboard_spec.js index de1dd219fe0..23dc3c3db8c 100644 --- a/spec/frontend/operation_settings/components/external_dashboard_spec.js +++ b/spec/frontend/operation_settings/components/external_dashboard_spec.js @@ -21,6 +21,14 @@ describe('operation settings external dashboard component', () => { expect(wrapper.find('.js-section-header').text()).toBe('External Dashboard'); }); + describe('expand/collapse button', () => { + it('renders as an expand button by default', () => { + const button = wrapper.find(GlButton); + + expect(button.text()).toBe('Expand'); + }); + }); + describe('sub-header', () => { let subHeader; |