Skip to content

Commit

Permalink
Fixing an e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisEugeneMSFT committed Aug 5, 2020
1 parent a17ed0a commit c33a23b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const ExpressionEditor: React.FC<FieldProps> = (props) => {

return (
<IntellisenseTextField
id={id}
id={`intellisense-${id}`}
projectId={projectId}
scopes={['expressions', 'user-variables']}
url={getIntellisenseUrl()}
Expand All @@ -25,6 +25,7 @@ const ExpressionEditor: React.FC<FieldProps> = (props) => {
>
{(textFieldValue, onValueChanged, onKeyDownTextField, onKeyUpTextField, onClickTextField) => (
<TextField
id={id}
disabled={disabled}
errorMessage={error}
placeholder={placeholder}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ export const IntellisenseField: React.FC<FieldProps<string>> = function Intellis
<FieldLabel description={description} helpLink={uiOptions?.helpLink} id={id} label={label} required={required} />

<IntellisenseTextField
id={id}
id={`intellisense-${id}`}
scopes={uiOptions.intellisenseScopes || []}
url={getIntellisenseUrl()}
value={value}
onChange={onChange}
>
{(textFieldValue, onValueChanged, onKeyDownTextField, onKeyUpTextField, onClickTextField) => (
<TextField
id={id}
value={textFieldValue}
onChange={(_e, newValue) => onValueChanged(newValue || '')}
onClick={onClickTextField}
Expand Down

0 comments on commit c33a23b

Please sign in to comment.