diff --git a/superset-frontend/src/SqlLab/components/SqlEditorLeftBar/SqlEditorLeftBar.test.jsx b/superset-frontend/src/SqlLab/components/SqlEditorLeftBar/SqlEditorLeftBar.test.jsx
index 2c816d0e8447b..b3ef02743ffed 100644
--- a/superset-frontend/src/SqlLab/components/SqlEditorLeftBar/SqlEditorLeftBar.test.jsx
+++ b/superset-frontend/src/SqlLab/components/SqlEditorLeftBar/SqlEditorLeftBar.test.jsx
@@ -91,10 +91,10 @@ test('table should be visible when expanded is true', async () => {
const { container } = await renderAndWait(mockedProps, store);
const dbSelect = screen.getByRole('combobox', {
- name: 'Select database or type database name',
+ name: 'Select database or type to search databases',
});
const schemaSelect = screen.getByRole('combobox', {
- name: 'Select schema or type schema name',
+ name: 'Select schema or type to search schemas',
});
const dropdown = screen.getByText(/Table/i);
const abUser = screen.queryAllByText(/ab_user/i);
diff --git a/superset-frontend/src/components/DatabaseSelector/DatabaseSelector.test.tsx b/superset-frontend/src/components/DatabaseSelector/DatabaseSelector.test.tsx
index 57b6a539ae188..ce2016a8aa9ce 100644
--- a/superset-frontend/src/components/DatabaseSelector/DatabaseSelector.test.tsx
+++ b/superset-frontend/src/components/DatabaseSelector/DatabaseSelector.test.tsx
@@ -186,7 +186,7 @@ test('Refresh should work', async () => {
expect(fetchMock.calls(schemaApiRoute).length).toBe(0);
const select = screen.getByRole('combobox', {
- name: 'Select schema or type schema name',
+ name: 'Select schema or type to search schemas',
});
userEvent.click(select);
@@ -215,7 +215,7 @@ test('Should database select display options', async () => {
const props = createProps();
render(, { useRedux: true });
const select = screen.getByRole('combobox', {
- name: 'Select database or type database name',
+ name: 'Select database or type to search databases',
});
expect(select).toBeInTheDocument();
userEvent.click(select);
@@ -237,7 +237,7 @@ test('should show empty state if there are no options', async () => {
{ useRedux: true },
);
const select = screen.getByRole('combobox', {
- name: 'Select database or type database name',
+ name: 'Select database or type to search databases',
});
userEvent.click(select);
const emptystate = await screen.findByText('empty');
@@ -249,7 +249,7 @@ test('Should schema select display options', async () => {
const props = createProps();
render(, { useRedux: true });
const select = screen.getByRole('combobox', {
- name: 'Select schema or type schema name',
+ name: 'Select schema or type to search schemas',
});
expect(select).toBeInTheDocument();
userEvent.click(select);
@@ -265,7 +265,7 @@ test('Sends the correct db when changing the database', async () => {
const props = createProps();
render(, { useRedux: true });
const select = screen.getByRole('combobox', {
- name: 'Select database or type database name',
+ name: 'Select database or type to search databases',
});
expect(select).toBeInTheDocument();
userEvent.click(select);
@@ -285,7 +285,7 @@ test('Sends the correct schema when changing the schema', async () => {
const props = createProps();
render(, { useRedux: true });
const select = screen.getByRole('combobox', {
- name: 'Select schema or type schema name',
+ name: 'Select schema or type to search schemas',
});
expect(select).toBeInTheDocument();
userEvent.click(select);
diff --git a/superset-frontend/src/components/DatabaseSelector/index.tsx b/superset-frontend/src/components/DatabaseSelector/index.tsx
index d78a94bde60fc..65b93d356126d 100644
--- a/superset-frontend/src/components/DatabaseSelector/index.tsx
+++ b/superset-frontend/src/components/DatabaseSelector/index.tsx
@@ -273,7 +273,7 @@ export default function DatabaseSelector({
function renderDatabaseSelect() {
return renderSelectRow(
{t('Database')}}
@@ -281,7 +281,7 @@ export default function DatabaseSelector({
notFoundContent={emptyState}
onChange={changeDataBase}
value={currentDb}
- placeholder={t('Select database or type database name')}
+ placeholder={t('Select database or type to search databases')}
disabled={!isDatabaseSelectEnabled || readOnly}
options={loadDatabases}
/>,
@@ -298,14 +298,14 @@ export default function DatabaseSelector({
);
return renderSelectRow(