Skip to content
Snippets Groups Projects
Commit 050185bc authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#431 - use localization

parent 9112b03b
No related branches found
No related tags found
No related merge requests found
package de.deadlocker8.budgetmaster.integration;
import de.deadlocker8.budgetmaster.Main;
import de.thecodelabs.utils.util.Localization;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
......@@ -43,9 +44,9 @@ public class LoginControllerTest
assertNotNull(input);
WebElement label = driver.findElement(By.cssSelector(".input-field label"));
assertEquals("Password", label.getText());
assertEquals(Localization.getString("login.password"), label.getText());
WebElement button = driver.findElement(By.tagName("button"));
assertEquals("Login", IntegrationTestHelper.getTextNode(button));
assertEquals(Localization.getString("login.button"), IntegrationTestHelper.getTextNode(button));
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment