You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ly...@apache.org on 2022/08/24 22:01:21 UTC

[superset] branch lyndsi/create-dataset-header updated: Add disabled btn tests

This is an automated email from the ASF dual-hosted git repository.

lyndsi pushed a commit to branch lyndsi/create-dataset-header
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/lyndsi/create-dataset-header by this push:
     new a76e235c54 Add disabled btn tests
a76e235c54 is described below

commit a76e235c54b43c8d47a0a224a958af0c313aff93
Author: lyndsiWilliams <kc...@gmail.com>
AuthorDate: Wed Aug 24 17:00:59 2022 -0500

    Add disabled btn tests
---
 .../src/views/CRUD/data/dataset/AddDataset/Header/Header.test.tsx       | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/superset-frontend/src/views/CRUD/data/dataset/AddDataset/Header/Header.test.tsx b/superset-frontend/src/views/CRUD/data/dataset/AddDataset/Header/Header.test.tsx
index a66b373825..2662238afc 100644
--- a/superset-frontend/src/views/CRUD/data/dataset/AddDataset/Header/Header.test.tsx
+++ b/superset-frontend/src/views/CRUD/data/dataset/AddDataset/Header/Header.test.tsx
@@ -44,6 +44,8 @@ describe('Header', () => {
 
     expect(datasetNameTextbox).toBeVisible();
     expect(saveButton).toBeVisible();
+    expect(saveButton).toBeDisabled();
     expect(menuButton).toBeVisible();
+    expect(menuButton).toBeDisabled();
   });
 });