e9ac066faebbaa201e45107f9771b74e93f9f532
[taxeditor.git] / eu.etaxonomy.taxeditor.test / src / test / java / eu / etaxonomy / taxeditor / test / LoginTest.java
1 package eu.etaxonomy.taxeditor.test;
2
3 import org.eclipse.swtbot.eclipse.finder.waits.Conditions;
4 import org.junit.Test;
5
6
7 public class LoginTest extends AbstractEditorTest{
8
9 @Test
10 public void canLoginAsAdmin() throws Exception {
11 bot.menu("General").menu("Login").click();
12 bot.waitUntil(Conditions.shellIsActive("Login"));
13 bot.textWithLabel("Username").setText("admin");
14 bot.textWithLabel("Password").setText("0000");
15 bot.button("Cancel").click();
16 }
17
18 }