taxeditor/eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/test/LoginTest.java @ 28b8707a
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 |
}
|
- « Previous
- 1
- 2
- 3
- 4
- Next »