diff options
| author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-12 03:08:58 +0000 |
|---|---|---|
| committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-12 03:08:58 +0000 |
| commit | 48d9e7ff8ddfe152686d450fa5ac511f12d42d5b (patch) | |
| tree | 389f85b9843a3fd34a314ddaf0cb051f7f88829d /spec/frontend | |
| parent | df8c8224edcaa7458c1ac79444768dab71580783 (diff) | |
| download | gitlab-ce-48d9e7ff8ddfe152686d450fa5ac511f12d42d5b.tar.gz | |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend')
| -rw-r--r-- | spec/frontend/projects/settings_service_desk/components/service_desk_setting_spec.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/frontend/projects/settings_service_desk/components/service_desk_setting_spec.js b/spec/frontend/projects/settings_service_desk/components/service_desk_setting_spec.js index 57e515723e5..aac1a418142 100644 --- a/spec/frontend/projects/settings_service_desk/components/service_desk_setting_spec.js +++ b/spec/frontend/projects/settings_service_desk/components/service_desk_setting_spec.js @@ -165,8 +165,12 @@ describe('ServiceDeskSetting', () => { describe('save button', () => { it('renders a save button to save a template', () => { wrapper = createComponent(); + const saveButton = findButton(); - expect(findButton().text()).toContain('Save changes'); + expect(saveButton.text()).toContain('Save changes'); + expect(saveButton.props()).toMatchObject({ + variant: 'confirm', + }); }); it('emits a save event with the chosen template when the save button is clicked', async () => { |
