From b8e2faf476202b6ffe61bc3a9a37df1304881d40 Mon Sep 17 00:00:00 2001
From: Avi Ziv <avi.ziv@amdocs.com>
Date: Tue, 18 Jul 2017 19:45:38 +0300
Subject: [SDC] Onboarding 1710 rebase.

Change-Id: If3b6b81d221fde13908f1e8160db6f7d9433c535
Signed-off-by: Avi Ziv <avi.ziv@amdocs.com>
---
 openecomp-ui/src/nfvo-components/input/ExpandableInput.jsx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'openecomp-ui/src/nfvo-components/input/ExpandableInput.jsx')

diff --git a/openecomp-ui/src/nfvo-components/input/ExpandableInput.jsx b/openecomp-ui/src/nfvo-components/input/ExpandableInput.jsx
index e2ee40fcd2..eab1d45ef4 100644
--- a/openecomp-ui/src/nfvo-components/input/ExpandableInput.jsx
+++ b/openecomp-ui/src/nfvo-components/input/ExpandableInput.jsx
@@ -15,11 +15,11 @@
  */
 import React from 'react';
 import ReactDOM from 'react-dom';
-import SVGIcon from 'nfvo-components/icon/SVGIcon.jsx';
+import SVGIcon from 'sdc-ui/lib/react/SVGIcon.js';
 import Input from 'nfvo-components/input/validation/InputWrapper.jsx';
 
 const ExpandableInputClosed = ({iconType, onClick}) => (
-	<SVGIcon className='expandable-input-wrapper closed' name={iconType} onClick={onClick} />
+	<SVGIcon className='expandable-input-wrapper closed'  data-test-id='expandable-input-closed' name={iconType} onClick={onClick} />
 );
 
 class ExpandableInputOpened extends React.Component {
@@ -58,6 +58,7 @@ class ExpandableInputOpened extends React.Component {
 				<div className='expandable-input-wrapper opened' key='expandable'>
 					<Input
 						type='text'
+						data-test-id='expandable-input-opened'
 						value={value}
 						ref={(input) => this.searchInputNode = input}
 						className='expandable-active'
@@ -65,7 +66,7 @@ class ExpandableInputOpened extends React.Component {
 						onChange={e => onChange(e)}
 						onKeyDown={e => this.handleKeyDown(e)}
 						onBlur={handleBlur}/>
-					{value && <SVGIcon onClick={() => this.handleClose()} name='close' />}
+					{value && <SVGIcon data-test-id='expandable-input-close-btn' onClick={() => this.handleClose()} name='close' />}
 					{!value && <SVGIcon name={iconType} onClick={handleBlur}/>}
 				</div>
 		);
-- 
cgit 1.2.3-korg

