-
Notifications
You must be signed in to change notification settings - Fork 66
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
Airgun tests are slow when used on remote webdriver #328
Comments
|
Overall, it is expected that WebUI is always work slower than any other non-UI interaction like REST API or Hammer CLI. Also, we put the most complex system tests only in webUI part which take most execution time. One RHEL repo sync operation can take more time than whole module for other tests, so sometimes performance degrade on other things than clicks or fills |
We definitely have things to improve like navigation or read of specific entries, not whole pages, but we need proper priority to work on this items |
so @swadeley please provide exact issues with airgun framework (not robotello, not navmazing, not widgetastic, not selenium) that you like to be fixed |
re: text input - I think that in old-fashioned way we used to use ( simple robottelo tests demonstrate it well: from airgun.session import Session
from robottelo.ui.session import Session as Session2
from robottelo.test import UITestCase
def test_login_airgun():
with(Session('login', 'admin', 'changeme')):
pass
class LoginTestCase(UITestCase):
def test_login(self):
with(Session2(self)):
pass Note that in order to make the 'old-fashioned' test to work, one needs to comment out Running these tests in parallel reveals that airgun is slower in populating the form and sending it. |
@oshtaier I will leave this issue for others to discuss the work that needs to be done to make the test system faster. I just gave example of Sync Plans failing because system is too slow, not that they themselves are sending too much text. Thank you |
The web UI tests are too slow and some are currently not achieving
anything, other than slowing down the unit under test, because they fail
due to time sensitive tests taking longer to set up then the time
allowed. For example, sync plan tests.
The airgun tests send one character at a time when filling in text
fields. The code should be improved to send one string a time.
I have been told this is likely an upstream issue, in which case please file bug or raise issue there and link from here for tracking.
Thank you
The text was updated successfully, but these errors were encountered: