Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login takes too long, when executing on SauceLabs #298

Open
adrianna-u opened this issue Mar 11, 2021 · 2 comments
Open

Login takes too long, when executing on SauceLabs #298

adrianna-u opened this issue Mar 11, 2021 · 2 comments

Comments

@adrianna-u
Copy link

Hi,
we have common problem on all tests using sapcloud-form authentication, when test is executed on SauceLabs.

It takes >60 seconds to load login page, enter user and password and redirect to the application page.
The Login page take few seconds to load, then it takes very long ( >20 seconds) till user name is entered, then again it takes very long (>20 seconds) till password is entered.
As result the initil load of the applciation takes almost 2 minutes and we have to configure
defaultTimeoutInterval : 90000, // default 30000

One example is https://app.eu-central-1.saucelabs.com/tests/dc47d9cd9cbe4675a0a2411916402902#3

The same execution locally (also with user password, no SSO!) takes only few seconds.

So my quesiton is, if this is known, and if there is any additional logic from UIVeri5 executed, when running on SauceLabs? Or is it the latency to SauceLabs? Can this be improved?

Thanks,
Adrianna

@maximnaidenov
Copy link
Contributor

Hi Adrianna, UIVeri5 only drives the browser, it does not interfere in any way in the actual browser work. Is the page so slow to render or only the user and password are entered slowly ? If it seems the IDP that you use is really slow from saucelabs, maybe you can validate by manually starting a session in Saucelabs and entering the url in the browser.

@adrianna-u
Copy link
Author

Hi,
thanks for the hint, I have executed on Suace Labs manually, the problem can not be reproduced.

But we discovered, this problem is occuring only when executing on Chrome.
Seems uiveri5 is waiting on something on Chrome (on the focus on the text field?).

You can compare the same test, executed
once on Chrome
https://app.eu-central-1.saucelabs.com/tests/95f82f148438438b9a235aa632a831bf#3

once on Firefox
https://app.eu-central-1.saucelabs.com/tests/311a94659f454b3bb55f800e7ec13f41#1

Is there something partiucular about loading page with Chrome? Is this known problem?
We have network and performance captured for both executions on SauceLabs, but we could not find the root couse.

Thanks
Adrianna

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants