mirror of
https://github.com/apache/superset.git
synced 2026-06-01 05:39:17 +00:00
chore: Working toward killing enzyme and cleaning up test noise. (#32207)
This commit is contained in:
@@ -16,8 +16,12 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { render, screen, waitFor } from 'spec/helpers/testing-library';
|
||||
import userEvent from '@testing-library/user-event';
|
||||
import {
|
||||
render,
|
||||
screen,
|
||||
userEvent,
|
||||
waitFor,
|
||||
} from 'spec/helpers/testing-library';
|
||||
import {
|
||||
getChartMetadataRegistry,
|
||||
ChartMetadata,
|
||||
@@ -102,7 +106,7 @@ test('renders extra checkboxes when type is time series', async () => {
|
||||
await screen.findByRole('button', { name: 'Show Markers' }),
|
||||
).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: 'Hide Line' })).toBeInTheDocument();
|
||||
});
|
||||
}, 10000);
|
||||
|
||||
test('enables apply and ok buttons', async () => {
|
||||
const { container } = render(<AnnotationLayer {...defaultProps} />);
|
||||
|
||||
Reference in New Issue
Block a user