Skip to content

Commit

Permalink
Placeholder change related test fixes (#1124) (#1126)
Browse files Browse the repository at this point in the history
* remove unused files



* missing snapshots



* fix one test



* update snapshots



---------



(cherry picked from commit 0eea820)

Signed-off-by: Eric Wei <menwe@amazon.com>
Signed-off-by: Eric <menwe@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent d5f8de7 commit bad632d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -1562,7 +1562,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -2757,7 +2757,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -3925,7 +3925,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -5152,7 +5152,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -6320,7 +6320,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -7540,7 +7540,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -8645,7 +8645,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -9812,7 +9812,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -10946,7 +10946,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -12139,7 +12139,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -13307,7 +13307,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -14534,7 +14534,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -15702,7 +15702,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -16931,7 +16931,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down Expand Up @@ -18181,7 +18181,7 @@ Object {
enterkeyhint="search"
id="autocomplete-textarea"
maxlength="512"
placeholder="Enter PPL query"
placeholder="Enter query"
rows="6"
spellcheck="false"
style="margin-top: 0px; height: 18px; padding: 8px;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ exports[`Log Config component renders empty log config 1`] = `
onClick={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder="Enter PPL query"
placeholder="Enter query"
spellCheck="false"
style={
Object {
Expand Down Expand Up @@ -545,7 +545,7 @@ exports[`Log Config component renders empty log config 1`] = `
onClick={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder="Enter PPL query"
placeholder="Enter query"
rows={6}
spellCheck="false"
style={
Expand Down Expand Up @@ -1138,7 +1138,7 @@ exports[`Log Config component renders with query 1`] = `
onClick={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder="Enter PPL query"
placeholder="Enter query"
spellCheck="false"
style={
Object {
Expand Down Expand Up @@ -1169,7 +1169,7 @@ exports[`Log Config component renders with query 1`] = `
onClick={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder="Enter PPL query"
placeholder="Enter query"
rows={6}
spellCheck="false"
style={
Expand Down
2 changes: 1 addition & 1 deletion public/components/common/search/autocomplete.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('renders autocomplete', function () {
/>
);

const searchBar = utils.getByPlaceholderText('Enter PPL query');
const searchBar = utils.getByPlaceholderText('Enter query');

it('handles query change', () => {
act(() => {
Expand Down

0 comments on commit bad632d

Please sign in to comment.