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:
adam-stasiak-polidea
2020-10-15 01:12:01 +02:00
committed by GitHub
parent 0262daa228
commit fc03549299
51 changed files with 229 additions and 72 deletions

View File

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