示例#1
0
  public void selectAll() {
    invoiceMenuItem.mouseOver();
    invoicesListItem.assertClick();

    WebLocator waiting = new WebLocator().setText("Se încarcă...");
    ConditionManager conditionManager =
        new ConditionManager().add(new ElementRemovedSuccessCondition(waiting));
    Condition condition = conditionManager.execute();

    closePromo.click();

    if (seeInvoices.isElementPresent()) {
      seeInvoices.assertClick();
    }

    closePromo.click();

    selectAllButton.assertClick();
  }
示例#2
0
 public void payAll() {
   payAllButton.assertClick();
 }