From d59bda6998c8112e23d8dd991debdbc23c8c850f Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 23 Sep 2024 13:23:05 +0300 Subject: [PATCH] Update Password.spec.js --- packages/primevue/src/password/Password.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/primevue/src/password/Password.spec.js b/packages/primevue/src/password/Password.spec.js index 5d2d942f1..d94b6cd2f 100644 --- a/packages/primevue/src/password/Password.spec.js +++ b/packages/primevue/src/password/Password.spec.js @@ -32,11 +32,11 @@ describe('Password.vue', () => { }); it('should meter update', async () => { - expect(wrapper.find('.p-password-content [data-pc-section="info"]').text()).toBe('Enter a password'); + expect(wrapper.find('.p-password-content [data-pc-section="metertext"]').text()).toBe('Enter a password'); await wrapper.vm.onKeyUp(event); - expect(wrapper.find('.p-password-content [data-pc-section="info"]').text()).toBe('Weak'); + expect(wrapper.find('.p-password-content [data-pc-section="metertext"]').text()).toBe('Weak'); expect(wrapper.find('.p-password-meter-label').classes()).toContain('p-password-meter-weak'); });