Insert seleniumTest for ColorPickerLayout
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
This commit is contained in:
@@ -13,6 +13,7 @@ import java.util.Set;
|
|||||||
|
|
||||||
import org.eclipse.hawkbit.ui.common.CoordinatesToColor;
|
import org.eclipse.hawkbit.ui.common.CoordinatesToColor;
|
||||||
import org.eclipse.hawkbit.ui.management.tag.SpColorPickerPreview;
|
import org.eclipse.hawkbit.ui.management.tag.SpColorPickerPreview;
|
||||||
|
import org.eclipse.hawkbit.ui.utils.SPUIComponentIdProvider;
|
||||||
|
|
||||||
import com.vaadin.shared.ui.colorpicker.Color;
|
import com.vaadin.shared.ui.colorpicker.Color;
|
||||||
import com.vaadin.ui.AbstractColorPicker.Coordinates2Color;
|
import com.vaadin.ui.AbstractColorPicker.Coordinates2Color;
|
||||||
@@ -47,6 +48,7 @@ public class ColorPickerLayout extends GridLayout {
|
|||||||
|
|
||||||
setColumns(2);
|
setColumns(2);
|
||||||
setRows(4);
|
setRows(4);
|
||||||
|
setId(SPUIComponentIdProvider.COLOR_PICKER_LAYOUT);
|
||||||
|
|
||||||
init();
|
init();
|
||||||
|
|
||||||
|
|||||||
@@ -302,6 +302,11 @@ public final class SPUIComponentIdProvider {
|
|||||||
* tag color preview button id.
|
* tag color preview button id.
|
||||||
*/
|
*/
|
||||||
public static final String TAG_COLOR_PREVIEW_ID = "tag.color.preview";
|
public static final String TAG_COLOR_PREVIEW_ID = "tag.color.preview";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Id for ColorPickerLayout
|
||||||
|
*/
|
||||||
|
public static final String COLOR_PICKER_LAYOUT = "color.picker.layout";
|
||||||
/**
|
/**
|
||||||
* Confirmation dialogue OK button id.
|
* Confirmation dialogue OK button id.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user