Skip to content

Instantly share code, notes, and snippets.

/*
* JBoss, Home of Professional Open Source
* Copyright 2010-2015, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
@jstefek
jstefek / release-settings.xml
Created November 26, 2014 09:57
richfaces release settings
<settings>
<localRepository>/home/hudson/users-tmp/lfryc/richfaces-release-m2-repo</localRepository>
<mirrors>
<mirror>
<id>jboss-staging-repository-group</id>
<mirrorOf>!jboss-qa-releases,!jboss-public-repository-group,central</mirrorOf>
<name>JBoss.org Staging Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/staging</url>
</mirror>
</mirrors>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
driver.findElements(By.cssSelector("div.rf-edt[id$=richEDT] .rf-edt-b .rf-edt-cnt tr");//30, OK
driver.findElement(By.cssSelector("div.rf-edt[id$=richEDT]")).findElements(By.cssSelector(".rf-edt-b .rf-edt-cnt tr"); //41, KO
driver.findElement(By.cssSelector("div.rf-edt[id$=richEDT]")).findElements(ByJQuery.cssSelector(".rf-edt-b .rf-edt-cnt tr");//41, KO
driver.findElement(By.cssSelector("div.rf-edt[id$=richEDT]")).findElements(ByJQuery.selector(".rf-edt-b .rf-edt-cnt tr");//30, OK
mvn -Dtest=org.richfaces.tests.metamer.ftest.richExtendedDataTable.TestExtendedDataTableSimple#testFirst -Dtemplates=edt -DexpludedGroups=Future,extended -Pwildfly-managed-8-1 clean test
@jstefek
jstefek / storage
Last active August 29, 2015 14:00
public class AttributeSetup<T> { // better name ?
private final T defaultValue;
private T actualValue;
public AttributeSetup(T defaultValue) {
if (defaultValue == null) {
throw new IllegalArgumentException("Default value cannot be null!");
}
this.defaultValue = defaultValue;
package org.richfaces.fragment.dataTable;
import java.util.List;
import org.jboss.arquillian.graphene.Graphene;
import org.jboss.arquillian.graphene.fragment.Root;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.richfaces.fragment.common.picker.ChoicePicker;