Skip to content

Commit

Permalink
Adding more fixes in test for new wizard shell name change
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Dockal <odockal@redhat.com>
  • Loading branch information
odockal committed Oct 20, 2020
1 parent a619509 commit 8de6002
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static void createGeneralProjectAndXsdFile() {
new ProjectExplorer().getProject("test").select();

new ShellMenuItem("File", "New", "Other...").select();
new DefaultShell("New");
new DefaultShell("Select a wizard");
new DefaultTreeItem("XML", "XML Schema File").select();
new PushButton("Next >").click();
new PushButton("Finish").click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void setName() {

@After
public void closeAll() {
ShellIsAvailable shell = new ShellIsAvailable("New");
ShellIsAvailable shell = new ShellIsAvailable("Select a wizard");
new WaitUntil(shell, TimePeriod.SHORT, false);
if (shell.getResult() != null) {
new DefaultShell().close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void prepare() {
// new DefaultShell("Spring Tool Tips").close();
new WorkbenchShell();
new ShellMenuItem("File","New","Other...").select();
new DefaultShell("New");
new DefaultShell("Select a wizard");
new DefaultTreeItem("General","Project").select();
new PushButton("Next >").click();
Shell projectShell = new DefaultShell("New Project");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void defaultTextTest() {
@Test
public void testInDialog() {
new ShellMenuItem("File", "New", "Other...").select();
new DefaultShell("New");
new DefaultShell("Select a wizard");
Text t = new DefaultText(0);
t.setText("myvalue");
assertTrue(t.getText().equals("myvalue"));
Expand Down

0 comments on commit 8de6002

Please sign in to comment.