Commit 4a1faf19 authored by Mark Florian's avatar Mark Florian

Merge branch '281721-wider-vuln-modal' into 'master'

Increase vuln modal size

See merge request gitlab-org/gitlab!55462
parents d5689689 30f91127
......@@ -196,6 +196,7 @@ export default {
ref="modal"
:modal-id="$options.VULNERABILITY_MODAL_ID"
:title="modal.title"
size="lg"
data-qa-selector="vulnerability_modal_content"
class="modal-security-report-dast"
v-bind="$attrs"
......
......@@ -27,6 +27,13 @@ describe('Security Reports modal', () => {
modal = wrapper.find(GlModal);
};
describe('modal', () => {
it('renders a large modal', () => {
mountComponent({ modal: createState().modal }, mount);
expect(modal.props('size')).toBe('lg');
});
});
describe('with permissions', () => {
describe('with dismissed issue', () => {
beforeEach(() => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment