mirror of
https://github.com/apache/superset.git
synced 2026-04-09 19:35:21 +00:00
refactor: Bootstrap to AntD - ListGroup (#13996)
* refactor: Bootstrap to AntD - ListGroup * Improves theme handling on touched files
This commit is contained in:
committed by
GitHub
parent
b77477a9dd
commit
c8a794368d
@@ -121,14 +121,12 @@ describe('ShareSqlLabQuery', () => {
|
||||
remoteId: undefined,
|
||||
},
|
||||
};
|
||||
await act(async () => {
|
||||
render(<ShareSqlLabQuery {...updatedProps} />, {
|
||||
wrapper: standardProvider,
|
||||
});
|
||||
|
||||
render(<ShareSqlLabQuery {...updatedProps} />, {
|
||||
wrapper: standardProvider,
|
||||
});
|
||||
const button = screen.getByRole('button', { name: /copy link/i });
|
||||
const style = window.getComputedStyle(button);
|
||||
expect(style.color).toBe('rgb(102, 102, 102)');
|
||||
const button = await screen.findByRole('button', { name: /copy link/i });
|
||||
expect(button).toBeDisabled();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user