mirror of
https://github.com/apache/superset.git
synced 2026-05-06 16:34:32 +00:00
fix(ui): bump AntD to 5.26.0 to fix Splitter drag menu issue (#35782)
This commit is contained in:
@@ -111,7 +111,7 @@ describe('EstimateQueryCostButton', () => {
|
||||
});
|
||||
|
||||
test('renders estimation success result', async () => {
|
||||
const { queryByText, getByText } = setup(
|
||||
const { queryByText, getByText, findByTitle } = setup(
|
||||
{},
|
||||
mockStore({
|
||||
...initialState,
|
||||
@@ -129,7 +129,7 @@ describe('EstimateQueryCostButton', () => {
|
||||
|
||||
expect(queryByText('Estimate cost')).toBeInTheDocument();
|
||||
fireEvent.click(getByText('Estimate cost'));
|
||||
|
||||
expect(queryByText('Total cost')).toBeInTheDocument();
|
||||
const totalCostTitle = await findByTitle('Total cost');
|
||||
expect(totalCostTitle).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user