mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: Changes the DatabaseSelector to use the new Select component (#16334)
This commit is contained in:
committed by
GitHub
parent
0cdc7675b4
commit
c768941f2f
@@ -81,9 +81,13 @@ describe('Left Panel Expansion', () => {
|
||||
</Provider>
|
||||
</ThemeProvider>,
|
||||
);
|
||||
const dbSelect = screen.getByText(/select a database/i);
|
||||
const schemaSelect = screen.getByText(/select a schema \(0\)/i);
|
||||
const dropdown = screen.getByText(/Select table/i);
|
||||
const dbSelect = screen.getByRole('combobox', {
|
||||
name: 'Select a database',
|
||||
});
|
||||
const schemaSelect = screen.getByRole('combobox', {
|
||||
name: 'Select a schema',
|
||||
});
|
||||
const dropdown = screen.getByText(/Select a table/i);
|
||||
const abUser = screen.getByText(/ab_user/i);
|
||||
expect(dbSelect).toBeInTheDocument();
|
||||
expect(schemaSelect).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user