mirror of
https://github.com/apache/superset.git
synced 2026-04-25 11:04:48 +00:00
chore: Added data-test attributes for testing (#11254)
* Added data-test attributes for testing * fixed incorrect naming change * review changes
This commit is contained in:
committed by
GitHub
parent
0262daa228
commit
fc03549299
@@ -81,7 +81,7 @@ DATASOURCE_TYPES_ARR.forEach(o => {
|
||||
|
||||
function CollectionTabTitle({ title, collection }) {
|
||||
return (
|
||||
<div>
|
||||
<div data-test={`collection-tab-${title}`}>
|
||||
{title} <Badge>{collection ? collection.length : 0}</Badge>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user