diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-11 18:10:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-11 18:10:03 +0300 |
commit | 14ae125e1c59ca3e9b535938707831c986dbbc43 (patch) | |
tree | 6cb2244b7aafe63586d5e1c538ab8e1385db4163 /spec/frontend/blob | |
parent | fd31bd1fc7954f69025d8e6bbe7f772ea9fb4bb0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/blob')
-rw-r--r-- | spec/frontend/blob/components/table_contents_spec.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/frontend/blob/components/table_contents_spec.js b/spec/frontend/blob/components/table_contents_spec.js index 2cbac809a0d..5fe328b65ff 100644 --- a/spec/frontend/blob/components/table_contents_spec.js +++ b/spec/frontend/blob/components/table_contents_spec.js @@ -71,6 +71,11 @@ describe('Markdown table of contents component', () => { expect(dropdownItems.exists()).toBe(true); expect(dropdownItems.length).toBe(4); + + // make sure that this only happens once + await setLoaded(true); + + expect(wrapper.findAllComponents(GlDropdownItem).length).toBe(4); }); it('sets padding for dropdown items', async () => { |