diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-24 18:13:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-24 18:13:32 +0300 |
commit | 7adf802632e79864f36ff5db170ce1d1e7fc465d (patch) | |
tree | 0d5d3e150a7314c1d6c3f06037ceaffb403a70d3 /spec/frontend/security_configuration | |
parent | adbde13457e5eb5facf0e42b6145b7df7f96c7f1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/security_configuration')
-rw-r--r-- | spec/frontend/security_configuration/components/app_spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/frontend/security_configuration/components/app_spec.js b/spec/frontend/security_configuration/components/app_spec.js index 67bfe7836ab..cbdf7f53913 100644 --- a/spec/frontend/security_configuration/components/app_spec.js +++ b/spec/frontend/security_configuration/components/app_spec.js @@ -159,6 +159,10 @@ describe('App component', () => { expect(findGlTabs().props('syncActiveTabWithQueryParams')).toBe(true); }); + it('lazy loads each tab', () => { + expect(findGlTabs().attributes('lazy')).not.toBe(undefined); + }); + it('renders correct amount of tabs', () => { expect(findTabs()).toHaveLength(expectedTabs.length); }); |