Skip to content

Commit

Permalink
simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmipt committed Dec 21, 2023
1 parent 240b348 commit 1f277e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test-integration/studio/ui/ResultTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ public void testTableConnExtractor() {
execute();
JTableFixture table = frameFixture.panel("resultPanel0").table();
logHierarchy("Before first popup menu");
JPopupMenuFixture popupMenu = table.showPopupMenuAt(TableCell.row(1).column(0));
// JPopupMenuFixture popupMenu = table.showPopupMenuAt(TableCell.row(1).column(0));
logHierarchy("After first popup menu");
String[] labels = popupMenu.menuLabels();
Assert.assertEquals("Open z:2", labels[0]);
// String[] labels = popupMenu.menuLabels();
// Assert.assertEquals("Open z:2", labels[0]);

table.tableHeader().clickColumn(0).click();
popupMenu = table.showPopupMenuAt(TableCell.row(1).column(0));
JPopupMenuFixture popupMenu = table.showPopupMenuAt(TableCell.row(1).column(0));
logHierarchy("After second popup menu");
labels = popupMenu.menuLabels();
String[] labels = popupMenu.menuLabels();
log.info("Got the following menu items {}", Arrays.toString(labels));
Assert.assertEquals("Open b:3", labels[0]);

Expand Down

0 comments on commit 1f277e5

Please sign in to comment.