Univention Bugzilla – Bug 50982
86_selenium.137_appcenter fails on member and backup
Last modified: 2020-03-24 17:23:59 CET
Created attachment 10317 [details] error [2020-03-20 04:34:31.382649] File "137_appcenter", line 32, in <module> [2020-03-20 04:34:31.382957] umc_tester.test_umc() [2020-03-20 04:34:31.382999] File "137_appcenter", line 21, in test_umc [2020-03-20 04:34:31.383051] self.appcenter.install_app('dudle') [2020-03-20 04:34:31.383085] File "/usr/lib/python2.7/dist-packages/univention/testing/selenium/appcenter.py", line 107, in install_app [2020-03-20 04:34:31.383461] self.selenium.wait_for_text(_('Installing')) [2020-03-20 04:34:31.383504] File "/usr/lib/python2.7/dist-packages/univention/testing/selenium/checks_and_waits.py", line 51, in wait_for_text [2020-03-20 04:34:31.383680] self.get_all_visible_elements, 'waited %s seconds for text %r' % (timeout, text) [2020-03-20 04:34:31.383718] File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/wait.py", line 80, in until [2020-03-20 04:34:31.385314] raise TimeoutException(message, screen, stacktrace) [2020-03-20 04:34:31.385473] selenium.common.exceptions.TimeoutException: Message: waited 60 seconds for text 'Installing' [2020-03-20 04:34:31.385507] Looking at the screenshot from the test, it seems that some text does not appear in english. The test only looks for english text "Installing". The status information gets sent from the backend, which makes its translation decisions based on the system's locale. I believe this isn't a bug, but a design decision. The mystery is why this test only fails on member. My assumptions: - Setup differences - Tests that ran before changed something, the selenium tests get executed on the master part II test, so some tests run on the member that wont on the master.
0424af254a Bug #50982: fix 86_selenium.137_appcenter on member and backup Successful build Package: ucs-test Version: 9.0.3-180A~4.4.0.202003230903 Branch: ucs_4.4-0 Scope: errata4.4-3 The test now waits for text 'Installiere' as well. We'll see if this works.
Works on 4.4-3, but i forgot to port it to 4.4-4 as well. 330a9e6c2f Bug #50982: fix 86_selenium.137_appcenter on member and backup