thucydides report from jenkins not opening properly in chrome where it open in iexplorer? - selenium

After a successful run in jenkin a mailer is triggered which contains a thucydide report link.When clicked on the link it open in my default browser i.e. chrome. But it not opening properly the pie chart is not getting displayed and all the test are green.
Can i change some setting to get it properly?
I want it to open it correctly in chrome n Firefox. As both displays similarly.

Related

Test execution failed using selenium - robot

Guys I need help to run the robot using Selenium. When trying to run the browser it opens very quickly and closes, I can't access the amazon website. I have already updated the chromedriver to the compatible version of my browser but I still get the InvalidArgumentException message: Message: invalid argument showing the browser screen in white.
obs: I've already reinstalled the drivers for the versions I have of firefox and chrome but I still can't run.
enter image description here
enter image description here
I tried to run the robot and I couldn't because the error message is displayed
InvalidArgumentException: Message: invalid argument
Did you specify the browser and web-url arguments?
like:
open browser https://www.amazon.com/ chrome

Cypress - Overlay not popping up when button is clicked

Description:
I am currently trying to write an automated test that involves clicking on a button within a navigation bar. The expected behavior is that an overlay that contains more links would pop up, as seen in this video here: https://www.screencast.com/t/55vkmhY8msjt
When testing this manually within a Chrome browser (which is recorded in the aforementioned video), the overlay pops up as expected.
But when executing the automated Cypress test within the Cypress browser, Cypress is able to locate the element and successfully click it, but the overlay does not pop up.
When I manually click on the button within the Cypress browser, the overlay does not pop up.
Video of bug being reproduced:
https://www.screencast.com/t/iSn8suNHa
It's hard to tell, but after the test execution finishes, I am manually trying to click on the button with my mouse.
I've tried several things:
cy.get(selector).click({force:true})
cy.get(selector).trigger('click')
cy.get(selector).invoke('click')
Extra information:
This button was recently re-implemented using React Native's TouchableWithoutFeedback
There are no errors being thrown in Cypress, no errors in the console.
Versions
Cypress 7.5.0
Chrome Version 90.0.4430.93
Can somebody please suggest some other steps I can try?

Vuejs console logs appear then disappears in chrome

I have created a new VueJs project with vue-router and ESLint.
When I load the page with the console log open I can see console.log outputs for few milliseconds then they disappear. If I close developer tools and reopen, they reappear and stay until the page is refreshed.
This is only an issue in Chrome, Firefox is fine.
Any ideas?
Have you tried using the Preserve Log option in DevTools?
The 'Preserve log' will be under the settings icon in chrome.

How to assert that download popup is active? selenium webdriver

I need to verify that download link is correct and when you click it that document is created for downloading.
so how can I assert that when test clicks link, after some time there is a download popup (sometimes there is no popup and I need test to fail then)

Selenium: How can I get the link for downloads that started automatically?

I am using selenium to automate some downloading tasks, but some pages start the downloads automatically and I need to know the links of those downloads during or after the download and the link is not available in the page.
How can I get the URL of the files that started downloading automatically?
If you are using Chrome to run your selenium scripts you can just navigate to the chrome://downloads/ and get the latest download file's URL.
Or you can fire a Ctrl+J keyboard action to the browser using java robot classes and open the tab.
(Chrome downloads page is a html page and you can capture elements in it)