@Override public void perform() { Graphene.waitGui().until().element(advanced().getItemsElements().get(0)).attribute("class").not().contains("rf-ord-sel"); } }).perform();
protected void checkAttributeValueContains(AttributeBuilder<?> textInputValue) { textInput.clear(); textInputValue.not().contains("Tested"); textInput.sendKeys("Tested Header"); textInputValue.contains("Tested"); }
protected void checkAttributeValueContains(AttributeBuilder<?> textInputValue) { textInput.clear(); textInputValue.not().contains("Tested"); textInput.sendKeys("Tested Header"); textInputValue.contains("Tested"); }
protected void checkElementTextContains(ElementBuilder<?> header) { textInput.clear(); textInput.sendKeys("florence and the machine"); updateButton.click(); header.text().contains("machine"); textInput.clear(); textInput.sendKeys("Tested Header"); updateButton.click(); header.text().not().contains("machine"); }
protected void checkElementTextContains(ElementBuilder<?> header) { textInput.clear(); textInput.sendKeys("florence and the machine"); updateButton.click(); header.text().contains("machine"); textInput.clear(); textInput.sendKeys("Tested Header"); updateButton.click(); header.text().not().contains("machine"); }
@Override public void perform() { Graphene.waitGui().until().element(getRootElement()).attribute("class").not().contains(getStyleClassForSelectedItem()); } })
@Override public void deselectRow(int rowIndex, Keys... keys) { clickOnRow(rowIndex, keys); Graphene.waitAjax().until().element(advanced().getTableRowsElements().get(rowIndex)).attribute("class").not() .contains(advanced().getStyleClassForSelectedRow()); }
@Test public void testElementTextContainsWithBy() { textInput.clear(); textInput.sendKeys("florence and the machine"); updateButton.click(); Graphene.waitModel().until().element(BY_HEADER).text().contains("machine"); textInput.clear(); textInput.sendKeys("Tested Header"); updateButton.click(); Graphene.waitModel().until().element(BY_HEADER).text().not().contains("machine"); }
@Test public void testElementTextContains() { textInput.clear(); textInput.sendKeys("florence and the machine"); updateButton.click(); Graphene.waitModel().until().element(header).text().contains("machine"); textInput.clear(); textInput.sendKeys("Tested Header"); updateButton.click(); Graphene.waitModel().until().element(header).text().not().contains("machine"); }
@Test public void testElementTextContainsWithBy() { textInput.clear(); textInput.sendKeys("florence and the machine"); updateButton.click(); Graphene.waitModel().until().element(BY_HEADER).text().contains("machine"); textInput.clear(); textInput.sendKeys("Tested Header"); updateButton.click(); Graphene.waitModel().until().element(BY_HEADER).text().not().contains("machine"); }
@Test public void testElementTextContains() { textInput.clear(); textInput.sendKeys("florence and the machine"); updateButton.click(); Graphene.waitModel().until().element(header).text().contains("machine"); textInput.clear(); textInput.sendKeys("Tested Header"); updateButton.click(); Graphene.waitModel().until().element(header).text().not().contains("machine"); }
@Test public void testAttributeValueContains() { textInput.clear(); Graphene.waitModel().until().element(textInput).value().not().contains("Tested"); textInput.sendKeys("Tested Header"); Graphene.waitModel().until().element(textInput).value().contains("Tested"); }
@Test public void testAttributeValueContains() { textInput.clear(); Graphene.waitModel().until().element(textInput).value().not().contains("Tested"); textInput.sendKeys("Tested Header"); Graphene.waitModel().until().element(textInput).value().contains("Tested"); }