Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
adbde13457
commit
7adf802632
|
@ -163,7 +163,7 @@ export default {
|
|||
</template>
|
||||
</user-callout-dismisser>
|
||||
|
||||
<gl-tabs content-class="gl-pt-0" sync-active-tab-with-query-params>
|
||||
<gl-tabs content-class="gl-pt-0" sync-active-tab-with-query-params lazy>
|
||||
<gl-tab
|
||||
data-testid="security-testing-tab"
|
||||
:title="$options.i18n.securityTesting"
|
||||
|
|
|
@ -43,6 +43,18 @@ ci_project_mirrors:
|
|||
- table: namespaces
|
||||
column: namespace_id
|
||||
on_delete: async_delete
|
||||
merge_requests:
|
||||
- table: ci_pipelines
|
||||
column: head_pipeline_id
|
||||
on_delete: async_nullify
|
||||
vulnerability_statistics:
|
||||
- table: ci_pipelines
|
||||
column: latest_pipeline_id
|
||||
on_delete: async_nullify
|
||||
vulnerability_occurrence_pipelines:
|
||||
- table: ci_pipelines
|
||||
column: pipeline_id
|
||||
on_delete: async_delete
|
||||
packages_build_infos:
|
||||
- table: ci_pipelines
|
||||
column: pipeline_id
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue