mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
fix(virtual dataset sync): Sync virtual dataset columns when changing the SQL query (#30903)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
This commit is contained in:
@@ -622,7 +622,7 @@ test('CSV form post', async () => {
|
||||
|
||||
// Select a file from the file dialog
|
||||
const file = new File(['test'], 'test.csv', { type: 'text' });
|
||||
const inputElement = document.querySelector('input[type="file"]');
|
||||
const inputElement = screen.getByTestId('model-file-input');
|
||||
|
||||
if (inputElement) {
|
||||
userEvent.upload(inputElement as HTMLElement, file);
|
||||
@@ -680,7 +680,7 @@ test('Excel form post', async () => {
|
||||
|
||||
// Select a file from the file dialog
|
||||
const file = new File(['test'], 'test.xls', { type: 'text' });
|
||||
const inputElement = document.querySelector('input[type="file"]');
|
||||
const inputElement = screen.getByTestId('model-file-input');
|
||||
|
||||
if (inputElement) {
|
||||
userEvent.upload(inputElement as HTMLElement, file);
|
||||
@@ -738,7 +738,7 @@ test('Columnar form post', async () => {
|
||||
|
||||
// Select a file from the file dialog
|
||||
const file = new File(['test'], 'test.parquet', { type: 'text' });
|
||||
const inputElement = document.querySelector('input[type="file"]');
|
||||
const inputElement = screen.getByTestId('model-file-input');
|
||||
|
||||
if (inputElement) {
|
||||
userEvent.upload(inputElement as HTMLElement, file);
|
||||
|
||||
Reference in New Issue
Block a user