Taiko: Avoid blocking information from the current tab to an external modal

Created on 1 Mar 2019  路  7Comments  路  Source: getgauge/taiko

I'm facing the following issue

As part of my e2e test, I have to pass information (token, SessionID, and others) to another external webpage (modal, popup) when clicking a button.

I noticed when clicking a button the modal is being opened but it remains blank. So I'm under the impression that Chromium is blocking data passing from the current tab to the external modal.

I created the same script using another automation library that uses Chrome instead of Chromium and the modal is being loaded with the proper information as expected.

Any thoughts about which args should I pass to Chromium to avoid blocking data from the current tab to the external modal?

I have attached the screenshot by using taiko.

screen shot 2019-03-02 at 12 01 11 am

I have attached the screenshot about the modal using another automation library

screen shot 2019-03-01 at 10 30 54 pm

Most helpful comment

Fix available in 6b6cba8

All 7 comments

Can you please give repro for this scenario ?

What do you mean with repro?

some script that we can use to reproduce the scenario you are facing

I just shared to you a private repo with a simple script with test credentials where you can see the issue when pressing the PayPal button.

In addition as part of the script, there is a button called "GUARDAR Y CONTINUAR" - I got a timeout from taiko even when is pressed. It's weird.

Thanks for your help!

Fix available in 6b6cba8

thank you very much!

This issue has been verified and found fixed with 6d41672

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lchrennew picture lchrennew  路  3Comments

rmallof picture rmallof  路  4Comments

crogger62 picture crogger62  路  5Comments

rmallof picture rmallof  路  8Comments

tkshnwesper picture tkshnwesper  路  8Comments