diff --git a/packages/primevue/src/autocomplete/AutoComplete.spec.js b/packages/primevue/src/autocomplete/AutoComplete.spec.js index ab8e2e1c7..7f0848278 100644 --- a/packages/primevue/src/autocomplete/AutoComplete.spec.js +++ b/packages/primevue/src/autocomplete/AutoComplete.spec.js @@ -51,8 +51,8 @@ describe('AutoComplete.vue', () => { suggestions: [{ name: 'Bahrain', code: 'BH' }] }); - expect(wrapper.find('.p-autocomplete-items').exists()).toBe(true); - expect(wrapper.findAll('.p-autocomplete-item').length).toBe(1); + expect(wrapper.find('.p-autocomplete-list').exists()).toBe(true); + expect(wrapper.findAll('.p-autocomplete-option').length).toBe(1); }); it('should show overlay and empty-message if there are no suggestions', async () => { @@ -65,8 +65,8 @@ describe('AutoComplete.vue', () => { suggestions: [] }); - expect(wrapper.find('.p-autocomplete-items').exists()).toBe(true); - expect(wrapper.findAll('.p-autocomplete-item').length).toBe(0); + expect(wrapper.find('.p-autocomplete-list').exists()).toBe(true); + expect(wrapper.findAll('.p-autocomplete-option').length).toBe(0); expect(wrapper.find('.p-autocomplete-empty-message').exists()).toBe(true); }); diff --git a/packages/primevue/src/avatar/Avatar.spec.js b/packages/primevue/src/avatar/Avatar.spec.js index 203cde1b8..dd83089fa 100644 --- a/packages/primevue/src/avatar/Avatar.spec.js +++ b/packages/primevue/src/avatar/Avatar.spec.js @@ -20,8 +20,8 @@ describe('Avatar.vue', () => { expect(wrapper.find('.p-avatar.p-component').exists()).toBe(true); expect(wrapper.find('.p-avatar-lg').exists()).toBe(true); expect(wrapper.find('.p-avatar-circle').exists()).toBe(true); - expect(wrapper.find('.p-avatar-text').exists()).toBe(true); - expect(wrapper.find('.p-avatar-text').text()).toBe('T'); + expect(wrapper.find('.p-avatar-label').exists()).toBe(true); + expect(wrapper.find('.p-avatar-label').text()).toBe('T'); }); it('should exist', async () => { diff --git a/packages/primevue/src/breadcrumb/Breadcrumb.spec.js b/packages/primevue/src/breadcrumb/Breadcrumb.spec.js index dd6dcf279..141589a86 100644 --- a/packages/primevue/src/breadcrumb/Breadcrumb.spec.js +++ b/packages/primevue/src/breadcrumb/Breadcrumb.spec.js @@ -27,7 +27,7 @@ describe('Breadcrumb', () => { }); expect(wrapper.find('.p-breadcrumb.p-component').exists()).toBe(true); - expect(wrapper.findAll('.p-menuitem-separator').length).toBe(5); - expect(wrapper.findAll('.p-menuitem-text').length).toBe(5); + expect(wrapper.findAll('.p-breadcrumb-separator').length).toBe(5); + expect(wrapper.findAll('.p-breadcrumb-item-label').length).toBe(5); }); }); diff --git a/packages/primevue/src/chip/Chip.spec.js b/packages/primevue/src/chip/Chip.spec.js index 55a7650bc..23f565943 100644 --- a/packages/primevue/src/chip/Chip.spec.js +++ b/packages/primevue/src/chip/Chip.spec.js @@ -21,7 +21,7 @@ describe('Chip.vue', () => { it('should exists', () => { expect(wrapper.find('.p-chip.p-component').exists()).toBe(true); expect(wrapper.find('.p-chip-icon').classes()).toContain('pi-primevue'); - expect(wrapper.find('.p-chip-text').text()).toBe('PrimeVue'); + expect(wrapper.find('.p-chip-label').text()).toBe('PrimeVue'); expect(wrapper.find('.p-chip-remove-icon').exists()).toBe(true); });