etr2460 commented on a change in pull request #8455: [Datasource Editor] A few 
small UI changes in modal to prevent accidental edits
URL: 
https://github.com/apache/incubator-superset/pull/8455#discussion_r339325890
 
 

 ##########
 File path: 
superset/assets/spec/javascripts/datasource/DatasourceEditor_spec.jsx
 ##########
 @@ -91,7 +93,30 @@ describe('DatasourceEditor', () => {
   });
 
   it('renders isSqla fields', () => {
+    wrapper.setState({ activeTabKey: 1 });
     expect(wrapper.state('isSqla')).toBe(true);
     expect(wrapper.find(Field).find({ fieldKey: 'fetch_values_predicate' 
}).exists()).toBe(true);
   });
+
+  it('disable table selector', () => {
 
 Review comment:
   tests!!! 🎉 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to