File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
nextcloudappstore/core/tests/e2e Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1+ from selenium .webdriver .support .expected_conditions import staleness_of
12from selenium .webdriver .support .select import Select
23from selenium .webdriver .support .wait import WebDriverWait
34
5+ from nextcloudappstore .core .tests .e2e import SELENIUM_WAIT_SEC
46from nextcloudappstore .core .tests .e2e .base import BaseStoreTest
57
68from django .test import tag
@@ -17,6 +19,6 @@ def test_change_lang(self):
1719 lang .select_by_value ('de' )
1820 elem .submit ()
1921
20- self .go_to ( 'user:account-change-language' )
22+ WebDriverWait ( self .selenium , SELENIUM_WAIT_SEC ). until ( staleness_of ( elem ) )
2123 account_link = self .findNavigationLink ('user:account' )
2224 self .assertEqual ('Konto' , account_link .text )
You can’t perform that action at this time.
0 commit comments