tmf: Add a more reliable way to get the active editor with SWTBot
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui.swtbot.tests / src / org / eclipse / tracecompass / tmf / ui / swtbot / tests / wizards / StandardImportGzipTraceTest.java
index 3b1d112070f45d3cd19ca8c67975695cc4af1b43..a7ad2397522e2182051150580d14e7ceec475064 100644 (file)
@@ -168,7 +168,7 @@ public class StandardImportGzipTraceTest {
         /*
          * Check results
          */
-        SWTBot editorBot = fBot.activeEditor().bot();
+        SWTBot editorBot = SWTBotUtils.activeEventsEditor(fBot).bot();
         SWTBotTable editorTable = editorBot.table();
         final String expectedContent1 = "Type-1";
         final String expectedContent2 = "";
This page took 0.113127 seconds and 5 git commands to generate.