Test fixes

This commit is contained in:
dragonmacher 2024-08-19 16:32:24 -04:00
parent 90f712fc00
commit 2ebd43f3c6

View File

@ -416,7 +416,8 @@ public class DualProgramTest extends DiffTestAdapter {
openSecondProgram(diffTestP1, diffTestP2);
JTree tree = findComponent(tool.getToolFrame(), JTree.class);
selectTreeNodeByText(tree, "DiffTestPgm1");
performAction(removeView, true);
ActionContext context = runSwing(() -> programTreeProvider.getActionContext(null));
performAction(removeView, context, true);
topOfFile(fp1);
assertNull(cb.getCurrentAddress());
bottomOfFile(fp1);