1 package eu
.etaxonomy
.taxeditor
.ui
.dialogs
;
3 import org
.eclipse
.swtbot
.eclipse
.finder
.waits
.Conditions
;
4 import org
.junit
.Ignore
;
7 import eu
.etaxonomy
.taxeditor
.test
.AbstractEditorTest
;
10 public class LoginDialogTest
extends AbstractEditorTest
{
13 public void canLoginAsAdmin() throws Exception
{
14 bot
.menu("General").menu("Login").click();
15 bot
.waitUntil(Conditions
.shellIsActive("Login"));
16 bot
.textWithLabel("Username").setText("admin");
17 bot
.textWithLabel("Password").setText("00000");
22 public void canCancelLogin() throws Exception
{
23 bot
.menu("General").menu("Login").click();
24 bot
.waitUntil(Conditions
.shellIsActive("Login"));