diff --git a/packages/primevue/src/speeddial/SpeedDial.spec.js b/packages/primevue/src/speeddial/SpeedDial.spec.js index f06f5d198..6714324cc 100644 --- a/packages/primevue/src/speeddial/SpeedDial.spec.js +++ b/packages/primevue/src/speeddial/SpeedDial.spec.js @@ -51,7 +51,7 @@ describe('SpeedDial.vue', () => { expect(wrapper.emitted()['click'][0]).toEqual([{}]); expect(wrapper.emitted()['show'][0]).toEqual([]); - expect(wrapper.find('.p-speeddial').classes()).toContain('p-speeddial-opened'); + expect(wrapper.find('.p-speeddial').classes()).toContain('p-speeddial-open'); expect(wrapper.findAll('li.p-speeddial-item')[0].attributes().style).toBe('transition-delay: 0ms;'); }); @@ -60,7 +60,7 @@ describe('SpeedDial.vue', () => { await wrapper.vm.onClick({}); - expect(wrapper.find('.p-speeddial').classes()).not.toContain('p-speeddial-opened'); + expect(wrapper.find('.p-speeddial').classes()).not.toContain('p-speeddial-open'); expect(wrapper.findAll('li.p-speeddial-item')[wrapper.findAll('li.p-speeddial-item').length - 1].attributes().style).toBe('transition-delay: 0ms;'); }); diff --git a/packages/primevue/src/splitbutton/SplitButton.spec.js b/packages/primevue/src/splitbutton/SplitButton.spec.js index aa567e09e..915bc66d1 100644 --- a/packages/primevue/src/splitbutton/SplitButton.spec.js +++ b/packages/primevue/src/splitbutton/SplitButton.spec.js @@ -43,8 +43,8 @@ describe('SplitButton.vue', () => { it('should exist', () => { expect(wrapper.find('.p-splitbutton.p-component').exists()).toBe(true); expect(wrapper.find('.p-tieredmenu.p-component').exists()).toBe(true); - expect(wrapper.findAll('li.p-menuitem').length).toBe(4); - expect(wrapper.find('.p-splitbutton-defaultbutton').exists()).toBe(true); + expect(wrapper.findAll('li.p-tieredmenu-item').length).toBe(4); + expect(wrapper.find('.p-splitbutton-button').exists()).toBe(true); expect(wrapper.find('.p-button-label').text()).toBe('Save'); });