Commit 30c1d8c9 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch...

Merge branch '229912-deploy-freeze-jest-specs-failing-spec-frontend-deploy_freeze-components' into 'master'

Resolve "Deploy freeze jest specs failing: spec/frontend/deploy_freeze/components/deploy_freeze_modal_spec.js"

Closes #229912

See merge request gitlab-org/gitlab!37233
parents 1cdec983 f712f07a
import Vuex from 'vuex'; import Vuex from 'vuex';
import { createLocalVue, shallowMount } from '@vue/test-utils'; import { createLocalVue, shallowMount } from '@vue/test-utils';
import { GlDeprecatedButton, GlModal } from '@gitlab/ui'; import { GlButton, GlModal } from '@gitlab/ui';
import DeployFreezeModal from '~/deploy_freeze/components/deploy_freeze_modal.vue'; import DeployFreezeModal from '~/deploy_freeze/components/deploy_freeze_modal.vue';
import DeployFreezeTimezoneDropdown from '~/deploy_freeze/components/deploy_freeze_timezone_dropdown.vue'; import DeployFreezeTimezoneDropdown from '~/deploy_freeze/components/deploy_freeze_timezone_dropdown.vue';
import createStore from '~/deploy_freeze/store'; import createStore from '~/deploy_freeze/store';
...@@ -31,7 +31,7 @@ describe('Deploy freeze modal', () => { ...@@ -31,7 +31,7 @@ describe('Deploy freeze modal', () => {
const findModal = () => wrapper.find(GlModal); const findModal = () => wrapper.find(GlModal);
const addDeployFreezeButton = () => const addDeployFreezeButton = () =>
findModal() findModal()
.findAll(GlDeprecatedButton) .findAll(GlButton)
.at(1); .at(1);
const setInput = (freezeStartCron, freezeEndCron, selectedTimezone) => { const setInput = (freezeStartCron, freezeEndCron, selectedTimezone) => {
......
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