Revision f6827fd7
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/ui/dialogs/LoginDialogTest.java | ||
---|---|---|
1 | 1 |
package eu.etaxonomy.taxeditor.ui.dialogs; |
2 | 2 |
|
3 | 3 |
import org.eclipse.swtbot.eclipse.finder.waits.Conditions; |
4 |
import org.junit.Ignore; |
|
4 | 5 |
import org.junit.Test; |
5 | 6 |
|
6 | 7 |
import eu.etaxonomy.taxeditor.test.AbstractEditorTest; |
7 | 8 |
|
8 |
|
|
9 |
@Ignore |
|
9 | 10 |
public class LoginDialogTest extends AbstractEditorTest{ |
10 |
|
|
11 |
|
|
11 | 12 |
@Test |
12 | 13 |
public void canLoginAsAdmin() throws Exception { |
13 | 14 |
bot.menu("General").menu("Login").click(); |
... | ... | |
16 | 17 |
bot.textWithLabel("Password").setText("00000"); |
17 | 18 |
utils.ok(); |
18 | 19 |
} |
19 |
|
|
20 |
|
|
20 | 21 |
@Test |
21 | 22 |
public void canCancelLogin() throws Exception { |
22 | 23 |
bot.menu("General").menu("Login").click(); |
23 | 24 |
bot.waitUntil(Conditions.shellIsActive("Login")); |
24 | 25 |
utils.cancel(); |
25 | 26 |
} |
26 |
|
|
27 |
|
|
27 | 28 |
} |
Also available in: Unified diff
reset swtbot dependencies and set all swtbot tests to ignore for the moment