Cypress - Vue Js Button click event is not working - cypress

I have Vue Js application in which there is a detail page which has multiple tabs in it.
When i am click on 2nd tab button click event not fires.
Can anyone please suggest the workaround? So that i can proceed.
By default selection on 1st tab and data loads immediately but when click on 2nd tab loader loading only but there is no response.
Any suggestion would be highly appreciated.

Related

I'm having a firefox issue with dropdown menu in an iframe, maybe a bug

I have a form in an iframe for cc payment (paymetric). The last field is expiration date from a dropdown list. When the user cursors out of the frame back to my page and hits the submit button FireFox is requiring a click to activate the page then another click to submit. In other words, it seems the user has to click twice on the next button. Again, its only in firefox, and alas i have no live samples to show you :( By the way, losing focus from an input box in the framed form this doesnt happen.
I've tried blur/focus onmouseout of frame, even tried jquery trigger('click') to no avail. Any thoughts anyone?
We have the same Issue - it is solved by cleaning up Firefox:

The refresh icon of Telerik Grid can't rotate when clicking it to refresh grid

Use Telerik Grid control in my MVC project. When I try to click the refresh icon which at the left bottom of the grid to refresh the grid, I suppose the icon is rotating while the data is refreshing. But the icon isn't. Maybe the problem comes from the telerik.grid.min.js file. But I didn't find any useful solution. :(
Are you using Ajax Binding or Server Binding for your Grid ?
I think the icon doesn't do anything with Server Binding because as far as I know, this simply reload the page instead of refreshing the content of the Grid.
If you are using Ajax Binding, can you check if you have any kind of JS error in your browser's console ?

Kendo window 1st open and then load

I have a kendo window in my project. Now the content is coming form another domain. I used i-frame in the content template. Its working fine. But When i click the button to open the kendo window it coming but not smoothly. Its stucking. so I want, when I click the button window open smoothly and then load the content. I searched for it but did not find any solution. Its better if i can open the window first and show a loader until the content comes.
Please help me.
The problem can be solved by making the animation:false
A kendo window fires an event called "activate" when it has finished displaying its opening animation. You can catch this event and then load your data in a handler function. There is no need to deactivate the animation itself.

Mozilla Firefox radio button Issue

I am developing a web application. I used radio buttons for selecting the category as shown in following image.
On Selecting the first radio button hides the Overlay button. On selecting the second radio button shows a button where on click of that i can select the data from overlay.
After clicking on second radio button, if i click on browsers refresh button the option2 is selected by default but the "select From Overlay" is not displayed. This issue is coming in Mozilla Firefox. Can anyone suggest how to solve it?
The value being preserved across the refresh is a convenience feature of forms. In this case, you will need some extra page init script to look at the value on the radio buttons to initialize as if the click happened.
Note: If you refresh with Ctrl+F5, you will generally see the browser will load the page with all the form values from before the refresh tossed out. Your user won't do this, but it illustrates how the browser is juggling your input in an effort to preserve it.

selenium WebDriver not finding elements on a modal

I am using selenium webdriver not straight selenium-rc
I have a modal login prompt that come up when you click the login button. Its just a simple div such as -> that has a few frame containers in it.
I can get selenium to open the modal and selenium can find the modal cause I check to see if it is up so it does no the container is open
enderedWebElement resultsDiv = (RenderedWebElement)driver.findElement(By.className("logincontentcontainer"));
But it cannot find any controls on the modal such as text box or buttons. I have tried looking by name, id, classname.... no luck. firebug see's the controls fine. I have several sleeps to make sure its not a race condition.
I should add the modal that comes up is a container with 2 iframes the controls I need are in 1 iframe what contains a form with the controls on that form. not sure if that matters
Are you switching to the frame before you try to find any elements in it? If you're not, that could be your problem.
driver.switchTo().frame("frameName");
http://seleniumhq.org/docs/09_webdriver.html#moving-between-windows-and-frames

Resources