Commit 2896884c authored by anna_vovchenko's avatar anna_vovchenko Committed by Anna Vovchenko

Implemented suggestion after the FE review

parent a3e365cf
import { GlFormGroup, GlFormSelect, GlFormText, GlLink, GlSprintf } from '@gitlab/ui'; import { GlFormGroup, GlFormSelect, GlFormText, GlLink, GlSprintf } from '@gitlab/ui';
import { nextTick } from 'vue';
import { shallowMount } from '@vue/test-utils'; import { shallowMount } from '@vue/test-utils';
import { mockTracking } from 'helpers/tracking_helper'; import { mockTracking } from 'helpers/tracking_helper';
import DeploymentTargetSelect from '~/projects/new/components/deployment_target_select.vue'; import DeploymentTargetSelect from '~/projects/new/components/deployment_target_select.vue';
...@@ -103,7 +104,9 @@ describe('Deployment target select', () => { ...@@ -103,7 +104,9 @@ describe('Deployment target select', () => {
describe('when user clicks on the docs link', () => { describe('when user clicks on the docs link', () => {
beforeEach(async () => { beforeEach(async () => {
await findSelect().vm.$emit('input', K8S_OPTION); findSelect().vm.$emit('input', K8S_OPTION);
await nextTick();
findLink().trigger('click'); findLink().trigger('click');
}); });
......
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