Commit 62513ecf authored by Robert Smith's avatar Robert Smith

Fixed SWTBot tests

Updated the SWTBot tests to work with the latest version of ICE.
Signed-off-by: Robert Smith's avatarRobert Smith <smithrw@ornl.gov>
parent 27a0577b
...@@ -35,7 +35,7 @@ public class MOOSETester extends AbstractWorkbenchTester { ...@@ -35,7 +35,7 @@ public class MOOSETester extends AbstractWorkbenchTester {
bot.menu("Window").menu("Perspective").menu("Open Perspective") bot.menu("Window").menu("Perspective").menu("Open Perspective")
.menu("Other...").click(); .menu("Other...").click();
bot.table(0).select("MOOSE"); bot.table(0).select("MOOSE");
bot.button("OK").click(); bot.button().click();
// Select fork the stork // Select fork the stork
bot.menu("Developer").menu("Framework").menu("MOOSE") bot.menu("Developer").menu("Framework").menu("MOOSE")
......
...@@ -62,10 +62,13 @@ public class MaterialsDatabaseTester extends AbstractSWTTester { ...@@ -62,10 +62,13 @@ public class MaterialsDatabaseTester extends AbstractSWTTester {
bot.viewByTitle("Welcome").close(); bot.viewByTitle("Welcome").close();
// Open the ICE perspective // Open the ICE perspective
bot.menu("Window");
bot.menu("Window").menu("Perspective");
bot.menu("Window").menu("Perspective").menu("Open Perspective");
bot.menu("Window").menu("Perspective").menu("Open Perspective") bot.menu("Window").menu("Perspective").menu("Open Perspective")
.menu("Other...").click(); .menu("Other...").click();
bot.table(0).select("ICE"); bot.table(0).select("ICE");
bot.button("OK").click(); bot.button().click();
// Open the materials database // Open the materials database
bot.toolbarButtonWithTooltip("Edit Materials Database").click(); bot.toolbarButtonWithTooltip("Edit Materials Database").click();
......
...@@ -64,7 +64,7 @@ public class ReflectivityModelTester extends AbstractWorkbenchTester { ...@@ -64,7 +64,7 @@ public class ReflectivityModelTester extends AbstractWorkbenchTester {
bot.menu("Window").menu("Perspective").menu("Open Perspective") bot.menu("Window").menu("Perspective").menu("Open Perspective")
.menu("Other...").click(); .menu("Other...").click();
bot.table(0).select("ICE"); bot.table(0).select("ICE");
bot.button("OK").click(); bot.button().click();
// Create a new reflectivity model item // Create a new reflectivity model item
bot.toolbarButtonWithTooltip("Create an Item").click(); bot.toolbarButtonWithTooltip("Create an Item").click();
......
...@@ -52,7 +52,7 @@ public class VIBEKeyValuePairTester extends AbstractWorkbenchTester { ...@@ -52,7 +52,7 @@ public class VIBEKeyValuePairTester extends AbstractWorkbenchTester {
bot.menu("Window").menu("Perspective").menu("Open Perspective") bot.menu("Window").menu("Perspective").menu("Open Perspective")
.menu("Other...").click(); .menu("Other...").click();
bot.table(0).select("ICE"); bot.table(0).select("ICE");
bot.button("OK").click(); bot.button().click();
// Create a new reflectivity model item // Create a new reflectivity model item
bot.toolbarButtonWithTooltip("Create an Item").click(); bot.toolbarButtonWithTooltip("Create an Item").click();
......
...@@ -52,7 +52,7 @@ public class VIBELauncherTester extends AbstractWorkbenchTester { ...@@ -52,7 +52,7 @@ public class VIBELauncherTester extends AbstractWorkbenchTester {
bot.menu("Window").menu("Perspective").menu("Open Perspective") bot.menu("Window").menu("Perspective").menu("Open Perspective")
.menu("Other...").click(); .menu("Other...").click();
bot.table(0).select("ICE"); bot.table(0).select("ICE");
bot.button("OK").click(); bot.button().click();
// Create a new reflectivity model item // Create a new reflectivity model item
bot.toolbarButtonWithTooltip("Create an Item").click(); bot.toolbarButtonWithTooltip("Create an Item").click();
......
...@@ -37,7 +37,7 @@ public class VIBEModelTester extends AbstractWorkbenchTester { ...@@ -37,7 +37,7 @@ public class VIBEModelTester extends AbstractWorkbenchTester {
bot.menu("Window").menu("Perspective").menu("Open Perspective") bot.menu("Window").menu("Perspective").menu("Open Perspective")
.menu("Other...").click(); .menu("Other...").click();
bot.table(0).select("ICE"); bot.table(0).select("ICE");
bot.button("OK").click(); bot.button().click();
// Create a new reflectivity model item // Create a new reflectivity model item
bot.toolbarButtonWithTooltip("Create an Item").click(); bot.toolbarButtonWithTooltip("Create an Item").click();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment