test: Adds tests to URLShortLinkButton component (#13319)

This commit is contained in:
Michael S. Molina
2021-02-25 15:59:36 -03:00
committed by GitHub
parent 8395b3d6c8
commit 72721845e1
7 changed files with 167 additions and 56 deletions

View File

@@ -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');