/** * Simulates a user right-clicking this fixture's table cell. * * @return this fixture. * @throws IllegalStateException if this fixture's {@code JTable} is disabled. * @throws IllegalStateException if this fixture's {@code JTable} is not showing on the screen. */ @Override @Nonnull public JTableCellFixture rightClick() { return click(RIGHT_BUTTON); }
while (table.cell(TableCell.row(0).column(0)).value().equals("[..]")) { LOGGER.info("Clicking on [..]"); table.cell("[..]").click(); table.pressAndReleaseKey(KeyPressInfo.keyCode('\n')); Thread.sleep(250); vfsBrowserDialog.textBox("VfsBrowser.filter").setText(name); vfsBrowserDialog.button("VfsBrowser.refresh").click(); await().ignoreExceptions().until(() -> table.cell(TableCell.row(1).column(0)).click()); vfsBrowserDialog.button("VfsBrowser.open").click(); LOGGER.info(" file " + file.getAbsolutePath() + " opened");