mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-25 01:18:14 +00:00
GEN-2186: Fix Updating sampling config from deep link issue (#18916)
This commit is contained in:
parent
28f551d20a
commit
dbd9311a2c
@ -493,9 +493,12 @@ test(
|
|||||||
await page.getByTestId('profiler').click();
|
await page.getByTestId('profiler').click();
|
||||||
await page
|
await page
|
||||||
.getByTestId('profiler-tab-left-panel')
|
.getByTestId('profiler-tab-left-panel')
|
||||||
.getByText('Table Profile')
|
.getByText('Data Quality')
|
||||||
.click();
|
.click();
|
||||||
|
|
||||||
|
await page.reload();
|
||||||
|
await page.waitForLoadState('networkidle');
|
||||||
|
|
||||||
await page.click('[data-testid="profiler-setting-btn"]');
|
await page.click('[data-testid="profiler-setting-btn"]');
|
||||||
await page.waitForSelector('.ant-modal-body');
|
await page.waitForSelector('.ant-modal-body');
|
||||||
await page.locator('[data-testid="slider-input"]').clear();
|
await page.locator('[data-testid="slider-input"]').clear();
|
||||||
|
@ -415,7 +415,7 @@ const ProfilerSettingsModal: React.FC<ProfilerSettingsModalProps> = ({
|
|||||||
} else {
|
} else {
|
||||||
setIsDataLoading(false);
|
setIsDataLoading(false);
|
||||||
}
|
}
|
||||||
}, []);
|
}, [tableId]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
|
@ -308,8 +308,8 @@ export const TableProfilerProvider = ({
|
|||||||
{children}
|
{children}
|
||||||
{settingModalVisible && (
|
{settingModalVisible && (
|
||||||
<ProfilerSettingsModal
|
<ProfilerSettingsModal
|
||||||
columns={tableProfiler?.columns ?? []}
|
columns={table?.columns ?? []}
|
||||||
tableId={tableProfiler?.id ?? ''}
|
tableId={table?.id ?? ''}
|
||||||
visible={settingModalVisible}
|
visible={settingModalVisible}
|
||||||
onVisibilityChange={handleSettingModal}
|
onVisibilityChange={handleSettingModal}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user