Fix InternationalizationTest
This commit is contained in:
parent
83181f28b2
commit
8601b321d5
1 changed files with 2 additions and 0 deletions
|
@ -77,11 +77,13 @@ public class InternationalizationTest extends AbstractRealmTest {
|
|||
}
|
||||
|
||||
private void assertConsoleLocale(String expected) {
|
||||
pause(500);
|
||||
assertCurrentUrlEquals(realmSettingsPage);
|
||||
assertLocale(".//a[contains(@href,'/theme-settings')]", expected); // Themes
|
||||
}
|
||||
|
||||
private void assertAccountLocale(String expected) {
|
||||
pause(500);
|
||||
assertCurrentUrlEquals(accountPage);
|
||||
assertLocale(".//div[contains(@class,'bs-sidebar')]/ul/li", expected); // Account
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue