Skip to content
Snippets Groups Projects
Commit b30e7ce6 authored by Phil Hughes's avatar Phil Hughes
Browse files

Merge branch 'ps-add-test-policy-action-builder' into 'master'

Add test for policy_action_builder dropdown headerText

See merge request !122404



Merged-by: default avatarPhil Hughes <me@iamphill.com>
Approved-by: default avatarPhil Hughes <me@iamphill.com>
Co-authored-by: Paul Slaughter's avatarPaul Slaughter <pslaughter@gitlab.com>
parents 1ee136ef 552fae42
No related branches found
No related tags found
1 merge request!122404Add test for policy_action_builder dropdown headerText
Pipeline #890614476 passed
......@@ -80,7 +80,10 @@ describe('PolicyActionBuilder', () => {
await nextTick();
expect(findActionSeperator().exists()).toBe(false);
expect(findDropdown().props('selected')).toBe('dast');
expect(findDropdown().props()).toMatchObject({
selected: 'dast',
headerText: __('Select a scanner'),
});
});
it('renders correctly the message with DAST as the default scanner', async () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment