mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
test: Adds tests to URLShortLinkButton component (#13319)
This commit is contained in:
committed by
GitHub
parent
8395b3d6c8
commit
72721845e1
@@ -134,7 +134,7 @@ describe('Tabs', () => {
|
||||
const wrapper = setup({ editMode: true, onChangeTab });
|
||||
wrapper
|
||||
.find(
|
||||
'[data-test="dashboard-component-tabs"] .ant-tabs-tab [data-test="short-link-button"]',
|
||||
'[data-test="dashboard-component-tabs"] .ant-tabs-tab [role="button"]',
|
||||
)
|
||||
.at(1) // will not call if it is already selected
|
||||
.simulate('click');
|
||||
|
||||
Reference in New Issue
Block a user