mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Chip & Inplace test fixes
This commit is contained in:
parent
8a49bcdc8a
commit
738811ee0a
2 changed files with 4 additions and 3 deletions
|
@ -70,11 +70,12 @@ describe('Inplace.vue', () => {
|
|||
await wrapper.vm.open({});
|
||||
|
||||
expect(wrapper.find('.p-inputtext').exists()).toBe(true);
|
||||
expect(wrapper.find('.pi.pi-times').exists()).toBe(true);
|
||||
expect(wrapper.find('.p-inplace-content').exists()).toBe(true);
|
||||
|
||||
await wrapper.vm.close({});
|
||||
|
||||
expect(wrapper.find('.pi.pi-times').exists()).toBe(false);
|
||||
expect(wrapper.find('.p-inplace-display').exists()).toBe(true);
|
||||
expect(wrapper.find('.p-inplace-content').exists()).toBe(false);
|
||||
});
|
||||
|
||||
it('should have custom close icon', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue