testing dialog

UI Components for Vue
Post Reply
Guardian360
Posts: 1
Joined: 27 Oct 2022, 11:06

28 Mar 2023, 13:34

Hi,
How do I test the workings of a dialog implementation. I know about the teleport feature and when I set this up for a custom component I can
write tests for it but when using primevue dialog component, I can't get it to work. I want to examine the html and trigger button but the only thing shown is :
<!--teleport start-->
<!--teleport end-->

please assist on this...

Kind regards,

Dirk

bahadirsofuoglu
Posts: 84
Joined: 06 Sep 2022, 08:59

14 Apr 2023, 00:43

Hi,
Why do you need to test the Dialog component? There are already tests of the component. If you are using events from the Dialog component, you can test them. I think you can stub PrimeVue components.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests